blob: 3fb63d81f18edbe023f1405fd25418d64f279ea6 [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +08001/*
2 * at91sam9263.dtsi - Device Tree Include file for AT91SAM9263 family SoC
3 *
4 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5 *
6 * Licensed under GPLv2 only.
7 */
8
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +08009#include <dt-bindings/pinctrl/at91.h>
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080010#include <dt-bindings/interrupt-controller/irq.h>
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080011#include <dt-bindings/gpio/gpio.h>
Alexandre Bellonic2375822014-06-23 06:03:37 +020012#include <dt-bindings/clock/at91.h>
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080013
14/ {
Rob Herringabe60a32019-01-09 10:26:14 -060015 #address-cells = <1>;
16 #size-cells = <1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080017 model = "Atmel AT91SAM9263 family SoC";
18 compatible = "atmel,at91sam9263";
19 interrupt-parent = <&aic>;
20
21 aliases {
22 serial0 = &dbgu;
23 serial1 = &usart0;
24 serial2 = &usart1;
25 serial3 = &usart2;
26 gpio0 = &pioA;
27 gpio1 = &pioB;
28 gpio2 = &pioC;
29 gpio3 = &pioD;
30 gpio4 = &pioE;
31 tcb0 = &tcb0;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020032 i2c0 = &i2c0;
Bo Shen099343c2012-11-07 11:41:41 +080033 ssc0 = &ssc0;
34 ssc1 = &ssc1;
Bo Shenf3ab0522013-12-19 11:59:17 +080035 pwm0 = &pwm0;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080036 };
Alexandre Bellonic2375822014-06-23 06:03:37 +020037
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080038 cpus {
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010039 #address-cells = <0>;
40 #size-cells = <0>;
41
42 cpu {
43 compatible = "arm,arm926ej-s";
44 device_type = "cpu";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080045 };
46 };
47
48 memory {
Rob Herringabe60a32019-01-09 10:26:14 -060049 device_type = "memory";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080050 reg = <0x20000000 0x08000000>;
51 };
52
Alexandre Bellonic2375822014-06-23 06:03:37 +020053 clocks {
54 main_xtal: main_xtal {
55 compatible = "fixed-clock";
56 #clock-cells = <0>;
57 clock-frequency = <0>;
58 };
59
60 slow_xtal: slow_xtal {
61 compatible = "fixed-clock";
62 #clock-cells = <0>;
63 clock-frequency = <0>;
64 };
65 };
66
Rob Herring8dccafa2017-10-13 12:54:51 -050067 sram0: sram@300000 {
Alexandre Bellonif04660e2015-01-13 19:12:24 +010068 compatible = "mmio-sram";
69 reg = <0x00300000 0x14000>;
70 };
71
Rob Herring8dccafa2017-10-13 12:54:51 -050072 sram1: sram@500000 {
Alexandre Bellonif04660e2015-01-13 19:12:24 +010073 compatible = "mmio-sram";
Alexander Stein940e7662015-02-25 09:35:04 +010074 reg = <0x00500000 0x4000>;
Alexandre Bellonif04660e2015-01-13 19:12:24 +010075 };
76
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080077 ahb {
78 compatible = "simple-bus";
79 #address-cells = <1>;
80 #size-cells = <1>;
81 ranges;
82
83 apb {
84 compatible = "simple-bus";
85 #address-cells = <1>;
86 #size-cells = <1>;
87 ranges;
88
89 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020090 #interrupt-cells = <3>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080091 compatible = "atmel,at91rm9200-aic";
92 interrupt-controller;
93 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080094 atmel,external-irqs = <30 31>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080095 };
96
97 pmc: pmc@fffffc00 {
Alexandre Belloni59ef2672018-06-07 10:41:07 +020098 compatible = "atmel,at91sam9263-pmc", "syscon";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080099 reg = <0xfffffc00 0x100>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200100 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200101 #clock-cells = <2>;
102 clocks = <&slow_xtal>, <&main_xtal>;
103 clock-names = "slow_xtal", "main_xtal";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800104 };
105
Maxime Ripard1e165a72014-07-03 12:01:29 +0200106 ramc0: ramc@ffffe200 {
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800107 compatible = "atmel,at91sam9260-sdramc";
Maxime Ripard1e165a72014-07-03 12:01:29 +0200108 reg = <0xffffe200 0x200>;
109 };
110
Boris Brezillond9c41bf2017-05-30 11:20:52 +0200111 smc0: smc@ffffe400 {
112 compatible = "atmel,at91sam9260-smc", "syscon";
113 reg = <0xffffe400 0x200>;
114 };
115
Maxime Ripard1e165a72014-07-03 12:01:29 +0200116 ramc1: ramc@ffffe800 {
117 compatible = "atmel,at91sam9260-sdramc";
118 reg = <0xffffe800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800119 };
120
Boris Brezillond9c41bf2017-05-30 11:20:52 +0200121 smc1: smc@ffffea00 {
122 compatible = "atmel,at91sam9260-smc", "syscon";
123 reg = <0xffffea00 0x200>;
124 };
125
126 matrix: matrix@ffffec00 {
127 compatible = "atmel,at91sam9263-matrix", "syscon";
128 reg = <0xffffec00 0x200>;
129 };
130
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800131 pit: timer@fffffd30 {
132 compatible = "atmel,at91sam9260-pit";
133 reg = <0xfffffd30 0xf>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800134 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200135 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800136 };
137
138 tcb0: timer@fff7c000 {
Alexandre Bellonid89b16f2016-06-08 17:06:13 +0200139 compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
140 #address-cells = <1>;
141 #size-cells = <0>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800142 reg = <0xfff7c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800143 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200144 clocks = <&pmc PMC_TYPE_PERIPHERAL 19>, <&slow_xtal>;
Alexandre Belloni53b0b372015-07-29 14:10:03 +0200145 clock-names = "t0_clk", "slow_clk";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800146 };
147
148 rstc@fffffd00 {
149 compatible = "atmel,at91sam9260-rstc";
150 reg = <0xfffffd00 0x10>;
Alexandre Belloni53b0b372015-07-29 14:10:03 +0200151 clocks = <&slow_xtal>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800152 };
153
154 shdwc@fffffd10 {
155 compatible = "atmel,at91sam9260-shdwc";
156 reg = <0xfffffd10 0x10>;
Alexandre Belloni53b0b372015-07-29 14:10:03 +0200157 clocks = <&slow_xtal>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800158 };
159
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800160 pinctrl@fffff200 {
161 #address-cells = <1>;
162 #size-cells = <1>;
163 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
164 ranges = <0xfffff200 0xfffff200 0xa00>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800165
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800166 atmel,mux-mask = <
167 /* A B */
168 0xfffffffb 0xffffe07f /* pioA */
169 0x0007ffff 0x39072fff /* pioB */
170 0xffffffff 0x3ffffff8 /* pioC */
171 0xfffffbff 0xffffffff /* pioD */
172 0xffe00fff 0xfbfcff00 /* pioE */
173 >;
174
175 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800176 dbgu {
177 pinctrl_dbgu: dbgu-0 {
178 atmel,pins =
Sylvain Rochet138c2b22016-10-16 18:21:45 +0200179 <AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
180 AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800181 };
182 };
183
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800184 usart0 {
185 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800186 atmel,pins =
Peter Rosin5e048222018-03-21 16:35:50 +0100187 <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE
188 AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800189 };
190
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800191 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800192 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800193 <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA28 periph A */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800194 };
195
196 pinctrl_usart0_cts: usart0_cts-0 {
197 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800198 <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA29 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800199 };
200 };
201
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800202 usart1 {
203 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800204 atmel,pins =
Peter Rosin5e048222018-03-21 16:35:50 +0100205 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE
206 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800207 };
208
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800209 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800210 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800211 <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD7 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800212 };
213
214 pinctrl_usart1_cts: usart1_cts-0 {
215 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800216 <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD8 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800217 };
218 };
219
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800220 usart2 {
221 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800222 atmel,pins =
Peter Rosin5e048222018-03-21 16:35:50 +0100223 <AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE
224 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800225 };
226
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800227 pinctrl_usart2_rts: usart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800228 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800229 <AT91_PIOD 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD5 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800230 };
231
232 pinctrl_usart2_cts: usart2_cts-0 {
233 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800234 <AT91_PIOD 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD6 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800235 };
236 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800237
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800238 nand {
Boris Brezillon1004a292017-05-30 11:20:53 +0200239 pinctrl_nand_rb: nand-rb-0 {
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800240 atmel,pins =
Boris Brezillon1004a292017-05-30 11:20:53 +0200241 <AT91_PIOA 22 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
242 };
243
244 pinctrl_nand_cs: nand-cs-0 {
245 atmel,pins =
246 <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800247 };
248 };
249
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800250 macb {
251 pinctrl_macb_rmii: macb_rmii-0 {
252 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800253 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC25 periph B */
254 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE21 periph A */
255 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE23 periph A */
256 AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE24 periph A */
257 AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE25 periph A */
258 AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE26 periph A */
259 AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE27 periph A */
260 AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE28 periph A */
261 AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE29 periph A */
262 AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PE30 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800263 };
264
265 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
266 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800267 <AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC20 periph B */
268 AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC21 periph B */
269 AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC22 periph B */
270 AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC23 periph B */
271 AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC24 periph B */
272 AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC25 periph B */
273 AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC27 periph B */
274 AT91_PIOE 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PE22 periph B */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800275 };
276 };
277
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800278 mmc0 {
279 pinctrl_mmc0_clk: mmc0_clk-0 {
280 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800281 <AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA12 periph A */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800282 };
283
284 pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
285 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800286 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
287 AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA0 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800288 };
289
290 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
291 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800292 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
293 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
294 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800295 };
296
297 pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
298 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800299 <AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
300 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA17 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800301 };
302
303 pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
304 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800305 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
306 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
307 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800308 };
309 };
310
311 mmc1 {
312 pinctrl_mmc1_clk: mmc1_clk-0 {
313 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800314 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800315 };
316
317 pinctrl_mmc1_slot0_cmd_dat0: mmc1_slot0_cmd_dat0-0 {
318 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800319 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
320 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA8 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800321 };
322
323 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
324 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800325 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA9 periph A with pullup */
326 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA10 periph A with pullup */
327 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA11 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800328 };
329
330 pinctrl_mmc1_slot1_cmd_dat0: mmc1_slot1_cmd_dat0-0 {
331 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800332 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA21 periph A with pullup */
333 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA22 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800334 };
335
336 pinctrl_mmc1_slot1_dat1_3: mmc1_slot1_dat1_3-0 {
337 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800338 <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA23 periph A with pullup */
339 AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA24 periph A with pullup */
340 AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA25 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800341 };
342 };
343
Bo Shen544ae6b2013-01-11 15:08:30 +0100344 ssc0 {
345 pinctrl_ssc0_tx: ssc0_tx-0 {
346 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800347 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB0 periph B */
348 AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB1 periph B */
349 AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100350 };
351
352 pinctrl_ssc0_rx: ssc0_rx-0 {
353 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800354 <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB3 periph B */
355 AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B */
356 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100357 };
358 };
359
360 ssc1 {
361 pinctrl_ssc1_tx: ssc1_tx-0 {
362 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800363 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
364 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
365 AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100366 };
367
368 pinctrl_ssc1_rx: ssc1_rx-0 {
369 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800370 <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
371 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB10 periph A */
372 AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB11 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100373 };
374 };
375
Wenyou Yanga68b7282013-04-03 14:03:52 +0800376 spi0 {
377 pinctrl_spi0: spi0-0 {
378 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800379 <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA0 periph B SPI0_MISO pin */
380 AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA1 periph B SPI0_MOSI pin */
381 AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA2 periph B SPI0_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800382 };
383 };
384
385 spi1 {
386 pinctrl_spi1: spi1-0 {
387 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800388 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A SPI1_MISO pin */
389 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A SPI1_MOSI pin */
390 AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB14 periph A SPI1_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800391 };
392 };
393
Boris BREZILLON028633c2013-05-24 10:05:56 +0000394 tcb0 {
395 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
396 atmel,pins = <AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
397 };
398
399 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
400 atmel,pins = <AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
401 };
402
403 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
404 atmel,pins = <AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
405 };
406
407 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
408 atmel,pins = <AT91_PIOE 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
409 };
410
411 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
412 atmel,pins = <AT91_PIOE 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
413 };
414
415 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
416 atmel,pins = <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
417 };
418
419 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
420 atmel,pins = <AT91_PIOE 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
421 };
422
423 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
424 atmel,pins = <AT91_PIOE 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
425 };
426
427 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
428 atmel,pins = <AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
429 };
430 };
431
Jean-Christophe PLAGNIOL-VILLARDf8a0d792013-03-29 04:50:46 +0800432 fb {
433 pinctrl_fb: fb-0 {
434 atmel,pins =
435 <AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC1 periph A */
436 AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC2 periph A */
437 AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC3 periph A */
438 AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB9 periph B */
439 AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC6 periph A */
440 AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC7 periph A */
441 AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC8 periph A */
442 AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC9 periph A */
443 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC10 periph A */
444 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC11 periph A */
445 AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC14 periph A */
446 AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC15 periph A */
447 AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC16 periph A */
448 AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC12 periph B */
449 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC18 periph A */
450 AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC19 periph A */
451 AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC22 periph A */
452 AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC23 periph A */
453 AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC24 periph A */
454 AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC17 periph B */
455 AT91_PIOC 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC26 periph A */
456 AT91_PIOC 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC27 periph A */
457 };
458 };
459
Alexander Stein2667c6a2014-10-06 14:40:07 +0200460 can {
461 pinctrl_can_rx_tx: can_rx_tx {
462 atmel,pins =
463 <AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* CANRX, conflicts with IRQ0 */
464 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* CANTX, conflicts with PCK0 */
465 };
466 };
467
Alexander Steinc7f85be2014-12-29 13:08:41 +0100468 ac97 {
469 pinctrl_ac97: ac97-0 {
470 atmel,pins =
471 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A AC97FS pin */
472 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A AC97CK pin */
473 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A AC97TX pin */
474 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB14 periph A AC97RX pin */
475 };
476 };
477
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800478 pioA: gpio@fffff200 {
479 compatible = "atmel,at91rm9200-gpio";
480 reg = <0xfffff200 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800481 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800482 #gpio-cells = <2>;
483 gpio-controller;
484 interrupt-controller;
485 #interrupt-cells = <2>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200486 clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800487 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800488
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800489 pioB: gpio@fffff400 {
490 compatible = "atmel,at91rm9200-gpio";
491 reg = <0xfffff400 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800492 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800493 #gpio-cells = <2>;
494 gpio-controller;
495 interrupt-controller;
496 #interrupt-cells = <2>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200497 clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800498 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800499
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800500 pioC: gpio@fffff600 {
501 compatible = "atmel,at91rm9200-gpio";
502 reg = <0xfffff600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800503 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800504 #gpio-cells = <2>;
505 gpio-controller;
506 interrupt-controller;
507 #interrupt-cells = <2>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200508 clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800509 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800510
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800511 pioD: gpio@fffff800 {
512 compatible = "atmel,at91rm9200-gpio";
513 reg = <0xfffff800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800514 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800515 #gpio-cells = <2>;
516 gpio-controller;
517 interrupt-controller;
518 #interrupt-cells = <2>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200519 clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800520 };
521
522 pioE: gpio@fffffa00 {
523 compatible = "atmel,at91rm9200-gpio";
524 reg = <0xfffffa00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800525 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800526 #gpio-cells = <2>;
527 gpio-controller;
528 interrupt-controller;
529 #interrupt-cells = <2>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200530 clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800531 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800532 };
533
534 dbgu: serial@ffffee00 {
Alexandre Belloni8c07f662015-03-12 15:54:26 +0100535 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800536 reg = <0xffffee00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800537 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800538 pinctrl-names = "default";
539 pinctrl-0 = <&pinctrl_dbgu>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200540 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200541 clock-names = "usart";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800542 status = "disabled";
543 };
544
545 usart0: serial@fff8c000 {
546 compatible = "atmel,at91sam9260-usart";
547 reg = <0xfff8c000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800548 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800549 atmel,use-dma-rx;
550 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800551 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800552 pinctrl-0 = <&pinctrl_usart0>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200553 clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200554 clock-names = "usart";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800555 status = "disabled";
556 };
557
558 usart1: serial@fff90000 {
559 compatible = "atmel,at91sam9260-usart";
560 reg = <0xfff90000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800561 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800562 atmel,use-dma-rx;
563 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800564 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800565 pinctrl-0 = <&pinctrl_usart1>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200566 clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200567 clock-names = "usart";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800568 status = "disabled";
569 };
570
571 usart2: serial@fff94000 {
572 compatible = "atmel,at91sam9260-usart";
573 reg = <0xfff94000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800574 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800575 atmel,use-dma-rx;
576 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800577 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800578 pinctrl-0 = <&pinctrl_usart2>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200579 clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200580 clock-names = "usart";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800581 status = "disabled";
582 };
583
Bo Shen099343c2012-11-07 11:41:41 +0800584 ssc0: ssc@fff98000 {
585 compatible = "atmel,at91rm9200-ssc";
586 reg = <0xfff98000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800587 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100588 pinctrl-names = "default";
589 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200590 clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200591 clock-names = "pclk";
Bo Shen315656b2012-12-13 10:05:07 +0800592 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800593 };
594
595 ssc1: ssc@fff9c000 {
596 compatible = "atmel,at91rm9200-ssc";
597 reg = <0xfff9c000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800598 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100599 pinctrl-names = "default";
600 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200601 clocks = <&pmc PMC_TYPE_PERIPHERAL 17>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200602 clock-names = "pclk";
Bo Shen315656b2012-12-13 10:05:07 +0800603 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800604 };
605
Alexander Steinc7f85be2014-12-29 13:08:41 +0100606 ac97: sound@fffa0000 {
607 compatible = "atmel,at91sam9263-ac97c";
608 reg = <0xfffa0000 0x4000>;
609 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 5>;
610 pinctrl-names = "default";
611 pinctrl-0 = <&pinctrl_ac97>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200612 clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
Alexander Steinc7f85be2014-12-29 13:08:41 +0100613 clock-names = "ac97_clk";
614 status = "disabled";
615 };
616
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800617 macb0: ethernet@fffbc000 {
Boris BREZILLON9c348d42015-03-07 07:23:29 +0100618 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800619 reg = <0xfffbc000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800620 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800621 pinctrl-names = "default";
622 pinctrl-0 = <&pinctrl_macb_rmii>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200623 clocks = <&pmc PMC_TYPE_PERIPHERAL 21>, <&pmc PMC_TYPE_PERIPHERAL 21>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200624 clock-names = "hclk", "pclk";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800625 status = "disabled";
626 };
627
628 usb1: gadget@fff78000 {
Boris Brezillon70a9bea2014-12-03 12:32:10 +0100629 compatible = "atmel,at91sam9263-udc";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800630 reg = <0xfff78000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800631 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 2>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200632 clocks = <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_SYSTEM 7>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200633 clock-names = "pclk", "hclk";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800634 status = "disabled";
635 };
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200636
637 i2c0: i2c@fff88000 {
Jean-Jacques Hiblot821003b2014-01-15 11:24:46 +0100638 compatible = "atmel,at91sam9260-i2c";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200639 reg = <0xfff88000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800640 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200641 #address-cells = <1>;
642 #size-cells = <0>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200643 clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200644 status = "disabled";
645 };
Ludovic Desroches98731372012-11-19 12:23:36 +0100646
647 mmc0: mmc@fff80000 {
648 compatible = "atmel,hsmci";
649 reg = <0xfff80000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800650 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
Andreas Henrikssonb65e0fb2014-09-23 17:12:52 +0200651 pinctrl-names = "default";
Ludovic Desroches98731372012-11-19 12:23:36 +0100652 #address-cells = <1>;
653 #size-cells = <0>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200654 clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200655 clock-names = "mci_clk";
Ludovic Desroches98731372012-11-19 12:23:36 +0100656 status = "disabled";
657 };
658
659 mmc1: mmc@fff84000 {
660 compatible = "atmel,hsmci";
661 reg = <0xfff84000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800662 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
Andreas Henrikssonb65e0fb2014-09-23 17:12:52 +0200663 pinctrl-names = "default";
Ludovic Desroches98731372012-11-19 12:23:36 +0100664 #address-cells = <1>;
665 #size-cells = <0>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200666 clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200667 clock-names = "mci_clk";
Ludovic Desroches98731372012-11-19 12:23:36 +0100668 status = "disabled";
669 };
Linus Torvaldsdb5b0ae2012-12-13 10:39:26 -0800670
Fabio Porcedda7492e7c2012-11-12 09:37:26 +0100671 watchdog@fffffd40 {
672 compatible = "atmel,at91sam9260-wdt";
673 reg = <0xfffffd40 0x10>;
Boris BREZILLONfe46aa62013-10-04 09:24:14 +0200674 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Alexandre Belloni53b0b372015-07-29 14:10:03 +0200675 clocks = <&slow_xtal>;
Boris BREZILLONfe46aa62013-10-04 09:24:14 +0200676 atmel,watchdog-type = "hardware";
677 atmel,reset-type = "all";
678 atmel,dbg-halt;
Fabio Porcedda7492e7c2012-11-12 09:37:26 +0100679 status = "disabled";
680 };
Richard Genoudd50f88a2013-04-03 14:02:18 +0800681
682 spi0: spi@fffa4000 {
683 #address-cells = <1>;
684 #size-cells = <0>;
685 compatible = "atmel,at91rm9200-spi";
686 reg = <0xfffa4000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800687 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800688 pinctrl-names = "default";
689 pinctrl-0 = <&pinctrl_spi0>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200690 clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200691 clock-names = "spi_clk";
Richard Genoudd50f88a2013-04-03 14:02:18 +0800692 status = "disabled";
693 };
694
695 spi1: spi@fffa8000 {
696 #address-cells = <1>;
697 #size-cells = <0>;
698 compatible = "atmel,at91rm9200-spi";
699 reg = <0xfffa8000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800700 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800701 pinctrl-names = "default";
702 pinctrl-0 = <&pinctrl_spi1>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200703 clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200704 clock-names = "spi_clk";
Richard Genoudd50f88a2013-04-03 14:02:18 +0800705 status = "disabled";
706 };
Bo Shenf3ab0522013-12-19 11:59:17 +0800707
708 pwm0: pwm@fffb8000 {
709 compatible = "atmel,at91sam9rl-pwm";
710 reg = <0xfffb8000 0x300>;
711 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 4>;
712 #pwm-cells = <3>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200713 clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
Alexandre Bellonic2375822014-06-23 06:03:37 +0200714 clock-names = "pwm_clk";
Bo Shenf3ab0522013-12-19 11:59:17 +0800715 status = "disabled";
716 };
Alexander Stein2667c6a2014-10-06 14:40:07 +0200717
718 can: can@fffac000 {
719 compatible = "atmel,at91sam9263-can";
720 reg = <0xfffac000 0x300>;
721 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>;
722 pinctrl-names = "default";
723 pinctrl-0 = <&pinctrl_can_rx_tx>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200724 clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
Alexander Stein2667c6a2014-10-06 14:40:07 +0200725 clock-names = "can_clk";
Boris Brezillon9b5a0672014-11-14 11:08:49 +0100726 };
727
728 rtc@fffffd20 {
729 compatible = "atmel,at91sam9260-rtt";
730 reg = <0xfffffd20 0x10>;
731 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
732 clocks = <&slow_xtal>;
733 status = "disabled";
734 };
735
736 rtc@fffffd50 {
737 compatible = "atmel,at91sam9260-rtt";
738 reg = <0xfffffd50 0x10>;
739 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
740 clocks = <&slow_xtal>;
Alexander Stein2667c6a2014-10-06 14:40:07 +0200741 status = "disabled";
742 };
Boris Brezillon1ff3bec2014-11-14 11:08:50 +0100743
744 gpbr: syscon@fffffd60 {
745 compatible = "atmel,at91sam9260-gpbr", "syscon";
746 reg = <0xfffffd60 0x50>;
747 status = "disabled";
748 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800749 };
750
Mathieu Malaterreed4ced02017-12-15 13:46:26 +0100751 fb0: fb@700000 {
Jean-Christophe PLAGNIOL-VILLARDf8a0d792013-03-29 04:50:46 +0800752 compatible = "atmel,at91sam9263-lcdc";
753 reg = <0x00700000 0x1000>;
754 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 3>;
755 pinctrl-names = "default";
756 pinctrl-0 = <&pinctrl_fb>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200757 clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&pmc PMC_TYPE_PERIPHERAL 26>;
Alexander Stein55eb9c32014-12-05 14:31:39 +0100758 clock-names = "lcdc_clk", "hclk";
Jean-Christophe PLAGNIOL-VILLARDf8a0d792013-03-29 04:50:46 +0800759 status = "disabled";
760 };
761
Rob Herring8dccafa2017-10-13 12:54:51 -0500762 usb0: ohci@a00000 {
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800763 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
764 reg = <0x00a00000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800765 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 2>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200766 clocks = <&pmc PMC_TYPE_PERIPHERAL 29>, <&pmc PMC_TYPE_PERIPHERAL 29>, <&pmc PMC_TYPE_SYSTEM 6>;
Boris Brezillonf8073702015-03-17 17:15:50 +0100767 clock-names = "ohci_clk", "hclk", "uhpck";
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800768 status = "disabled";
769 };
Boris Brezillond9c41bf2017-05-30 11:20:52 +0200770
771 ebi0: ebi@10000000 {
772 compatible = "atmel,at91sam9263-ebi0";
773 #address-cells = <2>;
774 #size-cells = <1>;
775 atmel,smc = <&smc0>;
776 atmel,matrix = <&matrix>;
777 reg = <0x10000000 0x80000000>;
778 ranges = <0x0 0x0 0x10000000 0x10000000
779 0x1 0x0 0x20000000 0x10000000
780 0x2 0x0 0x30000000 0x10000000
781 0x3 0x0 0x40000000 0x10000000
782 0x4 0x0 0x50000000 0x10000000
783 0x5 0x0 0x60000000 0x10000000>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200784 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
Boris Brezillond9c41bf2017-05-30 11:20:52 +0200785 status = "disabled";
786
787 nand_controller0: nand-controller {
788 compatible = "atmel,at91sam9260-nand-controller";
789 #address-cells = <2>;
790 #size-cells = <1>;
791 ranges;
792 status = "disabled";
793 };
794 };
795
796 ebi1: ebi@70000000 {
797 compatible = "atmel,at91sam9263-ebi1";
798 #address-cells = <2>;
799 #size-cells = <1>;
800 atmel,smc = <&smc1>;
801 atmel,matrix = <&matrix>;
802 reg = <0x80000000 0x20000000>;
803 ranges = <0x0 0x0 0x80000000 0x10000000
804 0x1 0x0 0x90000000 0x10000000>;
Alexandre Belloni7f2fbc12018-08-21 18:12:08 +0200805 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
Boris Brezillond9c41bf2017-05-30 11:20:52 +0200806 status = "disabled";
807
808 nand_controller1: nand-controller {
809 compatible = "atmel,at91sam9260-nand-controller";
810 #address-cells = <2>;
811 #size-cells = <1>;
812 ranges;
813 status = "disabled";
814 };
815 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800816 };
817
Alexandre Bellonie152e3f2016-07-14 16:58:11 +0200818 i2c-gpio-0 {
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800819 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800820 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
821 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800822 >;
823 i2c-gpio,sda-open-drain;
824 i2c-gpio,scl-open-drain;
825 i2c-gpio,delay-us = <2>; /* ~100 kHz */
826 #address-cells = <1>;
827 #size-cells = <0>;
828 status = "disabled";
829 };
830};