[PATCH v7 4/5] ARM: berlin: add a PWM node on the BG2
Antoine Tenart
antoine.tenart at free-electrons.com
Fri Oct 2 07:59:49 PDT 2015
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 at free-electrons.com>
---
arch/arm/boot/dts/berlin2.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi
index ef811de09908..f094b06d16aa 100644
--- a/arch/arm/boot/dts/berlin2.dtsi
+++ b/arch/arm/boot/dts/berlin2.dtsi
@@ -404,6 +404,13 @@
};
};
+ pwm: pwm at f20000 {
+ compatible = "marvell,berlin-pwm";
+ reg = <0xf20000 0x40>;
+ clocks = <&chip_clk CLKID_CFG>;
+ #pwm-cells = <3>;
+ };
+
apb at fc0000 {
compatible = "simple-bus";
#address-cells = <1>;
--
2.6.0
More information about the linux-arm-kernel
mailing list