diff options
author | Fugang Duan <b38611@freescale.com> | 2014-10-13 17:17:27 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-01-15 21:18:39 -0600 |
commit | e1c70cdbcbf7225fc2461a512257549bcb9522ca (patch) | |
tree | f0a9536f535e2ff1db45419b9d89f9bcecd7f463 /arch/arm/boot/dts/imx6sx-19x19-arm2.dts | |
parent | eb8b1b50a48f29563780ec0996ca45c399be1f16 (diff) |
MLK-9977 ARM: dts: imx6sx: specify the phy address
Since fec controller contain mdio bus, for imx serial chips, there have
no independent/external MDIO bus. ENET1 and ENET2 share use ENET1 mdio bus.
So, specify the phy address for two MACs.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-19x19-arm2.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-19x19-arm2.dts | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6sx-19x19-arm2.dts b/arch/arm/boot/dts/imx6sx-19x19-arm2.dts index 1af0d4e52d44..30b8f3308ee0 100644 --- a/arch/arm/boot/dts/imx6sx-19x19-arm2.dts +++ b/arch/arm/boot/dts/imx6sx-19x19-arm2.dts @@ -113,19 +113,34 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet1_1>; phy-mode = "rgmii"; - phy-id = <1>; + phy-handle = <ðphy1>; fsl,num_tx_queues=<3>; fsl,num_rx_queues=<3>; pinctrl-assert-gpios = <&max7322_1 0 GPIO_ACTIVE_HIGH>; fsl,magic-packet; status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; + + ethphy1: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; + }; }; &fec2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet2_1>; phy-mode = "rgmii"; - phy-id = <0>; + phy-handle = <ðphy0>; fsl,num_tx_queues=<3>; fsl,num_rx_queues=<3>; pinctrl-assert-gpios = <&max7322_2 0 GPIO_ACTIVE_HIGH>; |