summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/dts/qoriq-gpio-0.dtsi
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@oss.nxp.com>2020-04-30 16:00:01 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2020-06-04 18:53:20 +0530
commit55168c03a561435c5129cda4474db59d8b69041b (patch)
tree94756328c4bc4ae6abe48b25310df12e45de411d /arch/powerpc/dts/qoriq-gpio-0.dtsi
parent9485076c86c02bd702f889a69c0f4e9c4f2aac75 (diff)
downloadu-boot-55168c03a561435c5129cda4474db59d8b69041b.tar.gz
u-boot-55168c03a561435c5129cda4474db59d8b69041b.tar.xz
u-boot-55168c03a561435c5129cda4474db59d8b69041b.zip
powerpc: dts: add QorIQ GPIOs
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@oss.nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'arch/powerpc/dts/qoriq-gpio-0.dtsi')
-rw-r--r--arch/powerpc/dts/qoriq-gpio-0.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/dts/qoriq-gpio-0.dtsi b/arch/powerpc/dts/qoriq-gpio-0.dtsi
new file mode 100644
index 0000000000..417fd2bdd8
--- /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@130000 {
+ compatible = "fsl,qoriq-gpio";
+ reg = <0x130000 0x1000>;
+ interrupts = <55 2 0 0>;
+ #gpio-cells = <2>;
+ gpio-controller;
+};