hc
2023-12-06 d38611ca164021d018c1b23eee65bbebc09c63e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SMSC LAN87xx Ethernet PHY
 
Some boards require special tuning values. Configure them
through an Ethernet OF device node.
 
Optional properties:
 
- clocks:
  The clock used as phy reference clock and is connected to phy
  pin XTAL1/CLKIN.
 
- smsc,disable-energy-detect:
  If set, do not enable energy detect mode for the SMSC phy.
  default: enable energy detect mode
 
Examples:
smsc phy with disabled energy detect mode on an am335x based board.
&davinci_mdio {
   pinctrl-names = "default", "sleep";
   pinctrl-0 = <&davinci_mdio_default>;
   pinctrl-1 = <&davinci_mdio_sleep>;
 
   ethernetphy0: ethernet-phy@0 {
       reg = <0>;
       smsc,disable-energy-detect;
   };
};