ARM: berlin: add a PWM node on the BG2
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Fri, 2 Oct 2015 14:59:49 +0000 (16:59 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 5 Oct 2015 18:09:22 +0000 (20:09 +0200)
This patch adds a PWM node in the Berlin BG2 device tree, using the
newly added Berlin PWM driver.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
arch/arm/boot/dts/berlin2.dtsi

index 11e446e..eaadac3 100644 (file)
                        };
                };
 
+               pwm: pwm@f20000 {
+                       compatible = "marvell,berlin-pwm";
+                       reg = <0xf20000 0x40>;
+                       clocks = <&chip_clk CLKID_CFG>;
+                       #pwm-cells = <3>;
+               };
+
                apb@fc0000 {
                        compatible = "simple-bus";
                        #address-cells = <1>;