From: Ilya Ledvich <ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> To: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Cc: Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>, Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>, Ian Campbell <ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>, Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>, Sascha Hauer <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>, Ilya Ledvich <ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> Subject: [PATCH 7/8] ARM: dts: imx7d: cl-som-imx7: add fec2 support Date: Mon, 7 Dec 2015 09:14:38 +0200 [thread overview] Message-ID: <1449472479-2521-8-git-send-email-ilya@compulab.co.il> (raw) In-Reply-To: <1449472479-2521-1-git-send-email-ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> Add support for the 2-nd Freescale Ethernet Controller (FEC2). Signed-off-by: Ilya Ledvich <ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> Acked-by: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> --- arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts index 30bbdcd..77b6587 100644 --- a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts +++ b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts @@ -62,9 +62,26 @@ ethphy0: ethernet-phy@0 { reg = <0>; }; + + ethphy1: ethernet-phy@1 { + reg = <1>; + }; }; }; +&fec2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet2>; + assigned-clocks = <&clks IMX7D_ENET2_TIME_ROOT_SRC>, + <&clks IMX7D_ENET2_TIME_ROOT_CLK>; + assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; + assigned-clock-rates = <0>, <100000000>; + phy-mode = "rgmii"; + phy-handle = <ðphy1>; + fsl,magic-packet; + status = "okay"; +}; + &i2c2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c2>; @@ -221,6 +238,23 @@ >; }; + pinctrl_enet2: enet2grp { + fsl,pins = < + MX7D_PAD_EPDC_GDSP__ENET2_RGMII_TXC 0x1 + MX7D_PAD_EPDC_SDCE2__ENET2_RGMII_TD0 0x1 + MX7D_PAD_EPDC_SDCE3__ENET2_RGMII_TD1 0x1 + MX7D_PAD_EPDC_GDCLK__ENET2_RGMII_TD2 0x1 + MX7D_PAD_EPDC_GDOE__ENET2_RGMII_TD3 0x1 + MX7D_PAD_EPDC_GDRL__ENET2_RGMII_TX_CTL 0x1 + MX7D_PAD_EPDC_SDCE1__ENET2_RGMII_RXC 0x1 + MX7D_PAD_EPDC_SDCLK__ENET2_RGMII_RD0 0x1 + MX7D_PAD_EPDC_SDLE__ENET2_RGMII_RD1 0x1 + MX7D_PAD_EPDC_SDOE__ENET2_RGMII_RD2 0x1 + MX7D_PAD_EPDC_SDSHR__ENET2_RGMII_RD3 0x1 + MX7D_PAD_EPDC_SDCE0__ENET2_RGMII_RX_CTL 0x1 + >; + }; + pinctrl_i2c2: i2c2grp { fsl,pins = < MX7D_PAD_I2C2_SDA__I2C2_SDA 0x4000007f -- 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: ilya@compulab.co.il (Ilya Ledvich) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 7/8] ARM: dts: imx7d: cl-som-imx7: add fec2 support Date: Mon, 7 Dec 2015 09:14:38 +0200 [thread overview] Message-ID: <1449472479-2521-8-git-send-email-ilya@compulab.co.il> (raw) In-Reply-To: <1449472479-2521-1-git-send-email-ilya@compulab.co.il> Add support for the 2-nd Freescale Ethernet Controller (FEC2). Signed-off-by: Ilya Ledvich <ilya@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il> --- arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts index 30bbdcd..77b6587 100644 --- a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts +++ b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts @@ -62,9 +62,26 @@ ethphy0: ethernet-phy at 0 { reg = <0>; }; + + ethphy1: ethernet-phy at 1 { + reg = <1>; + }; }; }; +&fec2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet2>; + assigned-clocks = <&clks IMX7D_ENET2_TIME_ROOT_SRC>, + <&clks IMX7D_ENET2_TIME_ROOT_CLK>; + assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; + assigned-clock-rates = <0>, <100000000>; + phy-mode = "rgmii"; + phy-handle = <ðphy1>; + fsl,magic-packet; + status = "okay"; +}; + &i2c2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c2>; @@ -221,6 +238,23 @@ >; }; + pinctrl_enet2: enet2grp { + fsl,pins = < + MX7D_PAD_EPDC_GDSP__ENET2_RGMII_TXC 0x1 + MX7D_PAD_EPDC_SDCE2__ENET2_RGMII_TD0 0x1 + MX7D_PAD_EPDC_SDCE3__ENET2_RGMII_TD1 0x1 + MX7D_PAD_EPDC_GDCLK__ENET2_RGMII_TD2 0x1 + MX7D_PAD_EPDC_GDOE__ENET2_RGMII_TD3 0x1 + MX7D_PAD_EPDC_GDRL__ENET2_RGMII_TX_CTL 0x1 + MX7D_PAD_EPDC_SDCE1__ENET2_RGMII_RXC 0x1 + MX7D_PAD_EPDC_SDCLK__ENET2_RGMII_RD0 0x1 + MX7D_PAD_EPDC_SDLE__ENET2_RGMII_RD1 0x1 + MX7D_PAD_EPDC_SDOE__ENET2_RGMII_RD2 0x1 + MX7D_PAD_EPDC_SDSHR__ENET2_RGMII_RD3 0x1 + MX7D_PAD_EPDC_SDCE0__ENET2_RGMII_RX_CTL 0x1 + >; + }; + pinctrl_i2c2: i2c2grp { fsl,pins = < MX7D_PAD_I2C2_SDA__I2C2_SDA 0x4000007f -- 1.9.1
next prev parent reply other threads:[~2015-12-07 7:14 UTC|newest] Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-12-07 7:14 [PATCH 0/8] Add support for CL-SOM-iMX7 and SBC-iMX7 Ilya Ledvich 2015-12-07 7:14 ` Ilya Ledvich [not found] ` <1449472479-2521-1-git-send-email-ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-07 7:14 ` [PATCH 1/8] ARM: dts: imx7d: cl-som-imx7: add basic module support Ilya Ledvich 2015-12-07 7:14 ` Ilya Ledvich [not found] ` <1449472479-2521-2-git-send-email-ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-08 15:14 ` Rob Herring 2015-12-08 15:14 ` Rob Herring 2015-12-10 14:01 ` [PATCH v2] " Igor Grinberg 2015-12-10 14:01 ` Igor Grinberg [not found] ` <1449756097-2921-1-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-14 2:43 ` Shawn Guo 2015-12-14 2:43 ` Shawn Guo 2015-12-16 14:01 ` Igor Grinberg 2015-12-16 14:01 ` Igor Grinberg [not found] ` <56716EA4.2080107-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-21 6:36 ` Shawn Guo 2015-12-21 6:36 ` Shawn Guo 2015-12-21 8:07 ` Igor Grinberg 2015-12-21 8:07 ` Igor Grinberg [not found] ` <5677B341.6040203-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-21 13:54 ` Shawn Guo 2015-12-21 13:54 ` Shawn Guo 2015-12-21 13:59 ` Shawn Guo 2015-12-21 13:59 ` Shawn Guo 2015-12-22 7:38 ` Igor Grinberg 2015-12-22 7:38 ` Igor Grinberg 2015-12-07 7:14 ` [PATCH 2/8] ARM: dts: imx7d: cl-som-imx7: add usb otg support Ilya Ledvich 2015-12-07 7:14 ` Ilya Ledvich 2015-12-07 7:14 ` [PATCH 3/8] ARM: dts: imx7d: cl-som-imx7: add eMMC support Ilya Ledvich 2015-12-07 7:14 ` Ilya Ledvich 2015-12-07 7:14 ` [PATCH 4/8] ARM: dts: imx7d: cl-som-imx7: add fec1 support Ilya Ledvich 2015-12-07 7:14 ` Ilya Ledvich 2015-12-07 7:14 ` [PATCH 5/8] ARM: dts: imx7d: cl-som-imx7: add eeprom support Ilya Ledvich 2015-12-07 7:14 ` Ilya Ledvich 2015-12-07 7:14 ` [PATCH 6/8] ARM: dts: imx7d: cl-som-imx7: add gpio extender support Ilya Ledvich 2015-12-07 7:14 ` Ilya Ledvich 2015-12-07 7:14 ` Ilya Ledvich [this message] 2015-12-07 7:14 ` [PATCH 7/8] ARM: dts: imx7d: cl-som-imx7: add fec2 support Ilya Ledvich 2015-12-07 7:14 ` [PATCH 8/8] ARM: dts: imx7d: sbc-imx7: add basic board support Ilya Ledvich 2015-12-07 7:14 ` Ilya Ledvich [not found] ` <1449472479-2521-9-git-send-email-ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-08 15:16 ` Rob Herring 2015-12-08 15:16 ` Rob Herring 2015-12-14 2:47 ` [PATCH 0/8] Add support for CL-SOM-iMX7 and SBC-iMX7 Shawn Guo 2015-12-14 2:47 ` Shawn Guo 2015-12-16 14:09 ` Igor Grinberg 2015-12-16 14:09 ` Igor Grinberg [not found] ` <5671707E.5000908-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-21 6:41 ` Shawn Guo 2015-12-21 6:41 ` Shawn Guo 2015-12-21 7:54 ` Igor Grinberg 2015-12-21 7:54 ` Igor Grinberg 2015-12-22 8:15 ` [PATCH v2 0/2] " Ilya Ledvich 2015-12-22 8:15 ` Ilya Ledvich [not found] ` <1450772120-18131-1-git-send-email-ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-22 8:15 ` [PATCH v2 1/2] ARM: dts: imx7d: cl-som-imx7: add basic module support Ilya Ledvich 2015-12-22 8:15 ` Ilya Ledvich [not found] ` <1450772120-18131-2-git-send-email-ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-22 12:17 ` Shawn Guo 2015-12-22 12:17 ` Shawn Guo 2015-12-22 14:07 ` Igor Grinberg 2015-12-22 14:07 ` Igor Grinberg 2015-12-22 8:15 ` [PATCH v2 2/2] ARM: dts: imx7d: sbc-imx7: add basic board support Ilya Ledvich 2015-12-22 8:15 ` Ilya Ledvich [not found] ` <1450772120-18131-3-git-send-email-ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-22 12:19 ` Shawn Guo 2015-12-22 12:19 ` Shawn Guo 2015-12-22 14:13 ` Igor Grinberg 2015-12-22 14:13 ` Igor Grinberg 2015-12-22 12:13 ` [PATCH v2 0/2] Add support for CL-SOM-iMX7 and SBC-iMX7 Shawn Guo 2015-12-22 12:13 ` Shawn Guo 2015-12-22 14:14 ` Igor Grinberg 2015-12-22 14:14 ` Igor Grinberg
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=1449472479-2521-8-git-send-email-ilya@compulab.co.il \ --to=ilya-utxizqzc01rs1mouv/rt9w@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \ --cc=grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org \ --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \ --cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \ --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \ --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ --cc=shawnguo-DgEjT+Ai2ygdnm+yROfE0A@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.