diff options
author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2015-10-02 16:59:49 +0200 |
---|---|---|
committer | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2015-10-05 20:09:22 +0200 |
commit | 8eaaaa6f9d09bd53440b60f8aec38fe0c6b3d88b (patch) | |
tree | 4d4e1a1230237452eb1990acb94c1ebdb54cfbfa | |
parent | 956d8217842938c4e614dc5e8b24d6a499ad547a (diff) | |
download | op-kernel-dev-8eaaaa6f9d09bd53440b60f8aec38fe0c6b3d88b.zip op-kernel-dev-8eaaaa6f9d09bd53440b60f8aec38fe0c6b3d88b.tar.gz |
ARM: berlin: add a PWM node on the BG2
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>
-rw-r--r-- | arch/arm/boot/dts/berlin2.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi index 11e446e..eaadac3 100644 --- a/arch/arm/boot/dts/berlin2.dtsi +++ b/arch/arm/boot/dts/berlin2.dtsi @@ -420,6 +420,13 @@ }; }; + 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>; |