From: Maxime Coquelin <maxime.coquelin@st.com>
To: Giuseppe Cavallaro <peppe.cavallaro@st.com>,
<peter.griffin@linaro.org>, <lee.jones@linaro.org>,
<alexandre.torgue@st.com>, <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>
Cc: <maxime.coquelin@st.com>, <kernel@stlinux.com>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH 3/4] ARM: dts: Enable Ethernet on STi's B2120 boards
Date: Thu, 1 Oct 2015 17:56:21 +0200 [thread overview]
Message-ID: <1443714982-16251-4-git-send-email-maxime.coquelin@st.com> (raw)
In-Reply-To: <1443714982-16251-1-git-send-email-maxime.coquelin@st.com>
These boards are mounted with Realtek RTL8367 switch.
We consider the bootloader will have intiliazed the switch before jumping into
the kernel, so we declare it as a fixed link.
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
---
arch/arm/boot/dts/stih407-b2120.dts | 1 +
arch/arm/boot/dts/stih410-b2120.dts | 1 +
arch/arm/boot/dts/stihxxx-b2120.dtsi | 6 ++++++
3 files changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-b2120.dts b/arch/arm/boot/dts/stih407-b2120.dts
index 6d93475..c8ad905 100644
--- a/arch/arm/boot/dts/stih407-b2120.dts
+++ b/arch/arm/boot/dts/stih407-b2120.dts
@@ -25,6 +25,7 @@
aliases {
ttyAS0 = &sbc_serial0;
+ ethernet0 = ðernet0;
};
};
diff --git a/arch/arm/boot/dts/stih410-b2120.dts b/arch/arm/boot/dts/stih410-b2120.dts
index 8af1e73..118ac28 100644
--- a/arch/arm/boot/dts/stih410-b2120.dts
+++ b/arch/arm/boot/dts/stih410-b2120.dts
@@ -25,6 +25,7 @@
aliases {
ttyAS0 = &sbc_serial0;
+ ethernet0 = ðernet0;
};
soc {
diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi
index ab029f7..ad21a42 100644
--- a/arch/arm/boot/dts/stihxxx-b2120.dtsi
+++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi
@@ -87,5 +87,11 @@
status = "okay";
};
+ ethernet0: dwmac@9630000 {
+ st,tx-retime-src = "clkgen";
+ status = "okay";
+ phy-mode = "rgmii";
+ fixed-link = <0 1 1000 0 0>;
+ };
};
};
--
1.9.1
next prev parent reply other threads:[~2015-10-01 15:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-01 15:56 [PATCH 0/4] Enable Ethernet on StiH407 family boards Maxime Coquelin
2015-10-01 15:56 ` [PATCH 1/4] ARM: dts: Fix RGMII pinctrl timings Maxime Coquelin
2015-10-01 15:56 ` [PATCH 2/4] ARM: dts: Add Ethernet node to STiH407 family Maxime Coquelin
2015-10-01 15:56 ` Maxime Coquelin [this message]
2015-10-01 15:56 ` [PATCH 4/4] ARM: dts: Enable Ethernet on STi's B2199 board Maxime Coquelin
2015-10-15 11:51 ` [PATCH 0/4] Enable Ethernet on StiH407 family boards Maxime Coquelin
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=1443714982-16251-4-git-send-email-maxime.coquelin@st.com \
--to=maxime.coquelin@st.com \
--cc=alexandre.torgue@st.com \
--cc=devicetree@vger.kernel.org \
--cc=kernel@stlinux.com \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peppe.cavallaro@st.com \
--cc=peter.griffin@linaro.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
all inboxes | Powered by JetHome®