Boris BREZILLON | d7d1d45 | 2013-08-07 10:49:01 +0200 | [diff] [blame] | 1 | /* |
| 2 | * at91sama5d3_uart.dtsi - Device Tree Include file for AT91SAM9x5 SoC with |
| 3 | * UART support |
| 4 | * |
| 5 | * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com> |
| 6 | * |
| 7 | * Licensed under GPLv2. |
| 8 | */ |
| 9 | |
| 10 | #include <dt-bindings/pinctrl/at91.h> |
| 11 | #include <dt-bindings/interrupt-controller/irq.h> |
| 12 | |
| 13 | / { |
| 14 | ahb { |
| 15 | apb { |
| 16 | pinctrl@fffff200 { |
| 17 | uart0 { |
| 18 | pinctrl_uart0: uart0-0 { |
| 19 | atmel,pins = |
| 20 | <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC29 periph A, conflicts with PWMFI2, ISI_D8 */ |
| 21 | AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC30 periph A with pullup, conflicts with ISI_PCK */ |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | uart1 { |
| 26 | pinctrl_uart1: uart1-0 { |
| 27 | atmel,pins = |
| 28 | <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA30 periph B, conflicts with TWD0, ISI_VSYNC */ |
| 29 | AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA31 periph B with pullup, conflicts with TWCK0, ISI_HSYNC */ |
| 30 | }; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | uart0: serial@f0024000 { |
| 35 | compatible = "atmel,at91sam9260-usart"; |
| 36 | reg = <0xf0024000 0x200>; |
| 37 | interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>; |
| 38 | pinctrl-names = "default"; |
| 39 | pinctrl-0 = <&pinctrl_uart0>; |
| 40 | status = "disabled"; |
| 41 | }; |
| 42 | |
| 43 | uart1: serial@f8028000 { |
| 44 | compatible = "atmel,at91sam9260-usart"; |
| 45 | reg = <0xf8028000 0x200>; |
| 46 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>; |
| 47 | pinctrl-names = "default"; |
| 48 | pinctrl-0 = <&pinctrl_uart1>; |
| 49 | status = "disabled"; |
| 50 | }; |
| 51 | }; |
| 52 | }; |
| 53 | }; |