diff mbox series

[04/19] powerpc: dts: add QorIQ GPIOs

Message ID 1588251616-14976-5-git-send-email-madalin.bucur@oss.nxp.com
State Accepted
Commit 55168c03a561435c5129cda4474db59d8b69041b
Headers show
Series Enable DM_ETH on some DPAA1 PowerPC platforms | expand

Commit Message

Madalin Bucur (OSS) April 30, 2020, 1 p.m. UTC
Add the QorIQ GPIO device tree nodes description. The device tree
fragments are copied over with little modification from the Linux
kernel source code.

Signed-off-by: Madalin Bucur <madalin.bucur at oss.nxp.com>
---
 arch/powerpc/dts/qoriq-gpio-0.dtsi | 16 ++++++++++++++++
 arch/powerpc/dts/qoriq-gpio-1.dtsi | 16 ++++++++++++++++
 arch/powerpc/dts/qoriq-gpio-2.dtsi | 16 ++++++++++++++++
 arch/powerpc/dts/qoriq-gpio-3.dtsi | 16 ++++++++++++++++
 4 files changed, 64 insertions(+)
 create mode 100644 arch/powerpc/dts/qoriq-gpio-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-gpio-1.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-gpio-2.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-gpio-3.dtsi
diff mbox series

Patch

diff --git a/arch/powerpc/dts/qoriq-gpio-0.dtsi b/arch/powerpc/dts/qoriq-gpio-0.dtsi
new file mode 100644
index 0000000..417fd2b
--- /dev/null
+++ b/arch/powerpc/dts/qoriq-gpio-0.dtsi
@@ -0,0 +1,16 @@ 
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * QorIQ GPIO device tree stub [ controller @ offset 0x130000 ]
+ *
+ * Copyright 2011 Freescale Semiconductor Inc.
+ * Copyright 2020 NXP
+ *
+ */
+
+gpio0: gpio at 130000 {
+	compatible = "fsl,qoriq-gpio";
+	reg = <0x130000 0x1000>;
+	interrupts = <55 2 0 0>;
+	#gpio-cells = <2>;
+	gpio-controller;
+};
diff --git a/arch/powerpc/dts/qoriq-gpio-1.dtsi b/arch/powerpc/dts/qoriq-gpio-1.dtsi
new file mode 100644
index 0000000..237f49e
--- /dev/null
+++ b/arch/powerpc/dts/qoriq-gpio-1.dtsi
@@ -0,0 +1,16 @@ 
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * QorIQ GPIO device tree stub [ controller @ offset 0x131000 ]
+ *
+ * Copyright 2013 Freescale Semiconductor Inc.
+ * Copyright 2020 NXP
+ *
+ */
+
+gpio1: gpio at 131000 {
+	compatible = "fsl,qoriq-gpio";
+	reg = <0x131000 0x1000>;
+	interrupts = <54 2 0 0>;
+	#gpio-cells = <2>;
+	gpio-controller;
+};
diff --git a/arch/powerpc/dts/qoriq-gpio-2.dtsi b/arch/powerpc/dts/qoriq-gpio-2.dtsi
new file mode 100644
index 0000000..d3ee2ae
--- /dev/null
+++ b/arch/powerpc/dts/qoriq-gpio-2.dtsi
@@ -0,0 +1,16 @@ 
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * QorIQ GPIO device tree stub [ controller @ offset 0x132000 ]
+ *
+ * Copyright 2013 Freescale Semiconductor Inc.
+ * Copyright 2020 NXP
+ *
+ */
+
+gpio2: gpio at 132000 {
+	compatible = "fsl,qoriq-gpio";
+	reg = <0x132000 0x1000>;
+	interrupts = <86 2 0 0>;
+	#gpio-cells = <2>;
+	gpio-controller;
+};
diff --git a/arch/powerpc/dts/qoriq-gpio-3.dtsi b/arch/powerpc/dts/qoriq-gpio-3.dtsi
new file mode 100644
index 0000000..3d766f2
--- /dev/null
+++ b/arch/powerpc/dts/qoriq-gpio-3.dtsi
@@ -0,0 +1,16 @@ 
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * QorIQ GPIO device tree stub [ controller @ offset 0x133000 ]
+ *
+ * Copyright 2013 Freescale Semiconductor Inc.
+ * Copyright 2020 NXP
+ *
+ */
+
+gpio3: gpio at 133000 {
+	compatible = "fsl,qoriq-gpio";
+	reg = <0x133000 0x1000>;
+	interrupts = <87 2 0 0>;
+	#gpio-cells = <2>;
+	gpio-controller;
+};