aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/aspeed-g5.dtsi
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-11-29 00:17:52 +1030
committerJoel Stanley <joel@jms.id.au>2017-12-21 14:03:17 +1030
commit0734089f06e7a4e8ce0df0c3fb95b9e03f684514 (patch)
tree2061991b34e53de87696e4748fc62267364c9866 /arch/arm/boot/dts/aspeed-g5.dtsi
parentARM: dts: aspeed: Add clock phandle to GPIO (diff)
downloadlinux-dev-0734089f06e7a4e8ce0df0c3fb95b9e03f684514.tar.xz
linux-dev-0734089f06e7a4e8ce0df0c3fb95b9e03f684514.zip
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-g5.dtsi')
-rw-r--r--arch/arm/boot/dts/aspeed-g5.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 3a25fa48d4f6..af3869ec87bb 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -239,6 +239,16 @@
status = "disabled";
};
+ pwm_tacho: pwm-tacho-controller@1e786000 {
+ compatible = "aspeed,ast2500-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,ast2500-vuart";
reg = <0x1e787000 0x40>;