[PATCH v1 14/16] imx23: synchronise device tree with linux

Marcel Ziswiler marcel at ziswiler.com
Fri Aug 26 11:48:32 CEST 2022


From: Marcel Ziswiler <marcel.ziswiler at toradex.com>

Synchronise device tree with linux v6.0-rc1.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
---

 arch/arm/dts/imx23-evk.dts     | 1 -
 arch/arm/dts/imx23-pinfunc.h   | 8 +-------
 arch/arm/dts/imx23-u-boot.dtsi | 7 +++----
 arch/arm/dts/imx23.dtsi        | 2 +-
 4 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/arch/arm/dts/imx23-evk.dts b/arch/arm/dts/imx23-evk.dts
index 8cbaf1c8117..3b609d987d8 100644
--- a/arch/arm/dts/imx23-evk.dts
+++ b/arch/arm/dts/imx23-evk.dts
@@ -79,7 +79,6 @@
 						MX23_PAD_LCD_RESET__GPIO_1_18
 						MX23_PAD_PWM3__GPIO_1_29
 						MX23_PAD_PWM4__GPIO_1_30
-						MX23_PAD_SSP1_DETECT__SSP1_DETECT
 					>;
 					fsl,drive-strength = <MXS_DRIVE_4mA>;
 					fsl,voltage = <MXS_VOLTAGE_HIGH>;
diff --git a/arch/arm/dts/imx23-pinfunc.h b/arch/arm/dts/imx23-pinfunc.h
index 5c0f32ca3a9..468c079f3c2 100644
--- a/arch/arm/dts/imx23-pinfunc.h
+++ b/arch/arm/dts/imx23-pinfunc.h
@@ -1,14 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Header providing constants for i.MX23 pinctrl bindings.
  *
  * Copyright (C) 2013 Lothar Waßmann <LW at KARO-electronics.de>
- *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #ifndef __DT_BINDINGS_MX23_PINCTRL_H__
diff --git a/arch/arm/dts/imx23-u-boot.dtsi b/arch/arm/dts/imx23-u-boot.dtsi
index 5e87aca61b7..5de62bbb907 100644
--- a/arch/arm/dts/imx23-u-boot.dtsi
+++ b/arch/arm/dts/imx23-u-boot.dtsi
@@ -1,14 +1,13 @@
 // SPDX-License-Identifier: GPL-2.0+
 
 &gpio0 {
-	gpio-ranges = <&pinctrl 0 0 32>;
+	gpio-ranges = <&{/apb at 80000000/apbh at 80000000/pinctrl at 80018000} 0 0 32>;
 };
 
 &gpio1 {
-	gpio-ranges = <&pinctrl 0 32 31>;
+	gpio-ranges = <&{/apb at 80000000/apbh at 80000000/pinctrl at 80018000} 0 32 31>;
 };
 
 &gpio2 {
-	gpio-ranges = <&pinctrl 0 63 32>;
+	gpio-ranges = <&{/apb at 80000000/apbh at 80000000/pinctrl at 80018000} 0 63 32>;
 };
-
diff --git a/arch/arm/dts/imx23.dtsi b/arch/arm/dts/imx23.dtsi
index 4cfec778492..7f4c602454a 100644
--- a/arch/arm/dts/imx23.dtsi
+++ b/arch/arm/dts/imx23.dtsi
@@ -105,7 +105,7 @@
 				status = "disabled";
 			};
 
-			pinctrl: pinctrl at 80018000 {
+			pinctrl at 80018000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				compatible = "fsl,imx23-pinctrl", "simple-bus";
-- 
2.35.1



More information about the U-Boot mailing list