Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b8ce2272becc87894d95cbdbba42ae72115131f2
Commit:     b8ce2272becc87894d95cbdbba42ae72115131f2
Parent:     80128ff79d282cf71b1819dbca9b8dd47d8ed3e8
Author:     Vitaly Bordug <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 9 11:37:36 2007 -0700
Committer:  Kumar Gala <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 00:34:08 2007 -0500

    [POWERPC] dts: kill hardcoded phandles
    
    Removed explicit linux,phandle usage.  Using references and labels now in PQ
    and PQ2 boards currently supported in arch/powerpc.
    
    Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]>
    Cc: Arnd Bergmann <[EMAIL PROTECTED]>
    Cc: Olof Johansson <[EMAIL PROTECTED]>
    Cc: Dominik Brodowski <[EMAIL PROTECTED]>
    Cc: Paul Mackerras <[EMAIL PROTECTED]>
    Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
---
 arch/powerpc/boot/dts/mpc8272ads.dts |   42 +++++++++++--------------------
 arch/powerpc/boot/dts/mpc866ads.dts  |   31 ++++++++---------------
 arch/powerpc/boot/dts/mpc885ads.dts  |   45 +++++++++++++---------------------
 3 files changed, 43 insertions(+), 75 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc8272ads.dts 
b/arch/powerpc/boot/dts/mpc8272ads.dts
index 423eedc..1934b80 100644
--- a/arch/powerpc/boot/dts/mpc8272ads.dts
+++ b/arch/powerpc/boot/dts/mpc8272ads.dts
@@ -14,12 +14,10 @@
        compatible = "MPC8260ADS";
        #address-cells = <1>;
        #size-cells = <1>;
-       linux,phandle = <100>;
 
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               linux,phandle = <200>;
 
                PowerPC,[EMAIL PROTECTED] {
                        device_type = "cpu";
@@ -32,12 +30,10 @@
                        bus-frequency = <0>;
                        clock-frequency = <0>;
                        32-bit;
-                       linux,phandle = <201>;
                };
        };
 
-       [EMAIL PROTECTED] {
-               linux,phandle = <f8200000>;
+               pci_pic: [EMAIL PROTECTED] {
                #address-cells = <0>;
                #interrupt-cells = <2>;
                interrupt-controller;
@@ -47,15 +43,13 @@
        };
        memory {
                device_type = "memory";
-               linux,phandle = <300>;
                reg = <00000000 4000000 f4500000 00000020>;
        };
 
        chosen {
                name = "chosen";
                linux,platform = <0>;
-               interrupt-controller = <10c00>;
-               linux,phandle = <400>;
+               interrupt-controller = <&Cpm_pic>;
        };
 
        [EMAIL PROTECTED] {
@@ -70,20 +64,17 @@
                        device_type = "mdio";
                        compatible = "fs_enet";
                        reg = <0 0>;
-                       linux,phandle = <24520>;
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       [EMAIL PROTECTED] {
-                               linux,phandle = <2452000>;
-                               interrupt-parent = <10c00>;
+                       phy0:[EMAIL PROTECTED] {
+                               interrupt-parent = <&Cpm_pic>;
                                interrupts = <17 4>;
                                reg = <0>;
                                bitbang = [ 12 12 13 02 02 01 ];
                                device_type = "ethernet-phy";
                        };
-                       [EMAIL PROTECTED] {
-                               linux,phandle = <2452001>;
-                               interrupt-parent = <10c00>;
+                       phy1:[EMAIL PROTECTED] {
+                               interrupt-parent = <&Cpm_pic>;
                                interrupts = <17 4>;
                                bitbang = [ 12 12 13 02 02 01 ];
                                reg = <3>;
@@ -101,8 +92,8 @@
                        reg = <11300 20 8400 100 11380 30>;
                        mac-address = [ 00 11 2F 99 43 54 ];
                        interrupts = <20 2>;
-                       interrupt-parent = <10c00>;
-                       phy-handle = <2452000>;
+                       interrupt-parent = <&Cpm_pic>;
+                       phy-handle = <&Phy0>;
                        rx-clock = <13>;
                        tx-clock = <12>;
                };
@@ -115,14 +106,13 @@
                        reg = <11320 20 8500 100 113b0 30>;
                        mac-address = [ 00 11 2F 99 44 54 ];
                        interrupts = <21 2>;
-                       interrupt-parent = <10c00>;
-                       phy-handle = <2452001>;
+                       interrupt-parent = <&Cpm_pic>;
+                       phy-handle = <&Phy1>;
                        rx-clock = <17>;
                        tx-clock = <18>;
                };
 
                [EMAIL PROTECTED] {
-                       linux,phandle = <f0000000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        #interrupt-cells = <2>;
@@ -142,7 +132,7 @@
                                reg = <11a00 20 8000 100>;
                                current-speed = <1c200>;
                                interrupts = <28 2>;
-                               interrupt-parent = <10c00>;
+                               interrupt-parent = <&Cpm_pic>;
                                clock-setup = <0 00ffffff>;
                                rx-clock = <1>;
                                tx-clock = <1>;
@@ -156,15 +146,14 @@
                                reg = <11a60 20 8300 100>;
                                current-speed = <1c200>;
                                interrupts = <2b 2>;
-                               interrupt-parent = <10c00>;
+                               interrupt-parent = <&Cpm_pic>;
                                clock-setup = <1b ffffff00>;
                                rx-clock = <4>;
                                tx-clock = <4>;
                        };
 
                };
-               [EMAIL PROTECTED] {
-                       linux,phandle = <10c00>;
+                       cpm_pic:[EMAIL PROTECTED] {
                        #address-cells = <0>;
                        #interrupt-cells = <2>;
                        interrupt-controller;
@@ -174,7 +163,6 @@
                       compatible = "CPM2";
                };
                [EMAIL PROTECTED] {
-                       linux,phandle = <0500>;
                        #interrupt-cells = <1>;
                        #size-cells = <2>;
                        #address-cells = <3>;
@@ -202,7 +190,7 @@
                                         c000 0 0 2 f8200000 43 8
                                         c000 0 0 3 f8200000 40 8
                                         c000 0 0 4 f8200000 41 8>;
-                       interrupt-parent = <10c00>;
+                       interrupt-parent = <&Cpm_pic>;
                        interrupts = <14 8>;
                        bus-range = <0 0>;
                        ranges = <02000000 0 80000000 80000000 0 40000000
@@ -216,7 +204,7 @@
                        compatible = "talitos";
                        reg = <30000 10000>;
                        interrupts = <b 2>;
-                       interrupt-parent = <10c00>;
+                       interrupt-parent = <&Cpm_pic>;
                        num-channels = <4>;
                        channel-fifo-len = <18>;
                        exec-units-mask = <0000007e>;
diff --git a/arch/powerpc/boot/dts/mpc866ads.dts 
b/arch/powerpc/boot/dts/mpc866ads.dts
index c0d06fd..e5e7726 100644
--- a/arch/powerpc/boot/dts/mpc866ads.dts
+++ b/arch/powerpc/boot/dts/mpc866ads.dts
@@ -15,12 +15,10 @@
        compatible = "mpc8xx";
        #address-cells = <1>;
        #size-cells = <1>;
-       linux,phandle = <100>;
 
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               linux,phandle = <200>;
 
                PowerPC,[EMAIL PROTECTED] {
                        device_type = "cpu";
@@ -34,14 +32,12 @@
                        clock-frequency = <0>;
                        32-bit;
                        interrupts = <f 2>;     // decrementer interrupt
-                       interrupt-parent = <ff000000>;
-                       linux,phandle = <201>;
+                       interrupt-parent = <&Mpc8xx_pic>;
                };
        };
 
        memory {
                device_type = "memory";
-               linux,phandle = <300>;
                reg = <00000000 800000>;
        };
 
@@ -57,11 +53,9 @@
                        device_type = "mdio";
                        compatible = "fs_enet";
                        reg = <e80 8>;
-                       linux,phandle = <e80>;
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       [EMAIL PROTECTED] {
-                               linux,phandle = <e800f>;
+                       phy: [EMAIL PROTECTED] {
                                reg = <f>;
                                device_type = "ethernet-phy";
                        };
@@ -75,12 +69,11 @@
                        reg = <e00 188>;
                        mac-address = [ 00 00 0C 00 01 FD ];
                        interrupts = <3 1>;
-                       interrupt-parent = <ff000000>;
-                       phy-handle = <e800f>;
+                       interrupt-parent = <&Mpc8xx_pic>;
+                       phy-handle = <&Phy>;
                };
 
-               [EMAIL PROTECTED] {
-                       linux,phandle = <ff000000>;
+               mpc8xx_pic: [EMAIL PROTECTED] {
                        interrupt-controller;
                        #address-cells = <0>;
                        #interrupt-cells = <2>;
@@ -91,7 +84,6 @@
                };
 
                [EMAIL PROTECTED] {
-                       linux,phandle = <ff000000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        #interrupt-cells = <2>;
@@ -102,15 +94,14 @@
                        command-proc = <9c0>;
                        brg-frequency = <0>;
                        interrupts = <0 2>;     // cpm error interrupt
-                       interrupt-parent = <930>;
+                       interrupt-parent = <&Cpm_pic>;
 
-                       [EMAIL PROTECTED] {
-                               linux,phandle = <930>;
+                       cpm_pic: [EMAIL PROTECTED] {
                                interrupt-controller;
                                #address-cells = <0>;
                                #interrupt-cells = <2>;
                                interrupts = <5 2 0 2>;
-                               interrupt-parent = <ff000000>;
+                               interrupt-parent = <&Mpc8xx_pic>;
                                reg = <930 20>;
                                built-in;
                                device_type = "cpm-pic";
@@ -128,7 +119,7 @@
                                tx-clock = <1>;
                                current-speed = <0>;
                                interrupts = <4 3>;
-                               interrupt-parent = <930>;
+                               interrupt-parent = <&Cpm_pic>;
                        };
 
                        [EMAIL PROTECTED] {
@@ -142,7 +133,7 @@
                                tx-clock = <2>;
                                current-speed = <0>;
                                interrupts = <3 3>;
-                               interrupt-parent = <930>;
+                               interrupt-parent = <&Cpm_pic>;
                        };
 
                        [EMAIL PROTECTED] {
@@ -153,7 +144,7 @@
                                reg = <a00 18 3c00 80>;
                                mac-address = [ 00 00 0C 00 03 FD ];
                                interrupts = <1e 3>;
-                               interrupt-parent = <930>;
+                               interrupt-parent = <&Cpm_pic>;
                        };
                };
        };
diff --git a/arch/powerpc/boot/dts/mpc885ads.dts 
b/arch/powerpc/boot/dts/mpc885ads.dts
index aee0108..dc7ab9c 100644
--- a/arch/powerpc/boot/dts/mpc885ads.dts
+++ b/arch/powerpc/boot/dts/mpc885ads.dts
@@ -15,12 +15,10 @@
        compatible = "mpc8xx";
        #address-cells = <1>;
        #size-cells = <1>;
-       linux,phandle = <100>;
 
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               linux,phandle = <200>;
 
                PowerPC,[EMAIL PROTECTED] {
                        device_type = "cpu";
@@ -34,14 +32,12 @@
                        clock-frequency = <0>;
                        32-bit;
                        interrupts = <f 2>;     // decrementer interrupt
-                       interrupt-parent = <ff000000>;
-                       linux,phandle = <201>;
+                       interrupt-parent = <&Mpc8xx_pic>;
                };
        };
 
        memory {
                device_type = "memory";
-               linux,phandle = <300>;
                reg = <00000000 800000>;
        };
 
@@ -57,21 +53,17 @@
                        device_type = "mdio";
                        compatible = "fs_enet";
                        reg = <e80 8>;
-                       linux,phandle = <e80>;
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       [EMAIL PROTECTED] {
-                               linux,phandle = <e8000>;
+                       Phy0: [EMAIL PROTECTED] {
                                reg = <0>;
                                device_type = "ethernet-phy";
                        };
-                       [EMAIL PROTECTED] {
-                               linux,phandle = <e8001>;
+                       Phy1: [EMAIL PROTECTED] {
                                reg = <1>;
                                device_type = "ethernet-phy";
                        };
-                       [EMAIL PROTECTED] {
-                               linux,phandle = <e8002>;
+                       Phy2: [EMAIL PROTECTED] {
                                reg = <2>;
                                device_type = "ethernet-phy";
                        };
@@ -85,8 +77,8 @@
                        reg = <e00 188>;
                        mac-address = [ 00 00 0C 00 01 FD ];
                        interrupts = <3 1>;
-                       interrupt-parent = <ff000000>;
-                       phy-handle = <e8000>;
+                       interrupt-parent = <&Mpc8xx_pic>;
+                       phy-handle = <&Phy1>;
                };
 
                [EMAIL PROTECTED] {
@@ -97,12 +89,11 @@
                        reg = <1e00 188>;
                        mac-address = [ 00 00 0C 00 02 FD ];
                        interrupts = <7 1>;
-                       interrupt-parent = <ff000000>;
-                       phy-handle = <e8001>;
+                       interrupt-parent = <&Mpc8xx_pic>;
+                       phy-handle = <&Phy2>;
                };
 
-               [EMAIL PROTECTED] {
-                       linux,phandle = <ff000000>;
+               Mpc8xx_pic: [EMAIL PROTECTED] {
                        interrupt-controller;
                        #address-cells = <0>;
                        #interrupt-cells = <2>;
@@ -119,12 +110,11 @@
                        compatible = "fsl,pq-pcmcia";
                        device_type = "pcmcia";
                        reg = <80 80>;
-                       interrupt-parent = <ff000000>;
+                       interrupt-parent = <&Mpc8xx_pic>;
                        interrupts = <d 1>;
                };
 
                [EMAIL PROTECTED] {
-                       linux,phandle = <ff000000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        #interrupt-cells = <2>;
@@ -135,15 +125,14 @@
                        command-proc = <9c0>;
                        brg-frequency = <0>;
                        interrupts = <0 2>;     // cpm error interrupt
-                       interrupt-parent = <930>;
+                       interrupt-parent = <&Cpm_pic>;
 
-                       [EMAIL PROTECTED] {
-                               linux,phandle = <930>;
+                       Cpm_pic: [EMAIL PROTECTED] {
                                interrupt-controller;
                                #address-cells = <0>;
                                #interrupt-cells = <2>;
                                interrupts = <5 2 0 2>;
-                               interrupt-parent = <ff000000>;
+                               interrupt-parent = <&Mpc8xx_pic>;
                                reg = <930 20>;
                                built-in;
                                device_type = "cpm-pic";
@@ -161,7 +150,7 @@
                                tx-clock = <1>;
                                current-speed = <0>;
                                interrupts = <4 3>;
-                               interrupt-parent = <930>;
+                               interrupt-parent = <&Cpm_pic>;
                        };
 
                        [EMAIL PROTECTED] {
@@ -175,7 +164,7 @@
                                tx-clock = <2>;
                                current-speed = <0>;
                                interrupts = <3 3>;
-                               interrupt-parent = <930>;
+                               interrupt-parent = <&Cpm_pic>;
                        };
 
                        [EMAIL PROTECTED] {
@@ -186,8 +175,8 @@
                                reg = <a40 18 3e00 80>;
                                mac-address = [ 00 00 0C 00 03 FD ];
                                interrupts = <1c 3>;
-                               interrupt-parent = <930>;
-                               phy-handle = <e8002>;
+                               interrupt-parent = <&Cpm_pic>;
+                               phy-handle = <&Phy2>;
                        };
                };
        };
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to