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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.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 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/gpio/fsl,qoriq-gpio.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Freescale MPC512x/MPC8xxx/QorIQ/Layerscape GPIO controller
  8 
  9 maintainers:
 10   - Frank Li <Frank.Li@nxp.com>
 11 
 12 properties:
 13   compatible:
 14     oneOf:
 15       - enum:
 16           - fsl,mpc5121-gpio
 17           - fsl,mpc5125-gpio
 18           - fsl,mpc8349-gpio
 19           - fsl,mpc8572-gpio
 20           - fsl,mpc8610-gpio
 21           - fsl,pq3-gpio
 22       - items:
 23           - enum:
 24               - fsl,ls1021a-gpio
 25               - fsl,ls1028a-gpio
 26               - fsl,ls1043a-gpio
 27               - fsl,ls1046a-gpio
 28               - fsl,ls1088a-gpio
 29               - fsl,ls2080a-gpio
 30           - const: fsl,qoriq-gpio
 31 
 32   reg:
 33     maxItems: 1
 34 
 35   interrupts:
 36     maxItems: 1
 37 
 38   "#gpio-cells":
 39     const: 2
 40 
 41   gpio-controller: true
 42 
 43   interrupt-controller: true
 44 
 45   "#interrupt-cells":
 46     const: 2
 47 
 48   gpio-line-names:
 49     minItems: 1
 50     maxItems: 32
 51 
 52   little-endian:
 53     $ref: /schemas/types.yaml#/definitions/flag
 54     description:
 55       GPIO registers are used as little endian. If not
 56       present registers are used as big endian by default.
 57 
 58 required:
 59   - compatible
 60   - reg
 61   - interrupts
 62   - "#gpio-cells"
 63 
 64 additionalProperties: false
 65 
 66 examples:
 67   - |
 68     gpio@1100 {
 69         compatible = "fsl,mpc5125-gpio";
 70         reg = <0x1100 0x080>;
 71         interrupts = <78 0x8>;
 72         gpio-controller;
 73         #gpio-cells = <2>;
 74     };
 75 
 76   - |
 77     #include <dt-bindings/interrupt-controller/arm-gic.h>
 78     gpio@2300000 {
 79         compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
 80         reg = <0x2300000 0x10000>;
 81         interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
 82         little-endian;
 83         gpio-controller;
 84         #gpio-cells = <2>;
 85         interrupt-controller;
 86         #interrupt-cells = <2>;
 87     };

~ [ 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