zynqmp-zcu111-revA.dts 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * dts file for Xilinx ZynqMP ZCU111
  4. *
  5. * (C) Copyright 2017 - 2021, Xilinx, Inc.
  6. *
  7. * Michal Simek <[email protected]>
  8. */
  9. /dts-v1/;
  10. #include "zynqmp.dtsi"
  11. #include "zynqmp-clk-ccf.dtsi"
  12. #include <dt-bindings/input/input.h>
  13. #include <dt-bindings/gpio/gpio.h>
  14. #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
  15. #include <dt-bindings/phy/phy.h>
  16. / {
  17. model = "ZynqMP ZCU111 RevA";
  18. compatible = "xlnx,zynqmp-zcu111-revA", "xlnx,zynqmp-zcu111", "xlnx,zynqmp";
  19. aliases {
  20. ethernet0 = &gem3;
  21. i2c0 = &i2c0;
  22. i2c1 = &i2c1;
  23. mmc0 = &sdhci1;
  24. nvmem0 = &eeprom;
  25. rtc0 = &rtc;
  26. serial0 = &uart0;
  27. serial1 = &dcc;
  28. spi0 = &qspi;
  29. usb0 = &usb0;
  30. };
  31. chosen {
  32. bootargs = "earlycon";
  33. stdout-path = "serial0:115200n8";
  34. };
  35. memory@0 {
  36. device_type = "memory";
  37. reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
  38. /* Another 4GB connected to PL */
  39. };
  40. gpio-keys {
  41. compatible = "gpio-keys";
  42. autorepeat;
  43. switch-19 {
  44. label = "sw19";
  45. gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
  46. linux,code = <KEY_DOWN>;
  47. wakeup-source;
  48. autorepeat;
  49. };
  50. };
  51. leds {
  52. compatible = "gpio-leds";
  53. heartbeat-led {
  54. label = "heartbeat";
  55. gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
  56. linux,default-trigger = "heartbeat";
  57. };
  58. };
  59. ina226-u67 {
  60. compatible = "iio-hwmon";
  61. io-channels = <&u67 0>, <&u67 1>, <&u67 2>, <&u67 3>;
  62. };
  63. ina226-u59 {
  64. compatible = "iio-hwmon";
  65. io-channels = <&u59 0>, <&u59 1>, <&u59 2>, <&u59 3>;
  66. };
  67. ina226-u61 {
  68. compatible = "iio-hwmon";
  69. io-channels = <&u61 0>, <&u61 1>, <&u61 2>, <&u61 3>;
  70. };
  71. ina226-u60 {
  72. compatible = "iio-hwmon";
  73. io-channels = <&u60 0>, <&u60 1>, <&u60 2>, <&u60 3>;
  74. };
  75. ina226-u64 {
  76. compatible = "iio-hwmon";
  77. io-channels = <&u64 0>, <&u64 1>, <&u64 2>, <&u64 3>;
  78. };
  79. ina226-u69 {
  80. compatible = "iio-hwmon";
  81. io-channels = <&u69 0>, <&u69 1>, <&u69 2>, <&u69 3>;
  82. };
  83. ina226-u66 {
  84. compatible = "iio-hwmon";
  85. io-channels = <&u66 0>, <&u66 1>, <&u66 2>, <&u66 3>;
  86. };
  87. ina226-u65 {
  88. compatible = "iio-hwmon";
  89. io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>;
  90. };
  91. ina226-u63 {
  92. compatible = "iio-hwmon";
  93. io-channels = <&u63 0>, <&u63 1>, <&u63 2>, <&u63 3>;
  94. };
  95. ina226-u3 {
  96. compatible = "iio-hwmon";
  97. io-channels = <&u3 0>, <&u3 1>, <&u3 2>, <&u3 3>;
  98. };
  99. ina226-u71 {
  100. compatible = "iio-hwmon";
  101. io-channels = <&u71 0>, <&u71 1>, <&u71 2>, <&u71 3>;
  102. };
  103. ina226-u77 {
  104. compatible = "iio-hwmon";
  105. io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>;
  106. };
  107. ina226-u73 {
  108. compatible = "iio-hwmon";
  109. io-channels = <&u73 0>, <&u73 1>, <&u73 2>, <&u73 3>;
  110. };
  111. ina226-u79 {
  112. compatible = "iio-hwmon";
  113. io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>;
  114. };
  115. /* 48MHz reference crystal */
  116. ref48: ref48M {
  117. compatible = "fixed-clock";
  118. #clock-cells = <0>;
  119. clock-frequency = <48000000>;
  120. };
  121. };
  122. &dcc {
  123. status = "okay";
  124. };
  125. &fpd_dma_chan1 {
  126. status = "okay";
  127. };
  128. &fpd_dma_chan2 {
  129. status = "okay";
  130. };
  131. &fpd_dma_chan3 {
  132. status = "okay";
  133. };
  134. &fpd_dma_chan4 {
  135. status = "okay";
  136. };
  137. &fpd_dma_chan5 {
  138. status = "okay";
  139. };
  140. &fpd_dma_chan6 {
  141. status = "okay";
  142. };
  143. &fpd_dma_chan7 {
  144. status = "okay";
  145. };
  146. &fpd_dma_chan8 {
  147. status = "okay";
  148. };
  149. &gem3 {
  150. status = "okay";
  151. phy-handle = <&phy0>;
  152. phy-mode = "rgmii-id";
  153. pinctrl-names = "default";
  154. pinctrl-0 = <&pinctrl_gem3_default>;
  155. phy0: ethernet-phy@c {
  156. reg = <0xc>;
  157. ti,rx-internal-delay = <0x8>;
  158. ti,tx-internal-delay = <0xa>;
  159. ti,fifo-depth = <0x1>;
  160. ti,dp83867-rxctrl-strap-quirk;
  161. };
  162. };
  163. &gpio {
  164. status = "okay";
  165. pinctrl-names = "default";
  166. pinctrl-0 = <&pinctrl_gpio_default>;
  167. };
  168. &i2c0 {
  169. status = "okay";
  170. clock-frequency = <400000>;
  171. pinctrl-names = "default", "gpio";
  172. pinctrl-0 = <&pinctrl_i2c0_default>;
  173. pinctrl-1 = <&pinctrl_i2c0_gpio>;
  174. scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
  175. sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
  176. tca6416_u22: gpio@20 {
  177. compatible = "ti,tca6416";
  178. reg = <0x20>;
  179. gpio-controller; /* interrupt not connected */
  180. #gpio-cells = <2>;
  181. /*
  182. * IRQ not connected
  183. * Lines:
  184. * 0 - MAX6643_OT_B
  185. * 1 - MAX6643_FANFAIL_B
  186. * 2 - MIO26_PMU_INPUT_LS
  187. * 4 - SFP_SI5382_INT_ALM
  188. * 5 - IIC_MUX_RESET_B
  189. * 6 - GEM3_EXP_RESET_B
  190. * 10 - FMCP_HSPC_PRSNT_M2C_B
  191. * 11 - CLK_SPI_MUX_SEL0
  192. * 12 - CLK_SPI_MUX_SEL1
  193. * 16 - IRPS5401_ALERT_B
  194. * 17 - INA226_PMBUS_ALERT
  195. * 3, 7, 13-15 - not connected
  196. */
  197. };
  198. i2c-mux@75 { /* u23 */
  199. compatible = "nxp,pca9544";
  200. #address-cells = <1>;
  201. #size-cells = <0>;
  202. reg = <0x75>;
  203. i2c@0 {
  204. #address-cells = <1>;
  205. #size-cells = <0>;
  206. reg = <0>;
  207. /* PS_PMBUS */
  208. /* PMBUS_ALERT done via pca9544 */
  209. u67: ina226@40 { /* u67 */
  210. compatible = "ti,ina226";
  211. #io-channel-cells = <1>;
  212. label = "ina226-u67";
  213. reg = <0x40>;
  214. shunt-resistor = <2000>;
  215. };
  216. u59: ina226@41 { /* u59 */
  217. compatible = "ti,ina226";
  218. #io-channel-cells = <1>;
  219. label = "ina226-u59";
  220. reg = <0x41>;
  221. shunt-resistor = <5000>;
  222. };
  223. u61: ina226@42 { /* u61 */
  224. compatible = "ti,ina226";
  225. #io-channel-cells = <1>;
  226. label = "ina226-u61";
  227. reg = <0x42>;
  228. shunt-resistor = <5000>;
  229. };
  230. u60: ina226@43 { /* u60 */
  231. compatible = "ti,ina226";
  232. #io-channel-cells = <1>;
  233. label = "ina226-u60";
  234. reg = <0x43>;
  235. shunt-resistor = <5000>;
  236. };
  237. u64: ina226@45 { /* u64 */
  238. compatible = "ti,ina226";
  239. #io-channel-cells = <1>;
  240. label = "ina226-u64";
  241. reg = <0x45>;
  242. shunt-resistor = <5000>;
  243. };
  244. u69: ina226@46 { /* u69 */
  245. compatible = "ti,ina226";
  246. #io-channel-cells = <1>;
  247. label = "ina226-u69";
  248. reg = <0x46>;
  249. shunt-resistor = <2000>;
  250. };
  251. u66: ina226@47 { /* u66 */
  252. compatible = "ti,ina226";
  253. #io-channel-cells = <1>;
  254. label = "ina226-u66";
  255. reg = <0x47>;
  256. shunt-resistor = <5000>;
  257. };
  258. u65: ina226@48 { /* u65 */
  259. compatible = "ti,ina226";
  260. #io-channel-cells = <1>;
  261. label = "ina226-u65";
  262. reg = <0x48>;
  263. shunt-resistor = <5000>;
  264. };
  265. u63: ina226@49 { /* u63 */
  266. compatible = "ti,ina226";
  267. #io-channel-cells = <1>;
  268. label = "ina226-u63";
  269. reg = <0x49>;
  270. shunt-resistor = <5000>;
  271. };
  272. u3: ina226@4a { /* u3 */
  273. compatible = "ti,ina226";
  274. #io-channel-cells = <1>;
  275. label = "ina226-u3";
  276. reg = <0x4a>;
  277. shunt-resistor = <5000>;
  278. };
  279. u71: ina226@4b { /* u71 */
  280. compatible = "ti,ina226";
  281. #io-channel-cells = <1>;
  282. label = "ina226-u71";
  283. reg = <0x4b>;
  284. shunt-resistor = <5000>;
  285. };
  286. u77: ina226@4c { /* u77 */
  287. compatible = "ti,ina226";
  288. #io-channel-cells = <1>;
  289. label = "ina226-u77";
  290. reg = <0x4c>;
  291. shunt-resistor = <5000>;
  292. };
  293. u73: ina226@4d { /* u73 */
  294. compatible = "ti,ina226";
  295. #io-channel-cells = <1>;
  296. label = "ina226-u73";
  297. reg = <0x4d>;
  298. shunt-resistor = <5000>;
  299. };
  300. u79: ina226@4e { /* u79 */
  301. compatible = "ti,ina226";
  302. #io-channel-cells = <1>;
  303. label = "ina226-u79";
  304. reg = <0x4e>;
  305. shunt-resistor = <5000>;
  306. };
  307. };
  308. i2c@1 {
  309. #address-cells = <1>;
  310. #size-cells = <0>;
  311. reg = <1>;
  312. /* NC */
  313. };
  314. i2c@2 {
  315. #address-cells = <1>;
  316. #size-cells = <0>;
  317. reg = <2>;
  318. irps5401_43: irps5401@43 { /* IRPS5401 - u53 check these */
  319. compatible = "infineon,irps5401";
  320. reg = <0x43>;
  321. };
  322. irps5401_44: irps5401@44 { /* IRPS5401 - u55 */
  323. compatible = "infineon,irps5401";
  324. reg = <0x44>;
  325. };
  326. irps5401_45: irps5401@45 { /* IRPS5401 - u57 */
  327. compatible = "infineon,irps5401";
  328. reg = <0x45>;
  329. };
  330. /* u68 IR38064 +0 */
  331. /* u70 IR38060 +1 */
  332. /* u74 IR38060 +2 */
  333. /* u75 IR38060 +6 */
  334. /* J19 header too */
  335. };
  336. i2c@3 {
  337. #address-cells = <1>;
  338. #size-cells = <0>;
  339. reg = <3>;
  340. /* SYSMON */
  341. };
  342. };
  343. };
  344. &i2c1 {
  345. status = "okay";
  346. clock-frequency = <400000>;
  347. pinctrl-names = "default", "gpio";
  348. pinctrl-0 = <&pinctrl_i2c1_default>;
  349. pinctrl-1 = <&pinctrl_i2c1_gpio>;
  350. scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
  351. sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
  352. i2c-mux@74 { /* u26 */
  353. compatible = "nxp,pca9548";
  354. #address-cells = <1>;
  355. #size-cells = <0>;
  356. reg = <0x74>;
  357. i2c@0 {
  358. #address-cells = <1>;
  359. #size-cells = <0>;
  360. reg = <0>;
  361. /*
  362. * IIC_EEPROM 1kB memory which uses 256B blocks
  363. * where every block has different address.
  364. * 0 - 256B address 0x54
  365. * 256B - 512B address 0x55
  366. * 512B - 768B address 0x56
  367. * 768B - 1024B address 0x57
  368. */
  369. eeprom: eeprom@54 { /* u88 */
  370. compatible = "atmel,24c08";
  371. reg = <0x54>;
  372. };
  373. };
  374. i2c@1 {
  375. #address-cells = <1>;
  376. #size-cells = <0>;
  377. reg = <1>;
  378. si5341: clock-generator@36 { /* SI5341 - u46 */
  379. compatible = "silabs,si5341";
  380. reg = <0x36>;
  381. #clock-cells = <2>;
  382. #address-cells = <1>;
  383. #size-cells = <0>;
  384. clocks = <&ref48>;
  385. clock-names = "xtal";
  386. clock-output-names = "si5341";
  387. si5341_0: out@0 {
  388. /* refclk0 for PS-GT, used for DP */
  389. reg = <0>;
  390. always-on;
  391. };
  392. si5341_2: out@2 {
  393. /* refclk2 for PS-GT, used for USB3 */
  394. reg = <2>;
  395. always-on;
  396. };
  397. si5341_3: out@3 {
  398. /* refclk3 for PS-GT, used for SATA */
  399. reg = <3>;
  400. always-on;
  401. };
  402. si5341_5: out@5 {
  403. /* refclk5 PL CLK100 */
  404. reg = <5>;
  405. always-on;
  406. };
  407. si5341_6: out@6 {
  408. /* refclk6 PL CLK125 */
  409. reg = <6>;
  410. always-on;
  411. };
  412. si5341_9: out@9 {
  413. /* refclk9 used for PS_REF_CLK 33.3 MHz */
  414. reg = <9>;
  415. always-on;
  416. };
  417. };
  418. };
  419. i2c@2 {
  420. #address-cells = <1>;
  421. #size-cells = <0>;
  422. reg = <2>;
  423. si570_1: clock-generator@5d { /* USER SI570 - u47 */
  424. #clock-cells = <0>;
  425. compatible = "silabs,si570";
  426. reg = <0x5d>;
  427. temperature-stability = <50>;
  428. factory-fout = <300000000>;
  429. clock-frequency = <300000000>;
  430. clock-output-names = "si570_user";
  431. };
  432. };
  433. i2c@3 {
  434. #address-cells = <1>;
  435. #size-cells = <0>;
  436. reg = <3>;
  437. si570_2: clock-generator@5d { /* USER MGT SI570 - u49 */
  438. #clock-cells = <0>;
  439. compatible = "silabs,si570";
  440. reg = <0x5d>;
  441. temperature-stability = <50>;
  442. factory-fout = <156250000>;
  443. clock-frequency = <156250000>;
  444. clock-output-names = "si570_mgt";
  445. };
  446. };
  447. i2c@4 {
  448. #address-cells = <1>;
  449. #size-cells = <0>;
  450. reg = <4>;
  451. /* SI5382 - u48 */
  452. };
  453. i2c@5 {
  454. #address-cells = <1>;
  455. #size-cells = <0>;
  456. reg = <5>;
  457. sc18is603@2f { /* sc18is602 - u93 */
  458. compatible = "nxp,sc18is603";
  459. reg = <0x2f>;
  460. /* 4 gpios for CS not handled by driver */
  461. /*
  462. * USB2ANY cable or
  463. * LMK04208 - u90 or
  464. * LMX2594 - u102 or
  465. * LMX2594 - u103 or
  466. * LMX2594 - u104
  467. */
  468. };
  469. };
  470. i2c@6 {
  471. #address-cells = <1>;
  472. #size-cells = <0>;
  473. reg = <6>;
  474. /* FMC connector */
  475. };
  476. /* 7 NC */
  477. };
  478. i2c-mux@75 {
  479. compatible = "nxp,pca9548"; /* u27 */
  480. #address-cells = <1>;
  481. #size-cells = <0>;
  482. reg = <0x75>;
  483. i2c@0 {
  484. #address-cells = <1>;
  485. #size-cells = <0>;
  486. reg = <0>;
  487. /* FMCP_HSPC_IIC */
  488. };
  489. i2c@1 {
  490. #address-cells = <1>;
  491. #size-cells = <0>;
  492. reg = <1>;
  493. /* NC */
  494. };
  495. i2c@2 {
  496. #address-cells = <1>;
  497. #size-cells = <0>;
  498. reg = <2>;
  499. /* SYSMON */
  500. };
  501. i2c@3 {
  502. #address-cells = <1>;
  503. #size-cells = <0>;
  504. reg = <3>;
  505. /* DDR4 SODIMM */
  506. };
  507. i2c@4 {
  508. #address-cells = <1>;
  509. #size-cells = <0>;
  510. reg = <4>;
  511. /* SFP3 */
  512. };
  513. i2c@5 {
  514. #address-cells = <1>;
  515. #size-cells = <0>;
  516. reg = <5>;
  517. /* SFP2 */
  518. };
  519. i2c@6 {
  520. #address-cells = <1>;
  521. #size-cells = <0>;
  522. reg = <6>;
  523. /* SFP1 */
  524. };
  525. i2c@7 {
  526. #address-cells = <1>;
  527. #size-cells = <0>;
  528. reg = <7>;
  529. /* SFP0 */
  530. };
  531. };
  532. };
  533. &pinctrl0 {
  534. status = "okay";
  535. pinctrl_i2c0_default: i2c0-default {
  536. mux {
  537. groups = "i2c0_3_grp";
  538. function = "i2c0";
  539. };
  540. conf {
  541. groups = "i2c0_3_grp";
  542. bias-pull-up;
  543. slew-rate = <SLEW_RATE_SLOW>;
  544. power-source = <IO_STANDARD_LVCMOS18>;
  545. };
  546. };
  547. pinctrl_i2c0_gpio: i2c0-gpio {
  548. mux {
  549. groups = "gpio0_14_grp", "gpio0_15_grp";
  550. function = "gpio0";
  551. };
  552. conf {
  553. groups = "gpio0_14_grp", "gpio0_15_grp";
  554. slew-rate = <SLEW_RATE_SLOW>;
  555. power-source = <IO_STANDARD_LVCMOS18>;
  556. };
  557. };
  558. pinctrl_i2c1_default: i2c1-default {
  559. mux {
  560. groups = "i2c1_4_grp";
  561. function = "i2c1";
  562. };
  563. conf {
  564. groups = "i2c1_4_grp";
  565. bias-pull-up;
  566. slew-rate = <SLEW_RATE_SLOW>;
  567. power-source = <IO_STANDARD_LVCMOS18>;
  568. };
  569. };
  570. pinctrl_i2c1_gpio: i2c1-gpio {
  571. mux {
  572. groups = "gpio0_16_grp", "gpio0_17_grp";
  573. function = "gpio0";
  574. };
  575. conf {
  576. groups = "gpio0_16_grp", "gpio0_17_grp";
  577. slew-rate = <SLEW_RATE_SLOW>;
  578. power-source = <IO_STANDARD_LVCMOS18>;
  579. };
  580. };
  581. pinctrl_uart0_default: uart0-default {
  582. mux {
  583. groups = "uart0_4_grp";
  584. function = "uart0";
  585. };
  586. conf {
  587. groups = "uart0_4_grp";
  588. slew-rate = <SLEW_RATE_SLOW>;
  589. power-source = <IO_STANDARD_LVCMOS18>;
  590. };
  591. conf-rx {
  592. pins = "MIO18";
  593. bias-high-impedance;
  594. };
  595. conf-tx {
  596. pins = "MIO19";
  597. bias-disable;
  598. };
  599. };
  600. pinctrl_usb0_default: usb0-default {
  601. mux {
  602. groups = "usb0_0_grp";
  603. function = "usb0";
  604. };
  605. conf {
  606. groups = "usb0_0_grp";
  607. slew-rate = <SLEW_RATE_SLOW>;
  608. power-source = <IO_STANDARD_LVCMOS18>;
  609. };
  610. conf-rx {
  611. pins = "MIO52", "MIO53", "MIO55";
  612. bias-high-impedance;
  613. };
  614. conf-tx {
  615. pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
  616. "MIO60", "MIO61", "MIO62", "MIO63";
  617. bias-disable;
  618. };
  619. };
  620. pinctrl_gem3_default: gem3-default {
  621. mux {
  622. function = "ethernet3";
  623. groups = "ethernet3_0_grp";
  624. };
  625. conf {
  626. groups = "ethernet3_0_grp";
  627. slew-rate = <SLEW_RATE_SLOW>;
  628. power-source = <IO_STANDARD_LVCMOS18>;
  629. };
  630. conf-rx {
  631. pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
  632. "MIO75";
  633. bias-high-impedance;
  634. low-power-disable;
  635. };
  636. conf-tx {
  637. pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
  638. "MIO69";
  639. bias-disable;
  640. low-power-enable;
  641. };
  642. mux-mdio {
  643. function = "mdio3";
  644. groups = "mdio3_0_grp";
  645. };
  646. conf-mdio {
  647. groups = "mdio3_0_grp";
  648. slew-rate = <SLEW_RATE_SLOW>;
  649. power-source = <IO_STANDARD_LVCMOS18>;
  650. bias-disable;
  651. };
  652. };
  653. pinctrl_sdhci1_default: sdhci1-default {
  654. mux {
  655. groups = "sdio1_0_grp";
  656. function = "sdio1";
  657. };
  658. conf {
  659. groups = "sdio1_0_grp";
  660. slew-rate = <SLEW_RATE_SLOW>;
  661. power-source = <IO_STANDARD_LVCMOS18>;
  662. bias-disable;
  663. };
  664. mux-cd {
  665. groups = "sdio1_cd_0_grp";
  666. function = "sdio1_cd";
  667. };
  668. conf-cd {
  669. groups = "sdio1_cd_0_grp";
  670. bias-high-impedance;
  671. bias-pull-up;
  672. slew-rate = <SLEW_RATE_SLOW>;
  673. power-source = <IO_STANDARD_LVCMOS18>;
  674. };
  675. };
  676. pinctrl_gpio_default: gpio-default {
  677. mux {
  678. function = "gpio0";
  679. groups = "gpio0_22_grp", "gpio0_23_grp";
  680. };
  681. conf {
  682. groups = "gpio0_22_grp", "gpio0_23_grp";
  683. slew-rate = <SLEW_RATE_SLOW>;
  684. power-source = <IO_STANDARD_LVCMOS18>;
  685. };
  686. mux-msp {
  687. function = "gpio0";
  688. groups = "gpio0_13_grp", "gpio0_38_grp";
  689. };
  690. conf-msp {
  691. groups = "gpio0_13_grp", "gpio0_38_grp";
  692. slew-rate = <SLEW_RATE_SLOW>;
  693. power-source = <IO_STANDARD_LVCMOS18>;
  694. };
  695. conf-pull-up {
  696. pins = "MIO22";
  697. bias-pull-up;
  698. };
  699. conf-pull-none {
  700. pins = "MIO13", "MIO23", "MIO38";
  701. bias-disable;
  702. };
  703. };
  704. };
  705. &psgtr {
  706. status = "okay";
  707. /* nc, dp, usb3, sata */
  708. clocks = <&si5341 0 0>, <&si5341 0 2>, <&si5341 0 3>;
  709. clock-names = "ref1", "ref2", "ref3";
  710. };
  711. &qspi {
  712. status = "okay";
  713. flash@0 {
  714. compatible = "m25p80", "jedec,spi-nor"; /* 16MB + 16MB */
  715. #address-cells = <1>;
  716. #size-cells = <1>;
  717. reg = <0x0>;
  718. spi-tx-bus-width = <1>;
  719. spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
  720. spi-max-frequency = <108000000>; /* Based on DC1 spec */
  721. };
  722. };
  723. &rtc {
  724. status = "okay";
  725. };
  726. &sata {
  727. status = "okay";
  728. /* SATA OOB timing settings */
  729. ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
  730. ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
  731. ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
  732. ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
  733. ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
  734. ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
  735. ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
  736. ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
  737. phy-names = "sata-phy";
  738. phys = <&psgtr 3 PHY_TYPE_SATA 1 3>;
  739. };
  740. /* SD1 with level shifter */
  741. &sdhci1 {
  742. status = "okay";
  743. pinctrl-names = "default";
  744. pinctrl-0 = <&pinctrl_sdhci1_default>;
  745. disable-wp;
  746. /*
  747. * This property should be removed for supporting UHS mode
  748. */
  749. no-1-8-v;
  750. xlnx,mio-bank = <1>;
  751. };
  752. &uart0 {
  753. status = "okay";
  754. pinctrl-names = "default";
  755. pinctrl-0 = <&pinctrl_uart0_default>;
  756. };
  757. /* ULPI SMSC USB3320 */
  758. &usb0 {
  759. status = "okay";
  760. pinctrl-names = "default";
  761. pinctrl-0 = <&pinctrl_usb0_default>;
  762. phy-names = "usb3-phy";
  763. phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
  764. };
  765. &dwc3_0 {
  766. status = "okay";
  767. dr_mode = "host";
  768. snps,usb3_lpm_capable;
  769. maximum-speed = "super-speed";
  770. };
  771. &zynqmp_dpdma {
  772. status = "okay";
  773. };
  774. &zynqmp_dpsub {
  775. status = "okay";
  776. phy-names = "dp-phy0", "dp-phy1";
  777. phys = <&psgtr 1 PHY_TYPE_DP 0 1>,
  778. <&psgtr 0 PHY_TYPE_DP 1 1>;
  779. };