public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/5] ARM: socfpga: vining_fpga: Update DT
Date: Thu, 27 Jun 2019 00:19:32 +0200	[thread overview]
Message-ID: <20190626221935.23477-2-marex@denx.de> (raw)
In-Reply-To: <20190626221935.23477-1-marex@denx.de>

Pick minor changes from the downstream DT, disable MMC, add GMAC0 node
and adjust PHY skew settings for GMAC1.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Silvio Fricke <silvio.fricke@softing.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
---
 .../dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi  |  2 +-
 arch/arm/dts/socfpga_cyclone5_vining_fpga.dts     | 15 ++++++++++++---
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi b/arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi
index db55a4ecad..44bedd8b67 100644
--- a/arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi
+++ b/arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi
@@ -20,7 +20,7 @@
 };
 
 &mmc {
-	u-boot,dm-pre-reloc;
+	status = "disabled";
 };
 
 &qspi {
diff --git a/arch/arm/dts/socfpga_cyclone5_vining_fpga.dts b/arch/arm/dts/socfpga_cyclone5_vining_fpga.dts
index be52fbf43d..3fb6e14372 100644
--- a/arch/arm/dts/socfpga_cyclone5_vining_fpga.dts
+++ b/arch/arm/dts/socfpga_cyclone5_vining_fpga.dts
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
 /*
- * Copyright (C) 2015 Marek Vasut <marex@denx.de>
+ * Copyright (C) 2015-2019 Marek Vasut <marex@denx.de>
  */
 
 #include "socfpga_cyclone5.dtsi"
@@ -65,6 +65,11 @@
 	};
 };
 
+&gmac0 {
+	status = "disabled";
+	phy-mode = "gmii";
+};
+
 &gmac1 {
 	status = "okay";
 	phy-mode = "rgmii";
@@ -84,10 +89,14 @@
 			rxd1-skew-ps = <0>;
 			rxd2-skew-ps = <0>;
 			rxd3-skew-ps = <0>;
+			txd0-skew-ps = <0>;
+			txd1-skew-ps = <0>;
+			txd2-skew-ps = <0>;
+			txd3-skew-ps = <0>;
 			txen-skew-ps = <0>;
-			txc-skew-ps = <1560>;
+			txc-skew-ps = <1860>;
 			rxdv-skew-ps = <0>;
-			rxc-skew-ps = <1200>;
+			rxc-skew-ps = <1860>;
 		};
 	};
 };
-- 
2.20.1

  reply	other threads:[~2019-06-26 22:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-26 22:19 [U-Boot] [PATCH 1/5] ARM: socfpga: vining_fpga: Rename VINING|FPGA Marek Vasut
2019-06-26 22:19 ` Marek Vasut [this message]
2019-06-27  9:32   ` [U-Boot] [PATCH 2/5] ARM: socfpga: vining_fpga: Update DT Simon Goldschmidt
2019-06-26 22:19 ` [U-Boot] [PATCH 3/5] ARM: socfpga: vining_fpga: Update generated headers Marek Vasut
2019-06-27  9:33   ` Simon Goldschmidt
2019-06-27 10:09     ` Marek Vasut
2019-06-28  7:50       ` Simon Goldschmidt
2019-06-28 11:28         ` Marek Vasut
2019-06-26 22:19 ` [U-Boot] [PATCH 4/5] ARM: socfpga: vining_fpga: Update environment Marek Vasut
2019-06-27  9:33   ` Simon Goldschmidt
2019-06-26 22:19 ` [U-Boot] [PATCH 5/5] ARM: socfpga: vining_fpga: Extract eth1 MAC from EEPROM Marek Vasut
2019-06-27  9:33   ` Simon Goldschmidt
2019-06-27  9:32 ` [U-Boot] [PATCH 1/5] ARM: socfpga: vining_fpga: Rename VINING|FPGA Simon Goldschmidt
2019-10-09 18:20 ` Simon Goldschmidt
2019-10-09 20:59   ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190626221935.23477-2-marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox