summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@kernel.org>2017-09-08 10:14:18 -0500
committerDinh Nguyen <dinguyen@kernel.org>2017-09-21 09:13:13 -0500
commit701e3a48772bae0f1181a7bb3ea7e23f17c03a82 (patch)
treebf552fdae176356cdc9e50b8dcefce60a21c1408 /arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
parentf973bfa075cc05a891cfb0ac44212aa2a27ac54f (diff)
arm64: dts: stratix10: add ethernet/sdmmc support to the S10 devkit
Enable ethernet and sdmmc support on the Stratix10 devkit. Signed-off-by: Dinh Nguyen <dinguyen@kernel.org> --- v2: Create a separate PHY node
Diffstat (limited to 'arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts')
-rw-r--r--arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts38
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
index 41ea2dba2fce..590758613677 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
@@ -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 {
status = "okay";
};