blob: a3eaba995cf449244162eb52fe5bf121d324b1e2 [file] [log] [blame]
Thomas Gleixnerf50a7f32019-05-28 09:57:18 -07001// SPDX-License-Identifier: GPL-2.0-only
Boris BREZILLONd7d1d452013-08-07 10:49:01 +02002/*
Nicolas Ferre8dafaa12015-03-04 17:56:03 +01003 * sama5d3_uart.dtsi - Device Tree Include file for SAMA5D3 SoC with
Boris BREZILLONd7d1d452013-08-07 10:49:01 +02004 * UART support
5 *
6 * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
Boris BREZILLONd7d1d452013-08-07 10:49:01 +02007 */
8
9#include <dt-bindings/pinctrl/at91.h>
10#include <dt-bindings/interrupt-controller/irq.h>
Tushar Behera35d35aa2014-03-06 11:34:43 +053011#include <dt-bindings/clock/at91.h>
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020012
13/ {
Nicolas Ferreac0585c2013-12-02 17:10:04 +010014 aliases {
15 serial5 = &uart0;
16 serial6 = &uart1;
17 };
18
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020019 ahb {
20 apb {
21 pinctrl@fffff200 {
22 uart0 {
23 pinctrl_uart0: uart0-0 {
24 atmel,pins =
Peter Rosin5e048222018-03-21 16:35:50 +010025 <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* conflicts with PWMFI2, ISI_D8 */
26 AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* conflicts with ISI_PCK */
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020027 };
28 };
29
30 uart1 {
31 pinctrl_uart1: uart1-0 {
32 atmel,pins =
Peter Rosin5e048222018-03-21 16:35:50 +010033 <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* conflicts with TWD0, ISI_VSYNC */
34 AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with TWCK0, ISI_HSYNC */
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020035 };
36 };
37 };
38
39 uart0: serial@f0024000 {
40 compatible = "atmel,at91sam9260-usart";
Peter Rosin1c1d3692016-11-10 08:46:40 +010041 reg = <0xf0024000 0x100>;
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020042 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
43 pinctrl-names = "default";
44 pinctrl-0 = <&pinctrl_uart0>;
Alexandre Belloni7ed609b2020-01-10 23:27:44 +010045 clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +020046 clock-names = "usart";
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020047 status = "disabled";
48 };
49
50 uart1: serial@f8028000 {
51 compatible = "atmel,at91sam9260-usart";
Peter Rosin1c1d3692016-11-10 08:46:40 +010052 reg = <0xf8028000 0x100>;
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020053 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_uart1>;
Alexandre Belloni7ed609b2020-01-10 23:27:44 +010056 clocks = <&pmc PMC_TYPE_PERIPHERAL 17>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +020057 clock-names = "usart";
Boris BREZILLONd7d1d452013-08-07 10:49:01 +020058 status = "disabled";
59 };
60 };
61 };
62};