diff options
author | Joel Stanley <joel@jms.id.au> | 2017-11-28 16:47:52 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2017-12-21 06:33:17 +0300 |
commit | 0734089f06e7a4e8ce0df0c3fb95b9e03f684514 (patch) | |
tree | 2061991b34e53de87696e4748fc62267364c9866 /arch/arm/boot/dts/aspeed-g4.dtsi | |
parent | 2528be75484f5a1be49679cbfd94889f33562d45 (diff) | |
download | linux-0734089f06e7a4e8ce0df0c3fb95b9e03f684514.tar.xz |
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
Diffstat (limited to 'arch/arm/boot/dts/aspeed-g4.dtsi')
-rw-r--r-- | arch/arm/boot/dts/aspeed-g4.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index d2a82850b05b..91aea96c10c8 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -189,6 +189,16 @@ clocks = <&syscon ASPEED_CLK_APB>; }; + pwm_tacho: pwm-tacho-controller@1e786000 { + compatible = "aspeed,ast2400-pwm-tacho"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1e786000 0x1000>; + clocks = <&syscon ASPEED_CLK_APB>; + resets = <&syscon ASPEED_RESET_PWM>; + status = "disabled"; + }; + vuart: serial@1e787000 { compatible = "aspeed,ast2400-vuart"; reg = <0x1e787000 0x40>; |