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 <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc8641_hpcn.dts | 28 ++++++++++++++++++++--------
1 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
index abb26dc..b039f21 100644
--- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
+++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
@@ -16,6 +16,17 @@
#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>;
@@ -107,7 +118,7 @@
};
};
- [EMAIL PROTECTED] {
+ enet0: [EMAIL PROTECTED] {
#address-cells = <1>;
#size-cells = <0>;
device_type = "network";
@@ -127,7 +138,7 @@
phy-connection-type = "rgmii-id";
};
- [EMAIL PROTECTED] {
+ enet1: [EMAIL PROTECTED] {
#address-cells = <1>;
#size-cells = <0>;
device_type = "network";
@@ -147,7 +158,7 @@
phy-connection-type = "rgmii-id";
};
- [EMAIL PROTECTED] {
+ enet2: [EMAIL PROTECTED] {
#address-cells = <1>;
#size-cells = <0>;
device_type = "network";
@@ -167,7 +178,7 @@
phy-connection-type = "rgmii-id";
};
- [EMAIL PROTECTED] {
+ enet3: [EMAIL PROTECTED] {
#address-cells = <1>;
#size-cells = <0>;
device_type = "network";
@@ -186,7 +197,8 @@
phy-handle = <&phy3>;
phy-connection-type = "rgmii-id";
};
- [EMAIL PROTECTED] {
+
+ serial0: [EMAIL PROTECTED] {
device_type = "serial";
compatible = "ns16550";
reg = <4500 100>;
@@ -195,7 +207,7 @@
interrupt-parent = <&mpic>;
};
- [EMAIL PROTECTED] {
+ serial1: [EMAIL PROTECTED] {
device_type = "serial";
compatible = "ns16550";
reg = <4600 100>;
@@ -222,7 +234,7 @@
};
};
- [EMAIL PROTECTED] {
+ pci0: [EMAIL PROTECTED] {
compatible = "fsl,mpc8641-pcie";
device_type = "pci";
#interrupt-cells = <1>;
@@ -430,7 +442,7 @@
};
- [EMAIL PROTECTED] {
+ pci1: [EMAIL PROTECTED] {
compatible = "fsl,mpc8641-pcie";
device_type = "pci";
#interrupt-cells = <1>;
--
1.5.2.1.126.g6abd0
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev