GNU Linux-libre 4.9.309-gnu1
[releases.git] / Documentation / devicetree / bindings / net / dsa / marvell.txt
1 Marvell DSA Switch Device Tree Bindings
2 ---------------------------------------
3
4 WARNING: This binding is currently unstable. Do not program it into a
5 FLASH never to be changed again. Once this binding is stable, this
6 warning will be removed.
7
8 If you need a stable binding, use the old dsa.txt binding.
9
10 Marvell Switches are MDIO devices. The following properties should be
11 placed as a child node of an mdio device.
12
13 The properties described here are those specific to Marvell devices.
14 Additional required and optional properties can be found in dsa.txt.
15
16 Required properties:
17 - compatible           : Should be one of "marvell,mv88e6085",
18 - reg                  : Address on the MII bus for the switch.
19
20 Optional properties:
21
22 - reset-gpios           : Should be a gpio specifier for a reset line
23
24 Example:
25
26        mdio {
27                #address-cells = <1>;
28                #size-cells = <0>;
29
30                switch0: switch@0 {
31                        compatible = "marvell,mv88e6085";
32                        reg = <0>;
33                        reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
34                };
35        };