1
0
Fork 0

MLK-24174-04 arm64: dts: imx8: standardize the tja110x phy address

Some tja1100 cards phy address is 0x2, some cards is 0x5.
tja1101 cards phy address is 0x2.

To make thing simple, and to support tja1100 and tja1101
cards by one dts file, we define the tja110x card phy
address to 0x2 in default bsp.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Fugang Duan 2020-05-22 18:18:09 +08:00
parent 42c2c51e07
commit 48daa0ca63
3 changed files with 11 additions and 11 deletions

View File

@ -24,9 +24,9 @@
#address-cells = <1>;
#size-cells = <0>;
ethphy2: ethernet-phy@5 {
ethphy2: ethernet-phy@2 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <5>;
reg = <2>;
tja110x,refclk_in;
};
};

View File

@ -18,24 +18,24 @@
* to board limitation.
*/
&fec1 {
/* PHY address should rework to 2 */
phy-handle = <&ethphy2>;
/* PHY address should rework to 3 */
phy-handle = <&ethphy3>;
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy0: ethernet-phy@0 {
ethphy2: ethernet-phy@2 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0>;
reg = <2>;
tja110x,refclk_in;
/delete-property/ at803x,eee-disabled;
/delete-property/ at803x,vddio-1p8v;
};
ethphy2: ethernet-phy@2 {
ethphy3: ethernet-phy@3 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <2>;
reg = <3>;
at803x,eee-disabled;
at803x,vddio-1p8v;
};
@ -50,7 +50,7 @@
<&enet1_lpcg 0>,
<&enet1_lpcg 1>;
phy-mode = "rmii";
phy-handle = <&ethphy0>;
phy-handle = <&ethphy2>;
/delete-property/ phy-supply;
};

View File

@ -31,9 +31,9 @@
#address-cells = <1>;
#size-cells = <0>;
ethphy2: ethernet-phy@5 {
ethphy2: ethernet-phy@2 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <5>;
reg = <2>;
tja110x,refclk_in;
};
};