arm64: dts: Add Hi6220 gpio configuration nodes
Signed-off-by: Zhong Kaihua <zhongkaihua@xxxxxxxxxx>
Kong Xinwei <kong.kongxinwei@xxxxxxxxxxxxx>
Acked-by: Rob Herring <robh@xxxxxxxxxx>
---
.../devicetree/bindings/gpio/gpio-hi6220.txt | 23 +
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 +
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 259 +++++++++
arch/arm64/boot/dts/hisilicon/hikey-gpio.dtsi | 607 +++++++++++++++++++++
4 files changed, 890 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/gpio-hi6220.txt
create mode 100644 arch/arm64/boot/dts/hisilicon/hikey-gpio.dtsi
diff --git a/Documentation/devicetree/bindings/gpio/gpio-hi6220.txt b/Documentation/devicetree/bindings/gpio/gpio-hi6220.txt
new file mode 100644
index 0000000..a9cbf21
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/gpio-hi6220.txt
@@ -0,0 +1,23 @@
+Hisilicon Hi6220 GPIO controller bindings
+
+Required properties:
+ - compatible: "arm,pl061","arm,primecell"
+ - gpio-controller: Marks the device node as a GPIO controller.
+ - #gpio-cells: Should be 2. See gpio.txt in this directory for a
+ description of the cells format.
+ - interrupt-controller: Mark the device node as an interrupt controller
+