All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sébastien Szymanski" <sebastien.szymanski@armadeus.com>
To: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	NXP Linux Team <linux-imx@nxp.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	"Julien Boibessot" <julien.boibessot@armadeus.com>,
	"Sébastien Szymanski" <sebastien.szymanski@armadeus.com>
Subject: [PATCH 3/9] ARM: dts: imx6qdl-apf6: add phy to fec
Date: Tue, 22 Oct 2019 15:16:49 +0200	[thread overview]
Message-ID: <20191022131655.25737-4-sebastien.szymanski@armadeus.com> (raw)
In-Reply-To: <20191022131655.25737-1-sebastien.szymanski@armadeus.com>

Add the mdio bus and the phy to the fec-node.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
---
 arch/arm/boot/dts/imx6qdl-apf6.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-apf6.dtsi b/arch/arm/boot/dts/imx6qdl-apf6.dtsi
index 10981c74c90d..37cbdfd4fb33 100644
--- a/arch/arm/boot/dts/imx6qdl-apf6.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-apf6.dtsi
@@ -11,7 +11,21 @@
 	phy-mode = "rgmii-id";
 	phy-reset-duration = <10>;
 	phy-reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
+	phy-handle = <&ethphy1>;
 	status = "okay";
+
+	mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ethphy1: ethernet-phy@1 {
+			compatible = "ethernet-phy-ieee802.3-c22";
+			reg = <1>;
+			interrupt-parent = <&gpio1>;
+			interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
+			status = "okay";
+		};
+	};
 };
 
 /* Bluetooth */
-- 
2.21.0


WARNING: multiple messages have this Message-ID (diff)
From: "Sébastien Szymanski" <sebastien.szymanski@armadeus.com>
To: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	NXP Linux Team <linux-imx@nxp.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Julien Boibessot <julien.boibessot@armadeus.com>
Subject: [PATCH 3/9] ARM: dts: imx6qdl-apf6: add phy to fec
Date: Tue, 22 Oct 2019 15:16:49 +0200	[thread overview]
Message-ID: <20191022131655.25737-4-sebastien.szymanski@armadeus.com> (raw)
In-Reply-To: <20191022131655.25737-1-sebastien.szymanski@armadeus.com>

Add the mdio bus and the phy to the fec-node.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
---
 arch/arm/boot/dts/imx6qdl-apf6.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-apf6.dtsi b/arch/arm/boot/dts/imx6qdl-apf6.dtsi
index 10981c74c90d..37cbdfd4fb33 100644
--- a/arch/arm/boot/dts/imx6qdl-apf6.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-apf6.dtsi
@@ -11,7 +11,21 @@
 	phy-mode = "rgmii-id";
 	phy-reset-duration = <10>;
 	phy-reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
+	phy-handle = <&ethphy1>;
 	status = "okay";
+
+	mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ethphy1: ethernet-phy@1 {
+			compatible = "ethernet-phy-ieee802.3-c22";
+			reg = <1>;
+			interrupt-parent = <&gpio1>;
+			interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
+			status = "okay";
+		};
+	};
 };
 
 /* Bluetooth */
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-10-22 14:35 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-22 13:16 [PATCH 0/9] ARM: dts: update APF6 / APF6Dev Sébastien Szymanski
2019-10-22 13:16 ` Sébastien Szymanski
2019-10-22 13:16 ` [PATCH 1/9] ARM: dts: imx6qdl-{apf6,apf6dev}: switch boards to SPDX identifier Sébastien Szymanski
2019-10-22 13:16   ` [PATCH 1/9] ARM: dts: imx6qdl-{apf6, apf6dev}: " Sébastien Szymanski
2019-10-24 20:38   ` [PATCH 1/9] ARM: dts: imx6qdl-{apf6,apf6dev}: " Fabio Estevam
2019-10-24 20:38     ` Fabio Estevam
2019-10-28  6:49     ` Shawn Guo
2019-10-28  6:49       ` Shawn Guo
2019-10-22 13:16 ` [PATCH 2/9] ARM: dts: imx6qdl-{apf6,apf6dev}: remove container node around pinctrl nodes Sébastien Szymanski
2019-10-22 13:16   ` [PATCH 2/9] ARM: dts: imx6qdl-{apf6, apf6dev}: " Sébastien Szymanski
2019-10-22 13:16 ` Sébastien Szymanski [this message]
2019-10-22 13:16   ` [PATCH 3/9] ARM: dts: imx6qdl-apf6: add phy to fec Sébastien Szymanski
2019-10-22 13:16 ` [PATCH 4/9] ARM: dts: imx6qdl-apf6: add flow control to uart2 Sébastien Szymanski
2019-10-22 13:16   ` Sébastien Szymanski
2019-10-22 13:16 ` [PATCH 5/9] ARM: dts: imx6qdl-apf6: fix WiFi Sébastien Szymanski
2019-10-22 13:16   ` Sébastien Szymanski
2019-10-22 13:16 ` [PATCH 6/9] ARM: dts: imx6qdl-apf6dev: add RTC support Sébastien Szymanski
2019-10-22 13:16   ` Sébastien Szymanski
2019-10-22 13:16 ` [PATCH 7/9] ARM: dts: imx6qdl-apf6dev: rename usb-h1-vbus regulator to 5V Sébastien Szymanski
2019-10-22 13:16   ` Sébastien Szymanski
2019-10-22 13:16 ` [PATCH 8/9] ARM: dts: imx6qdl-apf6dev: add backlight support Sébastien Szymanski
2019-10-22 13:16   ` Sébastien Szymanski
2019-10-22 13:16 ` [PATCH 9/9] ARM: dts: imx6qdl-apf6dev: use DRM bindings Sébastien Szymanski
2019-10-22 13:16   ` Sébastien Szymanski

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=20191022131655.25737-4-sebastien.szymanski@armadeus.com \
    --to=sebastien.szymanski@armadeus.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=julien.boibessot@armadeus.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.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 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.