mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-02 19:03:20 +09:00
![Alex Marginean](/assets/img/avatar_default.png)
It defines that PHY nodes must be children on MDIO bus nodes and defines the only required property in U-Boot, reg. This property along with the example provided are copied over from Linux. Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
25 lines
630 B
Plaintext
25 lines
630 B
Plaintext
PHY nodes
|
|
|
|
If the device tree is used to describe networking interfaces, U-Boot expects a
|
|
node for each PHY. Parent node for such a PHY node is expected to correspond to
|
|
a MDIO bus and the bus is used to access the PHY.
|
|
|
|
Required properties:
|
|
|
|
- reg : The ID number for the phy, usually a small integer
|
|
|
|
Example:
|
|
|
|
ethernet-phy@0 {
|
|
compatible = "ethernet-phy-id0141.0e90", "ethernet-phy-ieee802.3-c22";
|
|
interrupt-parent = <&PIC>;
|
|
interrupts = <35 IRQ_TYPE_EDGE_RISING>;
|
|
reg = <0>;
|
|
|
|
resets = <&rst 8>;
|
|
reset-names = "phy";
|
|
reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
|
|
reset-assert-us = <1000>;
|
|
reset-deassert-us = <2000>;
|
|
};
|