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

Commit 701e3a48 authored by Dinh Nguyen's avatar Dinh Nguyen
Browse files

arm64: dts: stratix10: add ethernet/sdmmc support to the S10 devkit



Enable ethernet and sdmmc support on the Stratix10 devkit.

Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
---
v2: Create a separate PHY node
parent f973bfa0
Loading
Loading
Loading
Loading
+38 −0
Original line number Original line Diff line number Diff line
@@ -34,6 +34,44 @@
	};
	};
};
};


&gmac0 {
	status = "okay";
	phy-mode = "rgmii";
	phy-handle = <&phy0>;

	max-frame-size = <3800>;

	mdio0 {
		#address-cells = <1>;
		#size-cells = <0>;
		compatible = "snps,dwmac-mdio";
		phy0: ethernet-phy@0 {
			reg = <4>;

			txd0-skew-ps = <0>; /* -420ps */
			txd1-skew-ps = <0>; /* -420ps */
			txd2-skew-ps = <0>; /* -420ps */
			txd3-skew-ps = <0>; /* -420ps */
			rxd0-skew-ps = <420>; /* 0ps */
			rxd1-skew-ps = <420>; /* 0ps */
			rxd2-skew-ps = <420>; /* 0ps */
			rxd3-skew-ps = <420>; /* 0ps */
			txen-skew-ps = <0>; /* -420ps */
			txc-skew-ps = <1860>; /* 960ps */
			rxdv-skew-ps = <420>; /* 0ps */
			rxc-skew-ps = <1680>; /* 780ps */
		};
	};
};

&mmc {
	status = "okay";
	num-slots = <1>;
	cap-sd-highspeed;
	broken-cd;
	bus-width = <4>;
};

&uart0 {
&uart0 {
	status = "okay";
	status = "okay";
};
};