From: serveralex@gmail.com (Alexander Müller)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/6] ARM: DTS: Amlogic: Enable ethernet on ODROID-C1
Date: Tue, 10 May 2016 22:08:40 +0200 [thread overview]
Message-ID: <1462910920-5462-7-git-send-email-serveralex@gmail.com> (raw)
In-Reply-To: <1462910920-5462-1-git-send-email-serveralex@gmail.com>
ODROID-C1 uses Amlogic meson8b integrated ethernet IC (compatible with
stmmac) and a Realtek RTL8211F gigabit ethernet PHY. The reset pin is
connected to GPIOH_4.
Signed-off-by: Alexander M?ller <serveralex@gmail.com>
---
arch/arm/boot/dts/meson8b-odroidc1.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts
index e50f1a1..44410d9 100644
--- a/arch/arm/boot/dts/meson8b-odroidc1.dts
+++ b/arch/arm/boot/dts/meson8b-odroidc1.dts
@@ -76,3 +76,13 @@
pinctrl-0 = <&uart_ao_a_pins>;
pinctrl-names = "default";
};
+
+ðmac {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <ðernet_pins>;
+ snps,reset-gpio = <&gpio GPIOH_4 GPIO_ACTIVE_HIGH>;
+ snps,reset-active-low;
+ snps,reset-delays-us = <0 10000 50000>;
+};
+
--
2.5.0
next prev parent reply other threads:[~2016-05-10 20:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-10 20:08 [PATCH 0/6] Enable ethernet support on Amlogic meson8b / Hardkernel ODROID-C1 Alexander Müller
2016-05-10 20:08 ` [PATCH 1/6] pinctrl: meson: Fix eth_tx_en bit index Alexander Müller
2016-05-11 9:48 ` Kevin Hilman
2016-05-12 13:41 ` Linus Walleij
2016-05-10 20:08 ` [PATCH 2/6] ARM: DTS: Amlogic: Add ethernet pins Alexander Müller
2016-05-10 20:08 ` [PATCH 3/6] ARM: clk: Amlogic: Add support for clock gates Alexander Müller
2016-05-10 20:08 ` [PATCH 4/6] ARM: clk: Amlogic: Add clk81 " Alexander Müller
2016-05-10 20:08 ` [PATCH 5/6] ARM: DTS: Amlogic: Enable ethernet on meson8b Alexander Müller
2016-05-10 20:08 ` Alexander Müller [this message]
2016-05-11 9:52 ` [PATCH 0/6] Enable ethernet support on Amlogic meson8b / Hardkernel ODROID-C1 Kevin Hilman
2016-05-11 18:27 ` Alexander Müller
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=1462910920-5462-7-git-send-email-serveralex@gmail.com \
--to=serveralex@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).