Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1618238

[PATCH v3 9/9] ARM: dts: imx6ul-isiot: Add FEC node support

From Jagan Teki <jagan@openedev.com>
Newsgroups linux.kernel
Subject [PATCH v3 9/9] ARM: dts: imx6ul-isiot: Add FEC node support
Date 2017-04-06 20:10 +0200
Message-ID <ttk14-4lh-13@gated-at.bofh.it> (permalink)
References <ttk14-4lh-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Jagan Teki <jagan@amarulasolutions.com>

Add support for fec1 node on Engicam Is.IoT variant boards.

Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v3:
- none
Changes for v2:
- Newly added patch

 arch/arm/boot/dts/imx6ul-isiot.dtsi | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul-isiot.dtsi b/arch/arm/boot/dts/imx6ul-isiot.dtsi
index 7e947e5..ccc5477 100644
--- a/arch/arm/boot/dts/imx6ul-isiot.dtsi
+++ b/arch/arm/boot/dts/imx6ul-isiot.dtsi
@@ -129,6 +129,24 @@
 	status = "okay";
 };
 
+&fec1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_enet1>;
+	phy-mode = "rmii";
+	phy-handle = <&ethphy0>;
+	status = "okay";
+
+	mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ethphy0: ethernet-phy@0 {
+			compatible = "ethernet-phy-ieee802.3-c22";
+			reg = <0>;
+		};
+	};
+};
+
 &pwm8 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pwm8>;
@@ -159,6 +177,21 @@
 };
 
 &iomuxc {
+	pinctrl_enet1: enet1grp {
+		fsl,pins = <
+			MX6UL_PAD_ENET2_RX_DATA0__ENET1_MDIO	0x1b0b0
+			MX6UL_PAD_ENET2_RX_DATA1__ENET1_MDC	0x1b0b0
+			MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN	0x1b0b0
+			MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00	0x1b0b0
+			MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01	0x1b0b0
+			MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN	0x1b0b0
+			MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00	0x1b0b0
+			MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01	0x1b0b0
+			MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1	0x4001b031
+			MX6UL_PAD_ENET2_RX_EN__GPIO2_IO10	0x1b0b0
+		>;
+	};
+
 	pinctrl_i2c1: i2c1grp {
 		fsl,pins = <
 			MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/9] ARM: dts: i.MX6: Add lcdif/sound nodes on Engicam SOMs Jagan Teki <jagan@openedev.com> - 2017-04-06 20:10 +0200
  [PATCH v3 5/9] ARM: dts: imx6qdl-icore-rqs: Replace to use simple-audio-card Jagan Teki <jagan@openedev.com> - 2017-04-06 20:10 +0200
  [PATCH v3 2/9] ARM: dts: imx6ul-geam: Add Sound card with codec node Jagan Teki <jagan@openedev.com> - 2017-04-06 20:10 +0200
    Re: [PATCH v3 2/9] ARM: dts: imx6ul-geam: Add Sound card with codec  node Shawn Guo <shawnguo@kernel.org> - 2017-04-07 15:20 +0200
  [PATCH v3 6/9] ARM: dts: imx6dl-icore: Add LVDS support Jagan Teki <jagan@openedev.com> - 2017-04-06 20:10 +0200
  [PATCH v3 9/9] ARM: dts: imx6ul-isiot: Add FEC node support Jagan Teki <jagan@openedev.com> - 2017-04-06 20:10 +0200
  [PATCH v3 1/9] ARM: dts: imx6ul-isiot: Add Sound card with codec node Jagan Teki <jagan@openedev.com> - 2017-04-06 20:10 +0200
    Re: [PATCH v3 1/9] ARM: dts: imx6ul-isiot: Add Sound card with codec  node Shawn Guo <shawnguo@kernel.org> - 2017-04-07 15:20 +0200
  [PATCH v3 4/9] ARM: dts: imx6dl-icore-rqs: Add sgtl5000 codec node Jagan Teki <jagan@openedev.com> - 2017-04-06 20:10 +0200
  [PATCH v3 8/9] ARM: dts: imx6qdl-icore-rqs: Add CAN nodes Jagan Teki <jagan@openedev.com> - 2017-04-06 20:10 +0200
  [PATCH v3 3/9] ARM: dts: imx6qdl-icore: Add Sound card with codec node Jagan Teki <jagan@openedev.com> - 2017-04-06 20:10 +0200
    Re: [PATCH v3 3/9] ARM: dts: imx6qdl-icore: Add Sound card with  codec node Shawn Guo <shawnguo@kernel.org> - 2017-04-07 15:30 +0200
  [PATCH v3 7/9] ARM: dts: imx6dl-icore: Add touchscreen node Jagan Teki <jagan@openedev.com> - 2017-04-06 20:10 +0200

csiph-web