Skip to contentSkip to conversation

arm64: dts: freescale: imx8dxl: add scu_gpio node

PATCH Applied Shenwei Wang 2 participants 4 messages Oct 11, 2022 – Oct 29, 2022

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

PATCH 1/2 arm64: dts: freescale: imx8dxl: add scu_gpio node

add scu_gpio node in system-controller.

---
 arch/arm64/boot/dts/freescale/imx8dxl.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/freescale/imx8dxl.dtsi +6 -0
index 5ddbda0b4def..9f79504f9d6a 100644
@@ -133,6 +133,12 @@ clk: clock-controller {
 			clock-names = "xtal_32KHz", "xtal_24Mhz";
 		};
 
+		scu_gpio: gpio {
+			compatible = "fsl,imx8qxp-sc-gpio";
+			gpio-controller;
+			#gpio-cells = <2>;
+		};
+
 		iomuxc: pinctrl {
 			compatible = "fsl,imx8dxl-iomuxc";
 		};
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 arm64: dts: freescale: imx8dxl-evk: enable mii_select node

The mii_select node is used to determine the fec1's interface type. Using "enable-active-high" property to configure the interface type as "RMII". Deleting the property as "RGMII".

---
 arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +10 -0
index ca2a43e0cbf6..35a8af2927ef 100644
@@ -90,6 +90,16 @@ reg_usdhc2_vmmc: regulator-3 {
 		enable-active-high;
 		off-on-delay-us = <3480>;
 	};
+
+	mii_select: regulator-4 {
+		compatible = "regulator-fixed";
+		regulator-name = "mii-select";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&scu_gpio 6 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+		regulator-always-on;
+	};
 };
 
 &eqos {
Signature · 1 line
2.34.1
#2 lore raw
In reply to Shenwei Wang

A soft ping to Shawn.

Thanks,
Shenwei

Quoted 40 lines

-----Original Message-----
From: Shenwei Wang <[email protected]>
Sent: Tuesday, October 11, 2022 2:47 PM
To: Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Shawn Guo <[email protected]>; Sascha Hauer <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>; Fabio Estevam <[email protected]>; dl-linux-imx <[email protected]>; Shenwei Wang <[email protected]>; Viorel Suman <[email protected]>; Abel Vesa <[email protected]>; Ming Qian <[email protected]>; Peng Fan <[email protected]>; [email protected]; [email protected]
Subject: [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node

add scu_gpio node in system-controller.

---
 arch/arm64/boot/dts/freescale/imx8dxl.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/freescale/imx8dxl.dtsi +6 -1
index 5ddbda0b4def..9f79504f9d6a 100644
@@ -133,6 +133,12 @@ clk: clock-controller {
 			clock-names = "xtal_32KHz", "xtal_24Mhz";
 		};
 
+		scu_gpio: gpio {
+			compatible = "fsl,imx8qxp-sc-gpio";
+			gpio-controller;
+			#gpio-cells = <2>;
+		};
+
 		iomuxc: pinctrl {
 			compatible = "fsl,imx8dxl-iomuxc";
 		};
--

2.34.1