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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/serial/fsl-imx-uart.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/serial/fsl-imx-uart.yaml (Architecture alpha) and /Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml (Architecture sparc64)


  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/serial/fsl-      4 $id: http://devicetree.org/schemas/serial/fsl-imx-uart.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale i.MX Universal Asynchronous R      7 title: Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART)
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Fabio Estevam <festevam@gmail.com>              10   - Fabio Estevam <festevam@gmail.com>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     oneOf:                                         14     oneOf:
 15       - const: fsl,imx1-uart                       15       - const: fsl,imx1-uart
 16       - const: fsl,imx21-uart                      16       - const: fsl,imx21-uart
 17       - items:                                     17       - items:
 18           - enum:                                  18           - enum:
 19               - fsl,imx25-uart                     19               - fsl,imx25-uart
 20               - fsl,imx27-uart                     20               - fsl,imx27-uart
 21               - fsl,imx31-uart                     21               - fsl,imx31-uart
 22               - fsl,imx35-uart                     22               - fsl,imx35-uart
 23               - fsl,imx50-uart                     23               - fsl,imx50-uart
 24               - fsl,imx51-uart                     24               - fsl,imx51-uart
 25               - fsl,imx53-uart                     25               - fsl,imx53-uart
 26               - fsl,imx6q-uart                     26               - fsl,imx6q-uart
 27           - const: fsl,imx21-uart                  27           - const: fsl,imx21-uart
 28       - items:                                     28       - items:
 29           - enum:                                  29           - enum:
 30               - fsl,imx6sl-uart                    30               - fsl,imx6sl-uart
 31               - fsl,imx6sll-uart                   31               - fsl,imx6sll-uart
 32               - fsl,imx6sx-uart                    32               - fsl,imx6sx-uart
 33           - const: fsl,imx6q-uart                  33           - const: fsl,imx6q-uart
 34           - const: fsl,imx21-uart                  34           - const: fsl,imx21-uart
 35       - items:                                     35       - items:
 36           - enum:                                  36           - enum:
 37               - fsl,imx6ul-uart                    37               - fsl,imx6ul-uart
 38               - fsl,imx7d-uart                     38               - fsl,imx7d-uart
 39               - fsl,imx8mm-uart                    39               - fsl,imx8mm-uart
 40               - fsl,imx8mn-uart                    40               - fsl,imx8mn-uart
 41               - fsl,imx8mp-uart                    41               - fsl,imx8mp-uart
 42               - fsl,imx8mq-uart                    42               - fsl,imx8mq-uart
 43           - const: fsl,imx6q-uart                  43           - const: fsl,imx6q-uart
 44                                                    44 
 45   reg:                                             45   reg:
 46     maxItems: 1                                    46     maxItems: 1
 47                                                    47 
 48   clocks:                                          48   clocks:
 49     maxItems: 2                                    49     maxItems: 2
 50                                                    50 
 51   clock-names:                                     51   clock-names:
 52     items:                                         52     items:
 53       - const: ipg                                 53       - const: ipg
 54       - const: per                                 54       - const: per
 55                                                    55 
 56   dmas:                                            56   dmas:
 57     items:                                         57     items:
 58       - description: DMA controller phandle an     58       - description: DMA controller phandle and request line for RX
 59       - description: DMA controller phandle an     59       - description: DMA controller phandle and request line for TX
 60                                                    60 
 61   dma-names:                                       61   dma-names:
 62     items:                                         62     items:
 63       - const: rx                                  63       - const: rx
 64       - const: tx                                  64       - const: tx
 65                                                    65 
 66   interrupts:                                      66   interrupts:
 67     items:                                         67     items:
 68       - description: UART RX Interrupt             68       - description: UART RX Interrupt
 69       - description: UART TX Interrupt             69       - description: UART TX Interrupt
 70       - description: UART RTS Interrupt            70       - description: UART RTS Interrupt
 71     minItems: 1                                    71     minItems: 1
 72                                                    72 
 73   wakeup-source: true                              73   wakeup-source: true
 74                                                    74 
 75   fsl,dte-mode:                                    75   fsl,dte-mode:
 76     $ref: /schemas/types.yaml#/definitions/fla     76     $ref: /schemas/types.yaml#/definitions/flag
 77     description: |                                 77     description: |
 78       Indicate the uart works in DTE mode. The     78       Indicate the uart works in DTE mode. The uart works in DCE mode by default.
 79                                                    79 
 80   fsl,inverted-tx:                                 80   fsl,inverted-tx:
 81     $ref: /schemas/types.yaml#/definitions/fla     81     $ref: /schemas/types.yaml#/definitions/flag
 82     description: |                                 82     description: |
 83       Indicate that the hardware attached to t     83       Indicate that the hardware attached to the peripheral inverts the signal
 84       transmitted, and that the peripheral sho     84       transmitted, and that the peripheral should invert its output using the
 85       INVT registers.                              85       INVT registers.
 86                                                    86 
 87   fsl,inverted-rx:                                 87   fsl,inverted-rx:
 88     $ref: /schemas/types.yaml#/definitions/fla     88     $ref: /schemas/types.yaml#/definitions/flag
 89     description: |                                 89     description: |
 90       Indicate that the hardware attached to t     90       Indicate that the hardware attached to the peripheral inverts the signal
 91       received, and that the peripheral should     91       received, and that the peripheral should invert its input using the
 92       INVR registers.                              92       INVR registers.
 93                                                    93 
 94   fsl,dma-info:                                    94   fsl,dma-info:
 95     $ref: /schemas/types.yaml#/definitions/uin     95     $ref: /schemas/types.yaml#/definitions/uint32-array
 96     minItems: 2                                    96     minItems: 2
 97     maxItems: 2                                    97     maxItems: 2
 98     description: |                                 98     description: |
 99       First cell contains the size of DMA buff     99       First cell contains the size of DMA buffer chunks, second cell contains
100       the amount of chunks used for the device    100       the amount of chunks used for the device. Multiplying both numbers is
101       the total size of memory used for receiv    101       the total size of memory used for receiving data.
102       When not being configured the system wil    102       When not being configured the system will use default settings, which
103       are sensible for most use cases. If you     103       are sensible for most use cases. If you need low latency processing on
104       slow connections this needs to be config    104       slow connections this needs to be configured appropriately.
105                                                   105 
106 required:                                         106 required:
107   - compatible                                    107   - compatible
108   - reg                                           108   - reg
109   - clocks                                        109   - clocks
110   - clock-names                                   110   - clock-names
111   - interrupts                                    111   - interrupts
112                                                   112 
113 allOf:                                            113 allOf:
114   - $ref: serial.yaml#                            114   - $ref: serial.yaml#
115   - $ref: rs485.yaml#                             115   - $ref: rs485.yaml#
116                                                   116 
117   - if:                                           117   - if:
118       properties:                                 118       properties:
119         compatible:                               119         compatible:
120           contains:                               120           contains:
121             const: fsl,imx1-uart                  121             const: fsl,imx1-uart
122     then:                                         122     then:
123       properties:                                 123       properties:
124         interrupts:                               124         interrupts:
125           minItems: 3                             125           minItems: 3
126           maxItems: 3                             126           maxItems: 3
127     else:                                         127     else:
128       properties:                                 128       properties:
129         interrupts:                               129         interrupts:
130           maxItems: 1                             130           maxItems: 1
131                                                   131 
132 unevaluatedProperties: false                      132 unevaluatedProperties: false
133                                                   133 
134 examples:                                         134 examples:
135   - |                                             135   - |
136     #include <dt-bindings/clock/imx5-clock.h>     136     #include <dt-bindings/clock/imx5-clock.h>
137                                                   137 
138     aliases {                                     138     aliases {
139         serial0 = &uart1;                         139         serial0 = &uart1;
140     };                                            140     };
141                                                   141 
142     uart1: serial@73fbc000 {                      142     uart1: serial@73fbc000 {
143         compatible = "fsl,imx51-uart", "fsl,im    143         compatible = "fsl,imx51-uart", "fsl,imx21-uart";
144         reg = <0x73fbc000 0x4000>;                144         reg = <0x73fbc000 0x4000>;
145         interrupts = <31>;                        145         interrupts = <31>;
146         clocks = <&clks IMX5_CLK_UART1_IPG_GAT    146         clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
147                  <&clks IMX5_CLK_UART1_PER_GAT    147                  <&clks IMX5_CLK_UART1_PER_GATE>;
148         clock-names = "ipg", "per";               148         clock-names = "ipg", "per";
149         dmas = <&sdma 18 4 1>, <&sdma 19 4 2>;    149         dmas = <&sdma 18 4 1>, <&sdma 19 4 2>;
150         dma-names = "rx", "tx";                   150         dma-names = "rx", "tx";
151         uart-has-rtscts;                          151         uart-has-rtscts;
152         fsl,dte-mode;                             152         fsl,dte-mode;
153     };                                            153     };
                                                      

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