ARM: bcm2835: node name unit address cleanup
authorStephen Warren <swarren@wwwdotorg.org>
Wed, 12 Feb 2014 04:48:47 +0000 (21:48 -0700)
committerStephen Warren <swarren@wwwdotorg.org>
Fri, 21 Feb 2014 04:25:39 +0000 (21:25 -0700)
DT nodes that contain a reg property should include a unit address in
their name. Add the missing unit addresses.

The unit address in a node name must match the value in the reg property.
Fix the cases where they don't match.

Don't fix the /clocks/* node names yet; that causes problems the clock
driver to attempt to register multiple clocks with the same name, which
fails.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/boot/dts/bcm2835.dtsi

index 5ceba45b884a1c35f0bf6287a79bb38ce5c7721d..a2d48893230ca675447d101d255ca552b3b1797a 100644 (file)
@@ -15,7 +15,7 @@
                #size-cells = <1>;
                ranges = <0x7e000000 0x20000000 0x02000000>;
 
-               timer {
+               timer@7e003000 {
                        compatible = "brcm,bcm2835-system-timer";
                        reg = <0x7e003000 0x1000>;
                        interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
                        brcm,dma-channel-mask = <0x7f35>;
                };
 
-               intc: interrupt-controller {
+               intc: interrupt-controller@7e00b200 {
                        compatible = "brcm,bcm2835-armctrl-ic";
                        reg = <0x7e00b200 0x200>;
                        interrupt-controller;
                        #interrupt-cells = <2>;
                };
 
-               watchdog {
+               watchdog@7e100000 {
                        compatible = "brcm,bcm2835-pm-wdt";
                        reg = <0x7e100000 0x28>;
                };
 
-               rng {
+               rng@7e104000 {
                        compatible = "brcm,bcm2835-rng";
                        reg = <0x7e104000 0x10>;
                };
 
-               gpio: gpio {
+               gpio: gpio@7e200000 {
                        compatible = "brcm,bcm2835-gpio";
                        reg = <0x7e200000 0xb4>;
                        /*
@@ -83,7 +83,7 @@
                        #interrupt-cells = <2>;
                };
 
-               uart@20201000 {
+               uart@7e201000 {
                        compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
                        reg = <0x7e201000 0x1000>;
                        interrupts = <2 25>;
                        dma-names = "tx", "rx";
                };
 
-               spi: spi@20204000 {
+               spi: spi@7e204000 {
                        compatible = "brcm,bcm2835-spi";
                        reg = <0x7e204000 0x1000>;
                        interrupts = <2 22>;
                        status = "disabled";
                };
 
-               sdhci: sdhci {
+               sdhci: sdhci@7e300000 {
                        compatible = "brcm,bcm2835-sdhci";
                        reg = <0x7e300000 0x100>;
                        interrupts = <2 30>;
                        status = "disabled";
                };
 
-               i2c1: i2c@20804000 {
+               i2c1: i2c@7e804000 {
                        compatible = "brcm,bcm2835-i2c";
                        reg = <0x7e804000 0x1000>;
                        interrupts = <2 21>;
                        status = "disabled";
                };
 
-               usb {
+               usb@7e980000 {
                        compatible = "brcm,bcm2835-usb";
                        reg = <0x7e980000 0x10000>;
                        interrupts = <1 9>;