ARM: sun7i: dt: add PWM support
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 28 Apr 2014 16:17:13 +0000 (18:17 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 28 Apr 2014 19:13:16 +0000 (12:13 -0700)
Add the PWM bindings for the Allwinner A20.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20.dtsi

index 3ac8926bde27c332edb2db472c1bc28ca13efcaf..ea62839a5e2f9802fb91a507acf761d382a67efa 100644 (file)
                        interrupts = <0 24 4>;
                };
 
+               pwm: pwm@01c20e00 {
+                       compatible = "allwinner,sun7i-a20-pwm";
+                       reg = <0x01c20e00 0xc>;
+                       clocks = <&osc24M>;
+                       #pwm-cells = <3>;
+                       status = "disabled";
+               };
+
                sid: eeprom@01c23800 {
                        compatible = "allwinner,sun7i-a20-sid";
                        reg = <0x01c23800 0x200>;