Skip to content

Commit

Permalink
experiment with connecting phy MDIO bus to FEC thru the DT
Browse files Browse the repository at this point in the history
  • Loading branch information
Vacaliuc, Bogdan committed Apr 4, 2019
1 parent 80d46a8 commit 87f0822
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions arch/arm/boot/dts/imx6q-iris2-R0.dts
Expand Up @@ -47,9 +47,8 @@
ksz9893: ksz9893@0 {
compatible = "microchip,ksz9893";
reg = <0>;
phy-mode = "rgmii-id";

spi-max-frequency = <44000000>;
spi-max-frequency = <40000000>;
spi-cpha;
spi-cpol;
interrupt-parent = <&gpio4>;
Expand All @@ -69,7 +68,7 @@
port@2 {
reg = <2>;
label = "cpu";
ethernet = <&fec>;
ethernet = <&ethphy0>;
fixed-link {
speed = <1000>;
full-duplex;
Expand All @@ -83,11 +82,13 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
phy-mode = "rgmii-id";
phy-handle = <&ethphy0>;
phy-reset-gpios = <&gpio1 25 0>;
phy-reset-duration = <10>;
phy-reset-post-delay = <100>;
phy-supply = <&reg_usb_otg_vbus>;
fsl,magic-packet;
fsl,mii-exclusive;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
Expand All @@ -96,6 +97,10 @@
speed = <1000>;
full-duplex;
};
ethphy0: ethernet-phy@0 {
compatible = "microchip,ksz9893";
reg = <0>;
};
};

&ldb {
Expand Down

0 comments on commit 87f0822

Please sign in to comment.