]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/net/brcm,bcm7445-switch-v4.0.txt
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / net / brcm,bcm7445-switch-v4.0.txt
1 * Broadcom Starfighter 2 integrated switch
2
3 See dsa/brcm,bcm7445-switch-v4.0.yaml for the documentation.
4
5 *Deprecated* binding required properties:
6
7 - dsa,mii-bus: phandle to the MDIO bus controller, see dsa/dsa.txt
8 - dsa,ethernet: phandle to the CPU network interface controller, see dsa/dsa.txt
9 - #address-cells: must be 2, see dsa/dsa.txt
10
11 Example using the old DSA DeviceTree binding:
12
13 switch_top@f0b00000 {
14 compatible = "simple-bus";
15 #size-cells = <1>;
16 #address-cells = <1>;
17 ranges = <0 0xf0b00000 0x40804>;
18
19 ethernet_switch@0 {
20 compatible = "brcm,bcm7445-switch-v4.0";
21 #size-cells = <0>;
22 #address-cells = <2>;
23 reg = <0x0 0x40000
24 0x40000 0x110
25 0x40340 0x30
26 0x40380 0x30
27 0x40400 0x34
28 0x40600 0x208>;
29 interrupts = <0 0x18 0
30 0 0x19 0>;
31 brcm,num-gphy = <1>;
32 brcm,num-rgmii-ports = <2>;
33 brcm,fcb-pause-override;
34 brcm,acb-packets-inflight;
35
36 ...
37 switch@0 {
38 reg = <0 0>;
39 #size-cells = <0>;
40 #address-cells = <1>;
41
42 port@0 {
43 label = "gphy";
44 reg = <0>;
45 brcm,use-bcm-hdr;
46 };
47 ...
48 };
49 };
50 };