Commit ea082fa9 authored by Kumar Gala's avatar Kumar Gala

[POWERPC] FSL: Added aliases node to device trees

Added aliases nodes for kurobox, 83xx, 85xx, and 86xx platforms.
This included added labels and cell-index properties for serial and
pci nodes.
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent e77b28eb
...@@ -23,6 +23,12 @@ / { ...@@ -23,6 +23,12 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -73,7 +79,8 @@ rtc@32 { ...@@ -73,7 +79,8 @@ rtc@32 {
}; };
}; };
serial@80004500 { serial0: serial@80004500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <80004500 8>; reg = <80004500 8>;
...@@ -83,7 +90,8 @@ serial@80004500 { ...@@ -83,7 +90,8 @@ serial@80004500 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
serial@80004600 { serial1: serial@80004600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <80004600 8>; reg = <80004600 8>;
...@@ -102,7 +110,7 @@ mpic: interrupt-controller@80040000 { ...@@ -102,7 +110,7 @@ mpic: interrupt-controller@80040000 {
reg = <80040000 40000>; reg = <80040000 40000>;
}; };
pci@fec00000 { pci0: pci@fec00000 {
#address-cells = <3>; #address-cells = <3>;
#size-cells = <2>; #size-cells = <2>;
#interrupt-cells = <1>; #interrupt-cells = <1>;
......
...@@ -23,6 +23,12 @@ / { ...@@ -23,6 +23,12 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -73,7 +79,8 @@ rtc@32 { ...@@ -73,7 +79,8 @@ rtc@32 {
}; };
}; };
serial@80004500 { serial0: serial@80004500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <80004500 8>; reg = <80004500 8>;
...@@ -83,7 +90,8 @@ serial@80004500 { ...@@ -83,7 +90,8 @@ serial@80004500 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
serial@80004600 { serial1: serial@80004600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <80004600 8>; reg = <80004600 8>;
...@@ -102,7 +110,7 @@ mpic: interrupt-controller@80040000 { ...@@ -102,7 +110,7 @@ mpic: interrupt-controller@80040000 {
reg = <80040000 40000>; reg = <80040000 40000>;
}; };
pci@fec00000 { pci0: pci@fec00000 {
#address-cells = <3>; #address-cells = <3>;
#size-cells = <2>; #size-cells = <2>;
#interrupt-cells = <1>; #interrupt-cells = <1>;
......
...@@ -15,6 +15,14 @@ / { ...@@ -15,6 +15,14 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -137,7 +145,8 @@ enet1: ethernet@25000 { ...@@ -137,7 +145,8 @@ enet1: ethernet@25000 {
phy-handle = < &phy4 >; phy-handle = < &phy4 >;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -146,7 +155,8 @@ serial@4500 { ...@@ -146,7 +155,8 @@ serial@4500 {
interrupt-parent = < &ipic >; interrupt-parent = < &ipic >;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -184,7 +194,8 @@ ipic: pic@700 { ...@@ -184,7 +194,8 @@ ipic: pic@700 {
}; };
}; };
pci@e0008500 { pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
......
...@@ -15,6 +15,14 @@ / { ...@@ -15,6 +15,14 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -72,7 +80,8 @@ rtc@68 { ...@@ -72,7 +80,8 @@ rtc@68 {
}; };
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -81,7 +90,8 @@ serial@4500 { ...@@ -81,7 +90,8 @@ serial@4500 {
interrupt-parent = < &ipic >; interrupt-parent = < &ipic >;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -273,7 +283,8 @@ qeic: qeic@80 { ...@@ -273,7 +283,8 @@ qeic: qeic@80 {
}; };
}; };
pci@e0008500 { pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
/* IDSEL 0x11 AD17 */ /* IDSEL 0x11 AD17 */
......
...@@ -15,6 +15,14 @@ / { ...@@ -15,6 +15,14 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -62,7 +70,8 @@ i2c@3000 { ...@@ -62,7 +70,8 @@ i2c@3000 {
dfsrr; dfsrr;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -71,7 +80,8 @@ serial@4500 { ...@@ -71,7 +80,8 @@ serial@4500 {
interrupt-parent = <&pic>; interrupt-parent = <&pic>;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -254,7 +264,8 @@ qeic:qeic@80 { ...@@ -254,7 +264,8 @@ qeic:qeic@80 {
}; };
}; };
pci@e0008500 { pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
/* IDSEL 0x10 AD16 (USB) */ /* IDSEL 0x10 AD16 (USB) */
......
...@@ -14,6 +14,15 @@ / { ...@@ -14,6 +14,15 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
pci1 = &pci1;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -154,7 +163,8 @@ enet1: ethernet@25000 { ...@@ -154,7 +163,8 @@ enet1: ethernet@25000 {
linux,network-index = <1>; linux,network-index = <1>;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -163,7 +173,8 @@ serial@4500 { ...@@ -163,7 +173,8 @@ serial@4500 {
interrupt-parent = < &ipic >; interrupt-parent = < &ipic >;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -194,7 +205,8 @@ ipic: pic@700 { ...@@ -194,7 +205,8 @@ ipic: pic@700 {
}; };
}; };
pci@e0008500 { pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
/* IDSEL 0x10 - SATA */ /* IDSEL 0x10 - SATA */
...@@ -215,7 +227,8 @@ pci@e0008500 { ...@@ -215,7 +227,8 @@ pci@e0008500 {
device_type = "pci"; device_type = "pci";
}; };
pci@e0008600 { pci1: pci@e0008600 {
cell-index = <2>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
/* IDSEL 0x0E - MiniPCI Slot */ /* IDSEL 0x0E - MiniPCI Slot */
......
...@@ -14,6 +14,13 @@ / { ...@@ -14,6 +14,13 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -121,7 +128,8 @@ enet0: ethernet@24000 { ...@@ -121,7 +128,8 @@ enet0: ethernet@24000 {
linux,network-index = <0>; linux,network-index = <0>;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -130,7 +138,8 @@ serial@4500 { ...@@ -130,7 +138,8 @@ serial@4500 {
interrupt-parent = < &ipic >; interrupt-parent = < &ipic >;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -161,7 +170,8 @@ ipic: pic@700 { ...@@ -161,7 +170,8 @@ ipic: pic@700 {
}; };
}; };
pci@e0008600 { pci0: pci@e0008600 {
cell-index = <2>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
/* IDSEL 0x0F - PCI Slot */ /* IDSEL 0x0F - PCI Slot */
......
...@@ -15,6 +15,15 @@ / { ...@@ -15,6 +15,15 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
pci1 = &pci1;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -164,7 +173,8 @@ enet1: ethernet@25000 { ...@@ -164,7 +173,8 @@ enet1: ethernet@25000 {
linux,network-index = <1>; linux,network-index = <1>;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -173,7 +183,8 @@ serial@4500 { ...@@ -173,7 +183,8 @@ serial@4500 {
interrupt-parent = < &ipic >; interrupt-parent = < &ipic >;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -213,7 +224,8 @@ ipic: pic@700 { ...@@ -213,7 +224,8 @@ ipic: pic@700 {
}; };
}; };
pci@e0008500 { pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
...@@ -273,7 +285,8 @@ c000 0 0 3 &ipic 17 8 ...@@ -273,7 +285,8 @@ c000 0 0 3 &ipic 17 8
device_type = "pci"; device_type = "pci";
}; };
pci@e0008600 { pci1: pci@e0008600 {
cell-index = <2>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
......
...@@ -20,6 +20,14 @@ / { ...@@ -20,6 +20,14 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -88,7 +96,8 @@ i2c@3100 { ...@@ -88,7 +96,8 @@ i2c@3100 {
dfsrr; dfsrr;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -97,7 +106,8 @@ serial@4500 { ...@@ -97,7 +106,8 @@ serial@4500 {
interrupt-parent = < &ipic >; interrupt-parent = < &ipic >;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -306,7 +316,8 @@ qeic: qeic@80 { ...@@ -306,7 +316,8 @@ qeic: qeic@80 {
}; };
}; };
pci@e0008500 { pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
......
...@@ -16,6 +16,15 @@ / { ...@@ -16,6 +16,15 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
ethernet2 = &enet2;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -135,7 +144,8 @@ enet2: ethernet@26000 { ...@@ -135,7 +144,8 @@ enet2: ethernet@26000 {
phy-handle = <&phy3>; phy-handle = <&phy3>;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; // reg base, size reg = <4500 100>; // reg base, size
...@@ -144,7 +154,8 @@ serial@4500 { ...@@ -144,7 +154,8 @@ serial@4500 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; // reg base, size reg = <4600 100>; // reg base, size
...@@ -164,7 +175,8 @@ mpic: pic@40000 { ...@@ -164,7 +175,8 @@ mpic: pic@40000 {
}; };
}; };
pci@e0008000 { pci0: pci@e0008000 {
cell-index = <0>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
......
...@@ -16,6 +16,15 @@ / { ...@@ -16,6 +16,15 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
pci1 = &pci1;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -117,7 +126,8 @@ enet1: ethernet@25000 { ...@@ -117,7 +126,8 @@ enet1: ethernet@25000 {
phy-handle = <&phy1>; phy-handle = <&phy1>;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; // reg base, size reg = <4500 100>; // reg base, size
...@@ -126,7 +136,8 @@ serial@4500 { ...@@ -126,7 +136,8 @@ serial@4500 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; // reg base, size reg = <4600 100>; // reg base, size
...@@ -183,7 +194,8 @@ cpmpic: pic@90c00 { ...@@ -183,7 +194,8 @@ cpmpic: pic@90c00 {
}; };
}; };
pci1: pci@e0008000 { pci0: pci@e0008000 {
cell-index = <0>;
interrupt-map-mask = <1f800 0 0 7>; interrupt-map-mask = <1f800 0 0 7>;
interrupt-map = < interrupt-map = <
...@@ -250,11 +262,12 @@ i8259@19000 { ...@@ -250,11 +262,12 @@ i8259@19000 {
#interrupt-cells = <2>; #interrupt-cells = <2>;
compatible = "chrp,iic"; compatible = "chrp,iic";
interrupts = <1>; 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-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
......
...@@ -15,6 +15,17 @@ / { ...@@ -15,6 +15,17 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
pci1 = &pci1;
pci2 = &pci2;
pci3 = &pci3;
};
cpus { cpus {
#cpus = <1>; #cpus = <1>;
#address-cells = <1>; #address-cells = <1>;
...@@ -131,7 +142,8 @@ enet1: ethernet@26000 { ...@@ -131,7 +142,8 @@ enet1: ethernet@26000 {
phy-connection-type = "rgmii-id"; phy-connection-type = "rgmii-id";
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -140,7 +152,8 @@ serial@4500 { ...@@ -140,7 +152,8 @@ serial@4500 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -167,7 +180,8 @@ mpic: pic@40000 { ...@@ -167,7 +180,8 @@ mpic: pic@40000 {
}; };
}; };
pci@e0008000 { pci0: pci@e0008000 {
cell-index = <0>;
compatible = "fsl,mpc8540-pci"; compatible = "fsl,mpc8540-pci";
device_type = "pci"; device_type = "pci";
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
...@@ -198,7 +212,8 @@ pci@e0008000 { ...@@ -198,7 +212,8 @@ pci@e0008000 {
reg = <e0008000 1000>; reg = <e0008000 1000>;
}; };
pcie@e0009000 { pci1: pcie@e0009000 {
cell-index = <1>;
compatible = "fsl,mpc8548-pcie"; compatible = "fsl,mpc8548-pcie";
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
...@@ -234,7 +249,8 @@ pcie@0 { ...@@ -234,7 +249,8 @@ pcie@0 {
}; };
}; };
pcie@e000a000 { pci2: pcie@e000a000 {
cell-index = <2>;
compatible = "fsl,mpc8548-pcie"; compatible = "fsl,mpc8548-pcie";
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
...@@ -270,7 +286,8 @@ pcie@0 { ...@@ -270,7 +286,8 @@ pcie@0 {
}; };
}; };
pcie@e000b000 { pci3: pcie@e000b000 {
cell-index = <3>;
compatible = "fsl,mpc8548-pcie"; compatible = "fsl,mpc8548-pcie";
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
...@@ -380,6 +397,5 @@ gpio@400 { ...@@ -380,6 +397,5 @@ gpio@400 {
}; };
}; };
}; };
}; };
}; };
...@@ -16,6 +16,20 @@ / { ...@@ -16,6 +16,20 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
/*
ethernet2 = &enet2;
ethernet3 = &enet3;
*/
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
pci1 = &pci1;
pci2 = &pci2;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -166,7 +180,8 @@ enet3: ethernet@27000 { ...@@ -166,7 +180,8 @@ enet3: ethernet@27000 {
}; };
*/ */
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; // reg base, size reg = <4500 100>; // reg base, size
...@@ -175,7 +190,8 @@ serial@4500 { ...@@ -175,7 +190,8 @@ serial@4500 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; // reg base, size reg = <4600 100>; // reg base, size
...@@ -202,7 +218,8 @@ mpic: pic@40000 { ...@@ -202,7 +218,8 @@ mpic: pic@40000 {
}; };
}; };
pci@e0008000 { pci0: pci@e0008000 {
cell-index = <0>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
/* IDSEL 0x4 (PCIX Slot 2) */ /* IDSEL 0x4 (PCIX Slot 2) */
...@@ -351,7 +368,8 @@ rtc@70 { ...@@ -351,7 +368,8 @@ rtc@70 {
}; };
}; };
pci@e0009000 { pci1: pci@e0009000 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
...@@ -375,7 +393,8 @@ a800 0 0 3 &mpic 2 1 ...@@ -375,7 +393,8 @@ a800 0 0 3 &mpic 2 1
device_type = "pci"; device_type = "pci";
}; };
pcie@e000a000 { pci2: pcie@e000a000 {
cell-index = <2>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
......
...@@ -16,6 +16,15 @@ / { ...@@ -16,6 +16,15 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
pci1 = &pci1;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -117,7 +126,8 @@ enet1: ethernet@25000 { ...@@ -117,7 +126,8 @@ enet1: ethernet@25000 {
phy-handle = <&phy1>; phy-handle = <&phy1>;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; // reg base, size reg = <4500 100>; // reg base, size
...@@ -126,7 +136,8 @@ serial@4500 { ...@@ -126,7 +136,8 @@ serial@4500 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; // reg base, size reg = <4600 100>; // reg base, size
...@@ -183,7 +194,8 @@ cpmpic: pic@90c00 { ...@@ -183,7 +194,8 @@ cpmpic: pic@90c00 {
}; };
}; };
pci1: pci@e0008000 { pci0: pci@e0008000 {
cell-index = <0>;
interrupt-map-mask = <1f800 0 0 7>; interrupt-map-mask = <1f800 0 0 7>;
interrupt-map = < interrupt-map = <
...@@ -250,11 +262,12 @@ i8259@19000 { ...@@ -250,11 +262,12 @@ i8259@19000 {
#interrupt-cells = <2>; #interrupt-cells = <2>;
compatible = "chrp,iic"; compatible = "chrp,iic";
interrupts = <1>; 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-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
......
...@@ -16,6 +16,16 @@ / { ...@@ -16,6 +16,16 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
ethernet2 = &enet2;
ethernet3 = &enet3;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -162,7 +172,7 @@ cpmpic: pic@90c00 { ...@@ -162,7 +172,7 @@ cpmpic: pic@90c00 {
compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic"; compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
}; };
serial@91a00 { serial0: serial@91a00 {
device_type = "serial"; device_type = "serial";
compatible = "fsl,mpc8560-scc-uart", compatible = "fsl,mpc8560-scc-uart",
"fsl,cpm2-scc-uart"; "fsl,cpm2-scc-uart";
...@@ -174,7 +184,7 @@ serial@91a00 { ...@@ -174,7 +184,7 @@ serial@91a00 {
interrupt-parent = <&cpmpic>; interrupt-parent = <&cpmpic>;
}; };
serial@91a20 { serial1: serial@91a20 {
device_type = "serial"; device_type = "serial";
compatible = "fsl,mpc8560-scc-uart", compatible = "fsl,mpc8560-scc-uart",
"fsl,cpm2-scc-uart"; "fsl,cpm2-scc-uart";
...@@ -212,7 +222,8 @@ enet3: ethernet@91340 { ...@@ -212,7 +222,8 @@ enet3: ethernet@91340 {
}; };
}; };
pci@e0008000 { pci0: pci@e0008000 {
cell-index = <0>;
#interrupt-cells = <1>; #interrupt-cells = <1>;
#size-cells = <2>; #size-cells = <2>;
#address-cells = <3>; #address-cells = <3>;
......
...@@ -20,6 +20,17 @@ / { ...@@ -20,6 +20,17 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
ethernet2 = &enet2;
ethernet3 = &enet3;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
pci1 = &pci1;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -154,7 +165,8 @@ enet1: ethernet@25000 { ...@@ -154,7 +165,8 @@ enet1: ethernet@25000 {
phy-handle = <&phy3>; phy-handle = <&phy3>;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -169,7 +181,8 @@ global-utilities@e0000 { //global utilities block ...@@ -169,7 +181,8 @@ global-utilities@e0000 { //global utilities block
fsl,has-rstcr; fsl,has-rstcr;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -385,7 +398,8 @@ qeic: qeic@80 { ...@@ -385,7 +398,8 @@ qeic: qeic@80 {
}; };
pci@e0008000 { pci0: pci@e0008000 {
cell-index = <0>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
/* IDSEL 0x12 AD18 */ /* IDSEL 0x12 AD18 */
...@@ -415,7 +429,8 @@ pci@e0008000 { ...@@ -415,7 +429,8 @@ pci@e0008000 {
}; };
/* PCI Express */ /* PCI Express */
pcie@e000a000 { pci1: pcie@e000a000 {
cell-index = <2>;
interrupt-map-mask = <f800 0 0 7>; interrupt-map-mask = <f800 0 0 7>;
interrupt-map = < interrupt-map = <
......
...@@ -15,6 +15,18 @@ / { ...@@ -15,6 +15,18 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
ethernet2 = &enet2;
ethernet3 = &enet3;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
pci1 = &pci1;
pci2 = &pci2;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -170,7 +182,8 @@ enet3: ethernet@27000 { ...@@ -170,7 +182,8 @@ enet3: ethernet@27000 {
phy-connection-type = "rgmii-id"; phy-connection-type = "rgmii-id";
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -179,7 +192,8 @@ serial@4500 { ...@@ -179,7 +192,8 @@ serial@4500 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -206,7 +220,8 @@ mpic: pic@40000 { ...@@ -206,7 +220,8 @@ mpic: pic@40000 {
}; };
}; };
pcie@ffe08000 { pci0: pcie@ffe08000 {
cell-index = <0>;
compatible = "fsl,mpc8548-pcie"; compatible = "fsl,mpc8548-pcie";
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
...@@ -415,7 +430,8 @@ gpio@400 { ...@@ -415,7 +430,8 @@ gpio@400 {
}; };
pcie@ffe09000 { pci1: pcie@ffe09000 {
cell-index = <1>;
compatible = "fsl,mpc8548-pcie"; compatible = "fsl,mpc8548-pcie";
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
...@@ -451,7 +467,8 @@ pcie@0 { ...@@ -451,7 +467,8 @@ pcie@0 {
}; };
}; };
pcie@ffe0a000 { pci2: pcie@ffe0a000 {
cell-index = <2>;
compatible = "fsl,mpc8548-pcie"; compatible = "fsl,mpc8548-pcie";
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
......
...@@ -15,6 +15,13 @@ / { ...@@ -15,6 +15,13 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
pci1 = &pci1;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -68,7 +75,8 @@ i2c@3100 { ...@@ -68,7 +75,8 @@ i2c@3100 {
dfsrr; dfsrr;
}; };
serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -77,7 +85,8 @@ serial@4500 { ...@@ -77,7 +85,8 @@ serial@4500 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -86,7 +95,6 @@ serial@4600 { ...@@ -86,7 +95,6 @@ serial@4600 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
mpic: interrupt-controller@40000 { mpic: interrupt-controller@40000 {
clock-frequency = <0>; clock-frequency = <0>;
interrupt-controller; interrupt-controller;
...@@ -105,7 +113,8 @@ global-utilities@e0000 { ...@@ -105,7 +113,8 @@ global-utilities@e0000 {
}; };
}; };
pci@e0008000 { pci0: pci@e0008000 {
cell-index = <0>;
compatible = "fsl,mpc8610-pci"; compatible = "fsl,mpc8610-pci";
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
...@@ -134,7 +143,8 @@ pci@e0008000 { ...@@ -134,7 +143,8 @@ pci@e0008000 {
>; >;
}; };
pcie@e000a000 { pci1: pcie@e000a000 {
cell-index = <1>;
compatible = "fsl,mpc8641-pcie"; compatible = "fsl,mpc8641-pcie";
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
......
...@@ -175,6 +175,7 @@ enet3: ethernet@27000 { ...@@ -175,6 +175,7 @@ enet3: ethernet@27000 {
}; };
serial0: serial@4500 { serial0: serial@4500 {
cell-index = <0>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4500 100>; reg = <4500 100>;
...@@ -184,6 +185,7 @@ serial0: serial@4500 { ...@@ -184,6 +185,7 @@ serial0: serial@4500 {
}; };
serial1: serial@4600 { serial1: serial@4600 {
cell-index = <1>;
device_type = "serial"; device_type = "serial";
compatible = "ns16550"; compatible = "ns16550";
reg = <4600 100>; reg = <4600 100>;
...@@ -211,6 +213,7 @@ global-utilities@e0000 { ...@@ -211,6 +213,7 @@ global-utilities@e0000 {
}; };
pci0: pcie@f8008000 { pci0: pcie@f8008000 {
cell-index = <0>;
compatible = "fsl,mpc8641-pcie"; compatible = "fsl,mpc8641-pcie";
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
...@@ -419,6 +422,7 @@ gpio@400 { ...@@ -419,6 +422,7 @@ gpio@400 {
}; };
pci1: pcie@f8009000 { pci1: pcie@f8009000 {
cell-index = <1>;
compatible = "fsl,mpc8641-pcie"; compatible = "fsl,mpc8641-pcie";
device_type = "pci"; device_type = "pci";
#interrupt-cells = <1>; #interrupt-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment