brintos

brintos / linux-shallow public Read only

0
0
Text · 2.3 KiB · 4b78de6 Raw
118 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/serial/8250_omap.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: 8250 compliant UARTs on TI's OMAP2+ and K3 SoCs8 9maintainers:10  - Vignesh Raghavendra <vigneshr@ti.com>11 12allOf:13  - $ref: /schemas/serial/serial.yaml#14  - $ref: /schemas/serial/rs485.yaml#15 16properties:17  compatible:18    oneOf:19      - enum:20          - ti,am3352-uart21          - ti,am4372-uart22          - ti,am654-uart23          - ti,dra742-uart24          - ti,omap2-uart25          - ti,omap3-uart26          - ti,omap4-uart27      - items:28          - enum:29              - ti,am64-uart30              - ti,j721e-uart31          - const: ti,am654-uart32 33  ti,hwmods:34    description:35      Must be "uart<n>", n being the instance number (1-based)36      This property is applicable only on legacy platforms mainly omap2/337      and ti81xx and should not be used on other platforms.38    $ref: /schemas/types.yaml#/definitions/string39    deprecated: true40 41  dmas:42    minItems: 143    maxItems: 244 45  dma-names:46    items:47      - const: tx48      - const: rx49 50  reg:51    maxItems: 152 53  interrupts:54    minItems: 155    maxItems: 256    description:57      First entry is module IRQ required for normal IO operation.58      Second entry is optional and corresponds to system wakeup IRQ59      where supported.60 61  clocks:62    maxItems: 163 64  clock-names:65    const: fclk66 67  rts-gpios: true68  cts-gpios: true69  dtr-gpios: true70  dsr-gpios: true71  rng-gpios: true72  dcd-gpios: true73  rs485-rts-active-high: true74  rts-gpio: true75  power-domains: true76  clock-frequency: true77  current-speed: true78  overrun-throttle-ms: true79  wakeup-source: true80 81required:82  - compatible83  - reg84  - interrupts85 86unevaluatedProperties: false87 88if:89  properties:90    compatible:91      contains:92        enum:93          - ti,omap2-uart94          - ti,omap3-uart95          - ti,omap4-uart96 97then:98  properties:99    ti,hwmods:100      items:101        - pattern: "^uart([1-9])$"102 103else:104  properties:105    ti,hwmods: false106 107examples:108  - |109    serial@49042000 {110        compatible = "ti,omap3-uart";111        reg = <0x49042000 0x400>;112        interrupts = <80>;113        dmas = <&sdma 81 &sdma 82>;114        dma-names = "tx", "rx";115        ti,hwmods = "uart4";116        clock-frequency = <48000000>;117    };118