Devicetree
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
To: Maxime Ripard
	<maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>,
	Linus Walleij
	<linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: [PATCH 7/9] ARM: dts: sun9i: Add A80 GMAC RGMII pinmux setting
Date: Wed,  6 Feb 2019 11:32:37 +0800	[thread overview]
Message-ID: <20190206033239.3619-8-wens@csie.org> (raw)
In-Reply-To: <20190206033239.3619-1-wens-jdAy2FN1RRM@public.gmane.org>

The GMAC (gigabit ethernet controller) supports RGMII to connect to
the ethernet PHY, for gigabit network speeds.

Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
---
 arch/arm/boot/dts/sun9i-a80.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi
index f0c7acf2d0a4..6fb292e0b662 100644
--- a/arch/arm/boot/dts/sun9i-a80.dtsi
+++ b/arch/arm/boot/dts/sun9i-a80.dtsi
@@ -1000,6 +1000,19 @@
 			#size-cells = <0>;
 			#gpio-cells = <3>;
 
+			gmac_rgmii_pins: gmac-rgmii-pins {
+				allwinner,pins = "PA0", "PA1", "PA2", "PA3",
+						 "PA4", "PA5", "PA7", "PA8",
+						 "PA9", "PA10", "PA12", "PA13",
+						 "PA15", "PA16", "PA17";
+				allwinner,function = "gmac";
+				/*
+				 * data lines in RGMII mode use DDR mode
+				 * and need a higher signal drive strength
+				 */
+				drive-strength = <40>;
+			};
+
 			i2c3_pins: i2c3-pins {
 				pins = "PG10", "PG11";
 				function = "i2c3";
-- 
2.20.1

  parent reply	other threads:[~2019-02-06  3:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-06  3:32 [PATCH 0/9] ARM: sun9i: a80: Enable GMAC Chen-Yu Tsai
2019-02-06  3:32 ` [PATCH 4/9] ARM: dts: sun9i: cubieboard4: Add GPIO pin-bank regulator supplies Chen-Yu Tsai
     [not found] ` <20190206033239.3619-1-wens-jdAy2FN1RRM@public.gmane.org>
2019-02-06  3:32   ` [PATCH 1/9] pinctrl: sunxi: Support I/O bias voltage setting on A80 Chen-Yu Tsai
     [not found]     ` <20190206033239.3619-2-wens-jdAy2FN1RRM@public.gmane.org>
2019-02-06  8:14       ` Linus Walleij
2019-02-06 10:22         ` [linux-sunxi] " Chen-Yu Tsai
2019-02-06 12:17       ` Maxime Ripard
2019-02-11  8:20       ` Linus Walleij
2019-02-13 11:31         ` Chen-Yu Tsai
2019-02-06  3:32   ` [PATCH 2/9] ARM: dts: sun9i: a80-optimus: Add node for AXP809's unused dc1sw regulator Chen-Yu Tsai
2019-02-06  3:32   ` [PATCH 3/9] ARM: dts: sun9i: a80-optimus: Add GPIO pin-bank regulator supplies Chen-Yu Tsai
2019-02-06  3:32   ` [PATCH 5/9] ARM: dts: sun9i: Add GMAC clock node Chen-Yu Tsai
2019-02-06  3:32   ` [PATCH 6/9] ARM: dts: sun9i: Add A80 GMAC gigabit ethernet controller node Chen-Yu Tsai
2019-02-06  3:32   ` Chen-Yu Tsai [this message]
2019-02-06  3:32   ` [PATCH 8/9] ARM: dts: sun9i: a80-optimus: Enable GMAC Chen-Yu Tsai
2019-02-06  3:32   ` [PATCH 9/9] ARM: dts: sun9i: cubieboard4: " Chen-Yu Tsai
2019-02-06 12:16   ` [PATCH 0/9] ARM: sun9i: a80: " Maxime Ripard

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=20190206033239.3619-8-wens@csie.org \
    --to=wens-jday2fn1rrm@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.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