[PATCH v4 3/5] ARM: berlin: add a PWM node on the BG2Q
Antoine Tenart
antoine.tenart at free-electrons.com
Tue Aug 18 04:38:06 PDT 2015
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 at free-electrons.com>
---
arch/arm/boot/dts/berlin2q.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
index 63a48490e2f9..5bfa71a87617 100644
--- a/arch/arm/boot/dts/berlin2q.dtsi
+++ b/arch/arm/boot/dts/berlin2q.dtsi
@@ -477,6 +477,13 @@
status = "disabled";
};
+ 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.5.0
More information about the linux-arm-kernel
mailing list