Based on kernel version 4.0. Page generated on 2015-04-14 21:21 EST.
1 * Broadcom Starfighter 2 integrated swich 2 3 Required properties: 4 5 - compatible: should be "brcm,bcm7445-switch-v4.0" 6 - reg: addresses and length of the register sets for the device, must be 6 7 pairs of register addresses and lengths 8 - interrupts: interrupts for the devices, must be two interrupts 9 - dsa,mii-bus: phandle to the MDIO bus controller, see dsa/dsa.txt 10 - dsa,ethernet: phandle to the CPU network interface controller, see dsa/dsa.txt 11 - #size-cells: must be 0 12 - #address-cells: must be 2, see dsa/dsa.txt 13 14 Subnodes: 15 16 The integrated switch subnode should be specified according to the binding 17 described in dsa/dsa.txt. 18 19 Optional properties: 20 21 - reg-names: litteral names for the device base register addresses, when present 22 must be: "core", "reg", "intrl2_0", "intrl2_1", "fcb", "acb" 23 24 - interrupt-names: litternal names for the device interrupt lines, when present 25 must be: "switch_0" and "switch_1" 26 27 - brcm,num-gphy: specify the maximum number of integrated gigabit PHYs in the 28 switch 29 30 - brcm,num-rgmii-ports: specify the maximum number of RGMII interfaces supported 31 by the switch 32 33 - brcm,fcb-pause-override: boolean property, if present indicates that the switch 34 supports Failover Control Block pause override capability 35 36 - brcm,acb-packets-inflight: boolean property, if present indicates that the switch 37 Admission Control Block supports reporting the number of packets in-flight in a 38 switch queue 39 40 Example: 41 42 switch_top@f0b00000 { 43 compatible = "simple-bus"; 44 #size-cells = <1>; 45 #address-cells = <1>; 46 ranges = <0 0xf0b00000 0x40804>; 47 48 ethernet_switch@0 { 49 compatible = "brcm,bcm7445-switch-v4.0"; 50 #size-cells = <0>; 51 #address-cells = <2>; 52 reg = <0x0 0x40000 53 0x40000 0x110 54 0x40340 0x30 55 0x40380 0x30 56 0x40400 0x34 57 0x40600 0x208>; 58 interrupts = <0 0x18 0 59 0 0x19 0>; 60 brcm,num-gphy = <1>; 61 brcm,num-rgmii-ports = <2>; 62 brcm,fcb-pause-override; 63 brcm,acb-packets-inflight; 64 65 ... 66 switch@0 { 67 reg = <0 0>; 68 #size-cells = <0>; 69 #address-cells <1>; 70 71 port@0 { 72 label = "gphy"; 73 reg = <0>; 74 }; 75 ... 76 }; 77 }; 78 };