blob: 49d4d76ca6f45b7d06f19423505fa2faf652fbf6 [file] [log] [blame]
Boris BREZILLONd7d1d452013-08-07 10:49:01 +02001/*
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>
Boris BREZILLONd2e81902013-10-18 23:48:27 +020012#include <dt-bindings/clk/at91.h>
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020013
14/ {
15 ahb {
16 apb {
17 pinctrl@fffff200 {
18 uart0 {
19 pinctrl_uart0: uart0-0 {
20 atmel,pins =
21 <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC29 periph A, conflicts with PWMFI2, ISI_D8 */
22 AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC30 periph A with pullup, conflicts with ISI_PCK */
23 };
24 };
25
26 uart1 {
27 pinctrl_uart1: uart1-0 {
28 atmel,pins =
29 <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA30 periph B, conflicts with TWD0, ISI_VSYNC */
30 AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA31 periph B with pullup, conflicts with TWCK0, ISI_HSYNC */
31 };
32 };
33 };
34
Boris BREZILLONd2e81902013-10-18 23:48:27 +020035 pmc: pmc@fffffc00 {
36 periphck {
37 uart0_clk: uart0_clk {
38 #clock-cells = <0>;
39 reg = <16>;
40 atmel,clk-output-range = <0 66000000>;
41 };
42
43 uart1_clk: uart1_clk {
44 #clock-cells = <0>;
45 reg = <17>;
46 atmel,clk-output-range = <0 66000000>;
47 };
48 };
49 };
50
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020051 uart0: serial@f0024000 {
52 compatible = "atmel,at91sam9260-usart";
53 reg = <0xf0024000 0x200>;
54 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
55 pinctrl-names = "default";
56 pinctrl-0 = <&pinctrl_uart0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +020057 clocks = <&uart0_clk>;
58 clock-names = "usart";
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020059 status = "disabled";
60 };
61
62 uart1: serial@f8028000 {
63 compatible = "atmel,at91sam9260-usart";
64 reg = <0xf8028000 0x200>;
65 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&pinctrl_uart1>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +020068 clocks = <&uart1_clk>;
69 clock-names = "usart";
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020070 status = "disabled";
71 };
72 };
73 };
74};