linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: afaerber@suse.de (Andreas Färber)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox
Date: Mon,  8 Feb 2016 03:17:33 +0100	[thread overview]
Message-ID: <1454897859-7601-5-git-send-email-afaerber@suse.de> (raw)
In-Reply-To: <1454897859-7601-1-git-send-email-afaerber@suse.de>

Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
 v2: New
 
 arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index bc91d39758ab..a8dcf3c2b0c1 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -56,6 +56,13 @@
 		reg = <0x0 0x0 0x0 0x80000000>;
 	};
 
+	ext_gmac: gmac-clk {
+		compatible = "fixed-clock";
+		clock-frequency = <125000000>;
+		clock-output-names = "ext_gmac";
+		#clock-cells = <0>;
+	};
+
 	leds: gpio-leds {
 		compatible = "gpio-leds";
 
@@ -82,6 +89,19 @@
 	};
 };
 
+&gmac {
+	status = "okay";
+	phy-supply = <&vcc_lan>;
+	phy-mode = "rgmii";
+	clock_in_out = "input";
+	assigned-clocks = <&cru SCLK_MAC>;
+	assigned-clock-parents = <&ext_gmac>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&rgmii_pins>;
+	tx_delay = <0x30>;
+	rx_delay = <0x10>;
+};
+
 &i2c0 {
 	status = "okay";
 
-- 
2.6.2

  parent reply	other threads:[~2016-02-08  2:17 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08  2:17 [PATCH v2 00/10] ARM64: rockchip: Initial GeekBox enablement Andreas Färber
2016-02-08  2:17 ` [PATCH v2 01/10] Documentation: devicetree: Add vendor prefix for GeekBuying.com Andreas Färber
2016-02-08 21:27   ` Rob Herring
2016-02-08  2:17 ` [PATCH v2 02/10] Documentation: devicetree: rockchip: Document GeekBox Andreas Färber
2016-02-08 21:28   ` Rob Herring
2016-02-08  2:17 ` [PATCH v2 03/10] ARM64: dts: rockchip: Add GeekBox config Andreas Färber
2016-02-08  2:17 ` Andreas Färber [this message]
2016-02-08 10:28   ` [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox Heiko Stuebner
2016-02-08 10:40     ` Andreas Färber
2016-02-08  2:17 ` [PATCH v2 05/10] ARM64: dts: rockchip: Add eMMC " Andreas Färber
2016-02-08  2:17 ` [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver " Andreas Färber
2016-02-09  3:08   ` Andreas Färber
2016-02-09 10:45     ` Julien Chauveau
2016-02-08  2:17 ` [PATCH v2 07/10] ARM64: dts: rockchip: Add power key " Andreas Färber
2016-02-08 16:26   ` Julien Chauveau
2016-02-08  2:17 ` [PATCH v2 08/10] ARM64: dts: rockchip: Add tsadc for GeekBox Andreas Färber
2016-02-08  2:17 ` [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship Andreas Färber
2016-02-08 10:29   ` Heiko Stuebner
2016-02-08 10:51     ` Andreas Färber
2016-02-08  2:17 ` [PATCH v2 10/10] ARM64: dts: rockchip: Add Landingship config Andreas Färber

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=1454897859-7601-5-git-send-email-afaerber@suse.de \
    --to=afaerber@suse.de \
    --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).