diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2014-02-14 07:12:39 +0100 |
---|---|---|
committer | Stephen Warren <swarren@wwwdotorg.org> | 2014-02-25 03:40:27 +0100 |
commit | b7c6c1760685f7d3a3eecc19f4b792881bf1d907 (patch) | |
tree | 132ba91833ff939ec87da77c4857600117f3088b /arch/arm/boot | |
parent | ARM: bcm2835: node name unit address cleanup (diff) | |
download | linux-b7c6c1760685f7d3a3eecc19f4b792881bf1d907.tar.xz linux-b7c6c1760685f7d3a3eecc19f4b792881bf1d907.zip |
ARM: bcm2835: fix clock DT node names
DT nodes should be named according to the type of object that they
represent rather than the identity. DT nodes that contain a reg
property should include a unit address in their name. Fix these issues.
Add clock-output-names properties to the nodes so that the clocks get
named something meaningful. This works around the fact that the fixed
clock driver names clocks after the short node name, i.e. not including
the unit address.
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/bcm2835.dtsi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index a2d48893230c..b8473c43e888 100644 --- a/arch/arm/boot/dts/bcm2835.dtsi +++ b/arch/arm/boot/dts/bcm2835.dtsi @@ -155,24 +155,27 @@ #address-cells = <1>; #size-cells = <0>; - clk_mmc: mmc { + clk_mmc: clock@0 { compatible = "fixed-clock"; reg = <0>; #clock-cells = <0>; + clock-output-names = "mmc"; clock-frequency = <100000000>; }; - clk_i2c: i2c { + clk_i2c: clock@1 { compatible = "fixed-clock"; reg = <1>; #clock-cells = <0>; + clock-output-names = "i2c"; clock-frequency = <250000000>; }; - clk_spi: spi { + clk_spi: clock@2 { compatible = "fixed-clock"; reg = <2>; #clock-cells = <0>; + clock-output-names = "spi"; clock-frequency = <250000000>; }; }; |