Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1237537

[PATCH 4/4] ARM: dts: Enable Ethernet on STi's B2199 board

From Maxime Coquelin <maxime.coquelin@st.com>
Newsgroups linux.kernel
Subject [PATCH 4/4] ARM: dts: Enable Ethernet on STi's B2199 board
Date 2015-10-01 18:00 +0200
Message-ID <qeOr1-Eb-29@gated-at.bofh.it> (permalink)
References <qeOr0-Eb-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The B2199 board is 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/stih418-b2199.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stih418-b2199.dts b/arch/arm/boot/dts/stih418-b2199.dts
index 82eee39..772d2bb 100644
--- a/arch/arm/boot/dts/stih418-b2199.dts
+++ b/arch/arm/boot/dts/stih418-b2199.dts
@@ -24,6 +24,7 @@
 
 	aliases {
 		ttyAS0 = &sbc_serial0;
+		ethernet0 = &ethernet0;
 	};
 
 	soc {
@@ -101,5 +102,12 @@
 		st_dwc3: dwc3@8f94000 {
 			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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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