From: Teresa Remmet <t.remmet@phytec.de>
To: u-boot@lists.denx.de
Cc: Stefano Babic <sbabic@denx.de>,
Fabio Estevam <festevam@gmail.com>,
"NXP i . MX U-Boot Team" <uboot-imx@nxp.com>,
Peng Fan <peng.fan@nxp.com>,
Jagan Teki <jagan@amarulasolutions.com>,
Heiko Schocher <hs@denx.de>
Subject: [PATCH v3 3/9] arm: dts: imx8mp-phyboard-pollux: Sync dts files with kernel
Date: Wed, 7 Jul 2021 12:57:58 +0000 [thread overview]
Message-ID: <20210707125804.3010652-4-t.remmet@phytec.de> (raw)
In-Reply-To: <20210707125804.3010652-1-t.remmet@phytec.de>
This update includes eqos support and some minor changes.
Synced with kernel commit
412627f6ffe3 ("arm64: dts: imx8mp-phyboard-pollux-rdk: Add missing pinctrl entry")
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
---
Changes in v3:
- Don't sync the debug uart changes here as they are made now in separate
patch
Changes in v2:
- none
arch/arm/dts/imx8mp-phyboard-pollux-rdk.dts | 46 ++++++++++++++++++++-
arch/arm/dts/imx8mp-phycore-som.dtsi | 2 +-
2 files changed, 46 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/imx8mp-phyboard-pollux-rdk.dts b/arch/arm/dts/imx8mp-phyboard-pollux-rdk.dts
index 0e1a6d953389..2031a9d40bed 100644
--- a/arch/arm/dts/imx8mp-phyboard-pollux-rdk.dts
+++ b/arch/arm/dts/imx8mp-phyboard-pollux-rdk.dts
@@ -33,9 +33,33 @@
};
};
+&eqos {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_eqos>;
+ phy-mode = "rgmii-id";
+ phy-handle = <ðphy0>;
+ status = "okay";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy0: ethernet-phy@1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <0x1>;
+ ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
+ ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
+ ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
+ ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
+ enet-phy-lane-no-swap;
+ };
+ };
+};
+
&i2c2 {
clock-frequency = <400000>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c2>;
pinctrl-1 = <&pinctrl_i2c2_gpio>;
sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
@@ -90,6 +114,26 @@
};
&iomuxc {
+ pinctrl_eqos: eqosgrp {
+ fsl,pins = <
+ MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x3
+ MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x3
+ MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x91
+ MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x91
+ MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x91
+ MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x91
+ MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x91
+ MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x91
+ MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x1f
+ MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x1f
+ MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x1f
+ MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x1f
+ MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x1f
+ MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x1f
+ MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20 0x10
+ >;
+ };
+
pinctrl_i2c2: i2c2grp {
fsl,pins = <
MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c3
diff --git a/arch/arm/dts/imx8mp-phycore-som.dtsi b/arch/arm/dts/imx8mp-phycore-som.dtsi
index 44a8c2337cee..f3965ec5b31d 100644
--- a/arch/arm/dts/imx8mp-phycore-som.dtsi
+++ b/arch/arm/dts/imx8mp-phycore-som.dtsi
@@ -67,7 +67,7 @@
&i2c1 {
clock-frequency = <400000>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c1>;
pinctrl-1 = <&pinctrl_i2c1_gpio>;
sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
--
2.25.1
next prev parent reply other threads:[~2021-07-07 12:58 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-07 12:57 [PATCH v3 0/9] phyCORE-i.MX8MP Update Teresa Remmet
2021-07-07 12:57 ` [PATCH v3 1/9] arm: dts: imx8mp: Resync imx8mp device tree include Teresa Remmet
2021-07-10 15:52 ` sbabic
2021-07-10 19:35 ` sbabic
2021-07-07 12:57 ` [PATCH v3 2/9] arm: dts: imx8mp: Add common u-boot dtsi Teresa Remmet
2021-07-09 14:47 ` Tim Harvey
2021-07-10 12:23 ` Heiko Schocher
2021-07-12 16:42 ` Tim Harvey
2021-07-12 19:43 ` Simon Glass
2021-07-12 20:58 ` Tim Harvey
2021-07-13 20:17 ` Simon Glass
2021-07-19 4:18 ` Heiko Schocher
2021-07-19 4:16 ` Heiko Schocher
2021-08-13 12:55 ` Fabio Estevam
2021-08-16 10:27 ` Heiko Schocher
2021-08-16 13:56 ` Fabio Estevam
2021-08-16 14:09 ` Frieder Schrempf
2021-08-16 14:18 ` Frieder Schrempf
2021-08-16 15:10 ` Fabio Estevam
2021-08-18 8:17 ` Marcel Ziswiler
2021-07-10 15:53 ` sbabic
2021-07-10 19:36 ` sbabic
2021-07-07 12:57 ` Teresa Remmet [this message]
2021-07-10 15:52 ` [PATCH v3 3/9] arm: dts: imx8mp-phyboard-pollux: Sync dts files with kernel sbabic
2021-07-10 19:35 ` sbabic
2021-07-07 12:57 ` [PATCH v3 4/9] board: phytec: phycore_imx8mp: Change debug UART Teresa Remmet
2021-07-10 15:54 ` sbabic
2021-07-10 19:36 ` sbabic
2021-07-07 12:58 ` [PATCH v3 5/9] board: phytec: phycore_imx8mp: Add fec support Teresa Remmet
2021-07-10 15:53 ` sbabic
2021-07-10 19:36 ` sbabic
2021-07-07 12:58 ` [PATCH v3 6/9] board: phytec: phycore_imx8mp: Set VDD_ARM to 0,95V Teresa Remmet
2021-07-10 15:53 ` sbabic
2021-07-10 19:35 ` sbabic
2021-07-07 12:58 ` [PATCH v3 7/9] board: phytec: phycore-imx8mp: Enable DVS1 control Teresa Remmet
2021-07-10 15:53 ` sbabic
2021-07-10 19:36 ` sbabic
2021-07-07 12:58 ` [PATCH v3 8/9] arm: dts: imx8mp-phyboard-pollux-rdk-u-boot: Add wdog pinctrl entry Teresa Remmet
2021-07-10 15:53 ` sbabic
2021-07-10 19:36 ` sbabic
2021-07-07 12:58 ` [PATCH v3 9/9] board: phytec: imx8mp-phycore: Switch to binman Teresa Remmet
2021-07-10 15:53 ` sbabic
2021-07-10 19:36 ` sbabic
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=20210707125804.3010652-4-t.remmet@phytec.de \
--to=t.remmet@phytec.de \
--cc=festevam@gmail.com \
--cc=hs@denx.de \
--cc=jagan@amarulasolutions.com \
--cc=peng.fan@nxp.com \
--cc=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.com \
/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