From: Romain Perier <romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> To: heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Subject: [PATCH v1 4/4] ARM: dts: rockchip: Enable emac node in rk3066a-marsboard Date: Tue, 28 Oct 2014 12:24:22 +0000 [thread overview] Message-ID: <1414499062-23875-4-git-send-email-romain.perier@gmail.com> (raw) In-Reply-To: <1414499062-23875-1-git-send-email-romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> This enables EMAC Rockchip and adds initial ethernet support for the MarsBoard RK3066. Signed-off-by: Romain Perier <romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> --- arch/arm/boot/dts/rk3066a-marsboard.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a-marsboard.dts b/arch/arm/boot/dts/rk3066a-marsboard.dts index 146bd61..560070c 100644 --- a/arch/arm/boot/dts/rk3066a-marsboard.dts +++ b/arch/arm/boot/dts/rk3066a-marsboard.dts @@ -122,6 +122,30 @@ /* must be included after &tps gets defined */ #include "tps65910.dtsi" +&emac { + status = "okay"; + + phy = <&phy0>; + phy-supply = <&vaux33_reg>; + + pinctrl-names = "default"; + pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>; + + phy0: ethernet-phy@0 { + reg = <0>; + interrupt-parent = <&gpio1>; + interrupts = <26 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&pinctrl { + lan8720a { + phy_int: phy-int { + rockchip,pins = <RK_GPIO1 26 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + &uart0 { status = "okay"; }; -- 1.9.1 -- 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
WARNING: multiple messages have this Message-ID (diff)
From: romain.perier@gmail.com (Romain Perier) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 4/4] ARM: dts: rockchip: Enable emac node in rk3066a-marsboard Date: Tue, 28 Oct 2014 12:24:22 +0000 [thread overview] Message-ID: <1414499062-23875-4-git-send-email-romain.perier@gmail.com> (raw) In-Reply-To: <1414499062-23875-1-git-send-email-romain.perier@gmail.com> This enables EMAC Rockchip and adds initial ethernet support for the MarsBoard RK3066. Signed-off-by: Romain Perier <romain.perier@gmail.com> --- arch/arm/boot/dts/rk3066a-marsboard.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a-marsboard.dts b/arch/arm/boot/dts/rk3066a-marsboard.dts index 146bd61..560070c 100644 --- a/arch/arm/boot/dts/rk3066a-marsboard.dts +++ b/arch/arm/boot/dts/rk3066a-marsboard.dts @@ -122,6 +122,30 @@ /* must be included after &tps gets defined */ #include "tps65910.dtsi" +&emac { + status = "okay"; + + phy = <&phy0>; + phy-supply = <&vaux33_reg>; + + pinctrl-names = "default"; + pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>; + + phy0: ethernet-phy at 0 { + reg = <0>; + interrupt-parent = <&gpio1>; + interrupts = <26 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&pinctrl { + lan8720a { + phy_int: phy-int { + rockchip,pins = <RK_GPIO1 26 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + &uart0 { status = "okay"; }; -- 1.9.1
next prev parent reply other threads:[~2014-10-28 12:24 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-10-28 12:24 [PATCH v2 1/4] ARM: dts: rockchip: Add devicetree source for MarsBoard RK3066 Romain Perier 2014-10-28 12:24 ` Romain Perier [not found] ` <1414499062-23875-1-git-send-email-romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2014-10-28 12:24 ` [PATCH v2 2/4] dt-bindings: Document Marsboard RK3066 in Rockchip platforms dt-bindings Romain Perier 2014-10-28 12:24 ` Romain Perier 2014-10-28 12:24 ` [PATCH v1 3/4] ARM: dts: rockchip: Add EMAC Rockchip for RK3066 SoCs Romain Perier 2014-10-28 12:24 ` Romain Perier 2014-10-28 12:24 ` Romain Perier [this message] 2014-10-28 12:24 ` [PATCH v1 4/4] ARM: dts: rockchip: Enable emac node in rk3066a-marsboard Romain Perier [not found] ` <1414499062-23875-4-git-send-email-romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2014-10-30 20:01 ` Heiko Stübner 2014-10-30 20:01 ` Heiko Stübner 2014-10-30 19:54 ` [PATCH v2 1/4] ARM: dts: rockchip: Add devicetree source for MarsBoard RK3066 Heiko Stübner 2014-10-30 19:54 ` Heiko Stübner -- strict thread matches above, loose matches on Subject: below -- 2014-10-26 13:23 [PATCH v1 " Romain Perier [not found] ` <1414329829-8031-1-git-send-email-romain.perier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2014-10-26 13:23 ` [PATCH v1 4/4] ARM: dts: rockchip: Enable emac node in rk3066a-marsboard Romain Perier 2014-10-26 13:23 ` Romain Perier
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=1414499062-23875-4-git-send-email-romain.perier@gmail.com \ --to=romain.perier-re5jqeeqqe8avxtiumwx3w@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.