devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Grygorii Strashko <grygorii.strashko-l0cyMroinI0@public.gmane.org>
To: santosh.shilimkar-l0cyMroinI0@public.gmane.org
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	ivan.khoronzhuk-l0cyMroinI0@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Grygorii Strashko
	<grygorii.strashko-l0cyMroinI0@public.gmane.org>
Subject: [PATCH 1/3] ARM: dts: keystone: add mdio devices entries
Date: Thu, 17 Jul 2014 17:58:07 +0300	[thread overview]
Message-ID: <1405609087-9128-1-git-send-email-grygorii.strashko@ti.com> (raw)
In-Reply-To: <1404911660-10047-2-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>

The Keystone 2 has MDIO HW block which are compatible
to Davinci SoCs:
See "Gigabit Ethernet (GbE) Switch Subsystem"
  See http://www.ti.com/lit/ug/sprugv9d/sprugv9d.pdf

Hence, add corresponding DT entry for Keystone 2.

Signed-off-by: Grygorii Strashko <grygorii.strashko-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/keystone.dtsi |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi
index c1414cb..9e31fe7 100644
--- a/arch/arm/boot/dts/keystone.dtsi
+++ b/arch/arm/boot/dts/keystone.dtsi
@@ -266,5 +266,16 @@
 			ranges = <0 0 0x30000000 0x10000000
 				  1 0 0x21000A00 0x00000100>;
 		};
+
+		mdio: mdio@02090300 {
+			compatible	= "ti,keystone_mdio", "ti,davinci_mdio";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg		= <0x02090300 0x100>;
+			status = "disabled";
+			clocks = <&clkpa>;
+			clock-names = "fck";
+			bus_freq	= <2500000>;
+		};
 	};
 };
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-07-17 14:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 13:14 [PATCH 0/3] ARM: keystone: enable mdio support Grygorii Strashko
     [not found] ` <1404911660-10047-1-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-07-09 13:14   ` [PATCH 1/3] ARM: dts: keystone: add mdio devices entries Grygorii Strashko
     [not found]     ` <1404911660-10047-2-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-07-17 14:58       ` Grygorii Strashko [this message]
     [not found]         ` <1405609087-9128-1-git-send-email-grygorii.strashko-l0cyMroinI0@public.gmane.org>
2014-07-17 14:59           ` Grygorii Strashko
2014-07-09 13:14   ` [PATCH 2/3] ARM: dts: keystone-evm: add 1g ethernet phys nodes Grygorii Strashko
2014-07-09 13:14   ` [PATCH 3/3] ARM: keystone_defconfig: enable mdio and marvell eth phys Grygorii Strashko
2014-07-09 14:24   ` [PATCH 0/3] ARM: keystone: enable mdio support Santosh Shilimkar

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=1405609087-9128-1-git-send-email-grygorii.strashko@ti.com \
    --to=grygorii.strashko-l0cymroini0@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ivan.khoronzhuk-l0cyMroinI0@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=santosh.shilimkar-l0cyMroinI0@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;
as well as URLs for NNTP newsgroup(s).