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 2/4] ARM: dts: Add Ethernet node to STiH407 family
Date: Thu, 1 Oct 2015 17:56:20 +0200 [thread overview]
Message-ID: <1443714982-16251-3-git-send-email-maxime.coquelin@st.com> (raw)
In-Reply-To: <1443714982-16251-1-git-send-email-maxime.coquelin@st.com>
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
next prev parent reply other threads:[~2015-10-01 15:56 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 ` Maxime Coquelin [this message]
2015-10-01 15:56 ` [PATCH 3/4] ARM: dts: Enable Ethernet on STi's B2120 boards Maxime Coquelin
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-3-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®