Skip to contentSkip to conversation

Update of phyBOARD-Pollux-i.MX8MP

PATCH New Yashwanth Varakala 1 participant 5 messages Feb 23, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover Update of phyBOARD-Pollux-i.MX8MP

Hello,

These patches will update the imx8mp-phyboard-pollux devicetree with the Muxing and RTC properties.

Thankyou,
yashwanth.

Changes in v3:
-Rebased on linux-next/master to avoid conflicts.

Changes in v2:
-Corrected the commit message.
-Corrected the authorship.

Dominik Haller (1):
arm64: dts: imx8mp-phyboard-pollux: Disable pull-up for CD GPIO

Teresa Remmet (1):
arm64: dts: imx8mp-phyboard-pollux: Reduce drive strength for eqos tx
lines

Yannic Moog (1):
arm64: dts: imx8mp-phyboard-pollux: Set debug uart muxing to 0x140

Yashwanth Varakala (1):
arm64: dts: imx8mp-phyboard-pollux: Add and update rtc devicetree node

 .../freescale/imx8mp-phyboard-pollux-rdk.dts  | 33 ++++++++++++++-----
 .../dts/freescale/imx8mp-phycore-som.dtsi     |  1 -
 2 files changed, 24 insertions(+), 10 deletions(-)
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

PATCH v3 1/4 arm64: dts: imx8mp-phyboard-pollux: Add and update rtc devicetree node

The interrupt of the RTC is connected on the carrier board phyBOARD-i.MX8MP-Pollux.

RTC trickle-charger devicetree property is dependent on the phyboard-pollux design.

---
Changes in v2:
-Corrected the commit message.

 .../dts/freescale/imx8mp-phyboard-pollux-rdk.dts  | 15 +++++++++++++++
 .../boot/dts/freescale/imx8mp-phycore-som.dtsi    |  1 -
 2 files changed, 15 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts +15 -0
index 9e8afceba65e..894905fb42b0 100644
@@ -191,6 +191,15 @@ ldb_lvds_ch1: endpoint {
 	};
 };
 
+&rv3028 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rtc>;
+	interrupt-parent = <&gpio4>;
+	interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
+	wakeup-source;
+	trickle-resistor-ohms = <3000>;
+};
+
 &snvs_pwrkey {
 	status = "okay";
 };
@@ -369,6 +378,12 @@ MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19	0x40
 		>;
 	};
 
+	pinctrl_rtc: rtcgrp {
+		fsl,pins = <
+			MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19	0x1C0
+		>;
+	};
+
 	pinctrl_uart1: uart1grp {
 		fsl,pins = <
 			MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX	0x40
arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi +0 -1
index c976c3b6cbc6..e6ffa6a6b68b 100644
@@ -175,7 +175,6 @@ eeprom@51 {
 	rv3028: rtc@52 {
 		compatible = "microcrystal,rv3028";
 		reg = <0x52>;
-		trickle-resistor-ohms = <3000>;
 	};
 };
 
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw

PATCH v3 2/4 arm64: dts: imx8mp-phyboard-pollux: Set debug uart muxing to 0x140

In reply to Yashwanth Varakala

From: Yannic Moog <[email protected]>

Set Pull Resistors Enable bit to put signal into a defined state.

---
Changes in v2:
-Corrected the Authorship.

 arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts +2 -2
index 894905fb42b0..f95af797531a 100644
@@ -386,8 +386,8 @@ MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19	0x1C0
 
 	pinctrl_uart1: uart1grp {
 		fsl,pins = <
-			MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX	0x40
-			MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX	0x40
+			MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX	0x140
+			MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX	0x140
 		>;
 	};
 
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#3 lore raw

PATCH v3 3/4 arm64: dts: imx8mp-phyboard-pollux: Reduce drive strength for eqos tx lines

In reply to Yashwanth Varakala

From: Teresa Remmet <[email protected]>

Reduce drive strength on eqos tx lines for signal quality improvements.

---
Changes in v2:
-Corrected the Authorship.

 .../dts/freescale/imx8mp-phyboard-pollux-rdk.dts     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts +6 -6
index f95af797531a..e85176d23376 100644
@@ -310,12 +310,12 @@ MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2		0x90
 			MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3		0x90
 			MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK	0x90
 			MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL		0x90
-			MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0		0x16
-			MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1		0x16
-			MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2		0x16
-			MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3		0x16
-			MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL		0x16
-			MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK	0x16
+			MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0		0x12
+			MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1		0x12
+			MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2		0x12
+			MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3		0x12
+			MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL		0x12
+			MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK	0x12
 			MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20			0x10
 		>;
 	};
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#4 lore raw

PATCH v3 4/4 arm64: dts: imx8mp-phyboard-pollux: Disable pull-up for CD GPIO

In reply to Yashwanth Varakala

From: Dominik Haller <[email protected]>

Removes the pull-up resistor from the pad's settings to keep it consistent for all boards. We have pull-ups in hardware on all boards so we don't need to set the additional one from the iomux controller.

---
Changes in v2:
-Corrected the Authorship.

 arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts +1 -1
index e85176d23376..7ed843d6ea72 100644
@@ -408,7 +408,7 @@ MX8MP_IOMUXC_SAI3_RXD__UART2_DCE_RTS	0x140
 
 	pinctrl_usdhc2_pins: usdhc2-gpiogrp {
 		fsl,pins = <
-			MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12	0x1c4
+			MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12	0x40
 		>;
 	};
 
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel