Commit 40ad4499 authored by Remi Pommarel's avatar Remi Pommarel Committed by Eric Anholt

ARM: bcm2835: Add PWM clock support to the device tree

Signed-off-by: default avatarRemi Pommarel <repk@triplefau.lt>
[anholt: Rebased on 2835.dtsi -> 283x.dtsi change]
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent f974d685
......@@ -58,3 +58,7 @@ &sdhci {
status = "okay";
bus-width = <4>;
};
&pwm {
status = "okay";
};
......@@ -180,6 +180,16 @@ spi2: spi@7e2150c0 {
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>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment