Alex Marginean | e81031c | 2019-11-14 18:28:36 +0200 | [diff] [blame] | 1 | PHY nodes |
| 2 | |
| 3 | If the device tree is used to describe networking interfaces, U-Boot expects a |
| 4 | node for each PHY. Parent node for such a PHY node is expected to correspond to |
| 5 | a MDIO bus and the bus is used to access the PHY. |
| 6 | |
| 7 | Required properties: |
| 8 | |
| 9 | - reg : The ID number for the phy, usually a small integer |
| 10 | |
| 11 | Example: |
| 12 | |
| 13 | ethernet-phy@0 { |
| 14 | compatible = "ethernet-phy-id0141.0e90", "ethernet-phy-ieee802.3-c22"; |
| 15 | interrupt-parent = <&PIC>; |
| 16 | interrupts = <35 IRQ_TYPE_EDGE_RISING>; |
| 17 | reg = <0>; |
| 18 | |
| 19 | resets = <&rst 8>; |
| 20 | reset-names = "phy"; |
| 21 | reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
| 22 | reset-assert-us = <1000>; |
| 23 | reset-deassert-us = <2000>; |
| 24 | }; |