Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed: Add PWM and tachometer node

The PWM/tach unit has a clock and reset phandle. It needs both in order
to function correctly.

Signed-off-by: Joel Stanley <joel@jms.id.au>
--
v3:
Add the pwm reset phandle

+20
+10
arch/arm/boot/dts/aspeed-g4.dtsi
··· 189 189 clocks = <&syscon ASPEED_CLK_APB>; 190 190 }; 191 191 192 + pwm_tacho: pwm-tacho-controller@1e786000 { 193 + compatible = "aspeed,ast2400-pwm-tacho"; 194 + #address-cells = <1>; 195 + #size-cells = <0>; 196 + reg = <0x1e786000 0x1000>; 197 + clocks = <&syscon ASPEED_CLK_APB>; 198 + resets = <&syscon ASPEED_RESET_PWM>; 199 + status = "disabled"; 200 + }; 201 + 192 202 vuart: serial@1e787000 { 193 203 compatible = "aspeed,ast2400-vuart"; 194 204 reg = <0x1e787000 0x40>;
+10
arch/arm/boot/dts/aspeed-g5.dtsi
··· 239 239 status = "disabled"; 240 240 }; 241 241 242 + pwm_tacho: pwm-tacho-controller@1e786000 { 243 + compatible = "aspeed,ast2500-pwm-tacho"; 244 + #address-cells = <1>; 245 + #size-cells = <0>; 246 + reg = <0x1e786000 0x1000>; 247 + clocks = <&syscon ASPEED_CLK_APB>; 248 + resets = <&syscon ASPEED_RESET_PWM>; 249 + status = "disabled"; 250 + }; 251 + 242 252 vuart: serial@1e787000 { 243 253 compatible = "aspeed,ast2500-vuart"; 244 254 reg = <0x1e787000 0x40>;