2013-08-07 08:49:01 +00:00
|
|
|
/*
|
2015-03-04 16:56:03 +00:00
|
|
|
* sama5d3_uart.dtsi - Device Tree Include file for SAMA5D3 SoC with
|
2013-08-07 08:49:01 +00:00
|
|
|
* UART support
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
|
|
|
|
*
|
|
|
|
* Licensed under GPLv2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/pinctrl/at91.h>
|
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2014-03-06 06:04:43 +00:00
|
|
|
#include <dt-bindings/clock/at91.h>
|
2013-08-07 08:49:01 +00:00
|
|
|
|
|
|
|
/ {
|
2013-12-02 16:10:04 +00:00
|
|
|
aliases {
|
|
|
|
serial5 = &uart0;
|
|
|
|
serial6 = &uart1;
|
|
|
|
};
|
|
|
|
|
2013-08-07 08:49:01 +00:00
|
|
|
ahb {
|
|
|
|
apb {
|
|
|
|
pinctrl@fffff200 {
|
|
|
|
uart0 {
|
|
|
|
pinctrl_uart0: uart0-0 {
|
|
|
|
atmel,pins =
|
|
|
|
<AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC29 periph A, conflicts with PWMFI2, ISI_D8 */
|
|
|
|
AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC30 periph A with pullup, conflicts with ISI_PCK */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
uart1 {
|
|
|
|
pinctrl_uart1: uart1-0 {
|
|
|
|
atmel,pins =
|
|
|
|
<AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA30 periph B, conflicts with TWD0, ISI_VSYNC */
|
|
|
|
AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA31 periph B with pullup, conflicts with TWCK0, ISI_HSYNC */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-10-18 21:48:27 +00:00
|
|
|
pmc: pmc@fffffc00 {
|
|
|
|
periphck {
|
|
|
|
uart0_clk: uart0_clk {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
reg = <16>;
|
|
|
|
atmel,clk-output-range = <0 66000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
uart1_clk: uart1_clk {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
reg = <17>;
|
|
|
|
atmel,clk-output-range = <0 66000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-08-07 08:49:01 +00:00
|
|
|
uart0: serial@f0024000 {
|
|
|
|
compatible = "atmel,at91sam9260-usart";
|
|
|
|
reg = <0xf0024000 0x200>;
|
|
|
|
interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart0>;
|
2013-10-18 21:48:27 +00:00
|
|
|
clocks = <&uart0_clk>;
|
|
|
|
clock-names = "usart";
|
2013-08-07 08:49:01 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart1: serial@f8028000 {
|
|
|
|
compatible = "atmel,at91sam9260-usart";
|
|
|
|
reg = <0xf8028000 0x200>;
|
|
|
|
interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart1>;
|
2013-10-18 21:48:27 +00:00
|
|
|
clocks = <&uart1_clk>;
|
|
|
|
clock-names = "usart";
|
2013-08-07 08:49:01 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|