^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) The Broadcom BCM87XX devices are a family of 10G Ethernet PHYs. They
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) have these bindings in addition to the standard PHY bindings.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Compatible: Should contain "broadcom,bcm8706" or "broadcom,bcm8727" and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) "ethernet-phy-ieee802.3-c45"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Optional Properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - broadcom,c45-reg-init : one of more sets of 4 cells. The first cell
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) is the MDIO Manageable Device (MMD) address, the second a register
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) address within the MMD, the third cell contains a mask to be ANDed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) with the existing register value, and the fourth cell is ORed with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) he result to yield the new register value. If the third cell has a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) value of zero, no read of the existing value is performed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) ethernet-phy@5 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) reg = <5>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) compatible = "broadcom,bcm8706", "ethernet-phy-ieee802.3-c45";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) interrupt-parent = <&gpio>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) interrupts = <12 8>; /* Pin 12, active low */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) * Set PMD Digital Control Register for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) * GPIO[1] Tx/Rx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) * GPIO[0] R64 Sync Acquired
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) broadcom,c45-reg-init = <1 0xc808 0xff8f 0x70>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) };