Commit 0a6ea8be authored by Stefan Roese's avatar Stefan Roese Committed by Josh Boyer

[POWERPC] 4xx: Change Kilauea dts to support new EMAC device tree properties

The recent changes from Benjamin Herrenschmidt to the ibm_newemac now
make it possible to support other 4xx variants by just defining the
correct properties in the device tree. In this case of the 405EX we
need to define "has-mdio" in the RGMII node and "has-inverted-stacr-oc"
and "has-new-stacr-staopc" in the EMAC node same as on the 440EPx.
Signed-off-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
parent cdb159af
...@@ -194,6 +194,7 @@ RGMII0: emac-rgmii@ef600b00 { ...@@ -194,6 +194,7 @@ RGMII0: emac-rgmii@ef600b00 {
device_type = "rgmii-interface"; device_type = "rgmii-interface";
compatible = "ibm,rgmii-405ex", "ibm,rgmii"; compatible = "ibm,rgmii-405ex", "ibm,rgmii";
reg = <ef600b00 104>; reg = <ef600b00 104>;
has-mdio;
}; };
EMAC0: ethernet@ef600900 { EMAC0: ethernet@ef600900 {
...@@ -220,6 +221,8 @@ EMAC0: ethernet@ef600900 { ...@@ -220,6 +221,8 @@ EMAC0: ethernet@ef600900 {
phy-map = <00000000>; phy-map = <00000000>;
rgmii-device = <&RGMII0>; rgmii-device = <&RGMII0>;
rgmii-channel = <0>; rgmii-channel = <0>;
has-inverted-stacr-oc;
has-new-stacr-staopc;
}; };
EMAC1: ethernet@ef600a00 { EMAC1: ethernet@ef600a00 {
...@@ -246,6 +249,8 @@ EMAC1: ethernet@ef600a00 { ...@@ -246,6 +249,8 @@ EMAC1: ethernet@ef600a00 {
phy-map = <00000000>; phy-map = <00000000>;
rgmii-device = <&RGMII0>; rgmii-device = <&RGMII0>;
rgmii-channel = <1>; rgmii-channel = <1>;
has-inverted-stacr-oc;
has-new-stacr-staopc;
}; };
}; };
}; };
......
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