1
0
Fork 0

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>
hifive-unleashed-5.1
Remi Pommarel 2015-12-21 21:12:59 +01:00 committed by Eric Anholt
parent f974d685d2
commit 40ad4499ba
2 changed files with 14 additions and 0 deletions

View File

@ -58,3 +58,7 @@
status = "okay";
bus-width = <4>;
};
&pwm {
status = "okay";
};

View File

@ -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>;