Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Remi Pommarel and committed by
Eric Anholt
40ad4499 f974d685

+14
+4
arch/arm/boot/dts/bcm2835-rpi.dtsi
··· 58 58 status = "okay"; 59 59 bus-width = <4>; 60 60 }; 61 + 62 + &pwm { 63 + status = "okay"; 64 + };
+10
arch/arm/boot/dts/bcm283x.dtsi
··· 180 180 status = "disabled"; 181 181 }; 182 182 183 + pwm: pwm@7e20c000 { 184 + compatible = "brcm,bcm2835-pwm"; 185 + reg = <0x7e20c000 0x28>; 186 + clocks = <&clocks BCM2835_CLOCK_PWM>; 187 + assigned-clocks = <&clocks BCM2835_CLOCK_PWM>; 188 + assigned-clock-rates = <10000000>; 189 + #pwm-cells = <2>; 190 + status = "disabled"; 191 + }; 192 + 183 193 sdhci: sdhci@7e300000 { 184 194 compatible = "brcm,bcm2835-sdhci"; 185 195 reg = <0x7e300000 0x100>;