summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8qm-enet2-tja1100.dtsi
diff options
context:
space:
mode:
authorFugang Duan <fugang.duan@nxp.com>2020-05-22 18:18:09 +0800
committerFugang Duan <fugang.duan@nxp.com>2020-05-27 08:37:17 +0000
commit48daa0ca63cdac5efc95f606ad2daf66edfbd28f (patch)
tree2935da1abc371e2f759f652860d851b39cfff05e /arch/arm64/boot/dts/freescale/imx8qm-enet2-tja1100.dtsi
parent42c2c51e07d1ddf99a0fcb9ecde074ff3a34ddbe (diff)
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>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8qm-enet2-tja1100.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8qm-enet2-tja1100.dtsi14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-enet2-tja1100.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-enet2-tja1100.dtsi
index 8e3b94666e2b..13692cf40709 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-enet2-tja1100.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm-enet2-tja1100.dtsi
@@ -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;
};