mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 6/6] ARM: dts: socfpga: achilles: enable second ethernet port
Date: Fri, 28 Sep 2018 12:42:06 +0200	[thread overview]
Message-ID: <20180928104206.17764-6-s.trumtrar@pengutronix.de> (raw)
In-Reply-To: <20180928104206.17764-1-s.trumtrar@pengutronix.de>

The Reflex Achilles has 2 ethernet ports. Enable the second one, too.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/dts/socfpga_arria10_achilles.dts | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/dts/socfpga_arria10_achilles.dts b/arch/arm/dts/socfpga_arria10_achilles.dts
index 908e929d9edf..176e06df12a5 100644
--- a/arch/arm/dts/socfpga_arria10_achilles.dts
+++ b/arch/arm/dts/socfpga_arria10_achilles.dts
@@ -174,6 +174,27 @@
 	status = "okay";
 };
 
+&gmac2 {
+	phy-mode = "rgmii";
+	phy-addr = <0x3>;
+
+	status = "okay";
+
+	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 */
+	max-frame-size = <3800>;
+};
+
 &i2c0 {
 	status = "okay";
 
-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2018-09-28 10:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-28 10:42 [PATCH 1/6] dts: achilles: add state for bootchooser Steffen Trumtrar
2018-09-28 10:42 ` [PATCH 2/6] barebox: move mmc partitions to partitions subnode Steffen Trumtrar
2018-09-28 10:42 ` [PATCH 3/6] ARM: socfpga: achilles: move partitions to free disk space Steffen Trumtrar
2018-09-28 10:42 ` [PATCH 4/6] ARM: socfpga: achilles: bitstream will not exceed 32M Steffen Trumtrar
2018-09-28 10:42 ` [PATCH 5/6] ARM: socfpga: achilles: let bootchooser boot from system0 initially Steffen Trumtrar
2018-09-28 10:42 ` Steffen Trumtrar [this message]
2018-10-02  7:23 ` [PATCH 1/6] dts: achilles: add state for bootchooser Sascha Hauer

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=20180928104206.17764-6-s.trumtrar@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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