at91-sama7g5ek.dts 16 KB

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