1 * Broadcom BCM7xxx Ethernet Controller (GENET)
4 - compatible: should contain one of "brcm,genet-v1", "brcm,genet-v2",
5 "brcm,genet-v3", "brcm,genet-v4".
6 - reg: address and length of the register set for the device
7 - interrupts: must be two cells, the first cell is the general purpose
8 interrupt line, while the second cell is the interrupt for the ring
9 RX and TX queues operating in ring mode
10 - phy-mode: see ethernet.txt file in the same directory
11 - #address-cells: should be 1
12 - #size-cells: should be 1
15 - clocks: When provided, must be two phandles to the functional clocks nodes
16 of the GENET block. The first phandle is the main GENET clock used during
17 normal operation, while the second phandle is the Wake-on-LAN clock.
18 - clock-names: When provided, names of the functional clock phandles, first
19 name should be "enet" and second should be "enet-wol".
21 - phy-handle: See ethernet.txt file in the same directory; used to describe
22 configurations where a PHY (internal or external) is used.
24 - fixed-link: When the GENET interface is connected to a MoCA hardware block or
25 when operating in a RGMII to RGMII type of connection, or when the MDIO bus is
26 voluntarily disabled, this property should be used to describe the "fixed link".
27 See Documentation/devicetree/bindings/net/fixed-link.txt for information on
28 the property specifics
32 - mdio bus node: this node should always be present regarless of the PHY
33 configuration of the GENET instance
35 MDIO bus node required properties:
37 - compatible: should contain one of "brcm,genet-mdio-v1", "brcm,genet-mdio-v2"
38 "brcm,genet-mdio-v3", "brcm,genet-mdio-v4", the version has to match the
39 parent node compatible property (e.g: brcm,genet-v4 pairs with
41 - reg: address and length relative to the parent node base register address
42 - #address-cells: address cell for MDIO bus addressing, should be 1
43 - #size-cells: size of the cells for MDIO bus addressing, should be 0
45 Ethernet PHY node properties:
47 See Documentation/devicetree/bindings/net/phy.txt for the list of required and
50 Internal Gigabit PHY example:
53 phy-mode = "internal";
55 mac-address = [ 00 10 18 36 23 1a ];
56 compatible = "brcm,genet-v4";
57 #address-cells = <0x1>;
59 reg = <0xf0b60000 0xfc4c>;
60 interrupts = <0x0 0x14 0x0>, <0x0 0x15 0x0>;
63 compatible = "brcm,genet-mdio-v4";
64 #address-cells = <0x1>;
68 phy1: ethernet-phy@1 {
71 compatible = "ethernet-phy-ieee802.3-c22";
76 MoCA interface / MAC to MAC example:
80 fixed-link = <1 0 1000 0 0>;
81 mac-address = [ 00 10 18 36 24 1a ];
82 compatible = "brcm,genet-v4";
83 #address-cells = <0x1>;
85 reg = <0xf0b80000 0xfc4c>;
86 interrupts = <0x0 0x16 0x0>, <0x0 0x17 0x0>;
89 compatible = "brcm,genet-mdio-v4";
90 #address-cells = <0x1>;
97 External MDIO-connected Gigabit PHY/switch:
101 phy-handle = <&phy0>;
102 mac-address = [ 00 10 18 36 26 1a ];
103 compatible = "brcm,genet-v4";
104 #address-cells = <0x1>;
106 reg = <0xf0ba0000 0xfc4c>;
107 interrupts = <0x0 0x18 0x0>, <0x0 0x19 0x0>;
110 compatible = "brcm,genet-mdio-v4";
111 #address-cells = <0x1>;
115 phy0: ethernet-phy@0 {
118 compatible = "ethernet-phy-ieee802.3-c22";