]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: g6: Add PWM/Tach controller node
authorBilly Tsai <billy_tsai@aspeedtech.com>
Thu, 26 Mar 2026 10:29:22 +0000 (18:29 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Mon, 18 May 2026 13:17:11 +0000 (22:47 +0930)
Introduce a device tree node for the AST2600 PWM/Tach controller.
Describe register range, clock, reset, and cell configuration.
Set status to "disabled" by default.

Prepares for enabling PWM and tachometer support on platforms
utilizing this SoC.

Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-g6.dtsi

index 51a6a4157f1b37efbc7e230db259884d581d5579..56bb3b0444f7eaea172cf0d765555604376adde9 100644 (file)
                        reg = <0x1e600000 0x100>;
                };
 
+               pwm_tach: pwm-tach-controller@1e610000 {
+                       compatible = "aspeed,ast2600-pwm-tach";
+                       reg = <0x1e610000 0x100>;
+                       clocks = <&syscon ASPEED_CLK_AHB>;
+                       resets = <&syscon ASPEED_RESET_PWM>;
+                       #pwm-cells = <3>;
+                       status = "disabled";
+               };
+
                fmc: spi@1e620000 {
                        reg = <0x1e620000 0xc4>, <0x20000000 0x10000000>;
                        #address-cells = <1>;