1 Broadcom BCM53xx Ethernet switches
2 ==================================
6 - compatible: For external switch chips, compatible string must be exactly one
17 For the BCM11360 SoC, must be:
18 "brcm,bcm11360-srab" and the mandatory "brcm,cygnus-srab" string
20 For the BCM5310x SoCs with an integrated switch, must be one of:
25 "brcm,bcm53019-srab" and the mandatory "brcm,bcm5301x-srab" string
27 For the BCM5831X/BCM1140x SoCs with an integrated switch, must be one of:
33 "brcm,bcm58313-srab" and the mandatory "brcm,omega-srab" string
35 For the BCM585xx/586XX/88312 SoCs with an integrated switch, must be one of:
42 "brcm,bcm88312-srab" and the mandatory "brcm,nsp-srab string
44 For the BCM63xx/33xx SoCs with an integrated switch, must be one of:
47 "brcm,bcm6368-switch" and the mandatory "brcm,bcm63xx-switch"
49 Required properties for BCM585xx/586xx/88312 SoCs:
51 - reg: a total of 3 register base addresses, the first one must be the
52 Switch Register Access block base, the second is the port 5/4 mux
53 configuration register and the third one is the SGMII configuration
54 and status register base address.
56 - interrupts: a total of 13 interrupts must be specified, in the following
57 order: port 0-5, 7-8 link status change, then the integrated PHY interrupt,
58 then the timestamping interrupt and the sleep timer interrupts for ports
61 Optional properties for BCM585xx/586xx/88312 SoCs:
63 - reg-names: a total of 3 names matching the 3 base register address, must
64 be in the following order:
69 - interrupt-names: a total of 13 names matching the 13 interrupts specified
70 must be in the following order:
85 See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional
86 required and optional properties.
90 Ethernet switch connected via MDIO to the host, CPU port wired to eth0:
92 eth0: ethernet@10001000 {
93 compatible = "brcm,unimac";
94 reg = <0x10001000 0x1000>;
102 mdio0: mdio@10000000 {
103 compatible = "brcm,unimac-mdio";
104 #address-cells = <1>;
107 switch0: ethernet-switch@30 {
108 compatible = "brcm,bcm53125";
109 #address-cells = <1>;
125 label = "cable-modem";
130 phy-mode = "rgmii-txid";
140 phy-mode = "rgmii-txid";