~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/microchip/at91-sam9x60ek.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * at91-sam9x60ek.dts - Device Tree file for Microchip SAM9X60-EK board
  4  *
  5  * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
  6  *
  7  * Author: Sandeep Sheriker M <sandeepsheriker.mallikarjun@microchip.com>
  8  */
  9 /dts-v1/;
 10 #include "sam9x60.dtsi"
 11 #include <dt-bindings/input/input.h>
 12 
 13 / {
 14         model = "Microchip SAM9X60-EK";
 15         compatible = "microchip,sam9x60ek", "microchip,sam9x60", "atmel,at91sam9";
 16 
 17         aliases {
 18                 i2c0 = &i2c0;
 19                 i2c1 = &i2c6;
 20                 serial1 = &uart5;
 21         };
 22 
 23         chosen {
 24                 stdout-path = "serial0:115200n8";
 25         };
 26 
 27         clocks {
 28                 slow_xtal {
 29                         clock-frequency = <32768>;
 30                 };
 31 
 32                 main_xtal {
 33                         clock-frequency = <24000000>;
 34                 };
 35         };
 36 
 37         gpio-keys {
 38                 compatible = "gpio-keys";
 39                 pinctrl-names = "default";
 40                 pinctrl-0 = <&pinctrl_key_gpio_default>;
 41 
 42                 button-1 {
 43                         label = "SW1";
 44                         gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
 45                         linux,code = <KEY_PROG1>;
 46                         wakeup-source;
 47                 };
 48         };
 49 
 50         leds {
 51                 compatible = "gpio-leds";
 52                 pinctrl-names = "default";
 53                 pinctrl-0 = <&pinctrl_gpio_leds>;
 54                 status = "okay"; /* Conflict with pwm0. */
 55 
 56                 red {
 57                         label = "red";
 58                         gpios = <&pioB 11 GPIO_ACTIVE_HIGH>;
 59                 };
 60 
 61                 green {
 62                         label = "green";
 63                         gpios = <&pioB 12 GPIO_ACTIVE_HIGH>;
 64                 };
 65 
 66                 blue {
 67                         label = "blue";
 68                         gpios = <&pioB 13 GPIO_ACTIVE_HIGH>;
 69                         linux,default-trigger = "heartbeat";
 70                 };
 71         };
 72 
 73         vdd_1v8: fixed-regulator-vdd_1v8 {
 74                 compatible = "regulator-fixed";
 75                 regulator-name = "VDD_1V8";
 76                 regulator-min-microvolt = <1800000>;
 77                 regulator-max-microvolt = <1800000>;
 78                 regulator-always-on;
 79         };
 80 
 81         vdd_1v15: fixed-regulator-vdd_1v15 {
 82                 compatible = "regulator-fixed";
 83                 regulator-name = "VDD_1V15";
 84                 regulator-min-microvolt = <1150000>;
 85                 regulator-max-microvolt = <1150000>;
 86                 regulator-always-on;
 87         };
 88 
 89         vdd1_3v3: fixed-regulator-vdd1_3v3 {
 90                 compatible = "regulator-fixed";
 91                 regulator-name = "VDD1_3V3";
 92                 regulator-min-microvolt = <3300000>;
 93                 regulator-max-microvolt = <3300000>;
 94                 regulator-always-on;
 95         };
 96 
 97         vdd2_3v3: regulator-fixed-vdd2_3v3 {
 98                 compatible = "regulator-fixed";
 99                 regulator-name = "VDD2_3V3";
100                 regulator-min-microvolt = <3300000>;
101                 regulator-max-microvolt = <3300000>;
102                 regulator-always-on;
103         };
104 };
105 
106 &adc {
107         vddana-supply = <&vdd1_3v3>;
108         vref-supply = <&vdd1_3v3>;
109         pinctrl-names = "default";
110         pinctrl-0 = <&pinctrl_adc_default &pinctrl_adtrg_default>;
111         status = "okay";
112 };
113 
114 &can0 {
115         pinctrl-names = "default";
116         pinctrl-0 = <&pinctrl_can0_rx_tx>;
117         status = "disabled"; /* Conflict with dbgu. */
118 };
119 
120 &can1 {
121         pinctrl-names = "default";
122         pinctrl-0 = <&pinctrl_can1_rx_tx>;
123         status = "okay";
124 };
125 
126 &classd {
127         pinctrl-names = "default";
128         pinctrl-0 = <&pinctrl_classd_default>;
129         atmel,pwm-type = "diff";
130         atmel,non-overlap-time = <10>;
131         status = "okay";
132 };
133 
134 &dbgu {
135         pinctrl-names = "default";
136         pinctrl-0 = <&pinctrl_dbgu>;
137         status = "okay"; /* Conflict with can0. */
138 };
139 
140 &ebi {
141         pinctrl-names = "default";
142         pinctrl-0 = <&pinctrl_ebi_addr_nand &pinctrl_ebi_data_0_7>;
143         status = "okay";
144 
145         nand_controller: nand-controller {
146                 pinctrl-names = "default";
147                 pinctrl-0 = <&pinctrl_nand_oe_we &pinctrl_nand_cs &pinctrl_nand_rb>;
148                 status = "okay";
149 
150                 nand@3 {
151                         reg = <0x3 0x0 0x800000>;
152                         rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
153                         cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
154                         nand-bus-width = <8>;
155                         nand-ecc-mode = "hw";
156                         nand-ecc-strength = <8>;
157                         nand-ecc-step-size = <512>;
158                         nand-on-flash-bbt;
159                         label = "atmel_nand";
160 
161                         partitions {
162                                 compatible = "fixed-partitions";
163                                 #address-cells = <1>;
164                                 #size-cells = <1>;
165 
166                                 at91bootstrap@0 {
167                                         label = "at91bootstrap";
168                                         reg = <0x0 0x40000>;
169                                 };
170 
171                                 uboot@40000 {
172                                         label = "u-boot";
173                                         reg = <0x40000 0xc0000>;
174                                 };
175 
176                                 ubootenvred@100000 {
177                                         label = "U-Boot Env Redundant";
178                                         reg = <0x100000 0x40000>;
179                                 };
180 
181                                 ubootenv@140000 {
182                                         label = "U-Boot Env";
183                                         reg = <0x140000 0x40000>;
184                                 };
185 
186                                 dtb@180000 {
187                                         label = "device tree";
188                                         reg = <0x180000 0x80000>;
189                                 };
190 
191                                 kernel@200000 {
192                                         label = "kernel";
193                                         reg = <0x200000 0x600000>;
194                                 };
195 
196                                 rootfs@800000 {
197                                         label = "rootfs";
198                                         reg = <0x800000 0x1f800000>;
199                                 };
200                         };
201                 };
202         };
203 };
204 
205 &flx0 {
206         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
207         status = "okay";
208 
209         i2c0: i2c@600 {
210                 dmas = <0>, <0>;
211                 pinctrl-names = "default";
212                 pinctrl-0 = <&pinctrl_flx0_default>;
213                 i2c-analog-filter;
214                 i2c-digital-filter;
215                 i2c-digital-filter-width-ns = <35>;
216                 status = "okay";
217 
218                 eeprom@53 {
219                         compatible = "atmel,24c02";
220                         reg = <0x53>;
221                         pagesize = <16>;
222                         status = "okay";
223                 };
224         };
225 };
226 
227 &flx4 {
228         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
229         status = "disabled";
230 
231         spi4: spi@400 {
232                 dmas = <0>, <0>;
233                 pinctrl-names = "default";
234                 pinctrl-0 = <&pinctrl_flx4_default>;
235                 status = "disabled";
236         };
237 };
238 
239 &flx5 {
240         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
241         status = "okay";
242 
243         uart5: serial@200 {
244                 pinctrl-names = "default";
245                 pinctrl-0 = <&pinctrl_flx5_default>;
246                 status = "okay";
247         };
248 };
249 
250 &flx6 {
251         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
252         status = "okay";
253 
254         i2c6: i2c@600 {
255                 dmas = <0>, <0>;
256                 pinctrl-names = "default";
257                 pinctrl-0 = <&pinctrl_flx6_default>;
258                 i2c-analog-filter;
259                 i2c-digital-filter;
260                 i2c-digital-filter-width-ns = <35>;
261                 status = "okay";
262 
263                 gpio_exp: mcp23008@20 {
264                         compatible = "microchip,mcp23008";
265                         reg = <0x20>;
266                 };
267         };
268 };
269 
270 &gpbr {
271         status = "okay";
272 };
273 
274 &i2s {
275         pinctrl-names = "default";
276         pinctrl-0 = <&pinctrl_i2s_default>;
277         #sound-dai-cells = <0>;
278         status = "disabled"; /* Conflict with QSPI. */
279 };
280 
281 &macb0 {
282         phy-mode = "rmii";
283         #address-cells = <1>;
284         #size-cells = <0>;
285         pinctrl-names = "default";
286         pinctrl-0 = <&pinctrl_macb0_rmii>;
287         status = "okay";
288 
289         ethernet-phy@0 {
290                 reg = <0x0>;
291                 interrupt-parent = <&pioB>;
292                 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
293         };
294 };
295 
296 &pinctrl {
297         adc {
298                 pinctrl_adc_default: adc_default {
299                         atmel,pins = <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
300                 };
301 
302                 pinctrl_adtrg_default: adtrg_default {
303                         atmel,pins = <AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
304                 };
305         };
306 
307         dbgu {
308                 pinctrl_dbgu: dbgu-0 {
309                         atmel,pins = <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
310                                       AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
311                 };
312         };
313 
314         i2s {
315                 pinctrl_i2s_default: i2s {
316                         atmel,pins =
317                                 <AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE           /* I2SCK */
318                                  AT91_PIOB 20 AT91_PERIPH_B AT91_PINCTRL_NONE           /* I2SWS */
319                                  AT91_PIOB 21 AT91_PERIPH_B AT91_PINCTRL_NONE           /* I2SDIN */
320                                  AT91_PIOB 22 AT91_PERIPH_B AT91_PINCTRL_NONE           /* I2SDOUT */
321                                  AT91_PIOB 23 AT91_PERIPH_B AT91_PINCTRL_NONE>;         /* I2SMCK */
322                 };
323         };
324 
325         qspi {
326                 pinctrl_qspi: qspi {
327                         atmel,pins =
328                                 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_SLEWRATE_DIS
329                                  AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_SLEWRATE_DIS
330                                  AT91_PIOB 21 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)
331                                  AT91_PIOB 22 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)
332                                  AT91_PIOB 23 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)
333                                  AT91_PIOB 24 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)>;
334                 };
335         };
336 
337         nand {
338                 pinctrl_nand_oe_we: nand-oe-we-0 {
339                         atmel,pins =
340                                 <AT91_PIOD 0 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
341                                  AT91_PIOD 1 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)>;
342                 };
343 
344                 pinctrl_nand_rb: nand-rb-0 {
345                         atmel,pins =
346                                 <AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
347                 };
348 
349                 pinctrl_nand_cs: nand-cs-0 {
350                         atmel,pins =
351                                 <AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
352                 };
353         };
354 
355         ebi {
356                 pinctrl_ebi_data_0_7: ebi-data-lsb-0 {
357                         atmel,pins =
358                                 <AT91_PIOD 6 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
359                                  AT91_PIOD 7 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
360                                  AT91_PIOD 8 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
361                                  AT91_PIOD 9 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
362                                  AT91_PIOD 10 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
363                                  AT91_PIOD 11 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
364                                  AT91_PIOD 12 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
365                                  AT91_PIOD 13 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)>;
366                 };
367 
368                 pinctrl_ebi_data_0_15: ebi-data-msb-0 {
369                         atmel,pins =
370                                 <AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE
371                                  AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE
372                                  AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE
373                                  AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE
374                                  AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE
375                                  AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE
376                                  AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE
377                                  AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE
378                                  AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE
379                                  AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE
380                                  AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE
381                                  AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE
382                                  AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE
383                                  AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE
384                                  AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE
385                                  AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
386                 };
387 
388                 pinctrl_ebi_addr_nand: ebi-addr-0 {
389                         atmel,pins =
390                                 <AT91_PIOD 2 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
391                                  AT91_PIOD 3 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)>;
392                 };
393         };
394 
395         flexcom {
396                 pinctrl_flx0_default: flx0_twi {
397                         atmel,pins =
398                                 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
399                                  AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
400                 };
401 
402                 pinctrl_flx4_default: flx4_spi {
403                         atmel,pins =
404                                 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE
405                                  AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE
406                                  AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE
407                                  AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE>;
408                 };
409 
410                 pinctrl_flx5_default: flx5_uart {
411                         atmel,pins =
412                                 <AT91_PIOA 7 AT91_PERIPH_C AT91_PINCTRL_NONE
413                                  AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE
414                                  AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE
415                                  AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
416                 };
417 
418                 pinctrl_flx6_default: flx6_twi {
419                         atmel,pins =
420                                 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
421                                  AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
422                 };
423         };
424 
425         classd {
426                 pinctrl_classd_default: classd {
427                         atmel,pins =
428                                 <AT91_PIOA 24 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
429                                  AT91_PIOA 25 AT91_PERIPH_C AT91_PINCTRL_PULL_DOWN
430                                  AT91_PIOA 26 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
431                                  AT91_PIOA 27 AT91_PERIPH_C AT91_PINCTRL_PULL_DOWN>;
432                 };
433         };
434 
435         can0 {
436                 pinctrl_can0_rx_tx: can0_rx_tx {
437                         atmel,pins =
438                                 <AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE    /* CANRX0 */
439                                  AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE   /* CANTX0 */
440                                  AT91_PIOD 20 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN   /* Enable CAN0 mux */
441                                  AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN>; /* Enable CAN Transceivers */
442                 };
443         };
444 
445         can1 {
446                 pinctrl_can1_rx_tx: can1_rx_tx {
447                         atmel,pins =
448                                 <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE    /* CANRX1 RXD1 */
449                                  AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE    /* CANTX1 TXD1 */
450                                  AT91_PIOD 19 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN   /* Enable CAN1 mux */
451                                  AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN>; /* Enable CAN Transceivers */
452                 };
453         };
454 
455         macb0 {
456                 pinctrl_macb0_rmii: macb0_rmii-0 {
457                         atmel,pins =
458                                 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB0 periph A */
459                                  AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB1 periph A */
460                                  AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB2 periph A */
461                                  AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB3 periph A */
462                                  AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB4 periph A */
463                                  AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB5 periph A */
464                                  AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB6 periph A */
465                                  AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB7 periph A */
466                                  AT91_PIOB 8 AT91_PERIPH_GPIO AT91_PINCTRL_NONE /* PB8 IRQ GPIO */
467                                  AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE    /* PB9 periph A */
468                                  AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A */
469                 };
470         };
471 
472         pwm0 {
473                 pinctrl_pwm0_0: pwm0_0 {
474                         atmel,pins = <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
475                 };
476 
477                 pinctrl_pwm0_1: pwm0_1 {
478                         atmel,pins = <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
479                 };
480 
481                 pinctrl_pwm0_2: pwm0_2 {
482                         atmel,pins = <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
483                 };
484 
485                 pinctrl_pwm0_3: pwm0_3 {
486                         atmel,pins = <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
487                 };
488         };
489 
490         sdmmc0 {
491                 pinctrl_sdmmc0_default: sdmmc0 {
492                         atmel,pins =
493                                 <AT91_PIOA 17 AT91_PERIPH_A (AT91_PINCTRL_DRIVE_STRENGTH_HI)                            /* PA17 CK  periph A with pullup */
494                                  AT91_PIOA 16 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)     /* PA16 CMD periph A with pullup */
495                                  AT91_PIOA 15 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)     /* PA15 DAT0 periph A */
496                                  AT91_PIOA 18 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)     /* PA18 DAT1 periph A with pullup */
497                                  AT91_PIOA 19 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)     /* PA19 DAT2 periph A with pullup */
498                                  AT91_PIOA 20 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>;   /* PA20 DAT3 periph A with pullup */
499                 };
500                 pinctrl_sdmmc0_cd: sdmmc0_cd {
501                         atmel,pins =
502                                 <AT91_PIOA 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
503                 };
504         };
505 
506         sdmmc1 {
507                 pinctrl_sdmmc1_default: sdmmc1 {
508                         atmel,pins =
509                                 <AT91_PIOA 13 AT91_PERIPH_B (AT91_PINCTRL_DRIVE_STRENGTH_HI)                            /* PA13 CK periph B */
510                                  AT91_PIOA 12 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)     /* PA12 CMD periph B with pullup */
511                                  AT91_PIOA 11 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)     /* PA11 DAT0 periph B with pullup */
512                                  AT91_PIOA  2 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)     /* PA2 DAT1 periph B with pullup */
513                                  AT91_PIOA  3 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)     /* PA3 DAT2 periph B with pullup */
514                                  AT91_PIOA  4 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>;   /* PA4 DAT3 periph B with pullup */
515                 };
516         };
517 
518         gpio_keys {
519                 pinctrl_key_gpio_default: pinctrl_key_gpio {
520                         atmel,pins = <AT91_PIOD 18 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
521                 };
522         };
523 
524         usb0 {
525                 pinctrl_usba_vbus: usba_vbus {
526                         atmel,pins = <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
527                 };
528         };
529 
530         usb1 {
531                 pinctrl_usb_default: usb_default {
532                         atmel,pins = <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
533                                       AT91_PIOD 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
534                 };
535         };
536 
537         leds {
538                 pinctrl_gpio_leds: gpio_leds {
539                         atmel,pins = <AT91_PIOB 11 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
540                                       AT91_PIOB 12 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
541                                       AT91_PIOB 13 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
542                 };
543         };
544 }; /* pinctrl */
545 
546 &pwm0 {
547         pinctrl-names = "default";
548         pinctrl-0 = <&pinctrl_pwm0_0 &pinctrl_pwm0_1 &pinctrl_pwm0_2 &pinctrl_pwm0_3>;
549         status = "disabled"; /* Conflict with leds. */
550 };
551 
552 &sdmmc0 {
553         bus-width = <4>;
554         pinctrl-names = "default";
555         pinctrl-0 = <&pinctrl_sdmmc0_default &pinctrl_sdmmc0_cd>;
556         status = "okay";
557         cd-gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
558         disable-wp;
559 };
560 
561 &sdmmc1 {
562         bus-width = <4>;
563         pinctrl-names = "default";
564         pinctrl-0 = <&pinctrl_sdmmc1_default>;
565         no-1-8-v;
566         non-removable;
567         status = "disabled"; /* Conflict with flx4. */
568 };
569 
570 &qspi {
571         pinctrl-names = "default";
572         pinctrl-0 = <&pinctrl_qspi>;
573         status = "okay"; /* Conflict with i2s. */
574 
575         flash@0 {
576                 #address-cells = <1>;
577                 #size-cells = <1>;
578                 compatible = "jedec,spi-nor";
579                 reg = <0>;
580                 spi-max-frequency = <104000000>;
581                 spi-cs-setup-ns = <7>;
582                 spi-tx-bus-width = <4>;
583                 spi-rx-bus-width = <4>;
584                 m25p,fast-read;
585 
586                 at91bootstrap@0 {
587                         label = "qspi: at91bootstrap";
588                         reg = <0x0 0x40000>;
589                 };
590 
591                 bootloader@40000 {
592                         label = "qspi: bootloader";
593                         reg = <0x40000 0xc0000>;
594                 };
595 
596                 bootloaderenvred@100000 {
597                         label = "qspi: bootloader env redundant";
598                         reg = <0x100000 0x40000>;
599                 };
600 
601                 bootloaderenv@140000 {
602                         label = "qspi: bootloader env";
603                         reg = <0x140000 0x40000>;
604                 };
605 
606                 dtb@180000 {
607                         label = "qspi: device tree";
608                         reg = <0x180000 0x80000>;
609                 };
610 
611                 kernel@200000 {
612                         label = "qspi: kernel";
613                         reg = <0x200000 0x600000>;
614                 };
615         };
616 };
617 
618 &rtt {
619         atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
620         status = "okay";
621 };
622 
623 &shutdown_controller {
624         debounce-delay-us = <976>;
625         status = "okay";
626 
627         input@0 {
628                 reg = <0>;
629         };
630 };
631 
632 &tcb0 {
633         timer0: timer@0 {
634                 compatible = "atmel,tcb-timer";
635                 reg = <0>;
636         };
637 
638         timer1: timer@1 {
639                 compatible = "atmel,tcb-timer";
640                 reg = <1>;
641         };
642 };
643 
644 &usb0 {
645         atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
646         pinctrl-names = "default";
647         pinctrl-0 = <&pinctrl_usba_vbus>;
648         status = "okay";
649 };
650 
651 &usb1 {
652         num-ports = <3>;
653         atmel,vbus-gpio = <0
654                            &pioD 15 GPIO_ACTIVE_HIGH
655                            &pioD 16 GPIO_ACTIVE_HIGH>;
656         pinctrl-names = "default";
657         pinctrl-0 = <&pinctrl_usb_default>;
658         status = "okay";
659 };
660 
661 &usb2 {
662         status = "okay";
663 };
664 
665 &watchdog {
666         status = "okay";
667 };
668 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php