Commit 3a25db17 authored by Camelia Groza's avatar Camelia Groza Committed by Priyanka Jain

powerpc: dts: qoriq: update the mdio offsets under the second FMan v3

When two FMan's are present on a board, the MDIO nodes are found at the
same offsets inside each FMan. This causes "non unique device name"
errors when registering the MDIO nodes under the second FMan. Fix this
by updating the offsets of the MDIO nodes to include the parent FMan's
offset.
Signed-off-by: default avatarCamelia Groza <camelia.groza@nxp.com>
Reviewed-by: Priyanka Jain's avatarPriyanka Jain <priyanka.jain@nxp.com>
parent 6aa01e26
......@@ -30,7 +30,7 @@ fman@500000 {
pcsphy-handle = <&pcsphy14>;
};
mdio@f1000 {
mdio@5f1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
......
......@@ -30,7 +30,7 @@ fman@500000 {
pcsphy-handle = <&pcsphy15>;
};
mdio@f3000 {
mdio@5f3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
......
......@@ -29,7 +29,7 @@ fman@500000 {
pcsphy-handle = <&pcsphy8>;
};
mdio@e1000 {
mdio@5e1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
......
......@@ -29,7 +29,7 @@ fman@500000 {
pcsphy-handle = <&pcsphy9>;
};
mdio@e3000 {
mdio@5e3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
......
......@@ -29,7 +29,7 @@ fman@500000 {
pcsphy-handle = <&pcsphy10>;
};
mdio@e5000 {
mdio@5e5000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
......
......@@ -29,7 +29,7 @@ fman@500000 {
pcsphy-handle = <&pcsphy11>;
};
mdio@e7000 {
mdio@5e7000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
......
......@@ -29,7 +29,7 @@ fman@500000 {
pcsphy-handle = <&pcsphy12>;
};
mdio@e9000 {
mdio@5e9000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
......
......@@ -29,7 +29,7 @@ fman@500000 {
pcsphy-handle = <&pcsphy13>;
};
mdio@eb000 {
mdio@5eb000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
......
......@@ -61,14 +61,14 @@ fman1: fman@500000 {
reg = <0x87000 0x1000>;
};
mdio1: mdio@fc000 {
mdio1: mdio@5fc000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xfc000 0x1000>;
};
mdio@fd000 {
mdio@5fd000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
......
......@@ -100,7 +100,7 @@
phy-connection-type = "xgmii";
};
mdio@fc000 {
mdio@5fc000 {
sgmiiphy21: ethernet-phy@0 {
reg = <0x0>;
};
......@@ -134,7 +134,7 @@
};
};
mdio@fd000 {
mdio@5fd000 {
xfiphy1: ethernet-phy@10 {
compatible = "ethernet-phy-id13e5.1002";
reg = <0x10>;
......
......@@ -90,11 +90,11 @@
enet15: ethernet@f2000 {
};
mdio@fc000 {
mdio@5fc000 {
interrupts = <100 1 0 0>;
};
mdio@fd000 {
mdio@5fd000 {
interrupts = <101 1 0 0>;
};
};
......
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