ARM: berlin: add a PWM node on the BG2Q
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Fri, 2 Oct 2015 14:59:48 +0000 (16:59 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 5 Oct 2015 18:09:17 +0000 (20:09 +0200)
This patch adds a PWM node in the Berlin BG2Q 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/berlin2q.dtsi

index 32b871ed7a30b9a556617586517c3d7c841cbfe1..d996e8b8e130da693fe84039b046e01d40948724 100644 (file)
                        status = "disabled";
                };
 
+               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>;