zynqmp-zc1751-xm015-dc1.dts 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * dts file for Xilinx ZynqMP zc1751-xm015-dc1
  4. *
  5. * (C) Copyright 2015 - 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/phy/phy.h>
  13. #include <dt-bindings/gpio/gpio.h>
  14. #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
  15. / {
  16. model = "ZynqMP zc1751-xm015-dc1 RevA";
  17. compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp";
  18. aliases {
  19. ethernet0 = &gem3;
  20. i2c0 = &i2c1;
  21. mmc0 = &sdhci0;
  22. mmc1 = &sdhci1;
  23. rtc0 = &rtc;
  24. serial0 = &uart0;
  25. spi0 = &qspi;
  26. usb0 = &usb0;
  27. };
  28. chosen {
  29. bootargs = "earlycon";
  30. stdout-path = "serial0:115200n8";
  31. };
  32. memory@0 {
  33. device_type = "memory";
  34. reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
  35. };
  36. clock_si5338_0: clk27 { /* u55 SI5338-GM */
  37. compatible = "fixed-clock";
  38. #clock-cells = <0>;
  39. clock-frequency = <27000000>;
  40. };
  41. clock_si5338_2: clk26 {
  42. compatible = "fixed-clock";
  43. #clock-cells = <0>;
  44. clock-frequency = <26000000>;
  45. };
  46. clock_si5338_3: clk150 {
  47. compatible = "fixed-clock";
  48. #clock-cells = <0>;
  49. clock-frequency = <150000000>;
  50. };
  51. };
  52. &fpd_dma_chan1 {
  53. status = "okay";
  54. };
  55. &fpd_dma_chan2 {
  56. status = "okay";
  57. };
  58. &fpd_dma_chan3 {
  59. status = "okay";
  60. };
  61. &fpd_dma_chan4 {
  62. status = "okay";
  63. };
  64. &fpd_dma_chan5 {
  65. status = "okay";
  66. };
  67. &fpd_dma_chan6 {
  68. status = "okay";
  69. };
  70. &fpd_dma_chan7 {
  71. status = "okay";
  72. };
  73. &fpd_dma_chan8 {
  74. status = "okay";
  75. };
  76. &gem3 {
  77. status = "okay";
  78. phy-handle = <&phy0>;
  79. phy-mode = "rgmii-id";
  80. pinctrl-names = "default";
  81. pinctrl-0 = <&pinctrl_gem3_default>;
  82. phy0: ethernet-phy@0 {
  83. reg = <0>;
  84. };
  85. };
  86. &gpio {
  87. status = "okay";
  88. pinctrl-names = "default";
  89. pinctrl-0 = <&pinctrl_gpio_default>;
  90. };
  91. &i2c1 {
  92. status = "okay";
  93. clock-frequency = <400000>;
  94. pinctrl-names = "default", "gpio";
  95. pinctrl-0 = <&pinctrl_i2c1_default>;
  96. pinctrl-1 = <&pinctrl_i2c1_gpio>;
  97. scl-gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
  98. sda-gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
  99. eeprom: eeprom@55 {
  100. compatible = "atmel,24c64"; /* 24AA64 */
  101. reg = <0x55>;
  102. };
  103. };
  104. &pinctrl0 {
  105. status = "okay";
  106. pinctrl_i2c1_default: i2c1-default {
  107. mux {
  108. groups = "i2c1_9_grp";
  109. function = "i2c1";
  110. };
  111. conf {
  112. groups = "i2c1_9_grp";
  113. bias-pull-up;
  114. slew-rate = <SLEW_RATE_SLOW>;
  115. power-source = <IO_STANDARD_LVCMOS18>;
  116. };
  117. };
  118. pinctrl_i2c1_gpio: i2c1-gpio {
  119. mux {
  120. groups = "gpio0_36_grp", "gpio0_37_grp";
  121. function = "gpio0";
  122. };
  123. conf {
  124. groups = "gpio0_36_grp", "gpio0_37_grp";
  125. slew-rate = <SLEW_RATE_SLOW>;
  126. power-source = <IO_STANDARD_LVCMOS18>;
  127. };
  128. };
  129. pinctrl_uart0_default: uart0-default {
  130. mux {
  131. groups = "uart0_8_grp";
  132. function = "uart0";
  133. };
  134. conf {
  135. groups = "uart0_8_grp";
  136. slew-rate = <SLEW_RATE_SLOW>;
  137. power-source = <IO_STANDARD_LVCMOS18>;
  138. };
  139. conf-rx {
  140. pins = "MIO34";
  141. bias-high-impedance;
  142. };
  143. conf-tx {
  144. pins = "MIO35";
  145. bias-disable;
  146. };
  147. };
  148. pinctrl_usb0_default: usb0-default {
  149. mux {
  150. groups = "usb0_0_grp";
  151. function = "usb0";
  152. };
  153. conf {
  154. groups = "usb0_0_grp";
  155. slew-rate = <SLEW_RATE_SLOW>;
  156. power-source = <IO_STANDARD_LVCMOS18>;
  157. };
  158. conf-rx {
  159. pins = "MIO52", "MIO53", "MIO55";
  160. bias-high-impedance;
  161. };
  162. conf-tx {
  163. pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
  164. "MIO60", "MIO61", "MIO62", "MIO63";
  165. bias-disable;
  166. };
  167. };
  168. pinctrl_gem3_default: gem3-default {
  169. mux {
  170. function = "ethernet3";
  171. groups = "ethernet3_0_grp";
  172. };
  173. conf {
  174. groups = "ethernet3_0_grp";
  175. slew-rate = <SLEW_RATE_SLOW>;
  176. power-source = <IO_STANDARD_LVCMOS18>;
  177. };
  178. conf-rx {
  179. pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
  180. "MIO75";
  181. bias-high-impedance;
  182. low-power-disable;
  183. };
  184. conf-tx {
  185. pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
  186. "MIO69";
  187. bias-disable;
  188. low-power-enable;
  189. };
  190. mux-mdio {
  191. function = "mdio3";
  192. groups = "mdio3_0_grp";
  193. };
  194. conf-mdio {
  195. groups = "mdio3_0_grp";
  196. slew-rate = <SLEW_RATE_SLOW>;
  197. power-source = <IO_STANDARD_LVCMOS18>;
  198. bias-disable;
  199. };
  200. };
  201. pinctrl_sdhci0_default: sdhci0-default {
  202. mux {
  203. groups = "sdio0_0_grp";
  204. function = "sdio0";
  205. };
  206. conf {
  207. groups = "sdio0_0_grp";
  208. slew-rate = <SLEW_RATE_SLOW>;
  209. power-source = <IO_STANDARD_LVCMOS18>;
  210. bias-disable;
  211. };
  212. mux-cd {
  213. groups = "sdio0_cd_0_grp";
  214. function = "sdio0_cd";
  215. };
  216. conf-cd {
  217. groups = "sdio0_cd_0_grp";
  218. bias-high-impedance;
  219. bias-pull-up;
  220. slew-rate = <SLEW_RATE_SLOW>;
  221. power-source = <IO_STANDARD_LVCMOS18>;
  222. };
  223. mux-wp {
  224. groups = "sdio0_wp_0_grp";
  225. function = "sdio0_wp";
  226. };
  227. conf-wp {
  228. groups = "sdio0_wp_0_grp";
  229. bias-high-impedance;
  230. bias-pull-up;
  231. slew-rate = <SLEW_RATE_SLOW>;
  232. power-source = <IO_STANDARD_LVCMOS18>;
  233. };
  234. };
  235. pinctrl_sdhci1_default: sdhci1-default {
  236. mux {
  237. groups = "sdio1_0_grp";
  238. function = "sdio1";
  239. };
  240. conf {
  241. groups = "sdio1_0_grp";
  242. slew-rate = <SLEW_RATE_SLOW>;
  243. power-source = <IO_STANDARD_LVCMOS18>;
  244. bias-disable;
  245. };
  246. mux-cd {
  247. groups = "sdio1_cd_0_grp";
  248. function = "sdio1_cd";
  249. };
  250. conf-cd {
  251. groups = "sdio1_cd_0_grp";
  252. bias-high-impedance;
  253. bias-pull-up;
  254. slew-rate = <SLEW_RATE_SLOW>;
  255. power-source = <IO_STANDARD_LVCMOS18>;
  256. };
  257. mux-wp {
  258. groups = "sdio1_wp_0_grp";
  259. function = "sdio1_wp";
  260. };
  261. conf-wp {
  262. groups = "sdio1_wp_0_grp";
  263. bias-high-impedance;
  264. bias-pull-up;
  265. slew-rate = <SLEW_RATE_SLOW>;
  266. power-source = <IO_STANDARD_LVCMOS18>;
  267. };
  268. };
  269. pinctrl_gpio_default: gpio-default {
  270. mux {
  271. function = "gpio0";
  272. groups = "gpio0_38_grp";
  273. };
  274. conf {
  275. groups = "gpio0_38_grp";
  276. bias-disable;
  277. slew-rate = <SLEW_RATE_SLOW>;
  278. power-source = <IO_STANDARD_LVCMOS18>;
  279. };
  280. };
  281. };
  282. &psgtr {
  283. status = "okay";
  284. /* dp, usb3, sata */
  285. clocks = <&clock_si5338_0>, <&clock_si5338_2>, <&clock_si5338_3>;
  286. clock-names = "ref1", "ref2", "ref3";
  287. };
  288. &qspi {
  289. status = "okay";
  290. flash@0 {
  291. compatible = "m25p80", "jedec,spi-nor"; /* Micron MT25QU512ABB8ESF */
  292. #address-cells = <1>;
  293. #size-cells = <1>;
  294. reg = <0x0>;
  295. spi-tx-bus-width = <1>;
  296. spi-rx-bus-width = <4>;
  297. spi-max-frequency = <108000000>; /* Based on DC1 spec */
  298. };
  299. };
  300. &rtc {
  301. status = "okay";
  302. };
  303. &sata {
  304. status = "okay";
  305. /* SATA phy OOB timing settings */
  306. ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>;
  307. ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>;
  308. ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
  309. ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
  310. ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>;
  311. ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>;
  312. ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
  313. ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
  314. phy-names = "sata-phy";
  315. phys = <&psgtr 3 PHY_TYPE_SATA 1 3>;
  316. };
  317. /* eMMC */
  318. &sdhci0 {
  319. status = "okay";
  320. pinctrl-names = "default";
  321. pinctrl-0 = <&pinctrl_sdhci0_default>;
  322. bus-width = <8>;
  323. xlnx,mio-bank = <0>;
  324. };
  325. /* SD1 with level shifter */
  326. &sdhci1 {
  327. status = "okay";
  328. /*
  329. * This property should be removed for supporting UHS mode
  330. */
  331. no-1-8-v;
  332. pinctrl-names = "default";
  333. pinctrl-0 = <&pinctrl_sdhci1_default>;
  334. xlnx,mio-bank = <1>;
  335. };
  336. &uart0 {
  337. status = "okay";
  338. pinctrl-names = "default";
  339. pinctrl-0 = <&pinctrl_uart0_default>;
  340. };
  341. /* ULPI SMSC USB3320 */
  342. &usb0 {
  343. status = "okay";
  344. pinctrl-names = "default";
  345. pinctrl-0 = <&pinctrl_usb0_default>;
  346. phy-names = "usb3-phy";
  347. phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
  348. };
  349. &dwc3_0 {
  350. status = "okay";
  351. dr_mode = "host";
  352. snps,usb3_lpm_capable;
  353. maximum-speed = "super-speed";
  354. };
  355. &zynqmp_dpdma {
  356. status = "okay";
  357. };
  358. &zynqmp_dpsub {
  359. status = "okay";
  360. phy-names = "dp-phy0", "dp-phy1";
  361. phys = <&psgtr 1 PHY_TYPE_DP 0 0>,
  362. <&psgtr 0 PHY_TYPE_DP 1 1>;
  363. };