mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-22 07:01:24 +02:00
dts: xea: Provide missing FEC required properties (mac0 and reg_fec_3v3)
After the commit (SHA1: 7d08ddd09b75e7a3c103cc0d0d3ed700287f268e) some u-boot specific XEA FEC related properties have been replaced by ones from the Linux kernel. To be more specific - XEA board (and imx287 in general) has built L2 switch connected to FEC, which needs some special treatment. In u-boot it is handled with 'mac0' node, whereas Linux uses dedicated switch DTS node. Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
0d30b6c4ec
commit
c5e8c336ec
@ -38,12 +38,34 @@
|
|||||||
bootph-pre-ram;
|
bootph-pre-ram;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&mac0 {
|
||||||
|
phy-mode = "rmii";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&mac0_pins_a>;
|
||||||
|
phy-supply = <®_fec_3v3>;
|
||||||
|
phy-reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
|
||||||
|
phy-reset-duration = <1>;
|
||||||
|
phy-reset-post-delay = <1>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
fixed-link {
|
||||||
|
speed = <100>;
|
||||||
|
full-duplex;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&pinctrl {
|
&pinctrl {
|
||||||
/delete-property/ pinctrl-names;
|
/delete-property/ pinctrl-names;
|
||||||
/delete-property/ pinctrl-0;
|
/delete-property/ pinctrl-0;
|
||||||
bootph-pre-ram;
|
bootph-pre-ram;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
®_fec_3v3 {
|
||||||
|
gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
||||||
|
enable-active-high;
|
||||||
|
regulator-boot-on;
|
||||||
|
};
|
||||||
|
|
||||||
&ssp0 {
|
&ssp0 {
|
||||||
bootph-pre-ram;
|
bootph-pre-ram;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user