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