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

Commit b147d93d authored by Domen Puncer's avatar Domen Puncer Committed by Grant Likely
Browse files

[POWERPC] mpc52xx: device tree changes for FEC and MDIO



Add device tree entries for lite5200b's FEC's PHY.

Signed-off-by: default avatarDomen Puncer <domen.puncer@telargo.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 7acb9391
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -277,10 +277,26 @@
		ethernet@3000 {
			device_type = "network";
			compatible = "mpc5200b-fec","mpc5200-fec";
			reg = <3000 800>;
			reg = <3000 400>;
			mac-address = [ 02 03 04 05 06 07 ]; // Bad!
			interrupts = <2 5 0>;
			interrupt-parent = <&mpc5200_pic>;
			phy-handle = <&phy0>;
		};

		mdio@3000 {
			#address-cells = <1>;
			#size-cells = <0>;
			device_type = "mdio";
			compatible = "mpc5200b-fec-phy";
			reg = <3000 400>;	// fec range, since we need to setup fec interrupts
			interrupts = <2 5 0>;	// these are for "mii command finished", not link changes & co.
			interrupt-parent = <&mpc5200_pic>;

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

		ata@3a00 {