Commit af6521ea authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Kumar Gala

[POWERPC] 85xx: mpc8568mds - update dts to be able to use UCCs

1. UCC1's RX_DV pin is 16, not 15;
2. UCC1's phy is at 0x7, not 0x1. Schematics says 0x7, and recent
   u-boot also using 0x7.
3. Use gianfar's (eTSEC) mdio bus. This is hardware default setup.
4. tx-clock should be CLK16 (GE125, PB31);
5. phy-connection-type is RGMII-ID;
Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 321872dc
...@@ -104,10 +104,10 @@ mdio@24520 { ...@@ -104,10 +104,10 @@ mdio@24520 {
device_type = "mdio"; device_type = "mdio";
compatible = "gianfar"; compatible = "gianfar";
reg = <24520 20>; reg = <24520 20>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@7 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
interrupts = <1 1>; interrupts = <1 1>;
reg = <0>; reg = <7>;
device_type = "ethernet-phy"; device_type = "ethernet-phy";
}; };
phy1: ethernet-phy@1 { phy1: ethernet-phy@1 {
...@@ -242,7 +242,7 @@ pio1: ucc_pin@01 { ...@@ -242,7 +242,7 @@ pio1: ucc_pin@01 {
4 1a 2 0 2 0 /* RxD7 */ 4 1a 2 0 2 0 /* RxD7 */
4 0b 1 0 2 0 /* TX_EN */ 4 0b 1 0 2 0 /* TX_EN */
4 18 1 0 2 0 /* TX_ER */ 4 18 1 0 2 0 /* TX_ER */
4 0f 2 0 2 0 /* RX_DV */ 4 10 2 0 2 0 /* RX_DV */
4 1e 2 0 2 0 /* RX_ER */ 4 1e 2 0 2 0 /* RX_ER */
4 11 2 0 2 0 /* RX_CLK */ 4 11 2 0 2 0 /* RX_CLK */
4 13 1 0 2 0 /* GTX_CLK */ 4 13 1 0 2 0 /* GTX_CLK */
...@@ -334,10 +334,10 @@ ucc@2000 { ...@@ -334,10 +334,10 @@ ucc@2000 {
mac-address = [ 00 00 00 00 00 00 ]; mac-address = [ 00 00 00 00 00 00 ];
local-mac-address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ];
rx-clock = <0>; rx-clock = <0>;
tx-clock = <19>; tx-clock = <20>;
phy-handle = <&qe_phy0>;
phy-connection-type = "gmii";
pio-handle = <&pio1>; pio-handle = <&pio1>;
phy-handle = <&phy0>;
phy-connection-type = "rgmii-id";
}; };
ucc@3000 { ucc@3000 {
...@@ -356,10 +356,10 @@ ucc@3000 { ...@@ -356,10 +356,10 @@ ucc@3000 {
mac-address = [ 00 00 00 00 00 00 ]; mac-address = [ 00 00 00 00 00 00 ];
local-mac-address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ];
rx-clock = <0>; rx-clock = <0>;
tx-clock = <14>; tx-clock = <20>;
phy-handle = <&qe_phy1>;
phy-connection-type = "gmii";
pio-handle = <&pio2>; pio-handle = <&pio2>;
phy-handle = <&phy1>;
phy-connection-type = "rgmii-id";
}; };
mdio@2120 { mdio@2120 {
...@@ -371,10 +371,10 @@ mdio@2120 { ...@@ -371,10 +371,10 @@ mdio@2120 {
/* These are the same PHYs as on /* These are the same PHYs as on
* gianfar's MDIO bus */ * gianfar's MDIO bus */
qe_phy0: ethernet-phy@00 { qe_phy0: ethernet-phy@07 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
interrupts = <1 1>; interrupts = <1 1>;
reg = <0>; reg = <7>;
device_type = "ethernet-phy"; device_type = "ethernet-phy";
}; };
qe_phy1: ethernet-phy@01 { qe_phy1: ethernet-phy@01 {
......
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