at91-sama5d2_icp.dts 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board
  4. *
  5. * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
  6. *
  7. * Author: Radu Pirea & Razvan Stefanescu,
  8. * Codrin Ciubotariu <[email protected]>,
  9. * Cristian Birsan <[email protected]>
  10. */
  11. /dts-v1/;
  12. #include "sama5d2.dtsi"
  13. #include "sama5d2-pinfunc.h"
  14. #include <dt-bindings/gpio/gpio.h>
  15. #include <dt-bindings/input/input.h>
  16. #include <dt-bindings/mfd/atmel-flexcom.h>
  17. / {
  18. model = "Microchip SAMA5D2-ICP";
  19. compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
  20. aliases {
  21. serial0 = &uart0; /* debug uart0 + mikro BUS 1 */
  22. serial1 = &uart1; /* mikro BUS 3 */
  23. serial3 = &uart3; /* mikro BUS 2 */
  24. serial5 = &uart7; /* flx2 */
  25. i2c0 = &i2c0;
  26. i2c1 = &i2c1;
  27. };
  28. chosen {
  29. stdout-path = "serial0:115200n8";
  30. };
  31. clocks {
  32. slow_xtal {
  33. clock-frequency = <32768>;
  34. };
  35. main_xtal {
  36. clock-frequency = <12000000>;
  37. };
  38. };
  39. gpio-keys {
  40. compatible = "gpio-keys";
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&pinctrl_key_gpio_default>;
  43. button-1 {
  44. label = "USER_PB1";
  45. gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>;
  46. linux,code = <KEY_PROG1>;
  47. wakeup-source;
  48. };
  49. };
  50. leds {
  51. compatible = "gpio-leds";
  52. pinctrl-names = "default";
  53. pinctrl-0 = <&pinctrl_led_gpio_default>;
  54. status = "okay"; /* conflict with pwm0 */
  55. red {
  56. label = "red";
  57. gpios = <&pioA PIN_PB0 GPIO_ACTIVE_HIGH>;
  58. };
  59. green {
  60. label = "green";
  61. gpios = <&pioA PIN_PB1 GPIO_ACTIVE_HIGH>;
  62. };
  63. blue {
  64. label = "blue";
  65. gpios = <&pioA PIN_PA31 GPIO_ACTIVE_HIGH>;
  66. linux,default-trigger = "heartbeat";
  67. };
  68. };
  69. };
  70. &adc {
  71. vddana-supply = <&vdd_io_reg>;
  72. vref-supply = <&vdd_io_reg>;
  73. pinctrl-names = "default";
  74. pinctrl-0 = <&pinctrl_adc_default &pinctrl_adtrg_default>;
  75. status = "okay";
  76. };
  77. &can0 {
  78. pinctrl-names = "default";
  79. pinctrl-0 = <&pinctrl_can0_default>;
  80. status = "okay";
  81. };
  82. &can1 {
  83. pinctrl-names = "default";
  84. pinctrl-0 = <&pinctrl_can1_default>;
  85. status = "okay";
  86. };
  87. &flx0 { /* mikrobus2 spi */
  88. atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
  89. status = "okay";
  90. spi2: spi@400 {
  91. dmas = <0>, <0>;
  92. cs-gpios = <&pioA PIN_PC0 GPIO_ACTIVE_LOW>;
  93. pinctrl-names = "default";
  94. pinctrl-0 = <&pinctrl_mikrobus2_spi &pinctrl_ksz_spi_cs>;
  95. status = "okay";
  96. #address-cells = <1>;
  97. #size-cells = <0>;
  98. switch0: ksz8563@0 {
  99. compatible = "microchip,ksz8563";
  100. reg = <0>;
  101. reset-gpios = <&pioA PIN_PD4 GPIO_ACTIVE_LOW>;
  102. spi-max-frequency = <500000>;
  103. spi-cpha;
  104. spi-cpol;
  105. ports {
  106. #address-cells = <1>;
  107. #size-cells = <0>;
  108. port@0 {
  109. reg = <0>;
  110. label = "lan1";
  111. };
  112. port@1 {
  113. reg = <1>;
  114. label = "lan2";
  115. };
  116. port@2 {
  117. reg = <2>;
  118. label = "cpu";
  119. ethernet = <&macb0>;
  120. phy-mode = "mii";
  121. fixed-link {
  122. speed = <100>;
  123. full-duplex;
  124. };
  125. };
  126. };
  127. };
  128. };
  129. };
  130. &flx2 {
  131. atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
  132. status = "okay";
  133. uart7: serial@200 {
  134. pinctrl-0 = <&pinctrl_flx2_default>;
  135. pinctrl-names = "default";
  136. atmel,use-dma-rx;
  137. atmel,use-dma-tx;
  138. status = "okay"; /* Conflict w/ qspi1. */
  139. };
  140. };
  141. &flx3 { /* mikrobus1 spi */
  142. atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
  143. status = "okay";
  144. spi5: spi@400 {
  145. dmas = <0>, <0>;
  146. pinctrl-names = "default";
  147. pinctrl-0 = <&pinctrl_mikrobus1_spi &pinctrl_mikrobus1_spi_cs>;
  148. status = "okay";
  149. };
  150. };
  151. &flx4 {
  152. atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
  153. status = "okay";
  154. i2c6: i2c@600 {
  155. dmas = <0>, <0>;
  156. pinctrl-names = "default";
  157. pinctrl-0 = <&pinctrl_flx4_default>;
  158. i2c-digital-filter;
  159. i2c-digital-filter-width-ns = <35>;
  160. status = "okay";
  161. mcp16502@5b {
  162. compatible = "microchip,mcp16502";
  163. reg = <0x5b>;
  164. status = "okay";
  165. lpm-gpios = <&pioBU 7 GPIO_ACTIVE_LOW>;
  166. regulators {
  167. vdd_io_reg: VDD_IO {
  168. regulator-name = "VDD_IO";
  169. regulator-min-microvolt = <3300000>;
  170. regulator-max-microvolt = <3300000>;
  171. regulator-initial-mode = <2>;
  172. regulator-allowed-modes = <2>, <4>;
  173. regulator-always-on;
  174. regulator-state-standby {
  175. regulator-on-in-suspend;
  176. regulator-mode = <4>;
  177. };
  178. regulator-state-mem {
  179. regulator-off-in-suspend;
  180. regulator-mode = <4>;
  181. };
  182. };
  183. VDD_DDR {
  184. regulator-name = "VDD_DDR";
  185. regulator-min-microvolt = <1350000>;
  186. regulator-max-microvolt = <1350000>;
  187. regulator-initial-mode = <2>;
  188. regulator-allowed-modes = <2>, <4>;
  189. regulator-always-on;
  190. regulator-state-standby {
  191. regulator-on-in-suspend;
  192. regulator-mode = <4>;
  193. };
  194. regulator-state-mem {
  195. regulator-on-in-suspend;
  196. regulator-mode = <4>;
  197. };
  198. };
  199. VDD_CORE {
  200. regulator-name = "VDD_CORE";
  201. regulator-min-microvolt = <1250000>;
  202. regulator-max-microvolt = <1250000>;
  203. regulator-initial-mode = <2>;
  204. regulator-allowed-modes = <2>, <4>;
  205. regulator-always-on;
  206. regulator-state-standby {
  207. regulator-on-in-suspend;
  208. regulator-mode = <4>;
  209. };
  210. regulator-state-mem {
  211. regulator-off-in-suspend;
  212. regulator-mode = <4>;
  213. };
  214. };
  215. VDD_OTHER {
  216. regulator-name = "VDD_OTHER";
  217. regulator-min-microvolt = <600000>;
  218. regulator-max-microvolt = <1850000>;
  219. regulator-initial-mode = <2>;
  220. regulator-allowed-modes = <2>, <4>;
  221. regulator-state-standby {
  222. regulator-on-in-suspend;
  223. regulator-mode = <4>;
  224. };
  225. regulator-state-mem {
  226. regulator-off-in-suspend;
  227. regulator-mode = <4>;
  228. };
  229. };
  230. LDO1 {
  231. regulator-name = "LDO1";
  232. regulator-min-microvolt = <2500000>;
  233. regulator-max-microvolt = <2500000>;
  234. regulator-always-on;
  235. regulator-state-standby {
  236. regulator-on-in-suspend;
  237. };
  238. regulator-state-mem {
  239. regulator-off-in-suspend;
  240. };
  241. };
  242. LDO2 {
  243. regulator-name = "LDO2";
  244. regulator-min-microvolt = <3300000>;
  245. regulator-max-microvolt = <3300000>;
  246. regulator-always-on;
  247. regulator-state-standby {
  248. regulator-on-in-suspend;
  249. };
  250. regulator-state-mem {
  251. regulator-off-in-suspend;
  252. };
  253. };
  254. };
  255. };
  256. };
  257. };
  258. &i2c0 { /* mikrobus i2c */
  259. pinctrl-names = "default", "gpio";
  260. pinctrl-0 = <&pinctrl_mikrobus_i2c>;
  261. pinctrl-1 = <&pinctrl_i2c0_gpio>;
  262. sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>;
  263. scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  264. i2c-digital-filter;
  265. i2c-digital-filter-width-ns = <35>;
  266. status = "okay";
  267. };
  268. &i2c1 {
  269. dmas = <0>, <0>;
  270. pinctrl-names = "default", "gpio";
  271. pinctrl-0 = <&pinctrl_i2c1_default>;
  272. pinctrl-1 = <&pinctrl_i2c1_gpio>;
  273. sda-gpios = <&pioA PIN_PD19 GPIO_ACTIVE_HIGH>;
  274. scl-gpios = <&pioA PIN_PD20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  275. i2c-digital-filter;
  276. i2c-digital-filter-width-ns = <35>;
  277. status = "okay";
  278. eeprom@50 {
  279. compatible = "atmel,24c02";
  280. reg = <0x50>;
  281. pagesize = <16>;
  282. status = "okay";
  283. };
  284. eeprom@52 {
  285. compatible = "atmel,24c02";
  286. reg = <0x52>;
  287. pagesize = <16>;
  288. status = "disabled";
  289. };
  290. eeprom@53 {
  291. compatible = "atmel,24c02";
  292. reg = <0x53>;
  293. pagesize = <16>;
  294. status = "disabled";
  295. };
  296. };
  297. &macb0 {
  298. pinctrl-names = "default";
  299. pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq &pinctrl_macb0_rst>;
  300. phy-mode = "mii";
  301. status = "okay";
  302. fixed-link {
  303. speed = <100>;
  304. full-duplex;
  305. };
  306. };
  307. &pioA {
  308. pinctrl_adc_default: adc_default {
  309. pinmux = <PIN_PD24__GPIO>,
  310. <PIN_PD25__GPIO>,
  311. <PIN_PD26__GPIO>;
  312. bias-disable;
  313. };
  314. /*
  315. * The ADTRG pin can work on any edge type.
  316. * In here it's being pulled up, so need to
  317. * connect it to ground to get an edge e.g.
  318. * Trigger can be configured on falling, rise
  319. * or any edge, and the pull-up can be changed
  320. * to pull-down or left floating according to
  321. * needs.
  322. */
  323. pinctrl_adtrg_default: adtrg_default {
  324. pinmux = <PIN_PD31__ADTRG>;
  325. bias-pull-up;
  326. };
  327. pinctrl_flx4_default: flx4_default {
  328. pinmux = <PIN_PC28__FLEXCOM4_IO0>,
  329. <PIN_PC29__FLEXCOM4_IO1>;
  330. bias-disable;
  331. };
  332. pinctrl_can0_default: can0_default {
  333. pinmux = <PIN_PC10__CANTX0>,
  334. <PIN_PC11__CANRX0>;
  335. bias-disable;
  336. };
  337. pinctrl_can1_default: can1_default {
  338. pinmux = <PIN_PC26__CANTX1>,
  339. <PIN_PC27__CANRX1>;
  340. bias-disable;
  341. };
  342. pinctrl_i2c1_default: i2c1_default {
  343. pinmux = <PIN_PD19__TWD1>,
  344. <PIN_PD20__TWCK1>;
  345. bias-disable;
  346. };
  347. pinctrl_i2c1_gpio: i2c1_gpio {
  348. pinmux = <PIN_PD19__GPIO>,
  349. <PIN_PD20__GPIO>;
  350. bias-disable;
  351. };
  352. pinctrl_key_gpio_default: key_gpio_default {
  353. pinmux = <PIN_PD0__GPIO>;
  354. bias-pull-up;
  355. };
  356. pinctrl_led_gpio_default: led_gpio_default {
  357. pinmux = <PIN_PB0__GPIO>,
  358. <PIN_PB1__GPIO>,
  359. <PIN_PA31__GPIO>;
  360. bias-pull-up;
  361. };
  362. pinctrl_qspi1_default: qspi1_default {
  363. pinmux = <PIN_PA6__QSPI1_SCK>,
  364. <PIN_PA7__QSPI1_IO0>,
  365. <PIN_PA8__QSPI1_IO1>,
  366. <PIN_PA9__QSPI1_IO2>,
  367. <PIN_PA10__QSPI1_IO3>,
  368. <PIN_PA11__QSPI1_CS>;
  369. bias-disable;
  370. };
  371. pinctrl_sdmmc0_default: sdmmc0_default {
  372. cmd_data {
  373. pinmux = <PIN_PA1__SDMMC0_CMD>,
  374. <PIN_PA2__SDMMC0_DAT0>,
  375. <PIN_PA3__SDMMC0_DAT1>,
  376. <PIN_PA4__SDMMC0_DAT2>,
  377. <PIN_PA5__SDMMC0_DAT3>;
  378. bias-disable;
  379. };
  380. ck_cd {
  381. pinmux = <PIN_PA0__SDMMC0_CK>,
  382. <PIN_PA13__SDMMC0_CD>;
  383. bias-disable;
  384. };
  385. };
  386. pinctrl_sdmmc1_default: sdmmc1_default {
  387. cmd_data {
  388. pinmux = <PIN_PA18__SDMMC1_DAT0>,
  389. <PIN_PA19__SDMMC1_DAT1>,
  390. <PIN_PA20__SDMMC1_DAT2>,
  391. <PIN_PA21__SDMMC1_DAT3>;
  392. bias-disable;
  393. };
  394. ck_cd {
  395. pinmux = <PIN_PA22__SDMMC1_CK>,
  396. <PIN_PA28__SDMMC1_CMD>;
  397. bias-disable;
  398. };
  399. };
  400. pinctrl_mikrobus_i2c: mikrobus_i2c {
  401. pinmux = <PIN_PD22__TWCK0>,
  402. <PIN_PD21__TWD0>;
  403. bias-disable;
  404. };
  405. pinctrl_i2c0_gpio: i2c0_gpio {
  406. pinmux = <PIN_PD21__GPIO>,
  407. <PIN_PD22__GPIO>;
  408. bias-disable;
  409. };
  410. pinctrl_mikrobus1_an: mikrobus1_an {
  411. pinmux = <PIN_PD26__GPIO>;
  412. bias-disable;
  413. };
  414. pinctrl_mikrobus1_rst: mikrobus1_rst {
  415. pinmux = <PIN_PC5__GPIO>;
  416. bias-disable;
  417. };
  418. pinctrl_mikrobus1_spi_cs: mikrobus1_spi_cs {
  419. pinmux = <PIN_PC21__FLEXCOM3_IO3>;
  420. bias-disable;
  421. };
  422. pinctrl_mikrobus1_spi: mikrobus1_spi {
  423. pinmux = <PIN_PC20__FLEXCOM3_IO0>,
  424. <PIN_PC19__FLEXCOM3_IO1>,
  425. <PIN_PC18__FLEXCOM3_IO2>;
  426. bias-disable;
  427. };
  428. pinctrl_mikrobus1_pwm: mikrobus1_pwm {
  429. pinmux = <PIN_PC4__TIOB1>;
  430. bias-disable;
  431. };
  432. pinctrl_mikrobus1_int: mikrobus1_int {
  433. pinmux = <PIN_PC3__GPIO>;
  434. bias-disable;
  435. };
  436. pinctrl_mikrobus1_uart: mikrobus1_uart {
  437. pinmux = <PIN_PB26__URXD0>,
  438. <PIN_PB27__UTXD0>;
  439. bias-disable;
  440. };
  441. pinctrl_mikrobus2_an: mikrobus2_an {
  442. pinmux = <PIN_PD25__GPIO>;
  443. bias-disable;
  444. };
  445. pinctrl_mikrobus2_rst: mikrobus2_rst {
  446. pinmux = <PIN_PB24__GPIO>;
  447. bias-disable;
  448. };
  449. pinctrl_mikrobus2_spi_cs: mikrobus2_spi_cs {
  450. pinmux = <PIN_PB31__FLEXCOM0_IO3>;
  451. bias-disable;
  452. };
  453. pinctrl_mikrobus2_spi: mikrobus2_spi {
  454. pinmux = <PIN_PB28__FLEXCOM0_IO0>,
  455. <PIN_PB29__FLEXCOM0_IO1>,
  456. <PIN_PB30__FLEXCOM0_IO2>;
  457. bias-disable;
  458. };
  459. pinctrl_ksz_spi_cs: ksz_spi_cs {
  460. pinmux = <PIN_PC0__GPIO>;
  461. bias-disable;
  462. };
  463. pinctrl_mikrobus2_pwm: mikrobus2_pwm {
  464. pinmux = <PIN_PB23__TIOB2>;
  465. bias-disable;
  466. };
  467. pinctrl_mikrobus2_int: mikrobus2_int {
  468. pinmux = <PIN_PB22__GPIO>;
  469. bias-disable;
  470. };
  471. pinctrl_mikrobus2_uart: mikrobus2_uart {
  472. pinmux = <PIN_PC12__URXD3>,
  473. <PIN_PC13__UTXD3>;
  474. bias-disable;
  475. };
  476. pinctrl_mikrobus3_an: mikrobus3_an {
  477. pinmux = <PIN_PD24__GPIO>;
  478. bias-disable;
  479. };
  480. pinctrl_mikrobus3_rst: mikrobus3_rst {
  481. pinmux = <PIN_PB21__GPIO>;
  482. bias-disable;
  483. };
  484. pinctrl_mikrobus3_spi_cs: mikrobus3_spi_cs {
  485. pinmux = <PIN_PA17__SPI0_NPCS0>;
  486. bias-disable;
  487. };
  488. pinctrl_mikrobus3_spi: mikrobus3_spi {
  489. pinmux = <PIN_PA14__SPI0_SPCK>,
  490. <PIN_PA16__SPI0_MISO>,
  491. <PIN_PA15__SPI0_MOSI>;
  492. bias-disable;
  493. };
  494. pinctrl_mikrobus3_pwm: mikrobus3_pwm {
  495. pinmux = <PIN_PB20__TIOB3>;
  496. bias-disable;
  497. };
  498. pinctrl_mikrobus3_int: mikrobus3_int {
  499. pinmux = <PIN_PB18__GPIO>;
  500. bias-disable;
  501. };
  502. pinctrl_mikrobus3_uart: mikrobus3_uart {
  503. pinmux = <PIN_PC7__URXD1>,
  504. <PIN_PC8__UTXD1>;
  505. bias-disable;
  506. };
  507. pinctrl_usb_default: usb_default {
  508. pinmux = <PIN_PC17__GPIO>;
  509. bias-disable;
  510. };
  511. pinctrl_usba_vbus: usba_vbus {
  512. pinmux = <PIN_PD23__GPIO>;
  513. bias-disable;
  514. };
  515. pinctrl_pwm0_pwm2_default: pwm0_pwm2_default {
  516. pinmux = <PIN_PB5__PWMH2>,
  517. <PIN_PB6__PWML2>;
  518. bias-pull-up;
  519. };
  520. pinctrl_macb0_default: macb0_default {
  521. pinmux = <PIN_PD1__GRXCK>,
  522. <PIN_PD2__GTXER>,
  523. <PIN_PD5__GRX2>,
  524. <PIN_PD6__GRX3>,
  525. <PIN_PD7__GTX2>,
  526. <PIN_PD8__GTX3>,
  527. <PIN_PD9__GTXCK>,
  528. <PIN_PD10__GTXEN>,
  529. <PIN_PD11__GRXDV>,
  530. <PIN_PD12__GRXER>,
  531. <PIN_PD13__GRX0>,
  532. <PIN_PD14__GRX1>,
  533. <PIN_PD15__GTX0>,
  534. <PIN_PD16__GTX1>,
  535. <PIN_PD17__GMDC>,
  536. <PIN_PD18__GMDIO>;
  537. bias-disable;
  538. };
  539. pinctrl_macb0_phy_irq: macb0_phy_irq {
  540. pinmux = <PIN_PD3__GPIO>;
  541. bias-disable;
  542. };
  543. pinctrl_macb0_rst: macb0_sw_rst {
  544. pinmux = <PIN_PD4__GPIO>;
  545. bias-disable;
  546. };
  547. pinctrl_flx2_default: flx2_default {
  548. pinmux = <PIN_PA6__FLEXCOM2_IO0>,
  549. <PIN_PA7__FLEXCOM2_IO1>,
  550. <PIN_PA9__FLEXCOM2_IO3>,
  551. <PIN_PA10__FLEXCOM2_IO4>;
  552. bias-disable;
  553. };
  554. };
  555. &pwm0 {
  556. pinctrl-names = "default";
  557. pinctrl-0 = <&pinctrl_pwm0_pwm2_default>;
  558. status = "disabled"; /* conflict with leds, HSIC */
  559. };
  560. &qspi1 {
  561. pinctrl-names = "default";
  562. pinctrl-0 = <&pinctrl_qspi1_default>;
  563. status = "disabled"; /* Conflict with wilc_pwrseq, flx2 */
  564. flash@0 {
  565. #address-cells = <1>;
  566. #size-cells = <1>;
  567. compatible = "jedec,spi-nor";
  568. reg = <0>;
  569. spi-max-frequency = <80000000>;
  570. spi-tx-bus-width = <4>;
  571. spi-rx-bus-width = <4>;
  572. m25p,fast-read;
  573. at91bootstrap@0 {
  574. label = "qspi: at91bootstrap";
  575. reg = <0x00000000 0x00040000>;
  576. };
  577. bootloader@40000 {
  578. label = "qspi: bootloader";
  579. reg = <0x00040000 0x000c0000>;
  580. };
  581. bootloaderenvred@100000 {
  582. label = "qspi: bootloader env redundant";
  583. reg = <0x00100000 0x00040000>;
  584. };
  585. bootloaderenv@140000 {
  586. label = "qspi: bootloader env";
  587. reg = <0x00140000 0x00040000>;
  588. };
  589. dtb@180000 {
  590. label = "qspi: device tree";
  591. reg = <0x00180000 0x00080000>;
  592. };
  593. kernel@200000 {
  594. label = "qspi: kernel";
  595. reg = <0x00200000 0x00600000>;
  596. };
  597. };
  598. };
  599. &sdmmc0 {
  600. no-1-8-v;
  601. bus-width = <4>;
  602. pinctrl-names = "default";
  603. pinctrl-0 = <&pinctrl_sdmmc0_default>;
  604. status = "okay";
  605. };
  606. &shutdown_controller {
  607. debounce-delay-us = <976>;
  608. atmel,wakeup-rtc-timer;
  609. input@0 {
  610. reg = <0>;
  611. };
  612. };
  613. &spi0 { /* mikrobus3 spi */
  614. pinctrl-names = "default";
  615. pinctrl-0 = <&pinctrl_mikrobus3_spi &pinctrl_mikrobus3_spi_cs>;
  616. status = "okay";
  617. };
  618. &tcb0 {
  619. timer0: timer@0 {
  620. compatible = "atmel,tcb-timer";
  621. reg = <0>;
  622. };
  623. timer1: timer@1 {
  624. compatible = "atmel,tcb-timer";
  625. reg = <1>;
  626. };
  627. };
  628. &uart0 {
  629. pinctrl-names = "default";
  630. pinctrl-0 = <&pinctrl_mikrobus1_uart>;
  631. atmel,use-dma-rx;
  632. atmel,use-dma-tx;
  633. status = "okay";
  634. };
  635. &uart1 {
  636. pinctrl-names = "default";
  637. pinctrl-0 = <&pinctrl_mikrobus3_uart>;
  638. atmel,use-dma-rx;
  639. atmel,use-dma-tx;
  640. status = "okay";
  641. };
  642. &uart3 {
  643. pinctrl-names = "default";
  644. pinctrl-0 = <&pinctrl_mikrobus2_uart>;
  645. atmel,use-dma-rx;
  646. atmel,use-dma-tx;
  647. status = "okay";
  648. };
  649. &usb0 {
  650. atmel,vbus-gpio = <&pioA PIN_PD23 GPIO_ACTIVE_HIGH>;
  651. pinctrl-names = "default";
  652. pinctrl-0 = <&pinctrl_usba_vbus>;
  653. status = "okay";
  654. };
  655. &usb1 {
  656. num-ports = <3>;
  657. pinctrl-names = "default";
  658. pinctrl-0 = <&pinctrl_usb_default>;
  659. status = "okay";
  660. };
  661. &usb2 {
  662. phy_type = "hsic";
  663. status = "okay";
  664. };
  665. &watchdog {
  666. status = "okay";
  667. };