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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/gpio/gpio-mxs.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-mxs.yaml (Architecture m68k) and /Documentation/devicetree/bindings/gpio/gpio-mxs.yaml (Architecture ppc)


  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-m      4 $id: http://devicetree.org/schemas/gpio/gpio-mxs.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale MXS GPIO controller                7 title: Freescale MXS GPIO controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Shawn Guo <shawnguo@kernel.org>                 10   - Shawn Guo <shawnguo@kernel.org>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The Freescale MXS GPIO controller is part of     13   The Freescale MXS GPIO controller is part of MXS PIN controller.
 14   The GPIOs are organized in port/bank, each p     14   The GPIOs are organized in port/bank, each port consists of 32 GPIOs.
 15   As the GPIO controller is embedded in the PI     15   As the GPIO controller is embedded in the PIN controller and all the
 16   GPIO ports share the same IO space with PIN      16   GPIO ports share the same IO space with PIN controller, the GPIO node
 17   will be represented as sub-nodes of MXS pinc     17   will be represented as sub-nodes of MXS pinctrl node.
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     enum:                                          21     enum:
 22       - fsl,imx23-pinctrl                          22       - fsl,imx23-pinctrl
 23       - fsl,imx28-pinctrl                          23       - fsl,imx28-pinctrl
 24                                                    24 
 25   '#address-cells':                                25   '#address-cells':
 26     const: 1                                       26     const: 1
 27   '#size-cells':                                   27   '#size-cells':
 28     const: 0                                       28     const: 0
 29                                                    29 
 30   reg:                                             30   reg:
 31     maxItems: 1                                    31     maxItems: 1
 32                                                    32 
 33 patternProperties:                                 33 patternProperties:
 34   "gpio@[0-9]+$":                                  34   "gpio@[0-9]+$":
 35     type: object                                   35     type: object
 36     properties:                                    36     properties:
 37       compatible:                                  37       compatible:
 38         enum:                                      38         enum:
 39           - fsl,imx23-gpio                         39           - fsl,imx23-gpio
 40           - fsl,imx28-gpio                         40           - fsl,imx28-gpio
 41                                                    41 
 42       reg:                                         42       reg:
 43         maxItems: 1                                43         maxItems: 1
 44                                                    44 
 45       interrupts:                                  45       interrupts:
 46         description: Should be the port interr     46         description: Should be the port interrupt shared by all 32 pins.
 47         maxItems: 1                                47         maxItems: 1
 48                                                    48 
 49       interrupt-controller: true                   49       interrupt-controller: true
 50                                                    50 
 51       "#interrupt-cells":                          51       "#interrupt-cells":
 52         const: 2                                   52         const: 2
 53                                                    53 
 54       "#gpio-cells":                               54       "#gpio-cells":
 55         const: 2                                   55         const: 2
 56                                                    56 
 57       gpio-controller: true                        57       gpio-controller: true
 58                                                    58 
 59     required:                                      59     required:
 60       - compatible                                 60       - compatible
 61       - reg                                        61       - reg
 62       - interrupts                                 62       - interrupts
 63       - interrupt-controller                       63       - interrupt-controller
 64       - "#interrupt-cells"                         64       - "#interrupt-cells"
 65       - "#gpio-cells"                              65       - "#gpio-cells"
 66       - gpio-controller                            66       - gpio-controller
 67                                                    67 
 68     additionalProperties: false                    68     additionalProperties: false
 69                                                    69 
 70 required:                                          70 required:
 71   - compatible                                     71   - compatible
 72   - reg                                            72   - reg
 73   - '#address-cells'                               73   - '#address-cells'
 74   - '#size-cells'                                  74   - '#size-cells'
 75                                                    75 
 76 additionalProperties: false                        76 additionalProperties: false
 77                                                    77 
 78 examples:                                          78 examples:
 79   - |                                              79   - |
 80     pinctrl@80018000 {                             80     pinctrl@80018000 {
 81         #address-cells = <1>;                      81         #address-cells = <1>;
 82         #size-cells = <0>;                         82         #size-cells = <0>;
 83         compatible = "fsl,imx28-pinctrl";          83         compatible = "fsl,imx28-pinctrl";
 84         reg = <0x80018000 0x2000>;                 84         reg = <0x80018000 0x2000>;
 85                                                    85 
 86         gpio@0 {                                   86         gpio@0 {
 87                 compatible = "fsl,imx28-gpio";     87                 compatible = "fsl,imx28-gpio";
 88                 reg = <0>;                         88                 reg = <0>;
 89                 interrupts = <127>;                89                 interrupts = <127>;
 90                 gpio-controller;                   90                 gpio-controller;
 91                 #gpio-cells = <2>;                 91                 #gpio-cells = <2>;
 92                 interrupt-controller;              92                 interrupt-controller;
 93                 #interrupt-cells = <2>;            93                 #interrupt-cells = <2>;
 94         };                                         94         };
 95                                                    95 
 96         gpio@1 {                                   96         gpio@1 {
 97                 compatible = "fsl,imx28-gpio";     97                 compatible = "fsl,imx28-gpio";
 98                 reg = <1>;                         98                 reg = <1>;
 99                 interrupts = <126>;                99                 interrupts = <126>;
100                 gpio-controller;                  100                 gpio-controller;
101                 #gpio-cells = <2>;                101                 #gpio-cells = <2>;
102                 interrupt-controller;             102                 interrupt-controller;
103                 #interrupt-cells = <2>;           103                 #interrupt-cells = <2>;
104         };                                        104         };
105                                                   105 
106         gpio@2 {                                  106         gpio@2 {
107                 compatible = "fsl,imx28-gpio";    107                 compatible = "fsl,imx28-gpio";
108                 reg = <2>;                        108                 reg = <2>;
109                 interrupts = <125>;               109                 interrupts = <125>;
110                 gpio-controller;                  110                 gpio-controller;
111                 #gpio-cells = <2>;                111                 #gpio-cells = <2>;
112                 interrupt-controller;             112                 interrupt-controller;
113                 #interrupt-cells = <2>;           113                 #interrupt-cells = <2>;
114         };                                        114         };
115                                                   115 
116         gpio@3 {                                  116         gpio@3 {
117                 compatible = "fsl,imx28-gpio";    117                 compatible = "fsl,imx28-gpio";
118                 reg = <3>;                        118                 reg = <3>;
119                 interrupts = <124>;               119                 interrupts = <124>;
120                 gpio-controller;                  120                 gpio-controller;
121                 #gpio-cells = <2>;                121                 #gpio-cells = <2>;
122                 interrupt-controller;             122                 interrupt-controller;
123                 #interrupt-cells = <2>;           123                 #interrupt-cells = <2>;
124         };                                        124         };
125                                                   125 
126         gpio@4 {                                  126         gpio@4 {
127                 compatible = "fsl,imx28-gpio";    127                 compatible = "fsl,imx28-gpio";
128                 reg = <4>;                        128                 reg = <4>;
129                 interrupts = <123>;               129                 interrupts = <123>;
130                 gpio-controller;                  130                 gpio-controller;
131                 #gpio-cells = <2>;                131                 #gpio-cells = <2>;
132                 interrupt-controller;             132                 interrupt-controller;
133                 #interrupt-cells = <2>;           133                 #interrupt-cells = <2>;
134         };                                        134         };
135     };                                            135     };
                                                      

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