Skip to content

Commit

Permalink
[POWERPC] FSL: Added aliases node to device trees
Browse files Browse the repository at this point in the history
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: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Kumar Gala committed Dec 12, 2007
1 parent e77b28e commit ea082fa
Show file tree
Hide file tree
Showing 19 changed files with 297 additions and 71 deletions.
14 changes: 11 additions & 3 deletions arch/powerpc/boot/dts/kuroboxHD.dts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ XXXX add flash parts, rtc, ??
#address-cells = <1>;
#size-cells = <1>;

aliases {
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -73,7 +79,8 @@ XXXX add flash parts, rtc, ??
};
};

serial@80004500 {
serial0: serial@80004500 {
cell-index = <0>;
device_type = "serial";
compatible = "ns16550";
reg = <80004500 8>;
Expand All @@ -83,7 +90,8 @@ XXXX add flash parts, rtc, ??
interrupt-parent = <&mpic>;
};

serial@80004600 {
serial1: serial@80004600 {
cell-index = <1>;
device_type = "serial";
compatible = "ns16550";
reg = <80004600 8>;
Expand All @@ -102,7 +110,7 @@ XXXX add flash parts, rtc, ??
reg = <80040000 40000>;
};

pci@fec00000 {
pci0: pci@fec00000 {
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
Expand Down
14 changes: 11 additions & 3 deletions arch/powerpc/boot/dts/kuroboxHG.dts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ XXXX add flash parts, rtc, ??
#address-cells = <1>;
#size-cells = <1>;

aliases {
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -73,7 +79,8 @@ XXXX add flash parts, rtc, ??
};
};

serial@80004500 {
serial0: serial@80004500 {
cell-index = <0>;
device_type = "serial";
compatible = "ns16550";
reg = <80004500 8>;
Expand All @@ -83,7 +90,8 @@ XXXX add flash parts, rtc, ??
interrupt-parent = <&mpic>;
};

serial@80004600 {
serial1: serial@80004600 {
cell-index = <1>;
device_type = "serial";
compatible = "ns16550";
reg = <80004600 8>;
Expand All @@ -102,7 +110,7 @@ XXXX add flash parts, rtc, ??
reg = <80040000 40000>;
};

pci@fec00000 {
pci0: pci@fec00000 {
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
Expand Down
17 changes: 14 additions & 3 deletions arch/powerpc/boot/dts/mpc8313erdb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
#address-cells = <1>;
#size-cells = <1>;

aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -137,7 +145,8 @@
phy-handle = < &phy4 >;
};

serial@4500 {
serial0: serial@4500 {
cell-index = <0>;
device_type = "serial";
compatible = "ns16550";
reg = <4500 100>;
Expand All @@ -146,7 +155,8 @@
interrupt-parent = < &ipic >;
};

serial@4600 {
serial1: serial@4600 {
cell-index = <1>;
device_type = "serial";
compatible = "ns16550";
reg = <4600 100>;
Expand Down Expand Up @@ -184,7 +194,8 @@
};
};

pci@e0008500 {
pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <

Expand Down
17 changes: 14 additions & 3 deletions arch/powerpc/boot/dts/mpc832x_mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
#address-cells = <1>;
#size-cells = <1>;

aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -72,7 +80,8 @@
};
};

serial@4500 {
serial0: serial@4500 {
cell-index = <0>;
device_type = "serial";
compatible = "ns16550";
reg = <4500 100>;
Expand All @@ -81,7 +90,8 @@
interrupt-parent = < &ipic >;
};

serial@4600 {
serial1: serial@4600 {
cell-index = <1>;
device_type = "serial";
compatible = "ns16550";
reg = <4600 100>;
Expand Down Expand Up @@ -273,7 +283,8 @@
};
};

pci@e0008500 {
pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
/* IDSEL 0x11 AD17 */
Expand Down
17 changes: 14 additions & 3 deletions arch/powerpc/boot/dts/mpc832x_rdb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
#address-cells = <1>;
#size-cells = <1>;

aliases {
ethernet0 = &enet0;
ethernet1 = &enet1;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -62,7 +70,8 @@
dfsrr;
};

serial@4500 {
serial0: serial@4500 {
cell-index = <0>;
device_type = "serial";
compatible = "ns16550";
reg = <4500 100>;
Expand All @@ -71,7 +80,8 @@
interrupt-parent = <&pic>;
};

serial@4600 {
serial1: serial@4600 {
cell-index = <1>;
device_type = "serial";
compatible = "ns16550";
reg = <4600 100>;
Expand Down Expand Up @@ -254,7 +264,8 @@
};
};

pci@e0008500 {
pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
/* IDSEL 0x10 AD16 (USB) */
Expand Down
21 changes: 17 additions & 4 deletions arch/powerpc/boot/dts/mpc8349emitx.dts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
#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>;
Expand Down Expand Up @@ -154,7 +163,8 @@
linux,network-index = <1>;
};

serial@4500 {
serial0: serial@4500 {
cell-index = <0>;
device_type = "serial";
compatible = "ns16550";
reg = <4500 100>;
Expand All @@ -163,7 +173,8 @@
interrupt-parent = < &ipic >;
};

serial@4600 {
serial1: serial@4600 {
cell-index = <1>;
device_type = "serial";
compatible = "ns16550";
reg = <4600 100>;
Expand Down Expand Up @@ -194,7 +205,8 @@
};
};

pci@e0008500 {
pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
/* IDSEL 0x10 - SATA */
Expand All @@ -215,7 +227,8 @@
device_type = "pci";
};

pci@e0008600 {
pci1: pci@e0008600 {
cell-index = <2>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
/* IDSEL 0x0E - MiniPCI Slot */
Expand Down
16 changes: 13 additions & 3 deletions arch/powerpc/boot/dts/mpc8349emitxgp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
#address-cells = <1>;
#size-cells = <1>;

aliases {
ethernet0 = &enet0;
serial0 = &serial0;
serial1 = &serial1;
pci0 = &pci0;
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -121,7 +128,8 @@
linux,network-index = <0>;
};

serial@4500 {
serial0: serial@4500 {
cell-index = <0>;
device_type = "serial";
compatible = "ns16550";
reg = <4500 100>;
Expand All @@ -130,7 +138,8 @@
interrupt-parent = < &ipic >;
};

serial@4600 {
serial1: serial@4600 {
cell-index = <1>;
device_type = "serial";
compatible = "ns16550";
reg = <4600 100>;
Expand Down Expand Up @@ -161,7 +170,8 @@
};
};

pci@e0008600 {
pci0: pci@e0008600 {
cell-index = <2>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
/* IDSEL 0x0F - PCI Slot */
Expand Down
21 changes: 17 additions & 4 deletions arch/powerpc/boot/dts/mpc834x_mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
#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>;
Expand Down Expand Up @@ -164,7 +173,8 @@
linux,network-index = <1>;
};

serial@4500 {
serial0: serial@4500 {
cell-index = <0>;
device_type = "serial";
compatible = "ns16550";
reg = <4500 100>;
Expand All @@ -173,7 +183,8 @@
interrupt-parent = < &ipic >;
};

serial@4600 {
serial1: serial@4600 {
cell-index = <1>;
device_type = "serial";
compatible = "ns16550";
reg = <4600 100>;
Expand Down Expand Up @@ -213,7 +224,8 @@
};
};

pci@e0008500 {
pci0: pci@e0008500 {
cell-index = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <

Expand Down Expand Up @@ -273,7 +285,8 @@
device_type = "pci";
};

pci@e0008600 {
pci1: pci@e0008600 {
cell-index = <2>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <

Expand Down
Loading

0 comments on commit ea082fa

Please sign in to comment.