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


Groups > linux.kernel > #1237536

[PATCH 2/4] ARM: dts: Add Ethernet node to STiH407 family

From Maxime Coquelin <maxime.coquelin@st.com>
Newsgroups linux.kernel
Subject [PATCH 2/4] ARM: dts: Add Ethernet node to STiH407 family
Date 2015-10-01 18:00 +0200
Message-ID <qeOr1-Eb-27@gated-at.bofh.it> (permalink)
References <qeOr0-Eb-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


STiH407 family uses the Synopsys IP.

Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
---
 arch/arm/boot/dts/stih407-family.dtsi | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 582154b..c944d3a 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -653,5 +653,32 @@
 			clocks          = <&clk_sysin>;
 			status		= "okay";
 		};
+
+		ethernet0: dwmac@9630000 {
+			device_type = "network";
+			status = "disabled";
+			compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710";
+			reg = <0x9630000 0x8000>, <0x80 0x4>;
+			reg-names = "stmmaceth", "sti-ethconf";
+
+			st,syscon = <&syscfg_sbc_reg 0x80>;
+			st,gmac_en;
+			resets = <&softreset STIH407_ETH1_SOFTRESET>;
+			reset-names = "stmmaceth";
+
+			interrupts = <GIC_SPI 98 IRQ_TYPE_NONE>,
+				     <GIC_SPI 99 IRQ_TYPE_NONE>;
+			interrupt-names = "macirq", "eth_wake_irq";
+
+			/* DMA Bus Mode */
+			snps,pbl = <8>;
+
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_rgmii1>;
+
+			clock-names = "stmmaceth", "sti-ethclk";
+			clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>,
+				 <&clk_s_c0_flexgen CLK_ETH_PHY>;
+		};
 	};
 };
-- 
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