summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2014-04-28 18:17:14 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-04-28 12:13:19 -0700
commit96ac3b343d40957b253bbbf8fc81efbdbed9f25d (patch)
tree8e885b3c885a329933e961e71ae5a94d706445b1 /arch/arm/boot/dts/sun7i-a20-cubietruck.dts
parent8ec40c25139d45e9df385b60b50e5cd36c732464 (diff)
ARM: sunxi: dt: add PWM support for the cubietruck
Enable the PWM for both PWM channels on the cubietruck. They can be found on connector CN8. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-cubietruck.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-cubietruck.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index cb25d3c8da58..0c3bd127a5fd 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -63,6 +63,12 @@
};
};
+ pwm: pwm@01c20e00 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm0_pins_a>, <&pwm1_pins_a>;
+ status = "okay";
+ };
+
uart0: serial@01c28000 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;