diff options
author | Remi Pommarel <repk@triplefau.lt> | 2015-12-21 21:12:59 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-02-02 18:01:25 -0800 |
commit | 40ad4499bafa0202f3a1880fc43718ae3a3e2c24 (patch) | |
tree | c02a809ca68e107ef1836e29f19eeff51ca458ea /arch/arm/boot/dts/bcm283x.dtsi | |
parent | f974d685d27fd1898e25390fbbdd3bf620d15082 (diff) | |
download | linux-40ad4499bafa0202f3a1880fc43718ae3a3e2c24.tar.bz2 |
ARM: bcm2835: Add PWM clock support to the device tree
Signed-off-by: Remi Pommarel <repk@triplefau.lt>
[anholt: Rebased on 2835.dtsi -> 283x.dtsi change]
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/arm/boot/dts/bcm283x.dtsi')
-rw-r--r-- | arch/arm/boot/dts/bcm283x.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index f0d457312746..e4a279261d72 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -180,6 +180,16 @@ status = "disabled"; }; + pwm: pwm@7e20c000 { + compatible = "brcm,bcm2835-pwm"; + reg = <0x7e20c000 0x28>; + clocks = <&clocks BCM2835_CLOCK_PWM>; + assigned-clocks = <&clocks BCM2835_CLOCK_PWM>; + assigned-clock-rates = <10000000>; + #pwm-cells = <2>; + status = "disabled"; + }; + sdhci: sdhci@7e300000 { compatible = "brcm,bcm2835-sdhci"; reg = <0x7e300000 0x100>; |