public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Igor Opaniuk <igor.opaniuk@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 1/6] ARM: dts: imx6_colibri: introduce fec node
Date: Mon,  4 Nov 2019 11:11:59 +0100	[thread overview]
Message-ID: <20191104101204.17917-2-igor.opaniuk@gmail.com> (raw)
In-Reply-To: <20191104101204.17917-1-igor.opaniuk@gmail.com>

From: Igor Opaniuk <igor.opaniuk@toradex.com>

Sync DTS with the mainline Linux and introduce fec node.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
---

 arch/arm/dts/imx6-colibri.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/dts/imx6-colibri.dts b/arch/arm/dts/imx6-colibri.dts
index 5c9f1f0d2b..387d6d5ca7 100644
--- a/arch/arm/dts/imx6-colibri.dts
+++ b/arch/arm/dts/imx6-colibri.dts
@@ -21,6 +21,7 @@
 		mmc0 = &usdhc3;
 		mmc1 = &usdhc1;
 		usb0 = &usbotg; /* required for ums */
+		ethernet0 = &fec;
 	};
 
 	chosen {
@@ -46,6 +47,25 @@
 	};
 };
 
+&fec {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_enet>;
+	phy-mode = "rmii";
+	phy-handle = <&ethphy>;
+	status = "okay";
+
+	mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ethphy: ethernet-phy at 0 {
+			reg = <0>;
+			micrel,led-mode = <0>;
+			status = "okay";
+		};
+	};
+};
+
 /*
  * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
  * touch screen controller
-- 
2.17.1

  reply	other threads:[~2019-11-04 10:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 10:11 [U-Boot] [PATCH v1 0/6] imx: colibri imx6/imx7: apalis imx6: migrate to DM_ETH Igor Opaniuk
2019-11-04 10:11 ` Igor Opaniuk [this message]
2019-12-03 14:45   ` [U-Boot] [PATCH v1 1/6] ARM: dts: imx6_colibri: introduce fec node Oleksandr Suvorov
2019-12-29 10:28   ` sbabic at denx.de
2019-11-04 10:12 ` [U-Boot] [PATCH v1 2/6] colibri_imx6: migrate to DM_ETH Igor Opaniuk
2019-12-03 14:46   ` Oleksandr Suvorov
2019-12-29 10:26   ` sbabic at denx.de
2019-11-04 10:12 ` [U-Boot] [PATCH v1 3/6] ARM: dts: imx6_apalis: introduce fec node Igor Opaniuk
2019-12-03 14:42   ` Oleksandr Suvorov
2019-12-29 10:25   ` sbabic at denx.de
2019-11-04 10:12 ` [U-Boot] [PATCH v1 4/6] apalis_imx6: migrate to DM_ETH Igor Opaniuk
2019-12-03 14:47   ` Oleksandr Suvorov
2019-12-29 10:26   ` sbabic at denx.de
2019-11-04 10:12 ` [U-Boot] [PATCH v1 5/6] ARM: dts: imx7: imx7_colibri: introduce fec node Igor Opaniuk
2019-12-03 14:48   ` Oleksandr Suvorov
2019-12-29 10:25   ` sbabic at denx.de
2019-11-04 10:12 ` [U-Boot] [PATCH v1 6/6] colibri_imx7: migrate to DM_ETH Igor Opaniuk
2019-12-03 14:44   ` Oleksandr Suvorov
2019-12-29 10:28   ` sbabic at denx.de

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=20191104101204.17917-2-igor.opaniuk@gmail.com \
    --to=igor.opaniuk@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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