Lines Matching +full:loongson +full:- +full:1
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,ls7a-gpio
24 - items:
25 - const: loongson,ls2k1000-gpio
26 - const: loongson,ls2k-gpio
27 - items:
28 - const: loongson,ls7a1000-gpio
29 - const: loongson,ls7a-gpio
32 maxItems: 1
35 minimum: 1
38 "#gpio-cells":
41 gpio-controller: true
43 gpio-ranges: true
46 minItems: 1
50 - compatible
51 - reg
52 - ngpios
53 - "#gpio-cells"
54 - gpio-controller
55 - gpio-ranges
56 - interrupts
61 - |
62 #include <dt-bindings/interrupt-controller/irq.h>
64 gpio0: gpio@1fe00500 {
65 compatible = "loongson,ls2k1000-gpio", "loongson,ls2k-gpio";
68 #gpio-cells = <2>;
69 gpio-controller;
70 gpio-ranges = <&pctrl 0 0 15>,
74 interrupt-parent = <&liointc1>;