Boris BREZILLON | d195608 | 2013-08-07 12:14:26 +0200 | [diff] [blame] | 1 | /* |
| 2 | * at91sam9x5_usart3.dtsi - Device Tree Include file for AT91SAM9x5 SoC with |
| 3 | * 4 USART. |
| 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@fffff400 { |
| 17 | usart3 { |
| 18 | pinctrl_usart3: usart3-0 { |
| 19 | atmel,pins = |
| 20 | <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PC22 periph B with pullup */ |
| 21 | AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC23 periph B */ |
| 22 | }; |
| 23 | |
| 24 | pinctrl_usart3_rts: usart3_rts-0 { |
| 25 | atmel,pins = |
| 26 | <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC24 periph B */ |
| 27 | }; |
| 28 | |
| 29 | pinctrl_usart3_cts: usart3_cts-0 { |
| 30 | atmel,pins = |
| 31 | <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC25 periph B */ |
| 32 | }; |
| 33 | |
| 34 | pinctrl_usart3_sck: usart3_sck-0 { |
| 35 | atmel,pins = |
| 36 | <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC26 periph B */ |
| 37 | }; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | usart3: serial@f8028000 { |
| 42 | compatible = "atmel,at91sam9260-usart"; |
| 43 | reg = <0xf8028000 0x200>; |
| 44 | interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>; |
| 45 | pinctrl-names = "default"; |
| 46 | pinctrl-0 = <&pinctrl_usart3>; |
| 47 | status = "disabled"; |
| 48 | }; |
| 49 | }; |
| 50 | }; |
| 51 | }; |