Commit d2345599 authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

Doc: DT: bindings: net: dsa: marvell.txt: Tabification

Replace spaces with tabs. Fix indentation to be multiples of tabs, not
a mixture or tabs and spaces.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cca316f3
...@@ -14,9 +14,9 @@ The properties described here are those specific to Marvell devices. ...@@ -14,9 +14,9 @@ The properties described here are those specific to Marvell devices.
Additional required and optional properties can be found in dsa.txt. Additional required and optional properties can be found in dsa.txt.
Required properties: Required properties:
- compatible : Should be one of "marvell,mv88e6085" or - compatible : Should be one of "marvell,mv88e6085" or
"marvell,mv88e6190" "marvell,mv88e6190"
- reg : Address on the MII bus for the switch. - reg : Address on the MII bus for the switch.
Optional properties: Optional properties:
...@@ -28,65 +28,65 @@ Optional properties: ...@@ -28,65 +28,65 @@ Optional properties:
#interrupt-cells = <2> : Controller uses two cells, number and flag #interrupt-cells = <2> : Controller uses two cells, number and flag
- mdio : Container of PHY and devices on the switches MDIO - mdio : Container of PHY and devices on the switches MDIO
bus. bus.
- mdio? : Container of PHYs and devices on the external MDIO - mdio? : Container of PHYs and devices on the external MDIO
bus. The node must contains a compatible string of bus. The node must contains a compatible string of
"marvell,mv88e6xxx-mdio-external" "marvell,mv88e6xxx-mdio-external"
Example: Example:
mdio { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
interrupt-parent = <&gpio0>; interrupt-parent = <&gpio0>;
interrupts = <27 IRQ_TYPE_LEVEL_LOW>; interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
switch0: switch@0 { switch0: switch@0 {
compatible = "marvell,mv88e6085"; compatible = "marvell,mv88e6085";
reg = <0>; reg = <0>;
reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
}; };
mdio { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
switch1phy0: switch1phy0@0 { switch1phy0: switch1phy0@0 {
reg = <0>; reg = <0>;
interrupt-parent = <&switch0>; interrupt-parent = <&switch0>;
interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
}; };
}; };
}; };
mdio { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
interrupt-parent = <&gpio0>; interrupt-parent = <&gpio0>;
interrupts = <27 IRQ_TYPE_LEVEL_LOW>; interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
switch0: switch@0 { switch0: switch@0 {
compatible = "marvell,mv88e6390"; compatible = "marvell,mv88e6390";
reg = <0>; reg = <0>;
reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
}; };
mdio { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
switch1phy0: switch1phy0@0 { switch1phy0: switch1phy0@0 {
reg = <0>; reg = <0>;
interrupt-parent = <&switch0>; interrupt-parent = <&switch0>;
interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
}; };
}; };
mdio1 { mdio1 {
compatible = "marvell,mv88e6xxx-mdio-external"; compatible = "marvell,mv88e6xxx-mdio-external";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
switch1phy9: switch1phy0@9 { switch1phy9: switch1phy0@9 {
reg = <9>; reg = <9>;
}; };
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment