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