~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/gpio/gpio-vf610.yaml (Architecture ppc) and /Documentation/devicetree/bindings/gpio/gpio-vf610.yaml (Architecture mips)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/gpio/gpio-v      4 $id: http://devicetree.org/schemas/gpio/gpio-vf610.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale VF610 PORT/GPIO module             7 title: Freescale VF610 PORT/GPIO module
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Stefan Agner <stefan@agner.ch>                  10   - Stefan Agner <stefan@agner.ch>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The Freescale PORT/GPIO modules are two adja     13   The Freescale PORT/GPIO modules are two adjacent modules providing GPIO
 14   functionality. Each pair serves 32 GPIOs. Th     14   functionality. Each pair serves 32 GPIOs. The VF610 has 5 instances of
 15   each, and each PORT module has its own inter     15   each, and each PORT module has its own interrupt.
 16                                                    16 
 17   Note: Each GPIO port should have an alias co     17   Note: Each GPIO port should have an alias correctly numbered in "aliases"
 18   node.                                            18   node.
 19                                                    19 
 20 properties:                                        20 properties:
 21   compatible:                                      21   compatible:
 22     oneOf:                                         22     oneOf:
 23       - const: fsl,imx8ulp-gpio                    23       - const: fsl,imx8ulp-gpio
 24       - const: fsl,vf610-gpio                      24       - const: fsl,vf610-gpio
 25       - items:                                     25       - items:
 26           - const: fsl,imx7ulp-gpio                26           - const: fsl,imx7ulp-gpio
 27           - const: fsl,vf610-gpio                  27           - const: fsl,vf610-gpio
 28       - items:                                     28       - items:
 29           - enum:                                  29           - enum:
 30               - fsl,imx93-gpio                     30               - fsl,imx93-gpio
 31               - fsl,imx95-gpio                     31               - fsl,imx95-gpio
 32           - const: fsl,imx8ulp-gpio                32           - const: fsl,imx8ulp-gpio
 33                                                    33 
 34   reg:                                             34   reg:
 35     minItems: 1                                    35     minItems: 1
 36     maxItems: 2                                    36     maxItems: 2
 37                                                    37 
 38   interrupts:                                      38   interrupts:
 39     items:                                         39     items:
 40       - description: GPIO Trustzone non-secure     40       - description: GPIO Trustzone non-secure interrupt number
 41       - description: GPIO Trustzone secure int     41       - description: GPIO Trustzone secure interrupt number
 42     minItems: 1                                    42     minItems: 1
 43                                                    43 
 44   interrupt-controller: true                       44   interrupt-controller: true
 45                                                    45 
 46   "#interrupt-cells":                              46   "#interrupt-cells":
 47     const: 2                                       47     const: 2
 48                                                    48 
 49   "#gpio-cells":                                   49   "#gpio-cells":
 50     const: 2                                       50     const: 2
 51                                                    51 
 52   gpio-controller: true                            52   gpio-controller: true
 53                                                    53 
 54   gpio-line-names:                                 54   gpio-line-names:
 55     minItems: 1                                    55     minItems: 1
 56     maxItems: 32                                   56     maxItems: 32
 57                                                    57 
 58   clocks:                                          58   clocks:
 59     items:                                         59     items:
 60       - description: SoC GPIO clock                60       - description: SoC GPIO clock
 61       - description: SoC PORT clock                61       - description: SoC PORT clock
 62                                                    62 
 63   clock-names:                                     63   clock-names:
 64     items:                                         64     items:
 65       - const: gpio                                65       - const: gpio
 66       - const: port                                66       - const: port
 67                                                    67 
 68   gpio-ranges:                                     68   gpio-ranges:
 69     minItems: 1                                    69     minItems: 1
 70     maxItems: 4                                    70     maxItems: 4
 71                                                    71 
 72 patternProperties:                                 72 patternProperties:
 73   "^.+-hog(-[0-9]+)?$":                            73   "^.+-hog(-[0-9]+)?$":
 74     type: object                                   74     type: object
 75                                                    75 
 76     required:                                      76     required:
 77       - gpio-hog                                   77       - gpio-hog
 78                                                    78 
 79 required:                                          79 required:
 80   - compatible                                     80   - compatible
 81   - reg                                            81   - reg
 82   - interrupts                                     82   - interrupts
 83   - interrupt-controller                           83   - interrupt-controller
 84   - "#interrupt-cells"                             84   - "#interrupt-cells"
 85   - "#gpio-cells"                                  85   - "#gpio-cells"
 86   - gpio-controller                                86   - gpio-controller
 87                                                    87 
 88 allOf:                                             88 allOf:
 89   - if:                                            89   - if:
 90       properties:                                  90       properties:
 91         compatible:                                91         compatible:
 92           contains:                                92           contains:
 93             enum:                                  93             enum:
 94               - fsl,vf610-gpio                     94               - fsl,vf610-gpio
 95               - fsl,imx7ulp-gpio                   95               - fsl,imx7ulp-gpio
 96     then:                                          96     then:
 97       properties:                                  97       properties:
 98         interrupts:                                98         interrupts:
 99           maxItems: 1                              99           maxItems: 1
100         reg:                                      100         reg:
101           items:                                  101           items:
102             - description: PORT register base     102             - description: PORT register base address
103             - description: GPIO register base     103             - description: GPIO register base address
104     else:                                         104     else:
105       properties:                                 105       properties:
106         interrupts:                               106         interrupts:
107           minItems: 2                             107           minItems: 2
108         reg:                                      108         reg:
109           items:                                  109           items:
110             - description: GPIO register base     110             - description: GPIO register base address
111                                                   111 
112 additionalProperties: false                       112 additionalProperties: false
113                                                   113 
114 examples:                                         114 examples:
115   - |                                             115   - |
116     #include <dt-bindings/interrupt-controller    116     #include <dt-bindings/interrupt-controller/arm-gic.h>
117                                                   117 
118     gpio1: gpio@40049000 {                        118     gpio1: gpio@40049000 {
119         compatible = "fsl,vf610-gpio";            119         compatible = "fsl,vf610-gpio";
120         reg = <0x40049000 0x1000>, <0x400ff000    120         reg = <0x40049000 0x1000>, <0x400ff000 0x40>;
121         interrupts = <0 107 IRQ_TYPE_LEVEL_HIG    121         interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
122         gpio-controller;                          122         gpio-controller;
123         #gpio-cells = <2>;                        123         #gpio-cells = <2>;
124         interrupt-controller;                     124         interrupt-controller;
125         #interrupt-cells = <2>;                   125         #interrupt-cells = <2>;
126         gpio-ranges = <&iomuxc 0 0 32>;           126         gpio-ranges = <&iomuxc 0 0 32>;
127     };                                            127     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php