[POWERPC] FSL: Added aliases node to device trees
[sfrench/cifs-2.6.git] / arch / powerpc / boot / dts / mpc8541cds.dts
index 8637fe09d9525d00ba9bbc0d8d3aed8a6a274754..fa8d9aaad157974645ac5988a9ce4d1fcc632217 100644 (file)
        #address-cells = <1>;
        #size-cells = <1>;
 
+       aliases {
+               ethernet0 = &enet0;
+               ethernet1 = &enet1;
+               serial0 = &serial0;
+               serial1 = &serial1;
+               pci0 = &pci0;
+               pci1 = &pci1;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                        phy-handle = <&phy1>;
                };
 
-               serial@4500 {
+               serial0: serial@4500 {
+                       cell-index = <0>;
                        device_type = "serial";
                        compatible = "ns16550";
                        reg = <4500 100>;       // reg base, size
                        interrupt-parent = <&mpic>;
                };
 
-               serial@4600 {
+               serial1: serial@4600 {
+                       cell-index = <1>;
                        device_type = "serial";
                        compatible = "ns16550";
                        reg = <4600 100>;       // reg base, size
                };
        };
 
-       pci1: pci@e0008000 {
+       pci0: pci@e0008000 {
+               cell-index = <0>;
                interrupt-map-mask = <1f800 0 0 7>;
                interrupt-map = <
 
                        #interrupt-cells = <2>;
                        compatible = "chrp,iic";
                        interrupts = <1>;
-                       interrupt-parent = <&pci1>;
+                       interrupt-parent = <&pci0>;
                };
        };
 
-       pci@e0009000 {
+       pci1: pci@e0009000 {
+               cell-index = <1>;
                interrupt-map-mask = <f800 0 0 7>;
                interrupt-map = <