Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * sama5d3_uart.dtsi - Device Tree Include file for SAMA5D3 SoC with
0004  * UART support
0005  *
0006  * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
0007  */
0008 
0009 #include <dt-bindings/pinctrl/at91.h>
0010 #include <dt-bindings/interrupt-controller/irq.h>
0011 #include <dt-bindings/clock/at91.h>
0012 
0013 / {
0014         aliases {
0015                 serial5 = &uart0;
0016                 serial6 = &uart1;
0017         };
0018 
0019         ahb {
0020                 apb {
0021                         pinctrl@fffff200 {
0022                                 uart0 {
0023                                         pinctrl_uart0: uart0-0 {
0024                                                 atmel,pins =
0025                                                         <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP        /* conflicts with PWMFI2, ISI_D8 */
0026                                                          AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* conflicts with ISI_PCK */
0027                                         };
0028                                 };
0029 
0030                                 uart1 {
0031                                         pinctrl_uart1: uart1-0 {
0032                                                 atmel,pins =
0033                                                         <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_PULL_UP        /* conflicts with TWD0, ISI_VSYNC */
0034                                                          AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with TWCK0, ISI_HSYNC */
0035                                         };
0036                                 };
0037                         };
0038 
0039                         uart0: serial@f0024000 {
0040                                 compatible = "atmel,at91sam9260-usart";
0041                                 reg = <0xf0024000 0x100>;
0042                                 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
0043                                 pinctrl-names = "default";
0044                                 pinctrl-0 = <&pinctrl_uart0>;
0045                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
0046                                 clock-names = "usart";
0047                                 status = "disabled";
0048                         };
0049 
0050                         uart1: serial@f8028000 {
0051                                 compatible = "atmel,at91sam9260-usart";
0052                                 reg = <0xf8028000 0x100>;
0053                                 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
0054                                 pinctrl-names = "default";
0055                                 pinctrl-0 = <&pinctrl_uart1>;
0056                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 17>;
0057                                 clock-names = "usart";
0058                                 status = "disabled";
0059                         };
0060                 };
0061         };
0062 };