Files
Linux_Drivers/u-boot-2021.10/doc/device-tree-bindings/net/phy.txt
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

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>;
};