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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/serial/8250_omap.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/8250_omap.yaml (Architecture i386) and /Documentation/devicetree/bindings/serial/8250_omap.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/8250      4 $id: http://devicetree.org/schemas/serial/8250_omap.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: 8250 compliant UARTs on TI's OMAP2+ and      7 title: 8250 compliant UARTs on TI's OMAP2+ and K3 SoCs
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Vignesh Raghavendra <vigneshr@ti.com>           10   - Vignesh Raghavendra <vigneshr@ti.com>
 11                                                    11 
 12 allOf:                                             12 allOf:
 13   - $ref: /schemas/serial/serial.yaml#             13   - $ref: /schemas/serial/serial.yaml#
 14   - $ref: /schemas/serial/rs485.yaml#              14   - $ref: /schemas/serial/rs485.yaml#
 15                                                    15 
 16 properties:                                        16 properties:
 17   compatible:                                      17   compatible:
 18     oneOf:                                         18     oneOf:
 19       - enum:                                      19       - enum:
 20           - ti,am3352-uart                         20           - ti,am3352-uart
 21           - ti,am4372-uart                         21           - ti,am4372-uart
 22           - ti,am654-uart                          22           - ti,am654-uart
 23           - ti,dra742-uart                         23           - ti,dra742-uart
 24           - ti,omap2-uart                          24           - ti,omap2-uart
 25           - ti,omap3-uart                          25           - ti,omap3-uart
 26           - ti,omap4-uart                          26           - ti,omap4-uart
 27       - items:                                     27       - items:
 28           - enum:                                  28           - enum:
 29               - ti,am64-uart                       29               - ti,am64-uart
 30               - ti,j721e-uart                      30               - ti,j721e-uart
 31           - const: ti,am654-uart                   31           - const: ti,am654-uart
 32                                                    32 
 33   ti,hwmods:                                       33   ti,hwmods:
 34     description:                                   34     description:
 35       Must be "uart<n>", n being the instance      35       Must be "uart<n>", n being the instance number (1-based)
 36       This property is applicable only on lega     36       This property is applicable only on legacy platforms mainly omap2/3
 37       and ti81xx and should not be used on oth     37       and ti81xx and should not be used on other platforms.
 38     $ref: /schemas/types.yaml#/definitions/str     38     $ref: /schemas/types.yaml#/definitions/string
 39     deprecated: true                               39     deprecated: true
 40                                                    40 
 41   dmas:                                            41   dmas:
 42     minItems: 1                                    42     minItems: 1
 43     maxItems: 2                                    43     maxItems: 2
 44                                                    44 
 45   dma-names:                                       45   dma-names:
 46     items:                                         46     items:
 47       - const: tx                                  47       - const: tx
 48       - const: rx                                  48       - const: rx
 49                                                    49 
 50   reg:                                             50   reg:
 51     maxItems: 1                                    51     maxItems: 1
 52                                                    52 
 53   interrupts:                                      53   interrupts:
 54     minItems: 1                                    54     minItems: 1
 55     maxItems: 2                                    55     maxItems: 2
 56     description:                                   56     description:
 57       First entry is module IRQ required for n     57       First entry is module IRQ required for normal IO operation.
 58       Second entry is optional and corresponds     58       Second entry is optional and corresponds to system wakeup IRQ
 59       where supported.                             59       where supported.
 60                                                    60 
 61   clocks:                                          61   clocks:
 62     maxItems: 1                                    62     maxItems: 1
 63                                                    63 
 64   clock-names:                                     64   clock-names:
 65     const: fclk                                    65     const: fclk
 66                                                    66 
 67   rts-gpios: true                                  67   rts-gpios: true
 68   cts-gpios: true                                  68   cts-gpios: true
 69   dtr-gpios: true                                  69   dtr-gpios: true
 70   dsr-gpios: true                                  70   dsr-gpios: true
 71   rng-gpios: true                                  71   rng-gpios: true
 72   dcd-gpios: true                                  72   dcd-gpios: true
 73   rs485-rts-active-high: true                      73   rs485-rts-active-high: true
 74   rts-gpio: true                                   74   rts-gpio: true
 75   power-domains: true                              75   power-domains: true
 76   clock-frequency: true                            76   clock-frequency: true
 77   current-speed: true                              77   current-speed: true
 78   overrun-throttle-ms: true                        78   overrun-throttle-ms: true
 79   wakeup-source: true                              79   wakeup-source: true
 80                                                    80 
 81 required:                                          81 required:
 82   - compatible                                     82   - compatible
 83   - reg                                            83   - reg
 84   - interrupts                                     84   - interrupts
 85                                                    85 
 86 unevaluatedProperties: false                       86 unevaluatedProperties: false
 87                                                    87 
 88 if:                                                88 if:
 89   properties:                                      89   properties:
 90     compatible:                                    90     compatible:
 91       contains:                                    91       contains:
 92         enum:                                      92         enum:
 93           - ti,omap2-uart                          93           - ti,omap2-uart
 94           - ti,omap3-uart                          94           - ti,omap3-uart
 95           - ti,omap4-uart                          95           - ti,omap4-uart
 96                                                    96 
 97 then:                                              97 then:
 98   properties:                                      98   properties:
 99     ti,hwmods:                                     99     ti,hwmods:
100       items:                                      100       items:
101         - pattern: "^uart([1-9])$"                101         - pattern: "^uart([1-9])$"
102                                                   102 
103 else:                                             103 else:
104   properties:                                     104   properties:
105     ti,hwmods: false                              105     ti,hwmods: false
106                                                   106 
107 examples:                                         107 examples:
108   - |                                             108   - |
109     serial@49042000 {                             109     serial@49042000 {
110         compatible = "ti,omap3-uart";             110         compatible = "ti,omap3-uart";
111         reg = <0x49042000 0x400>;                 111         reg = <0x49042000 0x400>;
112         interrupts = <80>;                        112         interrupts = <80>;
113         dmas = <&sdma 81 &sdma 82>;               113         dmas = <&sdma 81 &sdma 82>;
114         dma-names = "tx", "rx";                   114         dma-names = "tx", "rx";
115         ti,hwmods = "uart4";                      115         ti,hwmods = "uart4";
116         clock-frequency = <48000000>;             116         clock-frequency = <48000000>;
117     };                                            117     };
                                                      

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