1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*ae5de77eSEmmanuel Vadot%YAML 1.2 3*ae5de77eSEmmanuel Vadot--- 4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/serial/microchip,pic32mzda-uart.yaml# 5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*ae5de77eSEmmanuel Vadot 7*ae5de77eSEmmanuel Vadottitle: Microchip PIC32 UART 8*ae5de77eSEmmanuel Vadot 9*ae5de77eSEmmanuel Vadotmaintainers: 10*ae5de77eSEmmanuel Vadot - Andrei Pistirica <andrei.pistirica@microchip.com> 11*ae5de77eSEmmanuel Vadot - Purna Chandra Mandal <purna.mandal@microchip.com> 12*ae5de77eSEmmanuel Vadot 13*ae5de77eSEmmanuel VadotallOf: 14*ae5de77eSEmmanuel Vadot - $ref: /schemas/serial/serial.yaml# 15*ae5de77eSEmmanuel Vadot 16*ae5de77eSEmmanuel Vadotproperties: 17*ae5de77eSEmmanuel Vadot compatible: 18*ae5de77eSEmmanuel Vadot const: microchip,pic32mzda-uart 19*ae5de77eSEmmanuel Vadot 20*ae5de77eSEmmanuel Vadot reg: 21*ae5de77eSEmmanuel Vadot maxItems: 1 22*ae5de77eSEmmanuel Vadot 23*ae5de77eSEmmanuel Vadot interrupts: 24*ae5de77eSEmmanuel Vadot items: 25*ae5de77eSEmmanuel Vadot - description: Fault 26*ae5de77eSEmmanuel Vadot - description: RX 27*ae5de77eSEmmanuel Vadot - description: TX 28*ae5de77eSEmmanuel Vadot 29*ae5de77eSEmmanuel Vadot clocks: 30*ae5de77eSEmmanuel Vadot maxItems: 1 31*ae5de77eSEmmanuel Vadot 32*ae5de77eSEmmanuel Vadotrequired: 33*ae5de77eSEmmanuel Vadot - compatible 34*ae5de77eSEmmanuel Vadot - reg 35*ae5de77eSEmmanuel Vadot - interrupts 36*ae5de77eSEmmanuel Vadot - clocks 37*ae5de77eSEmmanuel Vadot 38*ae5de77eSEmmanuel VadotunevaluatedProperties: false 39*ae5de77eSEmmanuel Vadot 40*ae5de77eSEmmanuel Vadotexamples: 41*ae5de77eSEmmanuel Vadot - | 42*ae5de77eSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 43*ae5de77eSEmmanuel Vadot #include <dt-bindings/clock/microchip,pic32-clock.h> 44*ae5de77eSEmmanuel Vadot 45*ae5de77eSEmmanuel Vadot serial@1f822000 { 46*ae5de77eSEmmanuel Vadot compatible = "microchip,pic32mzda-uart"; 47*ae5de77eSEmmanuel Vadot reg = <0x1f822000 0x50>; 48*ae5de77eSEmmanuel Vadot interrupts = <112 IRQ_TYPE_LEVEL_HIGH>, 49*ae5de77eSEmmanuel Vadot <113 IRQ_TYPE_LEVEL_HIGH>, 50*ae5de77eSEmmanuel Vadot <114 IRQ_TYPE_LEVEL_HIGH>; 51*ae5de77eSEmmanuel Vadot clocks = <&rootclk PB2CLK>; 52*ae5de77eSEmmanuel Vadot cts-gpios = <&gpio1 15 0>; 53*ae5de77eSEmmanuel Vadot }; 54