brintos

brintos / linux-shallow public Read only

0
0
Text · 970 B · 25b5494 Raw
51 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/gpio/nxp,lpc3220-gpio.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NXP LPC3220 SoC GPIO controller8 9maintainers:10  - Animesh Agarwal <animeshagarwal28@gmail.com>11 12properties:13  compatible:14    const: nxp,lpc3220-gpio15 16  reg:17    maxItems: 118 19  gpio-controller: true20 21  '#gpio-cells':22    const: 323    description: |24      1) bank:25        0: GPIO P026        1: GPIO P127        2: GPIO P228        3: GPIO P329        4: GPI P330        5: GPO P331      2) pin number32      3) flags:33        - bit 0 specifies polarity (0 for normal, 1 for inverted)34 35required:36  - compatible37  - reg38  - gpio-controller39  - '#gpio-cells'40 41additionalProperties: false42 43examples:44  - |45    gpio@40028000 {46        compatible = "nxp,lpc3220-gpio";47        reg = <0x40028000 0x1000>;48        gpio-controller;49        #gpio-cells = <3>; /* bank, pin, flags */50    };51