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

Commit 66b2238c authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: dts: Add ethernet PHYs to the a bunch of Geminis



These Gemini boards have Ethernet PHY on GPIO bit-banged
MDIO, clearly defined in the corresponding OpenWRT
ethernet patches since ages. Add them in accordance with
the OpenWRT patch so we can use them when we add ethernet
support.

Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 4fbd8d19
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -64,6 +64,19 @@
		};
		};
	};
	};


	mdio0: ethernet-phy {
		compatible = "virtual,mdio-gpio";
		gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
			<&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
		#address-cells = <1>;
		#size-cells = <0>;

		phy0: ethernet-phy@1 {
			reg = <1>;
			device_type = "ethernet-phy";
		};
	};

	soc {
	soc {
		flash@30000000 {
		flash@30000000 {
			status = "okay";
			status = "okay";
+13 −0
Original line number Original line Diff line number Diff line
@@ -58,6 +58,19 @@
		};
		};
	};
	};


	mdio0: ethernet-phy {
		compatible = "virtual,mdio-gpio";
		gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
			<&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
		#address-cells = <1>;
		#size-cells = <0>;

		phy0: ethernet-phy@1 {
			reg = <1>;
			device_type = "ethernet-phy";
		};
	};

	soc {
	soc {
		flash@30000000 {
		flash@30000000 {
			status = "okay";
			status = "okay";
+13 −0
Original line number Original line Diff line number Diff line
@@ -69,6 +69,19 @@
		};
		};
	};
	};


	mdio0: ethernet-phy {
		compatible = "virtual,mdio-gpio";
		gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
			<&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
		#address-cells = <1>;
		#size-cells = <0>;

		phy0: ethernet-phy@1 {
			reg = <1>;
			device_type = "ethernet-phy";
		};
	};

	soc {
	soc {
		flash@30000000 {
		flash@30000000 {
			status = "okay";
			status = "okay";
+18 −0
Original line number Original line Diff line number Diff line
@@ -69,6 +69,24 @@
		};
		};
	};
	};


	mdio0: ethernet-phy {
		compatible = "virtual,mdio-gpio";
		gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
			<&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
		#address-cells = <1>;
		#size-cells = <0>;

		phy0: ethernet-phy@1 {
			reg = <1>;
			device_type = "ethernet-phy";
		};

		phy1: ethernet-phy@3 {
			reg = <3>;
			device_type = "ethernet-phy";
		};
	};

	soc {
	soc {
		flash@30000000 {
		flash@30000000 {
			status = "okay";
			status = "okay";