Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1237538
| From | Maxime Coquelin <maxime.coquelin@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/4] ARM: dts: Enable Ethernet on STi's B2120 boards |
| Date | 2015-10-01 18:00 +0200 |
| Message-ID | <qeOr1-Eb-31@gated-at.bofh.it> (permalink) |
| References | <qeOr0-Eb-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/4] Enable Ethernet on StiH407 family boards Maxime Coquelin <maxime.coquelin@st.com> - 2015-10-01 18:00 +0200 [PATCH 2/4] ARM: dts: Add Ethernet node to STiH407 family Maxime Coquelin <maxime.coquelin@st.com> - 2015-10-01 18:00 +0200 [PATCH 4/4] ARM: dts: Enable Ethernet on STi's B2199 board Maxime Coquelin <maxime.coquelin@st.com> - 2015-10-01 18:00 +0200 [PATCH 3/4] ARM: dts: Enable Ethernet on STi's B2120 boards Maxime Coquelin <maxime.coquelin@st.com> - 2015-10-01 18:00 +0200
csiph-web