[POWERPC] 86xx: Add aliases node to 8641hpcn DTS file.
authorJon Loeliger <jdl@freescale.com>
Wed, 5 Dec 2007 17:32:50 +0000 (11:32 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 11 Dec 2007 19:57:18 +0000 (13:57 -0600)
The addition of the aliases node is needed for U-Boot
and, eventually, cuImage, to help locate the proper
nodes reliably when using the libfdt approach.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8641_hpcn.dts

index abb26dc..b039f21 100644 (file)
        #address-cells = <1>;
        #size-cells = <1>;
 
+       aliases {
+               ethernet0 = &enet0;
+               ethernet1 = &enet1;
+               ethernet2 = &enet2;
+               ethernet3 = &enet3;
+               serial0 = &serial0;
+               serial1 = &serial1;
+               pci0 = &pci0;
+               pci1 = &pci1;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                        };
                };
 
-               ethernet@24000 {
+               enet0: ethernet@24000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        device_type = "network";
                        phy-connection-type = "rgmii-id";
                };
 
-               ethernet@25000 {
+               enet1: ethernet@25000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        device_type = "network";
                        phy-connection-type = "rgmii-id";
                };
                
-               ethernet@26000 {
+               enet2: ethernet@26000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        device_type = "network";
                        phy-connection-type = "rgmii-id";
                };
 
-               ethernet@27000 {
+               enet3: ethernet@27000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        device_type = "network";
                        phy-handle = <&phy3>;
                        phy-connection-type = "rgmii-id";
                };
-               serial@4500 {
+
+               serial0: serial@4500 {
                        device_type = "serial";
                        compatible = "ns16550";
                        reg = <4500 100>;
                        interrupt-parent = <&mpic>;
                };
 
-               serial@4600 {
+               serial1: serial@4600 {
                        device_type = "serial";
                        compatible = "ns16550";
                        reg = <4600 100>;
                };
        };
 
-       pcie@f8008000 {
+       pci0: pcie@f8008000 {
                compatible = "fsl,mpc8641-pcie";
                device_type = "pci";
                #interrupt-cells = <1>;
 
        };
 
-       pcie@f8009000 {
+       pci1: pcie@f8009000 {
                compatible = "fsl,mpc8641-pcie";
                device_type = "pci";
                #interrupt-cells = <1>;