1 Marvell DSA Switch Device Tree Bindings
2 ---------------------------------------
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.
8 If you need a stable binding, use the old dsa.txt binding.
10 Marvell Switches are MDIO devices. The following properties should be
11 placed as a child node of an mdio device.
13 The properties described here are those specific to Marvell devices.
14 Additional required and optional properties can be found in dsa.txt.
17 - compatible : Should be one of "marvell,mv88e6085" or
19 - reg : Address on the MII bus for the switch.
23 - reset-gpios : Should be a gpio specifier for a reset line
24 - interrupt-parent : Parent interrupt controller
25 - interrupts : Interrupt from the switch
26 - interrupt-controller : Indicates the switch is itself an interrupt
27 controller. This is used for the PHY interrupts.
28 #interrupt-cells = <2> : Controller uses two cells, number and flag
29 - eeprom-length : Set to the length of an EEPROM connected to the
30 switch. Must be set if the switch can not detect
31 the presence and/or size of a connected EEPROM,
33 - mdio : Container of PHY and devices on the switches MDIO
35 - mdio? : Container of PHYs and devices on the external MDIO
36 bus. The node must contains a compatible string of
37 "marvell,mv88e6xxx-mdio-external"
44 interrupt-parent = <&gpio0>;
45 interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
47 #interrupt-cells = <2>;
50 compatible = "marvell,mv88e6085";
52 reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
57 switch1phy0: switch1phy0@0 {
59 interrupt-parent = <&switch0>;
60 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
68 interrupt-parent = <&gpio0>;
69 interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
71 #interrupt-cells = <2>;
74 compatible = "marvell,mv88e6390";
76 reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
81 switch1phy0: switch1phy0@0 {
83 interrupt-parent = <&switch0>;
84 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
89 compatible = "marvell,mv88e6xxx-mdio-external";
92 switch1phy9: switch1phy0@9 {