Skip to contentSkip to conversation

armv8: dts: fsl-lx2160a: add gpio0 gpio1 gpio3 DT nodes

PATCH New Hui Song 3 participants 3 messages Sep 10, 2020 – Sep 18, 2020 Arm (32-bit)

lore
Share & tools
lore

Hui Song

author
#0 lore raw

PATCH 1/1 armv8: dts: fsl-lx2160a: add gpio0 gpio1 gpio3 DT nodes

From: "hui.song" <[email protected]>

add gpio0 gpio1 gpio3 DT nodes to fsl-lx21600.dtsi

---
 arch/arm/dts/fsl-lx2160a.dtsi | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
arch/arm/dts/fsl-lx2160a.dtsi +33 -0
index dee1e2f215..05ddb5789b 100644
@@ -193,6 +193,28 @@
 		num-cs = <6>;
 	};
 
+	gpio0: gpio at 2300000 {
+		compatible = "fsl,qoriq-gpio";
+		reg = <0x0 0x2300000 0x0 0x10000>;
+		interrupts = <0 36 4>;
+		gpio-controller;
+		little-endian;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpio1: gpio at 2310000 {
+		compatible = "fsl,qoriq-gpio";
+		reg = <0x0 0x2310000 0x0 0x10000>;
+		interrupts = <0 36 4>;
+		gpio-controller;
+		little-endian;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
 	gpio2: gpio at 2320000 {
 		compatible = "fsl,qoriq-gpio";
 		reg = <0x0 0x2320000 0x0 0x10000>;
@@ -204,6 +226,17 @@
 		#interrupt-cells = <2>;
 	};
 
+	gpio3: gpio at 2330000 {
+		compatible = "fsl,qoriq-gpio";
+		reg = <0x0 0x2330000 0x0 0x10000>;
+		interrupts = <0 37 4>;
+		gpio-controller;
+		little-endian;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
 	watchdog at 23a0000 {
 		compatible = "arm,sbsa-gwdt";
 		reg = <0x0 0x23a0000 0 0x1000>,
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 armv8: dts: fsl-lx2160a: add gpio0 gpio1 gpio3 DT nodes

Hello Hui,

Am 10.09.2020 um 11:28 schrieb Hui Song:

Quoted 8 lines

From: "hui.song" <[email protected]>

add gpio0 gpio1 gpio3 DT nodes to fsl-lx21600.dtsi

---
  arch/arm/dts/fsl-lx2160a.dtsi | 33 +++++++++++++++++++++++++++++++++
  1 file changed, 33 insertions(+)

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de
#2 lore raw

PATCH 1/1 armv8: dts: fsl-lx2160a: add gpio0 gpio1 gpio3 DT nodes

In reply to Hui Song
Quoted 75 lines

-----Original Message-----
From: Hui Song <[email protected]>
Sent: Thursday, September 10, 2020 2:59 PM
To: Jagdish Gediya <[email protected]>; Priyanka Jain <[email protected]>; hs at denx.de; jagan at amarulasolutions.com; aford173 at gmail.com; Alison Wang <[email protected]>; jh80.chung at samsung.com; Pramod Kumar <[email protected]>; Rajesh Bhagat <[email protected]>; Ruchika Gupta <[email protected]>; olteanv at gmail.com
Cc: Xiaobo Xie <[email protected]>; Jiafei Pan <[email protected]>; u- boot at lists.denx.de; Z.q. Hou <[email protected]>; Hui Song <[email protected]>
Subject: [PATCH] armv8: dts: fsl-lx2160a: add gpio0 gpio1 gpio3 DT nodes

From: "hui.song" <[email protected]>

add gpio0 gpio1 gpio3 DT nodes to fsl-lx21600.dtsi

---
arch/arm/dts/fsl-lx2160a.dtsi | 33 +++++++++++++++++++++++++++++++++

1 file changed, 33 insertions(+)
arch/arm/dts/fsl-lx2160a.dtsi index renamed from arch/arm/dts/fsl-lx2160a.dtsi +0 -0

dee1e2f215..05ddb5789b 100644

arch/arm/dts/fsl-lx2160a.dtsi +33 -1
@@ -193,6 +193,28 @@
 		num-cs = <6>;
 	};
 
+	gpio0: gpio at 2300000 {
+		compatible = "fsl,qoriq-gpio";
+		reg = <0x0 0x2300000 0x0 0x10000>;
+		interrupts = <0 36 4>;
+		gpio-controller;
+		little-endian;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpio1: gpio at 2310000 {
+		compatible = "fsl,qoriq-gpio";
+		reg = <0x0 0x2310000 0x0 0x10000>;
+		interrupts = <0 36 4>;
+		gpio-controller;
+		little-endian;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
 	gpio2: gpio at 2320000 {
 		compatible = "fsl,qoriq-gpio";
 		reg = <0x0 0x2320000 0x0 0x10000>;
@@ -204,6 +226,17 @@
 		#interrupt-cells = <2>;
 	};
 
+	gpio3: gpio at 2330000 {
+		compatible = "fsl,qoriq-gpio";
+		reg = <0x0 0x2330000 0x0 0x10000>;
+		interrupts = <0 37 4>;
+		gpio-controller;
+		little-endian;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
 	watchdog at 23a0000 {
 		compatible = "arm,sbsa-gwdt";
 		reg = <0x0 0x23a0000 0 0x1000>,
--
Quoted 1 line

2.17.1