[PATCH 05/10] dt-bindings: serial: add Ambarella UART
Long Zhao <[email protected]> Thu, 30 Jul 2026 18:43:25 +0800
| Newsgroups | dev.linux.lists.soc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-clk,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel,org.kernel.vger.linux-serial |
|---|---|
| Message-ID | <[email protected]> |
Document the Ambarella UART controller. Signed-off-by: Long Zhao <[email protected]> --- .../bindings/serial/ambarella,uart.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/ambarella,uart= .yaml diff --git a/Documentation/devicetree/bindings/serial/ambarella,uart.yaml b= /Documentation/devicetree/bindings/serial/ambarella,uart.yaml new file mode 100644 index 000000000000..43c98499d99b --- /dev/null +++ b/Documentation/devicetree/bindings/serial/ambarella,uart.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/ambarella,uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ambarella UART + +maintainers: + - Long Zhao <[email protected]> + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + oneOf: + - items: + - const: ambarella,cv75-uart + - const: ambarella,uart + - const: ambarella,uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + + uart_clk: clock { + compatible =3D "fixed-clock"; + #clock-cells =3D <0>; + clock-frequency =3D <24000000>; + }; + + serial@e4000000 { + compatible =3D "ambarella,cv75-uart", "ambarella,uart"; + reg =3D <0xe4000000 0x1000>; + interrupts =3D <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>; + clocks =3D <&uart_clk>; + }; -- 2.34.1 NOTE: This email (including attachments) contain Ambarella Proprietary and/= or Confidential Information and is intended solely for the use of the indiv= idual(s) to whom it is addressed. Any unauthorized review, use, disclosure,= distribute, copy, or print is prohibited. If you are not an intended recip= ient, please contact the sender by reply email and destroy all copies of th= e original message. Thank you.