Merge tag 'amd-drm-fixes-5.18-2022-05-04' of https://gitlab.freedesktop.org/agd5f...
[linux-block.git] / arch / arm / boot / dts / at91-sama7g5ek.dts
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  *  at91-sama7g5ek.dts - Device Tree file for SAMA7G5-EK board
4  *
5  *  Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries
6  *
7  *  Author: Eugen Hristev <eugen.hristev@microchip.com>
8  *  Author: Claudiu Beznea <claudiu.beznea@microchip.com>
9  *
10  */
11 /dts-v1/;
12 #include "sama7g5-pinfunc.h"
13 #include "sama7g5.dtsi"
14 #include <dt-bindings/mfd/atmel-flexcom.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/pinctrl/at91.h>
17
18 / {
19         model = "Microchip SAMA7G5-EK";
20         compatible = "microchip,sama7g5ek", "microchip,sama7g5", "microchip,sama7";
21
22         chosen {
23                 bootargs = "rw root=/dev/mmcblk1p2 rootfstype=ext4 rootwait";
24                 stdout-path = "serial0:115200n8";
25         };
26
27         aliases {
28                 serial0 = &uart3;
29                 serial1 = &uart4;
30                 serial2 = &uart7;
31                 serial3 = &uart0;
32                 i2c0 = &i2c1;
33                 i2c1 = &i2c8;
34                 i2c2 = &i2c9;
35         };
36
37         clocks {
38                 slow_xtal {
39                         clock-frequency = <32768>;
40                 };
41
42                 main_xtal {
43                         clock-frequency = <24000000>;
44                 };
45         };
46
47         gpio_keys {
48                 compatible = "gpio-keys";
49
50                 pinctrl-names = "default";
51                 pinctrl-0 = <&pinctrl_key_gpio_default>;
52
53                 bp1 {
54                         label = "PB_USER";
55                         gpios = <&pioA PIN_PA12 GPIO_ACTIVE_LOW>;
56                         linux,code = <KEY_PROG1>;
57                         wakeup-source;
58                 };
59         };
60
61         leds {
62                 compatible = "gpio-leds";
63                 pinctrl-names = "default";
64                 pinctrl-0 = <&pinctrl_led_gpio_default>;
65                 status = "okay"; /* Conflict with pwm. */
66
67                 red_led {
68                         label = "red";
69                         gpios = <&pioA PIN_PB8 GPIO_ACTIVE_HIGH>;
70                 };
71
72                 green_led {
73                         label = "green";
74                         gpios = <&pioA PIN_PA13 GPIO_ACTIVE_HIGH>;
75                 };
76
77                 blue_led {
78                         label = "blue";
79                         gpios = <&pioA PIN_PD20 GPIO_ACTIVE_HIGH>;
80                         linux,default-trigger = "heartbeat";
81                 };
82         };
83
84         /* 512 M */
85         memory@60000000 {
86                 device_type = "memory";
87                 reg = <0x60000000 0x20000000>;
88         };
89
90         sound: sound {
91                 compatible = "simple-audio-card";
92                 simple-audio-card,name = "sama7g5ek audio";
93                 #address-cells = <1>;
94                 #size-cells = <0>;
95                 simple-audio-card,dai-link@0 {
96                         reg = <0>;
97                         cpu {
98                                 sound-dai = <&spdiftx>;
99                         };
100                         codec {
101                                 sound-dai = <&spdif_out>;
102                         };
103                 };
104                 simple-audio-card,dai-link@1 {
105                         reg = <1>;
106                         cpu {
107                                 sound-dai = <&spdifrx>;
108                         };
109                         codec {
110                                 sound-dai = <&spdif_in>;
111                         };
112                 };
113         };
114
115         spdif_in: spdif-in {
116                 #sound-dai-cells = <0>;
117                 compatible = "linux,spdif-dir";
118         };
119
120         spdif_out: spdif-out {
121                 #sound-dai-cells = <0>;
122                 compatible = "linux,spdif-dit";
123         };
124 };
125
126 &adc {
127         vddana-supply = <&vddout25>;
128         vref-supply = <&vddout25>;
129         pinctrl-names = "default";
130         pinctrl-0 = <&pinctrl_mikrobus1_an_default &pinctrl_mikrobus2_an_default>;
131         status = "okay";
132 };
133
134 &can0 {
135         pinctrl-names = "default";
136         pinctrl-0 = <&pinctrl_can0_default>;
137         status = "okay";
138 };
139
140 &can1 {
141         pinctrl-names = "default";
142         pinctrl-0 = <&pinctrl_can1_default>;
143         status = "okay";
144 };
145
146 &cpu0 {
147         cpu-supply = <&vddcpu>;
148 };
149
150 &qspi0 {
151         pinctrl-names = "default";
152         pinctrl-0 = <&pinctrl_qspi>;
153         status = "okay";
154
155         flash@0 {
156                 #address-cells = <1>;
157                 #size-cells = <1>;
158                 compatible = "jedec,spi-nor";
159                 reg = <0>;
160                 spi-max-frequency = <133000000>;
161                 spi-tx-bus-width = <8>;
162                 spi-rx-bus-width = <8>;
163                 m25p,fast-read;
164
165                 at91bootstrap@0 {
166                         label = "ospi: at91bootstrap";
167                         reg = <0x0 0x40000>;
168                 };
169
170                 bootloader@40000 {
171                         label = "ospi: bootloader";
172                         reg = <0x40000 0xc0000>;
173                 };
174
175                 bootloaderenvred@100000 {
176                         label = "ospi: bootloader env redundant";
177                         reg = <0x100000 0x40000>;
178                 };
179
180                 bootloaderenv@140000 {
181                         label = "ospi: bootloader env";
182                         reg = <0x140000 0x40000>;
183                 };
184
185                 dtb@180000 {
186                         label = "ospi: device tree";
187                         reg = <0x180000 0x80000>;
188                 };
189
190                 kernel@200000 {
191                         label = "ospi: kernel";
192                         reg = <0x200000 0x600000>;
193                 };
194
195                 rootfs@800000 {
196                         label = "ospi: rootfs";
197                         reg = <0x800000 0x7800000>;
198                 };
199
200         };
201 };
202
203 &dma0 {
204         status = "okay";
205 };
206
207 &dma1 {
208         status = "okay";
209 };
210
211 &dma2 {
212         status = "okay";
213 };
214
215 &flx0 {
216         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
217         status = "disabled";
218
219         uart0: serial@200 {
220                 pinctrl-names = "default";
221                 pinctrl-0 = <&pinctrl_flx0_default>;
222                 status = "disabled";
223         };
224 };
225
226 &flx1 {
227         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
228         status = "okay";
229
230         i2c1: i2c@600 {
231                 pinctrl-names = "default";
232                 pinctrl-0 = <&pinctrl_i2c1_default>;
233                 i2c-analog-filter;
234                 i2c-digital-filter;
235                 i2c-digital-filter-width-ns = <35>;
236                 status = "okay";
237
238                 mcp16502@5b {
239                         compatible = "microchip,mcp16502";
240                         reg = <0x5b>;
241                         status = "okay";
242
243                         regulators {
244                                 vdd_3v3: VDD_IO {
245                                         regulator-name = "VDD_IO";
246                                         regulator-min-microvolt = <1200000>;
247                                         regulator-max-microvolt = <3700000>;
248                                         regulator-initial-mode = <2>;
249                                         regulator-allowed-modes = <2>, <4>;
250                                         regulator-always-on;
251
252                                         regulator-state-standby {
253                                                 regulator-on-in-suspend;
254                                                 regulator-suspend-microvolt = <3300000>;
255                                                 regulator-mode = <4>;
256                                         };
257
258                                         regulator-state-mem {
259                                                 regulator-off-in-suspend;
260                                                 regulator-mode = <4>;
261                                         };
262                                 };
263
264                                 vddioddr: VDD_DDR {
265                                         regulator-name = "VDD_DDR";
266                                         regulator-min-microvolt = <1300000>;
267                                         regulator-max-microvolt = <1450000>;
268                                         regulator-initial-mode = <2>;
269                                         regulator-allowed-modes = <2>, <4>;
270                                         regulator-always-on;
271
272                                         regulator-state-standby {
273                                                 regulator-on-in-suspend;
274                                                 regulator-suspend-microvolt = <1350000>;
275                                                 regulator-mode = <4>;
276                                         };
277
278                                         regulator-state-mem {
279                                                 regulator-on-in-suspend;
280                                                 regulator-suspend-microvolt = <1350000>;
281                                                 regulator-mode = <4>;
282                                         };
283                                 };
284
285                                 vddcore: VDD_CORE {
286                                         regulator-name = "VDD_CORE";
287                                         regulator-min-microvolt = <1100000>;
288                                         regulator-max-microvolt = <1850000>;
289                                         regulator-initial-mode = <2>;
290                                         regulator-allowed-modes = <2>, <4>;
291                                         regulator-always-on;
292
293                                         regulator-state-standby {
294                                                 regulator-on-in-suspend;
295                                                 regulator-suspend-voltage = <1150000>;
296                                                 regulator-mode = <4>;
297                                         };
298
299                                         regulator-state-mem {
300                                                 regulator-off-in-suspend;
301                                                 regulator-mode = <4>;
302                                         };
303                                 };
304
305                                 vddcpu: VDD_OTHER {
306                                         regulator-name = "VDD_OTHER";
307                                         regulator-min-microvolt = <1050000>;
308                                         regulator-max-microvolt = <1850000>;
309                                         regulator-initial-mode = <2>;
310                                         regulator-allowed-modes = <2>, <4>;
311                                         regulator-ramp-delay = <3125>;
312                                         regulator-always-on;
313
314                                         regulator-state-standby {
315                                                 regulator-on-in-suspend;
316                                                 regulator-suspend-voltage = <1050000>;
317                                                 regulator-mode = <4>;
318                                         };
319
320                                         regulator-state-mem {
321                                                 regulator-off-in-suspend;
322                                                 regulator-mode = <4>;
323                                         };
324                                 };
325
326                                 vldo1: LDO1 {
327                                         regulator-name = "LDO1";
328                                         regulator-min-microvolt = <1200000>;
329                                         regulator-max-microvolt = <3700000>;
330                                         regulator-always-on;
331
332                                         regulator-state-standby {
333                                                 regulator-suspend-voltage = <1800000>;
334                                                 regulator-on-in-suspend;
335                                         };
336
337                                         regulator-state-mem {
338                                                 regulator-off-in-suspend;
339                                         };
340                                 };
341
342                                 vldo2: LDO2 {
343                                         regulator-name = "LDO2";
344                                         regulator-min-microvolt = <1200000>;
345                                         regulator-max-microvolt = <3700000>;
346
347                                         regulator-state-standby {
348                                                 regulator-suspend-voltage = <1800000>;
349                                                 regulator-on-in-suspend;
350                                         };
351
352                                         regulator-state-mem {
353                                                 regulator-off-in-suspend;
354                                         };
355                                 };
356                         };
357                 };
358         };
359 };
360
361 &flx3 {
362         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
363         status = "okay";
364
365         uart3: serial@200 {
366                 pinctrl-names = "default";
367                 pinctrl-0 = <&pinctrl_flx3_default>;
368                 status = "okay";
369         };
370 };
371
372 &flx4 {
373         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
374         status = "okay";
375
376         uart4: serial@200 {
377                 pinctrl-names = "default";
378                 pinctrl-0 = <&pinctrl_flx4_default>;
379                 status = "okay";
380         };
381 };
382
383 &flx7 {
384         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
385         status = "okay";
386
387         uart7: serial@200 {
388                 pinctrl-names = "default";
389                 pinctrl-0 = <&pinctrl_flx7_default>;
390                 status = "okay";
391         };
392 };
393
394 &flx8 {
395         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
396         status = "okay";
397
398         i2c8: i2c@600 {
399                 pinctrl-names = "default";
400                 pinctrl-0 = <&pinctrl_i2c8_default>;
401                 i2c-analog-filter;
402                 i2c-digital-filter;
403                 i2c-digital-filter-width-ns = <35>;
404                 status = "okay";
405         };
406 };
407
408 &flx9 {
409         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
410         status = "okay";
411
412         i2c9: i2c@600 {
413                 pinctrl-names = "default";
414                 pinctrl-0 = <&pinctrl_i2c9_default>;
415                 i2c-analog-filter;
416                 i2c-digital-filter;
417                 i2c-digital-filter-width-ns = <35>;
418                 status = "okay";
419         };
420 };
421
422 &flx11 {
423         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
424         status = "okay";
425
426         spi11: spi@400 {
427                 pinctrl-names = "default";
428                 pinctrl-0 = <&pinctrl_mikrobus1_spi &pinctrl_mikrobus1_spi_cs>;
429                 status = "okay";
430         };
431 };
432
433 &gmac0 {
434         #address-cells = <1>;
435         #size-cells = <0>;
436         pinctrl-names = "default";
437         pinctrl-0 = <&pinctrl_gmac0_default
438                      &pinctrl_gmac0_mdio_default
439                      &pinctrl_gmac0_txck_default
440                      &pinctrl_gmac0_phy_irq>;
441         phy-mode = "rgmii-id";
442         status = "okay";
443
444         ethernet-phy@7 {
445                 reg = <0x7>;
446                 interrupt-parent = <&pioA>;
447                 interrupts = <PIN_PA31 IRQ_TYPE_LEVEL_LOW>;
448         };
449 };
450
451 &gmac1 {
452         #address-cells = <1>;
453         #size-cells = <0>;
454         pinctrl-names = "default";
455         pinctrl-0 = <&pinctrl_gmac1_default
456                      &pinctrl_gmac1_mdio_default
457                      &pinctrl_gmac1_phy_irq>;
458         phy-mode = "rmii";
459         status = "okay";
460
461         ethernet-phy@0 {
462                 reg = <0x0>;
463                 interrupt-parent = <&pioA>;
464                 interrupts = <PIN_PA21 IRQ_TYPE_LEVEL_LOW>;
465         };
466 };
467
468 &i2s0 {
469         pinctrl-names = "default";
470         pinctrl-0 = <&pinctrl_i2s0_default>;
471 };
472
473 &pioA {
474
475         pinctrl_can0_default: can0_default {
476                 pinmux = <PIN_PD12__CANTX0>,
477                          <PIN_PD13__CANRX0 >;
478                 bias-disable;
479         };
480
481         pinctrl_can1_default: can1_default {
482                 pinmux = <PIN_PD14__CANTX1>,
483                          <PIN_PD15__CANRX1 >;
484                 bias-disable;
485         };
486
487         pinctrl_flx0_default: flx0_default {
488                 pinmux = <PIN_PE3__FLEXCOM0_IO0>,
489                          <PIN_PE4__FLEXCOM0_IO1>,
490                          <PIN_PE6__FLEXCOM0_IO3>,
491                          <PIN_PE7__FLEXCOM0_IO4>;
492                 bias-disable;
493         };
494
495         pinctrl_flx3_default: flx3_default {
496                 pinmux = <PIN_PD16__FLEXCOM3_IO0>,
497                          <PIN_PD17__FLEXCOM3_IO1>;
498                 bias-pull-up;
499         };
500
501         pinctrl_flx4_default: flx4_default {
502                 pinmux = <PIN_PD18__FLEXCOM4_IO0>,
503                          <PIN_PD19__FLEXCOM4_IO1>;
504                 bias-disable;
505         };
506
507         pinctrl_flx7_default: flx7_default {
508                 pinmux = <PIN_PC23__FLEXCOM7_IO0>,
509                          <PIN_PC24__FLEXCOM7_IO1>;
510                 bias-disable;
511         };
512
513         pinctrl_gmac0_default: gmac0_default {
514                 pinmux = <PIN_PA16__G0_TX0>,
515                          <PIN_PA17__G0_TX1>,
516                          <PIN_PA26__G0_TX2>,
517                          <PIN_PA27__G0_TX3>,
518                          <PIN_PA19__G0_RX0>,
519                          <PIN_PA20__G0_RX1>,
520                          <PIN_PA28__G0_RX2>,
521                          <PIN_PA29__G0_RX3>,
522                          <PIN_PA15__G0_TXEN>,
523                          <PIN_PA30__G0_RXCK>,
524                          <PIN_PA18__G0_RXDV>,
525                          <PIN_PA25__G0_125CK>;
526                 slew-rate = <0>;
527                 bias-disable;
528         };
529
530         pinctrl_gmac0_mdio_default: gmac0_mdio_default {
531                 pinmux = <PIN_PA22__G0_MDC>,
532                          <PIN_PA23__G0_MDIO>;
533                 bias-disable;
534         };
535
536         pinctrl_gmac0_txck_default: gmac0_txck_default {
537                 pinmux = <PIN_PA24__G0_TXCK>;
538                 slew-rate = <0>;
539                 bias-pull-up;
540         };
541
542         pinctrl_gmac0_phy_irq: gmac0_phy_irq {
543                 pinmux = <PIN_PA31__GPIO>;
544                 bias-disable;
545         };
546
547         pinctrl_gmac1_default: gmac1_default {
548                 pinmux = <PIN_PD30__G1_TXCK>,
549                          <PIN_PD22__G1_TX0>,
550                          <PIN_PD23__G1_TX1>,
551                          <PIN_PD21__G1_TXEN>,
552                          <PIN_PD25__G1_RX0>,
553                          <PIN_PD26__G1_RX1>,
554                          <PIN_PD27__G1_RXER>,
555                          <PIN_PD24__G1_RXDV>;
556                 slew-rate = <0>;
557                 bias-disable;
558         };
559
560         pinctrl_gmac1_mdio_default: gmac1_mdio_default {
561                 pinmux = <PIN_PD28__G1_MDC>,
562                          <PIN_PD29__G1_MDIO>;
563                 bias-disable;
564         };
565
566         pinctrl_gmac1_phy_irq: gmac1_phy_irq {
567                 pinmux = <PIN_PA21__GPIO>;
568                 bias-disable;
569         };
570
571         pinctrl_i2c1_default: i2c1_default {
572                 pinmux = <PIN_PC9__FLEXCOM1_IO0>,
573                          <PIN_PC10__FLEXCOM1_IO1>;
574                 bias-disable;
575         };
576
577         pinctrl_i2c8_default: i2c8_default {
578                 pinmux = <PIN_PC14__FLEXCOM8_IO0>,
579                          <PIN_PC13__FLEXCOM8_IO1>;
580                 bias-disable;
581         };
582
583         pinctrl_i2c9_default: i2c9_default {
584                 pinmux = <PIN_PC18__FLEXCOM9_IO0>,
585                          <PIN_PC19__FLEXCOM9_IO1>;
586                 bias-disable;
587         };
588
589         pinctrl_i2s0_default: i2s0_default {
590                 pinmux = <PIN_PB23__I2SMCC0_CK>,
591                          <PIN_PB24__I2SMCC0_WS>,
592                          <PIN_PB25__I2SMCC0_DOUT1>,
593                          <PIN_PB26__I2SMCC0_DOUT0>,
594                          <PIN_PB27__I2SMCC0_MCK>;
595                 bias-disable;
596         };
597
598         pinctrl_key_gpio_default: key_gpio_default {
599                 pinmux = <PIN_PA12__GPIO>;
600                 bias-pull-up;
601         };
602
603         pinctrl_led_gpio_default: led_gpio_default {
604                 pinmux = <PIN_PA13__GPIO>,
605                          <PIN_PB8__GPIO>,
606                          <PIN_PD20__GPIO>;
607                 bias-pull-up;
608         };
609
610         pinctrl_mikrobus1_an_default: mikrobus1_an_default {
611                 pinmux = <PIN_PD0__GPIO>;
612                 bias-disable;
613         };
614
615         pinctrl_mikrobus2_an_default: mikrobus2_an_default {
616                 pinmux = <PIN_PD1__GPIO>;
617                 bias-disable;
618         };
619
620         pinctrl_mikrobus1_pwm2_default: mikrobus1_pwm2_default {
621                 pinmux = <PIN_PA13__PWMH2>;
622                 bias-disable;
623         };
624
625         pinctrl_mikrobus2_pwm3_default: mikrobus2_pwm3_default {
626                 pinmux = <PIN_PD20__PWMH3>;
627                 bias-disable;
628         };
629
630         pinctrl_mikrobus1_spi_cs: mikrobus1_spi_cs {
631                 pinmux = <PIN_PB6__FLEXCOM11_IO3>;
632                 bias-disable;
633         };
634
635         pinctrl_mikrobus1_spi: mikrobus1_spi {
636                 pinmux = <PIN_PB3__FLEXCOM11_IO0>,
637                          <PIN_PB4__FLEXCOM11_IO1>,
638                          <PIN_PB5__FLEXCOM11_IO2>;
639                 bias-disable;
640         };
641
642         pinctrl_qspi: qspi {
643                 pinmux = <PIN_PB12__QSPI0_IO0>,
644                          <PIN_PB11__QSPI0_IO1>,
645                          <PIN_PB10__QSPI0_IO2>,
646                          <PIN_PB9__QSPI0_IO3>,
647                          <PIN_PB16__QSPI0_IO4>,
648                          <PIN_PB17__QSPI0_IO5>,
649                          <PIN_PB18__QSPI0_IO6>,
650                          <PIN_PB19__QSPI0_IO7>,
651                          <PIN_PB13__QSPI0_CS>,
652                          <PIN_PB14__QSPI0_SCK>,
653                          <PIN_PB15__QSPI0_SCKN>,
654                          <PIN_PB20__QSPI0_DQS>,
655                          <PIN_PB21__QSPI0_INT>;
656                 bias-disable;
657                 slew-rate = <0>;
658                 atmel,drive-strength = <ATMEL_PIO_DRVSTR_ME>;
659         };
660
661         pinctrl_sdmmc0_default: sdmmc0_default {
662                 cmd_data {
663                         pinmux = <PIN_PA1__SDMMC0_CMD>,
664                                  <PIN_PA3__SDMMC0_DAT0>,
665                                  <PIN_PA4__SDMMC0_DAT1>,
666                                  <PIN_PA5__SDMMC0_DAT2>,
667                                  <PIN_PA6__SDMMC0_DAT3>,
668                                  <PIN_PA7__SDMMC0_DAT4>,
669                                  <PIN_PA8__SDMMC0_DAT5>,
670                                  <PIN_PA9__SDMMC0_DAT6>,
671                                  <PIN_PA10__SDMMC0_DAT7>;
672                         slew-rate = <0>;
673                         bias-pull-up;
674                 };
675
676                 ck_cd_rstn_vddsel {
677                         pinmux = <PIN_PA0__SDMMC0_CK>,
678                                  <PIN_PA2__SDMMC0_RSTN>,
679                                  <PIN_PA11__SDMMC0_DS>;
680                         slew-rate = <0>;
681                         bias-pull-up;
682                 };
683         };
684
685         pinctrl_sdmmc1_default: sdmmc1_default {
686                 cmd_data {
687                         pinmux = <PIN_PB29__SDMMC1_CMD>,
688                                  <PIN_PB31__SDMMC1_DAT0>,
689                                  <PIN_PC0__SDMMC1_DAT1>,
690                                  <PIN_PC1__SDMMC1_DAT2>,
691                                  <PIN_PC2__SDMMC1_DAT3>;
692                         slew-rate = <0>;
693                         bias-pull-up;
694                 };
695
696                 ck_cd_rstn_vddsel {
697                         pinmux = <PIN_PB30__SDMMC1_CK>,
698                                  <PIN_PB28__SDMMC1_RSTN>,
699                                  <PIN_PC5__SDMMC1_1V8SEL>,
700                                  <PIN_PC4__SDMMC1_CD>;
701                         slew-rate = <0>;
702                         bias-pull-up;
703                 };
704         };
705
706         pinctrl_sdmmc2_default: sdmmc2_default {
707                 cmd_data {
708                         pinmux = <PIN_PD3__SDMMC2_CMD>,
709                                  <PIN_PD5__SDMMC2_DAT0>,
710                                  <PIN_PD6__SDMMC2_DAT1>,
711                                  <PIN_PD7__SDMMC2_DAT2>,
712                                  <PIN_PD8__SDMMC2_DAT3>;
713                         slew-rate = <0>;
714                         bias-pull-up;
715                 };
716
717                 ck {
718                         pinmux = <PIN_PD4__SDMMC2_CK>;
719                         slew-rate = <0>;
720                         bias-pull-up;
721                 };
722         };
723
724         pinctrl_spdifrx_default: spdifrx_default {
725                 pinmux = <PIN_PB0__SPDIF_RX>;
726                 bias-disable;
727         };
728
729         pinctrl_spdiftx_default: spdiftx_default {
730                 pinmux = <PIN_PB1__SPDIF_TX>;
731                 bias-disable;
732         };
733 };
734
735 &pwm {
736         pinctrl-names = "default";
737         pinctrl-0 = <&pinctrl_mikrobus1_pwm2_default &pinctrl_mikrobus2_pwm3_default>;
738         status = "disabled"; /* Conflict with leds. */
739 };
740
741 &rtt {
742         atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
743 };
744
745 &sdmmc0 {
746         bus-width = <8>;
747         non-removable;
748         no-1-8-v;
749         sdhci-caps-mask = <0x0 0x00200000>;
750         pinctrl-names = "default";
751         pinctrl-0 = <&pinctrl_sdmmc0_default>;
752         status = "okay";
753 };
754
755 &sdmmc1 {
756         bus-width = <4>;
757         no-1-8-v;
758         sdhci-caps-mask = <0x0 0x00200000>;
759         pinctrl-names = "default";
760         pinctrl-0 = <&pinctrl_sdmmc1_default>;
761         status = "okay";
762 };
763
764 &sdmmc2 {
765         bus-width = <4>;
766         no-1-8-v;
767         sdhci-caps-mask = <0x0 0x00200000>;
768         pinctrl-names = "default";
769         pinctrl-0 = <&pinctrl_sdmmc2_default>;
770 };
771
772 &shdwc {
773         atmel,shdwc-debouncer = <976>;
774         status = "okay";
775
776         input@0 {
777                 reg = <0>;
778         };
779 };
780
781 &spdifrx {
782         pinctrl-names = "default";
783         pinctrl-0 = <&pinctrl_spdifrx_default>;
784         status = "okay";
785 };
786
787 &spdiftx {
788         pinctrl-names = "default";
789         pinctrl-0 = <&pinctrl_spdiftx_default>;
790         status = "okay";
791 };
792
793 &tcb0 {
794         timer0: timer@0 {
795                 compatible = "atmel,tcb-timer";
796                 reg = <0>;
797         };
798
799         timer1: timer@1 {
800                 compatible = "atmel,tcb-timer";
801                 reg = <1>;
802         };
803 };
804
805 &trng {
806         status = "okay";
807 };
808
809 &vddout25 {
810         vin-supply = <&vdd_3v3>;
811         status = "okay";
812 };