Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b7ef57c authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller
Browse files

net: dsa: mv88e6xxx: Fix binding documentation for MDIO busses



The MDIO busses are switch properties and so should be inside the
switch node. Fix the examples in the binding document.

Reported-by: default avatar尤晓杰 <yxj790222@163.com>
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Fixes: a3c53be5 ("net: dsa: mv88e6xxx: Support multiple MDIO busses")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6e5d58fd
Loading
Loading
Loading
Loading
+25 −23
Original line number Original line Diff line number Diff line
@@ -50,7 +50,7 @@ Example:
			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>;
@@ -61,6 +61,7 @@ Example:
				};
				};
			};
			};
		};
		};
	};


	mdio {
	mdio {
		#address-cells = <1>;
		#address-cells = <1>;
@@ -74,7 +75,7 @@ Example:
			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>;
@@ -94,3 +95,4 @@ Example:
				};
				};
			};
			};
		};
		};
	};