1 * Broadcom Starfighter 2 integrated swich
5 - compatible: should be one of
6 "brcm,bcm7445-switch-v4.0"
7 "brcm,bcm7278-switch-v4.0"
8 "brcm,bcm7278-switch-v4.8"
9 - reg: addresses and length of the register sets for the device, must be 6
10 pairs of register addresses and lengths
11 - interrupts: interrupts for the devices, must be two interrupts
12 - #address-cells: must be 1, see dsa/dsa.txt
13 - #size-cells: must be 0, see dsa/dsa.txt
15 Deprecated binding required properties:
17 - dsa,mii-bus: phandle to the MDIO bus controller, see dsa/dsa.txt
18 - dsa,ethernet: phandle to the CPU network interface controller, see dsa/dsa.txt
19 - #address-cells: must be 2, see dsa/dsa.txt
23 The integrated switch subnode should be specified according to the binding
24 described in dsa/dsa.txt.
28 - reg-names: litteral names for the device base register addresses, when present
29 must be: "core", "reg", "intrl2_0", "intrl2_1", "fcb", "acb"
31 - interrupt-names: litternal names for the device interrupt lines, when present
32 must be: "switch_0" and "switch_1"
34 - brcm,num-gphy: specify the maximum number of integrated gigabit PHYs in the
37 - brcm,num-rgmii-ports: specify the maximum number of RGMII interfaces supported
40 - brcm,fcb-pause-override: boolean property, if present indicates that the switch
41 supports Failover Control Block pause override capability
43 - brcm,acb-packets-inflight: boolean property, if present indicates that the switch
44 Admission Control Block supports reporting the number of packets in-flight in a
47 - resets: a single phandle and reset identifier pair. See
48 Documentation/devicetree/bindings/reset/reset.txt for details.
50 - reset-names: If the "reset" property is specified, this property should have
51 the value "switch" to denote the switch reset line.
53 - clocks: when provided, the first phandle is to the switch's main clock and
54 is valid for both BCM7445 and BCM7278. The second phandle is only applicable
55 to BCM7445 and is to support dividing the switch core clock.
57 - clock-names: when provided, the first phandle must be "sw_switch", and the
58 second must be named "sw_switch_mdiv".
64 - brcm,use-bcm-hdr: boolean property, if present, indicates that the switch
65 port has Broadcom tags enabled (per-packet metadata)
70 compatible = "simple-bus";
73 ranges = <0 0xf0b00000 0x40804>;
76 compatible = "brcm,bcm7445-switch-v4.0";
85 reg-names = "core", "reg", intrl2_0", "intrl2_1",
87 interrupts = <0 0x18 0
90 brcm,num-rgmii-ports = <2>;
91 brcm,fcb-pause-override;
92 brcm,acb-packets-inflight;
106 Example using the old DSA DeviceTree binding:
108 switch_top@f0b00000 {
109 compatible = "simple-bus";
111 #address-cells = <1>;
112 ranges = <0 0xf0b00000 0x40804>;
115 compatible = "brcm,bcm7445-switch-v4.0";
117 #address-cells = <2>;
124 interrupts = <0 0x18 0
127 brcm,num-rgmii-ports = <2>;
128 brcm,fcb-pause-override;
129 brcm,acb-packets-inflight;