Commit d03e0677 authored by Liu Yu-B13201's avatar Liu Yu-B13201 Committed by David S. Miller

dts/mpc8569mds: Cleanup tbi phy to support rtbi

After these change, when need to work in rtbi mode,
just change phy-connection-type to "rtbi".

Also, this work can be done by u-boot.
Signed-off-by: default avatarLiu Yu <yu.liu@freescale.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b0f75221
...@@ -535,6 +535,7 @@ enet0: ucc@2000 { ...@@ -535,6 +535,7 @@ enet0: ucc@2000 {
rx-clock-name = "none"; rx-clock-name = "none";
tx-clock-name = "clk12"; tx-clock-name = "clk12";
pio-handle = <&pio1>; pio-handle = <&pio1>;
tbi-handle = <&tbi1>;
phy-handle = <&qe_phy0>; phy-handle = <&qe_phy0>;
phy-connection-type = "rgmii-id"; phy-connection-type = "rgmii-id";
}; };
...@@ -579,7 +580,7 @@ qe_phy7: ethernet-phy@06 { ...@@ -579,7 +580,7 @@ qe_phy7: ethernet-phy@06 {
reg = <0x6>; reg = <0x6>;
device_type = "ethernet-phy"; device_type = "ethernet-phy";
}; };
tbi-phy@11 { tbi1: tbi-phy@11 {
reg = <0x11>; reg = <0x11>;
device_type = "tbi-phy"; device_type = "tbi-phy";
}; };
...@@ -590,7 +591,7 @@ mdio@3520 { ...@@ -590,7 +591,7 @@ mdio@3520 {
reg = <0x3520 0x18>; reg = <0x3520 0x18>;
compatible = "fsl,ucc-mdio"; compatible = "fsl,ucc-mdio";
tbi0: tbi-phy@15 { tbi6: tbi-phy@15 {
reg = <0x15>; reg = <0x15>;
device_type = "tbi-phy"; device_type = "tbi-phy";
}; };
...@@ -600,7 +601,7 @@ mdio@3720 { ...@@ -600,7 +601,7 @@ mdio@3720 {
#size-cells = <0>; #size-cells = <0>;
reg = <0x3720 0x38>; reg = <0x3720 0x38>;
compatible = "fsl,ucc-mdio"; compatible = "fsl,ucc-mdio";
tbi1: tbi-phy@17 { tbi8: tbi-phy@17 {
reg = <0x17>; reg = <0x17>;
device_type = "tbi-phy"; device_type = "tbi-phy";
}; };
...@@ -617,10 +618,22 @@ enet2: ucc@2200 { ...@@ -617,10 +618,22 @@ enet2: ucc@2200 {
rx-clock-name = "none"; rx-clock-name = "none";
tx-clock-name = "clk12"; tx-clock-name = "clk12";
pio-handle = <&pio3>; pio-handle = <&pio3>;
tbi-handle = <&tbi3>;
phy-handle = <&qe_phy2>; phy-handle = <&qe_phy2>;
phy-connection-type = "rgmii-id"; phy-connection-type = "rgmii-id";
}; };
mdio@2320 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x2320 0x18>;
compatible = "fsl,ucc-mdio";
tbi3: tbi-phy@11 {
reg = <0x11>;
device_type = "tbi-phy";
};
};
enet1: ucc@3000 { enet1: ucc@3000 {
device_type = "network"; device_type = "network";
compatible = "ucc_geth"; compatible = "ucc_geth";
...@@ -632,10 +645,22 @@ enet1: ucc@3000 { ...@@ -632,10 +645,22 @@ enet1: ucc@3000 {
rx-clock-name = "none"; rx-clock-name = "none";
tx-clock-name = "clk17"; tx-clock-name = "clk17";
pio-handle = <&pio2>; pio-handle = <&pio2>;
tbi-handle = <&tbi2>;
phy-handle = <&qe_phy1>; phy-handle = <&qe_phy1>;
phy-connection-type = "rgmii-id"; phy-connection-type = "rgmii-id";
}; };
mdio@3120 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x3120 0x18>;
compatible = "fsl,ucc-mdio";
tbi2: tbi-phy@11 {
reg = <0x11>;
device_type = "tbi-phy";
};
};
enet3: ucc@3200 { enet3: ucc@3200 {
device_type = "network"; device_type = "network";
compatible = "ucc_geth"; compatible = "ucc_geth";
...@@ -647,10 +672,22 @@ enet3: ucc@3200 { ...@@ -647,10 +672,22 @@ enet3: ucc@3200 {
rx-clock-name = "none"; rx-clock-name = "none";
tx-clock-name = "clk17"; tx-clock-name = "clk17";
pio-handle = <&pio4>; pio-handle = <&pio4>;
tbi-handle = <&tbi4>;
phy-handle = <&qe_phy3>; phy-handle = <&qe_phy3>;
phy-connection-type = "rgmii-id"; phy-connection-type = "rgmii-id";
}; };
mdio@3320 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x3320 0x18>;
compatible = "fsl,ucc-mdio";
tbi4: tbi-phy@11 {
reg = <0x11>;
device_type = "tbi-phy";
};
};
enet5: ucc@3400 { enet5: ucc@3400 {
device_type = "network"; device_type = "network";
compatible = "ucc_geth"; compatible = "ucc_geth";
...@@ -661,7 +698,7 @@ enet5: ucc@3400 { ...@@ -661,7 +698,7 @@ enet5: ucc@3400 {
local-mac-address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ];
rx-clock-name = "none"; rx-clock-name = "none";
tx-clock-name = "none"; tx-clock-name = "none";
tbi-handle = <&tbi0>; tbi-handle = <&tbi6>;
phy-handle = <&qe_phy5>; phy-handle = <&qe_phy5>;
phy-connection-type = "sgmii"; phy-connection-type = "sgmii";
}; };
...@@ -676,7 +713,7 @@ enet7: ucc@3600 { ...@@ -676,7 +713,7 @@ enet7: ucc@3600 {
local-mac-address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ];
rx-clock-name = "none"; rx-clock-name = "none";
tx-clock-name = "none"; tx-clock-name = "none";
tbi-handle = <&tbi1>; tbi-handle = <&tbi8>;
phy-handle = <&qe_phy7>; phy-handle = <&qe_phy7>;
phy-connection-type = "sgmii"; phy-connection-type = "sgmii";
}; };
......
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