freebsd-skq/sys/dts/arm/overlays/sun8i-a83t-bananapi-m3-emac.dtso
Kyle Evans 1e14d6eb3d Add a83t overlays for sid and emac
The sun8i-a83t-bananapi-m3-emac overlay technically doesn't match what will
be coming from upstream. The tx-delay and rx-delay should be specified in
terms of allwinner,tx-delay-ps and allwinner,rx-delay-ps respectively. The
values are still technically correct for what we write in if_awg, and
support for the new bindings will be coming soon.
2018-04-07 22:28:43 +00:00

30 lines
462 B
Plaintext

/dts-v1/;
/plugin/;
/ {
compatible = "sinovoip,bpi-m3";
fragment@0 {
target = <&mdio>;
__overlay__ {
rgmii_phy: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x1>;
};
};
};
fragment@1 {
target = <&emac>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&emac_rgmii_pins>;
phy-handle = <&rgmii_phy>;
phy-mode = "rgmii";
rx-delay = <0x7>;
tx-delay = <0x7>;
status = "okay";
};
};
};