51 lines · plain
1* Broadcom Starfighter 2 integrated switch2 3See 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.txt8- dsa,ethernet: phandle to the CPU network interface controller, see dsa/dsa.txt9- #address-cells: must be 2, see dsa/dsa.txt10 11Example using the old DSA DeviceTree binding:12 13switch_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 0x4000024 0x40000 0x11025 0x40340 0x3026 0x40380 0x3027 0x40400 0x3428 0x40600 0x208>;29 interrupts = <0 0x18 030 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};51