Commit e33f8fd9 authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: dts: Fix up the IXP4xx ethernet nodes



All of IXP4xx SoCs has an EthA at 0xc800c000 so move this
from the IXP[56]x to the IXP4xx DTSI.

Then add the second ethernet port on the Cambria GW2358-4
on EthA.

Reported-by: default avatarZoltan HERPAI <wigyori@uid0.hu>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2b3aa53e
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -153,7 +153,20 @@ mdio {
				phy1: ethernet-phy@1 {
					reg = <1>;
				};

				phy2: ethernet-phy@2 {
					reg = <2>;
				};
			};
		};

		ethernet@c800c000 {
			status = "ok";
			queue-rx = <&qmgr 2>;
			queue-txready = <&qmgr 19>;
			phy-mode = "rgmii";
			phy-handle = <&phy2>;
			intel,npe-handle = <&npe 0>;
		};
	};
};
+0 −11
Original line number Diff line number Diff line
@@ -31,17 +31,6 @@ i2c@c8011000 {
			status = "disabled";
		};

		/* This is known as EthA */
		ethernet@c800c000 {
			compatible = "intel,ixp4xx-ethernet";
			reg = <0xc800c000 0x1000>;
			status = "disabled";
			intel,npe = <0>;
			/* Dummy values that depend on firmware */
			queue-rx = <&qmgr 0>;
			queue-txready = <&qmgr 0>;
		};

		/* This is known as EthB1 */
		ethernet@c800d000 {
			compatible = "intel,ixp4xx-ethernet";
+11 −0
Original line number Diff line number Diff line
@@ -136,5 +136,16 @@ ethernet@c800a000 {
			queue-txready = <&qmgr 0>;
			intel,npe-handle = <&npe 2>;
		};

		/* This is known as EthA */
		ethernet@c800c000 {
			compatible = "intel,ixp4xx-ethernet";
			reg = <0xc800c000 0x1000>;
			status = "disabled";
			intel,npe = <0>;
			/* Dummy values that depend on firmware */
			queue-rx = <&qmgr 0>;
			queue-txready = <&qmgr 0>;
		};
	};
};