提交 40ad4499 编写于 作者: R Remi Pommarel 提交者: Eric Anholt

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

Signed-off-by: NRemi Pommarel <repk@triplefau.lt>
[anholt: Rebased on 2835.dtsi -> 283x.dtsi change]
Signed-off-by: NEric Anholt <eric@anholt.net>
上级 f974d685
...@@ -58,3 +58,7 @@ ...@@ -58,3 +58,7 @@
status = "okay"; status = "okay";
bus-width = <4>; bus-width = <4>;
}; };
&pwm {
status = "okay";
};
...@@ -180,6 +180,16 @@ ...@@ -180,6 +180,16 @@
status = "disabled"; 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 { sdhci: sdhci@7e300000 {
compatible = "brcm,bcm2835-sdhci"; compatible = "brcm,bcm2835-sdhci";
reg = <0x7e300000 0x100>; reg = <0x7e300000 0x100>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部