mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-12 15:53:21 +09:00
![Alex Marginean](/assets/img/avatar_default.png)
A couple of optional properties have been introduced for Aquantia PHY allowing the driver to set up wiring related configuration points that are otherwise driven by firmware. Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
26 lines
1018 B
Plaintext
26 lines
1018 B
Plaintext
PHY nodes for Aquantia devices.
|
|
|
|
This text describes properties that are applicable to Aquantia PHY nodes in
|
|
addition to the bindings in phy.txt.
|
|
|
|
Aquantia PHYs allow some flexibility in the way they are wired in a system,
|
|
they allow MDI pins to be reversed, LEDs linked up in different weays, have an
|
|
I2C slave interface that can be used for debug. Normally the configuration
|
|
corresponding to these is driven by the PHY firmware with the downside that
|
|
a custom firmware is needed for each integration of a PHY.
|
|
Several optional bindings are defined that allow these configuration points to
|
|
be driven by the PHY driver and reduce dependency on specific FW versions.
|
|
|
|
Optional properties:
|
|
mdi-reversal: 0 or 1 indicating that reversal must be disabled/enabled.
|
|
Firmware default is used if the property is missing.
|
|
smb-addr: I2C/SMBus address to use, firmware default is used if the property
|
|
is missing.
|
|
|
|
Example node:
|
|
phy@00 {
|
|
reg = <0x00>;
|
|
mdi-reversal = <1>;
|
|
smb-addr = <0x25>;
|
|
};
|