File: phy.txt

package info (click to toggle)
u-boot 2025.01-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 330,740 kB
  • sloc: ansic: 2,627,855; python: 60,773; sh: 41,641; asm: 21,854; makefile: 15,048; perl: 12,447; cs: 6,763; cpp: 1,868; yacc: 1,100; lex: 747; awk: 57; tcl: 32; sed: 24
file content (24 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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>;
};