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