Lines Matching +full:ls2k1000 +full:- +full:gpio
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/loongson,ls-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson GPIO controller.
10 - Yinbo Zhu <zhuyinbo@loongson.cn>
15 - enum:
16 - loongson,ls2k-gpio
17 - loongson,ls2k0500-gpio0
18 - loongson,ls2k0500-gpio1
19 - loongson,ls2k2000-gpio0
20 - loongson,ls2k2000-gpio1
21 - loongson,ls2k2000-gpio2
22 - loongson,ls3a5000-gpio
23 - loongson,ls3a6000-gpio # Loongson-3A6000 node GPIO
24 - loongson,ls7a-gpio
25 - loongson,ls7a2000-gpio1 # LS7A2000 chipset GPIO
26 - loongson,ls7a2000-gpio2 # LS7A2000 ACPI GPIO
27 - items:
28 - const: loongson,ls2k1000-gpio
29 - const: loongson,ls2k-gpio
30 - items:
31 - const: loongson,ls7a1000-gpio
32 - const: loongson,ls7a-gpio
41 "#gpio-cells":
44 gpio-controller: true
46 gpio-ranges: true
53 - compatible
54 - reg
55 - ngpios
56 - "#gpio-cells"
57 - gpio-controller
58 - gpio-ranges
59 - interrupts
64 - |
65 #include <dt-bindings/interrupt-controller/irq.h>
67 gpio0: gpio@1fe00500 {
68 compatible = "loongson,ls2k1000-gpio", "loongson,ls2k-gpio";
71 #gpio-cells = <2>;
72 gpio-controller;
73 gpio-ranges = <&pctrl 0 0 15>,
77 interrupt-parent = <&liointc1>;