1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * at91sam9x5_usart3.dtsi - Device Tree Include file for AT91SAM9x5 SoC with 4*f126890aSEmmanuel Vadot * 4 USART. 5*f126890aSEmmanuel Vadot * 6*f126890aSEmmanuel Vadot * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com> 7*f126890aSEmmanuel Vadot */ 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h> 10*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 11*f126890aSEmmanuel Vadot#include <dt-bindings/mfd/at91-usart.h> 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot/ { 14*f126890aSEmmanuel Vadot aliases { 15*f126890aSEmmanuel Vadot serial4 = &usart3; 16*f126890aSEmmanuel Vadot }; 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot ahb { 19*f126890aSEmmanuel Vadot apb { 20*f126890aSEmmanuel Vadot pinctrl@fffff400 { 21*f126890aSEmmanuel Vadot usart3 { 22*f126890aSEmmanuel Vadot pinctrl_usart3: usart3-0 { 23*f126890aSEmmanuel Vadot atmel,pins = 24*f126890aSEmmanuel Vadot <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE 25*f126890aSEmmanuel Vadot AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; 26*f126890aSEmmanuel Vadot }; 27*f126890aSEmmanuel Vadot 28*f126890aSEmmanuel Vadot pinctrl_usart3_rts: usart3_rts-0 { 29*f126890aSEmmanuel Vadot atmel,pins = 30*f126890aSEmmanuel Vadot <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC24 periph B */ 31*f126890aSEmmanuel Vadot }; 32*f126890aSEmmanuel Vadot 33*f126890aSEmmanuel Vadot pinctrl_usart3_cts: usart3_cts-0 { 34*f126890aSEmmanuel Vadot atmel,pins = 35*f126890aSEmmanuel Vadot <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC25 periph B */ 36*f126890aSEmmanuel Vadot }; 37*f126890aSEmmanuel Vadot 38*f126890aSEmmanuel Vadot pinctrl_usart3_sck: usart3_sck-0 { 39*f126890aSEmmanuel Vadot atmel,pins = 40*f126890aSEmmanuel Vadot <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC26 periph B */ 41*f126890aSEmmanuel Vadot }; 42*f126890aSEmmanuel Vadot }; 43*f126890aSEmmanuel Vadot }; 44*f126890aSEmmanuel Vadot 45*f126890aSEmmanuel Vadot usart3: serial@f8028000 { 46*f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-usart"; 47*f126890aSEmmanuel Vadot reg = <0xf8028000 0x200>; 48*f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 49*f126890aSEmmanuel Vadot interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>; 50*f126890aSEmmanuel Vadot pinctrl-names = "default"; 51*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usart3>; 52*f126890aSEmmanuel Vadot dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(14)>, 53*f126890aSEmmanuel Vadot <&dma1 1 (AT91_DMA_CFG_PER_ID(15) | AT91_DMA_CFG_FIFOCFG_ASAP)>; 54*f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 55*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 8>; 56*f126890aSEmmanuel Vadot clock-names = "usart"; 57*f126890aSEmmanuel Vadot status = "disabled"; 58*f126890aSEmmanuel Vadot }; 59*f126890aSEmmanuel Vadot }; 60*f126890aSEmmanuel Vadot }; 61*f126890aSEmmanuel Vadot}; 62