mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 10:06:42 +07:00
ARM: dts: imx6: RDU2: Add Micrel PHY to FEC
The FEC has a Micrel PHY connected to it. This PHY is managed using the bit-banging MDIO bus. Add this to the device tree. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Chris Healy <cphealy@gmail.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
5eaeaccdae
commit
efb0e487b0
@ -59,6 +59,10 @@ mdio1: mdio {
|
|||||||
pinctrl-0 = <&pinctrl_mdio1>;
|
pinctrl-0 = <&pinctrl_mdio1>;
|
||||||
gpios = <&gpio6 5 GPIO_ACTIVE_HIGH
|
gpios = <&gpio6 5 GPIO_ACTIVE_HIGH
|
||||||
&gpio6 4 GPIO_ACTIVE_HIGH>;
|
&gpio6 4 GPIO_ACTIVE_HIGH>;
|
||||||
|
|
||||||
|
phy: ethernet-phy@0 {
|
||||||
|
reg = <0>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_28p0v: regulator-28p0v {
|
reg_28p0v: regulator-28p0v {
|
||||||
@ -615,15 +619,11 @@ &fec {
|
|||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_enet>;
|
pinctrl-0 = <&pinctrl_enet>;
|
||||||
phy-mode = "rmii";
|
phy-mode = "rmii";
|
||||||
|
phy-handle = <&phy>;
|
||||||
phy-reset-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
|
phy-reset-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
|
||||||
phy-reset-duration = <100>;
|
phy-reset-duration = <100>;
|
||||||
phy-supply = <®_3p3v>;
|
phy-supply = <®_3p3v>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
fixed-link {
|
|
||||||
speed = <100>;
|
|
||||||
full-duplex;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&usbh1 {
|
&usbh1 {
|
||||||
|
Loading…
Reference in New Issue
Block a user