imx7s.dtsi 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297
  1. // SPDX-License-Identifier: GPL-2.0+ OR MIT
  2. //
  3. // Copyright 2015 Freescale Semiconductor, Inc.
  4. // Copyright 2016 Toradex AG
  5. #include <dt-bindings/clock/imx7d-clock.h>
  6. #include <dt-bindings/power/imx7-power.h>
  7. #include <dt-bindings/gpio/gpio.h>
  8. #include <dt-bindings/input/input.h>
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. #include <dt-bindings/reset/imx7-reset.h>
  11. #include "imx7d-pinfunc.h"
  12. / {
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. /*
  16. * The decompressor and also some bootloaders rely on a
  17. * pre-existing /chosen node to be available to insert the
  18. * command line and merge other ATAGS info.
  19. */
  20. chosen {};
  21. aliases {
  22. gpio0 = &gpio1;
  23. gpio1 = &gpio2;
  24. gpio2 = &gpio3;
  25. gpio3 = &gpio4;
  26. gpio4 = &gpio5;
  27. gpio5 = &gpio6;
  28. gpio6 = &gpio7;
  29. i2c0 = &i2c1;
  30. i2c1 = &i2c2;
  31. i2c2 = &i2c3;
  32. i2c3 = &i2c4;
  33. mmc0 = &usdhc1;
  34. mmc1 = &usdhc2;
  35. mmc2 = &usdhc3;
  36. serial0 = &uart1;
  37. serial1 = &uart2;
  38. serial2 = &uart3;
  39. serial3 = &uart4;
  40. serial4 = &uart5;
  41. serial5 = &uart6;
  42. serial6 = &uart7;
  43. spi0 = &ecspi1;
  44. spi1 = &ecspi2;
  45. spi2 = &ecspi3;
  46. spi3 = &ecspi4;
  47. usb0 = &usbotg1;
  48. usb1 = &usbh;
  49. };
  50. cpus {
  51. #address-cells = <1>;
  52. #size-cells = <0>;
  53. idle-states {
  54. entry-method = "psci";
  55. cpu_sleep_wait: cpu-sleep-wait {
  56. compatible = "arm,idle-state";
  57. arm,psci-suspend-param = <0x0010000>;
  58. local-timer-stop;
  59. entry-latency-us = <100>;
  60. exit-latency-us = <50>;
  61. min-residency-us = <1000>;
  62. };
  63. };
  64. cpu0: cpu@0 {
  65. compatible = "arm,cortex-a7";
  66. device_type = "cpu";
  67. reg = <0>;
  68. clock-frequency = <792000000>;
  69. clock-latency = <61036>; /* two CLK32 periods */
  70. clocks = <&clks IMX7D_CLK_ARM>;
  71. cpu-idle-states = <&cpu_sleep_wait>;
  72. operating-points-v2 = <&cpu0_opp_table>;
  73. #cooling-cells = <2>;
  74. nvmem-cells = <&fuse_grade>;
  75. nvmem-cell-names = "speed_grade";
  76. };
  77. };
  78. cpu0_opp_table: opp-table {
  79. compatible = "operating-points-v2";
  80. opp-shared;
  81. opp-792000000 {
  82. opp-hz = /bits/ 64 <792000000>;
  83. opp-microvolt = <1000000>;
  84. clock-latency-ns = <150000>;
  85. opp-supported-hw = <0xf>, <0xf>;
  86. };
  87. };
  88. ckil: clock-cki {
  89. compatible = "fixed-clock";
  90. #clock-cells = <0>;
  91. clock-frequency = <32768>;
  92. clock-output-names = "ckil";
  93. };
  94. osc: clock-osc {
  95. compatible = "fixed-clock";
  96. #clock-cells = <0>;
  97. clock-frequency = <24000000>;
  98. clock-output-names = "osc";
  99. };
  100. usbphynop1: usbphynop1 {
  101. compatible = "usb-nop-xceiv";
  102. clocks = <&clks IMX7D_USB_PHY1_CLK>;
  103. clock-names = "main_clk";
  104. #phy-cells = <0>;
  105. };
  106. usbphynop3: usbphynop3 {
  107. compatible = "usb-nop-xceiv";
  108. clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
  109. clock-names = "main_clk";
  110. power-domains = <&pgc_hsic_phy>;
  111. #phy-cells = <0>;
  112. };
  113. pmu {
  114. compatible = "arm,cortex-a7-pmu";
  115. interrupt-parent = <&gpc>;
  116. interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
  117. interrupt-affinity = <&cpu0>;
  118. };
  119. replicator {
  120. /*
  121. * non-configurable replicators don't show up on the
  122. * AMBA bus. As such no need to add "arm,primecell"
  123. */
  124. compatible = "arm,coresight-static-replicator";
  125. out-ports {
  126. #address-cells = <1>;
  127. #size-cells = <0>;
  128. /* replicator output ports */
  129. port@0 {
  130. reg = <0>;
  131. replicator_out_port0: endpoint {
  132. remote-endpoint = <&tpiu_in_port>;
  133. };
  134. };
  135. port@1 {
  136. reg = <1>;
  137. replicator_out_port1: endpoint {
  138. remote-endpoint = <&etr_in_port>;
  139. };
  140. };
  141. };
  142. in-ports {
  143. port {
  144. replicator_in_port0: endpoint {
  145. remote-endpoint = <&etf_out_port>;
  146. };
  147. };
  148. };
  149. };
  150. timer {
  151. compatible = "arm,armv7-timer";
  152. arm,cpu-registers-not-fw-configured;
  153. interrupt-parent = <&intc>;
  154. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
  155. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
  156. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
  157. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
  158. };
  159. soc: soc {
  160. #address-cells = <1>;
  161. #size-cells = <1>;
  162. compatible = "simple-bus";
  163. interrupt-parent = <&gpc>;
  164. ranges;
  165. funnel@30041000 {
  166. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  167. reg = <0x30041000 0x1000>;
  168. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  169. clock-names = "apb_pclk";
  170. ca_funnel_in_ports: in-ports {
  171. port {
  172. ca_funnel_in_port0: endpoint {
  173. remote-endpoint = <&etm0_out_port>;
  174. };
  175. };
  176. /* the other input ports are not connect to anything */
  177. };
  178. out-ports {
  179. port {
  180. ca_funnel_out_port0: endpoint {
  181. remote-endpoint = <&hugo_funnel_in_port0>;
  182. };
  183. };
  184. };
  185. };
  186. etm@3007c000 {
  187. compatible = "arm,coresight-etm3x", "arm,primecell";
  188. reg = <0x3007c000 0x1000>;
  189. cpu = <&cpu0>;
  190. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  191. clock-names = "apb_pclk";
  192. out-ports {
  193. port {
  194. etm0_out_port: endpoint {
  195. remote-endpoint = <&ca_funnel_in_port0>;
  196. };
  197. };
  198. };
  199. };
  200. funnel@30083000 {
  201. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  202. reg = <0x30083000 0x1000>;
  203. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  204. clock-names = "apb_pclk";
  205. in-ports {
  206. #address-cells = <1>;
  207. #size-cells = <0>;
  208. port@0 {
  209. reg = <0>;
  210. hugo_funnel_in_port0: endpoint {
  211. remote-endpoint = <&ca_funnel_out_port0>;
  212. };
  213. };
  214. port@1 {
  215. reg = <1>;
  216. hugo_funnel_in_port1: endpoint {
  217. /* M4 input */
  218. };
  219. };
  220. /* the other input ports are not connect to anything */
  221. };
  222. out-ports {
  223. port {
  224. hugo_funnel_out_port0: endpoint {
  225. remote-endpoint = <&etf_in_port>;
  226. };
  227. };
  228. };
  229. };
  230. etf@30084000 {
  231. compatible = "arm,coresight-tmc", "arm,primecell";
  232. reg = <0x30084000 0x1000>;
  233. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  234. clock-names = "apb_pclk";
  235. in-ports {
  236. port {
  237. etf_in_port: endpoint {
  238. remote-endpoint = <&hugo_funnel_out_port0>;
  239. };
  240. };
  241. };
  242. out-ports {
  243. port {
  244. etf_out_port: endpoint {
  245. remote-endpoint = <&replicator_in_port0>;
  246. };
  247. };
  248. };
  249. };
  250. etr@30086000 {
  251. compatible = "arm,coresight-tmc", "arm,primecell";
  252. reg = <0x30086000 0x1000>;
  253. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  254. clock-names = "apb_pclk";
  255. in-ports {
  256. port {
  257. etr_in_port: endpoint {
  258. remote-endpoint = <&replicator_out_port1>;
  259. };
  260. };
  261. };
  262. };
  263. tpiu@30087000 {
  264. compatible = "arm,coresight-tpiu", "arm,primecell";
  265. reg = <0x30087000 0x1000>;
  266. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  267. clock-names = "apb_pclk";
  268. in-ports {
  269. port {
  270. tpiu_in_port: endpoint {
  271. remote-endpoint = <&replicator_out_port0>;
  272. };
  273. };
  274. };
  275. };
  276. intc: interrupt-controller@31001000 {
  277. compatible = "arm,cortex-a7-gic";
  278. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
  279. #interrupt-cells = <3>;
  280. interrupt-controller;
  281. interrupt-parent = <&intc>;
  282. reg = <0x31001000 0x1000>,
  283. <0x31002000 0x2000>,
  284. <0x31004000 0x2000>,
  285. <0x31006000 0x2000>;
  286. };
  287. aips1: bus@30000000 {
  288. compatible = "fsl,aips-bus", "simple-bus";
  289. #address-cells = <1>;
  290. #size-cells = <1>;
  291. reg = <0x30000000 0x400000>;
  292. ranges;
  293. gpio1: gpio@30200000 {
  294. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  295. reg = <0x30200000 0x10000>;
  296. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */
  297. <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */
  298. gpio-controller;
  299. #gpio-cells = <2>;
  300. interrupt-controller;
  301. #interrupt-cells = <2>;
  302. gpio-ranges = <&iomuxc_lpsr 0 0 8>, <&iomuxc 8 5 8>;
  303. };
  304. gpio2: gpio@30210000 {
  305. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  306. reg = <0x30210000 0x10000>;
  307. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
  308. <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
  309. gpio-controller;
  310. #gpio-cells = <2>;
  311. interrupt-controller;
  312. #interrupt-cells = <2>;
  313. gpio-ranges = <&iomuxc 0 13 32>;
  314. };
  315. gpio3: gpio@30220000 {
  316. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  317. reg = <0x30220000 0x10000>;
  318. interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
  319. <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
  320. gpio-controller;
  321. #gpio-cells = <2>;
  322. interrupt-controller;
  323. #interrupt-cells = <2>;
  324. gpio-ranges = <&iomuxc 0 45 29>;
  325. };
  326. gpio4: gpio@30230000 {
  327. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  328. reg = <0x30230000 0x10000>;
  329. interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
  330. <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  331. gpio-controller;
  332. #gpio-cells = <2>;
  333. interrupt-controller;
  334. #interrupt-cells = <2>;
  335. gpio-ranges = <&iomuxc 0 74 24>;
  336. };
  337. gpio5: gpio@30240000 {
  338. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  339. reg = <0x30240000 0x10000>;
  340. interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
  341. <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  342. gpio-controller;
  343. #gpio-cells = <2>;
  344. interrupt-controller;
  345. #interrupt-cells = <2>;
  346. gpio-ranges = <&iomuxc 0 98 18>;
  347. };
  348. gpio6: gpio@30250000 {
  349. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  350. reg = <0x30250000 0x10000>;
  351. interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
  352. <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
  353. gpio-controller;
  354. #gpio-cells = <2>;
  355. interrupt-controller;
  356. #interrupt-cells = <2>;
  357. gpio-ranges = <&iomuxc 0 116 23>;
  358. };
  359. gpio7: gpio@30260000 {
  360. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  361. reg = <0x30260000 0x10000>;
  362. interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
  363. <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
  364. gpio-controller;
  365. #gpio-cells = <2>;
  366. interrupt-controller;
  367. #interrupt-cells = <2>;
  368. gpio-ranges = <&iomuxc 0 139 16>;
  369. };
  370. wdog1: watchdog@30280000 {
  371. compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
  372. reg = <0x30280000 0x10000>;
  373. interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
  374. clocks = <&clks IMX7D_WDOG1_ROOT_CLK>;
  375. };
  376. wdog2: watchdog@30290000 {
  377. compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
  378. reg = <0x30290000 0x10000>;
  379. interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
  380. clocks = <&clks IMX7D_WDOG2_ROOT_CLK>;
  381. status = "disabled";
  382. };
  383. wdog3: watchdog@302a0000 {
  384. compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
  385. reg = <0x302a0000 0x10000>;
  386. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  387. clocks = <&clks IMX7D_WDOG3_ROOT_CLK>;
  388. status = "disabled";
  389. };
  390. wdog4: watchdog@302b0000 {
  391. compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
  392. reg = <0x302b0000 0x10000>;
  393. interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
  394. clocks = <&clks IMX7D_WDOG4_ROOT_CLK>;
  395. status = "disabled";
  396. };
  397. iomuxc_lpsr: pinctrl@302c0000 {
  398. compatible = "fsl,imx7d-iomuxc-lpsr";
  399. reg = <0x302c0000 0x10000>;
  400. fsl,input-sel = <&iomuxc>;
  401. };
  402. gpt1: timer@302d0000 {
  403. compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
  404. reg = <0x302d0000 0x10000>;
  405. interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
  406. clocks = <&clks IMX7D_GPT1_ROOT_CLK>,
  407. <&clks IMX7D_GPT1_ROOT_CLK>;
  408. clock-names = "ipg", "per";
  409. };
  410. gpt2: timer@302e0000 {
  411. compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
  412. reg = <0x302e0000 0x10000>;
  413. interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
  414. clocks = <&clks IMX7D_GPT2_ROOT_CLK>,
  415. <&clks IMX7D_GPT2_ROOT_CLK>;
  416. clock-names = "ipg", "per";
  417. status = "disabled";
  418. };
  419. gpt3: timer@302f0000 {
  420. compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
  421. reg = <0x302f0000 0x10000>;
  422. interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
  423. clocks = <&clks IMX7D_GPT3_ROOT_CLK>,
  424. <&clks IMX7D_GPT3_ROOT_CLK>;
  425. clock-names = "ipg", "per";
  426. status = "disabled";
  427. };
  428. gpt4: timer@30300000 {
  429. compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
  430. reg = <0x30300000 0x10000>;
  431. interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
  432. clocks = <&clks IMX7D_GPT4_ROOT_CLK>,
  433. <&clks IMX7D_GPT4_ROOT_CLK>;
  434. clock-names = "ipg", "per";
  435. status = "disabled";
  436. };
  437. kpp: keypad@30320000 {
  438. compatible = "fsl,imx7d-kpp", "fsl,imx21-kpp";
  439. reg = <0x30320000 0x10000>;
  440. interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
  441. clocks = <&clks IMX7D_KPP_ROOT_CLK>;
  442. status = "disabled";
  443. };
  444. iomuxc: pinctrl@30330000 {
  445. compatible = "fsl,imx7d-iomuxc";
  446. reg = <0x30330000 0x10000>;
  447. };
  448. gpr: iomuxc-gpr@30340000 {
  449. compatible = "fsl,imx7d-iomuxc-gpr",
  450. "fsl,imx6q-iomuxc-gpr", "syscon",
  451. "simple-mfd";
  452. reg = <0x30340000 0x10000>;
  453. mux: mux-controller {
  454. compatible = "mmio-mux";
  455. #mux-control-cells = <1>;
  456. mux-reg-masks = <0x14 0x00000010>;
  457. };
  458. video_mux: csi-mux {
  459. compatible = "video-mux";
  460. mux-controls = <&mux 0>;
  461. #address-cells = <1>;
  462. #size-cells = <0>;
  463. status = "disabled";
  464. port@0 {
  465. reg = <0>;
  466. };
  467. port@1 {
  468. reg = <1>;
  469. csi_mux_from_mipi_vc0: endpoint {
  470. remote-endpoint = <&mipi_vc0_to_csi_mux>;
  471. };
  472. };
  473. port@2 {
  474. reg = <2>;
  475. csi_mux_to_csi: endpoint {
  476. remote-endpoint = <&csi_from_csi_mux>;
  477. };
  478. };
  479. };
  480. };
  481. ocotp: efuse@30350000 {
  482. #address-cells = <1>;
  483. #size-cells = <1>;
  484. compatible = "fsl,imx7d-ocotp", "syscon";
  485. reg = <0x30350000 0x10000>;
  486. clocks = <&clks IMX7D_OCOTP_CLK>;
  487. tempmon_calib: calib@3c {
  488. reg = <0x3c 0x4>;
  489. };
  490. fuse_grade: fuse-grade@10 {
  491. reg = <0x10 0x4>;
  492. };
  493. };
  494. anatop: anatop@30360000 {
  495. compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop",
  496. "syscon", "simple-mfd";
  497. reg = <0x30360000 0x10000>;
  498. interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
  499. <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
  500. reg_1p0d: regulator-vdd1p0d {
  501. compatible = "fsl,anatop-regulator";
  502. regulator-name = "vdd1p0d";
  503. regulator-min-microvolt = <800000>;
  504. regulator-max-microvolt = <1200000>;
  505. anatop-reg-offset = <0x210>;
  506. anatop-vol-bit-shift = <8>;
  507. anatop-vol-bit-width = <5>;
  508. anatop-min-bit-val = <8>;
  509. anatop-min-voltage = <800000>;
  510. anatop-max-voltage = <1200000>;
  511. anatop-enable-bit = <0>;
  512. };
  513. reg_1p2: regulator-vdd1p2 {
  514. compatible = "fsl,anatop-regulator";
  515. regulator-name = "vdd1p2";
  516. regulator-min-microvolt = <1100000>;
  517. regulator-max-microvolt = <1300000>;
  518. anatop-reg-offset = <0x220>;
  519. anatop-vol-bit-shift = <8>;
  520. anatop-vol-bit-width = <5>;
  521. anatop-min-bit-val = <0x14>;
  522. anatop-min-voltage = <1100000>;
  523. anatop-max-voltage = <1300000>;
  524. anatop-enable-bit = <0>;
  525. };
  526. tempmon: tempmon {
  527. compatible = "fsl,imx7d-tempmon";
  528. interrupt-parent = <&gpc>;
  529. interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
  530. fsl,tempmon = <&anatop>;
  531. nvmem-cells = <&tempmon_calib>, <&fuse_grade>;
  532. nvmem-cell-names = "calib", "temp_grade";
  533. clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>;
  534. };
  535. };
  536. snvs: snvs@30370000 {
  537. compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
  538. reg = <0x30370000 0x10000>;
  539. snvs_rtc: snvs-rtc-lp {
  540. compatible = "fsl,sec-v4.0-mon-rtc-lp";
  541. regmap = <&snvs>;
  542. offset = <0x34>;
  543. interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
  544. <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  545. clocks = <&clks IMX7D_SNVS_CLK>;
  546. clock-names = "snvs-rtc";
  547. };
  548. snvs_pwrkey: snvs-powerkey {
  549. compatible = "fsl,sec-v4.0-pwrkey";
  550. regmap = <&snvs>;
  551. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  552. clocks = <&clks IMX7D_SNVS_CLK>;
  553. clock-names = "snvs-pwrkey";
  554. linux,keycode = <KEY_POWER>;
  555. wakeup-source;
  556. status = "disabled";
  557. };
  558. };
  559. clks: clock-controller@30380000 {
  560. compatible = "fsl,imx7d-ccm";
  561. reg = <0x30380000 0x10000>;
  562. interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
  563. <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
  564. #clock-cells = <1>;
  565. clocks = <&ckil>, <&osc>;
  566. clock-names = "ckil", "osc";
  567. };
  568. src: reset-controller@30390000 {
  569. compatible = "fsl,imx7d-src", "syscon";
  570. reg = <0x30390000 0x10000>;
  571. interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
  572. #reset-cells = <1>;
  573. };
  574. gpc: gpc@303a0000 {
  575. compatible = "fsl,imx7d-gpc";
  576. reg = <0x303a0000 0x10000>;
  577. interrupt-controller;
  578. interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
  579. #interrupt-cells = <3>;
  580. interrupt-parent = <&intc>;
  581. #power-domain-cells = <1>;
  582. pgc {
  583. #address-cells = <1>;
  584. #size-cells = <0>;
  585. pgc_mipi_phy: power-domain@0 {
  586. #power-domain-cells = <0>;
  587. reg = <0>;
  588. power-supply = <&reg_1p0d>;
  589. };
  590. pgc_pcie_phy: power-domain@1 {
  591. #power-domain-cells = <0>;
  592. reg = <1>;
  593. power-supply = <&reg_1p0d>;
  594. };
  595. pgc_hsic_phy: power-domain@2 {
  596. #power-domain-cells = <0>;
  597. reg = <2>;
  598. power-supply = <&reg_1p2>;
  599. };
  600. };
  601. };
  602. };
  603. aips2: bus@30400000 {
  604. compatible = "fsl,aips-bus", "simple-bus";
  605. #address-cells = <1>;
  606. #size-cells = <1>;
  607. reg = <0x30400000 0x400000>;
  608. ranges;
  609. adc1: adc@30610000 {
  610. compatible = "fsl,imx7d-adc";
  611. reg = <0x30610000 0x10000>;
  612. interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
  613. clocks = <&clks IMX7D_ADC_ROOT_CLK>;
  614. clock-names = "adc";
  615. #io-channel-cells = <1>;
  616. status = "disabled";
  617. };
  618. adc2: adc@30620000 {
  619. compatible = "fsl,imx7d-adc";
  620. reg = <0x30620000 0x10000>;
  621. interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
  622. clocks = <&clks IMX7D_ADC_ROOT_CLK>;
  623. clock-names = "adc";
  624. #io-channel-cells = <1>;
  625. status = "disabled";
  626. };
  627. ecspi4: spi@30630000 {
  628. #address-cells = <1>;
  629. #size-cells = <0>;
  630. compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
  631. reg = <0x30630000 0x10000>;
  632. interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
  633. clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
  634. <&clks IMX7D_ECSPI4_ROOT_CLK>;
  635. clock-names = "ipg", "per";
  636. status = "disabled";
  637. };
  638. ftm1: pwm@30640000 {
  639. compatible = "fsl,vf610-ftm-pwm";
  640. reg = <0x30640000 0x10000>;
  641. #pwm-cells = <3>;
  642. interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
  643. clock-names = "ftm_sys", "ftm_ext",
  644. "ftm_fix", "ftm_cnt_clk_en";
  645. clocks = <&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
  646. <&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
  647. <&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
  648. <&clks IMX7D_FLEXTIMER1_ROOT_CLK>;
  649. status = "disabled";
  650. };
  651. ftm2: pwm@30650000 {
  652. compatible = "fsl,vf610-ftm-pwm";
  653. reg = <0x30650000 0x10000>;
  654. #pwm-cells = <3>;
  655. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
  656. clock-names = "ftm_sys", "ftm_ext",
  657. "ftm_fix", "ftm_cnt_clk_en";
  658. clocks = <&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
  659. <&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
  660. <&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
  661. <&clks IMX7D_FLEXTIMER2_ROOT_CLK>;
  662. status = "disabled";
  663. };
  664. pwm1: pwm@30660000 {
  665. compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
  666. reg = <0x30660000 0x10000>;
  667. interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
  668. clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
  669. <&clks IMX7D_PWM1_ROOT_CLK>;
  670. clock-names = "ipg", "per";
  671. #pwm-cells = <3>;
  672. status = "disabled";
  673. };
  674. pwm2: pwm@30670000 {
  675. compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
  676. reg = <0x30670000 0x10000>;
  677. interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
  678. clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
  679. <&clks IMX7D_PWM2_ROOT_CLK>;
  680. clock-names = "ipg", "per";
  681. #pwm-cells = <3>;
  682. status = "disabled";
  683. };
  684. pwm3: pwm@30680000 {
  685. compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
  686. reg = <0x30680000 0x10000>;
  687. interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  688. clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
  689. <&clks IMX7D_PWM3_ROOT_CLK>;
  690. clock-names = "ipg", "per";
  691. #pwm-cells = <3>;
  692. status = "disabled";
  693. };
  694. pwm4: pwm@30690000 {
  695. compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
  696. reg = <0x30690000 0x10000>;
  697. interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
  698. clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
  699. <&clks IMX7D_PWM4_ROOT_CLK>;
  700. clock-names = "ipg", "per";
  701. #pwm-cells = <3>;
  702. status = "disabled";
  703. };
  704. csi: csi@30710000 {
  705. compatible = "fsl,imx7-csi";
  706. reg = <0x30710000 0x10000>;
  707. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
  708. clocks = <&clks IMX7D_CLK_DUMMY>,
  709. <&clks IMX7D_CSI_MCLK_ROOT_CLK>,
  710. <&clks IMX7D_CLK_DUMMY>;
  711. clock-names = "axi", "mclk", "dcic";
  712. status = "disabled";
  713. port {
  714. csi_from_csi_mux: endpoint {
  715. remote-endpoint = <&csi_mux_to_csi>;
  716. };
  717. };
  718. };
  719. lcdif: lcdif@30730000 {
  720. compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif";
  721. reg = <0x30730000 0x10000>;
  722. interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  723. clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
  724. <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
  725. clock-names = "pix", "axi";
  726. status = "disabled";
  727. };
  728. mipi_csi: mipi-csi@30750000 {
  729. compatible = "fsl,imx7-mipi-csi2";
  730. reg = <0x30750000 0x10000>;
  731. interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
  732. clocks = <&clks IMX7D_IPG_ROOT_CLK>,
  733. <&clks IMX7D_MIPI_CSI_ROOT_CLK>,
  734. <&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
  735. clock-names = "pclk", "wrap", "phy";
  736. power-domains = <&pgc_mipi_phy>;
  737. phy-supply = <&reg_1p0d>;
  738. resets = <&src IMX7_RESET_MIPI_PHY_MRST>;
  739. status = "disabled";
  740. ports {
  741. #address-cells = <1>;
  742. #size-cells = <0>;
  743. port@0 {
  744. reg = <0>;
  745. };
  746. port@1 {
  747. reg = <1>;
  748. mipi_vc0_to_csi_mux: endpoint {
  749. remote-endpoint = <&csi_mux_from_mipi_vc0>;
  750. };
  751. };
  752. };
  753. };
  754. };
  755. aips3: bus@30800000 {
  756. compatible = "fsl,aips-bus", "simple-bus";
  757. #address-cells = <1>;
  758. #size-cells = <1>;
  759. reg = <0x30800000 0x400000>;
  760. ranges;
  761. spba-bus@30800000 {
  762. compatible = "fsl,spba-bus", "simple-bus";
  763. #address-cells = <1>;
  764. #size-cells = <1>;
  765. reg = <0x30800000 0x100000>;
  766. ranges;
  767. ecspi1: spi@30820000 {
  768. #address-cells = <1>;
  769. #size-cells = <0>;
  770. compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
  771. reg = <0x30820000 0x10000>;
  772. interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
  773. clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
  774. <&clks IMX7D_ECSPI1_ROOT_CLK>;
  775. clock-names = "ipg", "per";
  776. status = "disabled";
  777. };
  778. ecspi2: spi@30830000 {
  779. #address-cells = <1>;
  780. #size-cells = <0>;
  781. compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
  782. reg = <0x30830000 0x10000>;
  783. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  784. clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
  785. <&clks IMX7D_ECSPI2_ROOT_CLK>;
  786. clock-names = "ipg", "per";
  787. status = "disabled";
  788. };
  789. ecspi3: spi@30840000 {
  790. #address-cells = <1>;
  791. #size-cells = <0>;
  792. compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
  793. reg = <0x30840000 0x10000>;
  794. interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  795. clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
  796. <&clks IMX7D_ECSPI3_ROOT_CLK>;
  797. clock-names = "ipg", "per";
  798. status = "disabled";
  799. };
  800. uart1: serial@30860000 {
  801. compatible = "fsl,imx7d-uart",
  802. "fsl,imx6q-uart";
  803. reg = <0x30860000 0x10000>;
  804. interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
  805. clocks = <&clks IMX7D_UART1_ROOT_CLK>,
  806. <&clks IMX7D_UART1_ROOT_CLK>;
  807. clock-names = "ipg", "per";
  808. status = "disabled";
  809. };
  810. uart2: serial@30890000 {
  811. compatible = "fsl,imx7d-uart",
  812. "fsl,imx6q-uart";
  813. reg = <0x30890000 0x10000>;
  814. interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
  815. clocks = <&clks IMX7D_UART2_ROOT_CLK>,
  816. <&clks IMX7D_UART2_ROOT_CLK>;
  817. clock-names = "ipg", "per";
  818. status = "disabled";
  819. };
  820. uart3: serial@30880000 {
  821. compatible = "fsl,imx7d-uart",
  822. "fsl,imx6q-uart";
  823. reg = <0x30880000 0x10000>;
  824. interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
  825. clocks = <&clks IMX7D_UART3_ROOT_CLK>,
  826. <&clks IMX7D_UART3_ROOT_CLK>;
  827. clock-names = "ipg", "per";
  828. status = "disabled";
  829. };
  830. sai1: sai@308a0000 {
  831. #sound-dai-cells = <0>;
  832. compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
  833. reg = <0x308a0000 0x10000>;
  834. interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
  835. clocks = <&clks IMX7D_SAI1_IPG_CLK>,
  836. <&clks IMX7D_SAI1_ROOT_CLK>,
  837. <&clks IMX7D_CLK_DUMMY>,
  838. <&clks IMX7D_CLK_DUMMY>;
  839. clock-names = "bus", "mclk1", "mclk2", "mclk3";
  840. dma-names = "rx", "tx";
  841. dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
  842. status = "disabled";
  843. };
  844. sai2: sai@308b0000 {
  845. #sound-dai-cells = <0>;
  846. compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
  847. reg = <0x308b0000 0x10000>;
  848. interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
  849. clocks = <&clks IMX7D_SAI2_IPG_CLK>,
  850. <&clks IMX7D_SAI2_ROOT_CLK>,
  851. <&clks IMX7D_CLK_DUMMY>,
  852. <&clks IMX7D_CLK_DUMMY>;
  853. clock-names = "bus", "mclk1", "mclk2", "mclk3";
  854. dma-names = "rx", "tx";
  855. dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
  856. status = "disabled";
  857. };
  858. sai3: sai@308c0000 {
  859. #sound-dai-cells = <0>;
  860. compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
  861. reg = <0x308c0000 0x10000>;
  862. interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
  863. clocks = <&clks IMX7D_SAI3_IPG_CLK>,
  864. <&clks IMX7D_SAI3_ROOT_CLK>,
  865. <&clks IMX7D_CLK_DUMMY>,
  866. <&clks IMX7D_CLK_DUMMY>;
  867. clock-names = "bus", "mclk1", "mclk2", "mclk3";
  868. dma-names = "rx", "tx";
  869. dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
  870. status = "disabled";
  871. };
  872. };
  873. crypto: crypto@30900000 {
  874. compatible = "fsl,sec-v4.0";
  875. #address-cells = <1>;
  876. #size-cells = <1>;
  877. reg = <0x30900000 0x40000>;
  878. ranges = <0 0x30900000 0x40000>;
  879. interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
  880. clocks = <&clks IMX7D_CAAM_CLK>,
  881. <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
  882. clock-names = "ipg", "aclk";
  883. sec_jr0: jr@1000 {
  884. compatible = "fsl,sec-v4.0-job-ring";
  885. reg = <0x1000 0x1000>;
  886. interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
  887. };
  888. sec_jr1: jr@2000 {
  889. compatible = "fsl,sec-v4.0-job-ring";
  890. reg = <0x2000 0x1000>;
  891. interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
  892. };
  893. sec_jr2: jr@3000 {
  894. compatible = "fsl,sec-v4.0-job-ring";
  895. reg = <0x3000 0x1000>;
  896. interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
  897. };
  898. };
  899. flexcan1: can@30a00000 {
  900. compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
  901. reg = <0x30a00000 0x10000>;
  902. interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
  903. clocks = <&clks IMX7D_CLK_DUMMY>,
  904. <&clks IMX7D_CAN1_ROOT_CLK>;
  905. clock-names = "ipg", "per";
  906. fsl,stop-mode = <&gpr 0x10 1>;
  907. status = "disabled";
  908. };
  909. flexcan2: can@30a10000 {
  910. compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
  911. reg = <0x30a10000 0x10000>;
  912. interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
  913. clocks = <&clks IMX7D_CLK_DUMMY>,
  914. <&clks IMX7D_CAN2_ROOT_CLK>;
  915. clock-names = "ipg", "per";
  916. fsl,stop-mode = <&gpr 0x10 2>;
  917. status = "disabled";
  918. };
  919. i2c1: i2c@30a20000 {
  920. #address-cells = <1>;
  921. #size-cells = <0>;
  922. compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
  923. reg = <0x30a20000 0x10000>;
  924. interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  925. clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
  926. status = "disabled";
  927. };
  928. i2c2: i2c@30a30000 {
  929. #address-cells = <1>;
  930. #size-cells = <0>;
  931. compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
  932. reg = <0x30a30000 0x10000>;
  933. interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
  934. clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
  935. status = "disabled";
  936. };
  937. i2c3: i2c@30a40000 {
  938. #address-cells = <1>;
  939. #size-cells = <0>;
  940. compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
  941. reg = <0x30a40000 0x10000>;
  942. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  943. clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
  944. status = "disabled";
  945. };
  946. i2c4: i2c@30a50000 {
  947. #address-cells = <1>;
  948. #size-cells = <0>;
  949. compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
  950. reg = <0x30a50000 0x10000>;
  951. interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
  952. clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
  953. status = "disabled";
  954. };
  955. uart4: serial@30a60000 {
  956. compatible = "fsl,imx7d-uart",
  957. "fsl,imx6q-uart";
  958. reg = <0x30a60000 0x10000>;
  959. interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
  960. clocks = <&clks IMX7D_UART4_ROOT_CLK>,
  961. <&clks IMX7D_UART4_ROOT_CLK>;
  962. clock-names = "ipg", "per";
  963. status = "disabled";
  964. };
  965. uart5: serial@30a70000 {
  966. compatible = "fsl,imx7d-uart",
  967. "fsl,imx6q-uart";
  968. reg = <0x30a70000 0x10000>;
  969. interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  970. clocks = <&clks IMX7D_UART5_ROOT_CLK>,
  971. <&clks IMX7D_UART5_ROOT_CLK>;
  972. clock-names = "ipg", "per";
  973. status = "disabled";
  974. };
  975. uart6: serial@30a80000 {
  976. compatible = "fsl,imx7d-uart",
  977. "fsl,imx6q-uart";
  978. reg = <0x30a80000 0x10000>;
  979. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  980. clocks = <&clks IMX7D_UART6_ROOT_CLK>,
  981. <&clks IMX7D_UART6_ROOT_CLK>;
  982. clock-names = "ipg", "per";
  983. status = "disabled";
  984. };
  985. uart7: serial@30a90000 {
  986. compatible = "fsl,imx7d-uart",
  987. "fsl,imx6q-uart";
  988. reg = <0x30a90000 0x10000>;
  989. interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
  990. clocks = <&clks IMX7D_UART7_ROOT_CLK>,
  991. <&clks IMX7D_UART7_ROOT_CLK>;
  992. clock-names = "ipg", "per";
  993. status = "disabled";
  994. };
  995. mu0a: mailbox@30aa0000 {
  996. compatible = "fsl,imx7s-mu", "fsl,imx6sx-mu";
  997. reg = <0x30aa0000 0x10000>;
  998. interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
  999. clocks = <&clks IMX7D_MU_ROOT_CLK>;
  1000. #mbox-cells = <2>;
  1001. status = "disabled";
  1002. };
  1003. mu0b: mailbox@30ab0000 {
  1004. compatible = "fsl,imx7s-mu", "fsl,imx6sx-mu";
  1005. reg = <0x30ab0000 0x10000>;
  1006. interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
  1007. clocks = <&clks IMX7D_MU_ROOT_CLK>;
  1008. #mbox-cells = <2>;
  1009. fsl,mu-side-b;
  1010. status = "disabled";
  1011. };
  1012. usbotg1: usb@30b10000 {
  1013. compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
  1014. reg = <0x30b10000 0x200>;
  1015. interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  1016. clocks = <&clks IMX7D_USB_CTRL_CLK>;
  1017. fsl,usbphy = <&usbphynop1>;
  1018. fsl,usbmisc = <&usbmisc1 0>;
  1019. phy-clkgate-delay-us = <400>;
  1020. status = "disabled";
  1021. };
  1022. usbh: usb@30b30000 {
  1023. compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
  1024. reg = <0x30b30000 0x200>;
  1025. interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
  1026. clocks = <&clks IMX7D_USB_CTRL_CLK>;
  1027. fsl,usbphy = <&usbphynop3>;
  1028. fsl,usbmisc = <&usbmisc3 0>;
  1029. phy_type = "hsic";
  1030. dr_mode = "host";
  1031. phy-clkgate-delay-us = <400>;
  1032. status = "disabled";
  1033. };
  1034. usbmisc1: usbmisc@30b10200 {
  1035. #index-cells = <1>;
  1036. compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
  1037. reg = <0x30b10200 0x200>;
  1038. };
  1039. usbmisc3: usbmisc@30b30200 {
  1040. #index-cells = <1>;
  1041. compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
  1042. reg = <0x30b30200 0x200>;
  1043. };
  1044. usdhc1: mmc@30b40000 {
  1045. compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
  1046. reg = <0x30b40000 0x10000>;
  1047. interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
  1048. clocks = <&clks IMX7D_IPG_ROOT_CLK>,
  1049. <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
  1050. <&clks IMX7D_USDHC1_ROOT_CLK>;
  1051. clock-names = "ipg", "ahb", "per";
  1052. bus-width = <4>;
  1053. fsl,tuning-step = <2>;
  1054. fsl,tuning-start-tap = <20>;
  1055. status = "disabled";
  1056. };
  1057. usdhc2: mmc@30b50000 {
  1058. compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
  1059. reg = <0x30b50000 0x10000>;
  1060. interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
  1061. clocks = <&clks IMX7D_IPG_ROOT_CLK>,
  1062. <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
  1063. <&clks IMX7D_USDHC2_ROOT_CLK>;
  1064. clock-names = "ipg", "ahb", "per";
  1065. bus-width = <4>;
  1066. fsl,tuning-step = <2>;
  1067. fsl,tuning-start-tap = <20>;
  1068. status = "disabled";
  1069. };
  1070. usdhc3: mmc@30b60000 {
  1071. compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
  1072. reg = <0x30b60000 0x10000>;
  1073. interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
  1074. clocks = <&clks IMX7D_IPG_ROOT_CLK>,
  1075. <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
  1076. <&clks IMX7D_USDHC3_ROOT_CLK>;
  1077. clock-names = "ipg", "ahb", "per";
  1078. bus-width = <4>;
  1079. fsl,tuning-step = <2>;
  1080. fsl,tuning-start-tap = <20>;
  1081. status = "disabled";
  1082. };
  1083. qspi: spi@30bb0000 {
  1084. compatible = "fsl,imx7d-qspi";
  1085. reg = <0x30bb0000 0x10000>, <0x60000000 0x10000000>;
  1086. reg-names = "QuadSPI", "QuadSPI-memory";
  1087. #address-cells = <1>;
  1088. #size-cells = <0>;
  1089. interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
  1090. clocks = <&clks IMX7D_QSPI_ROOT_CLK>,
  1091. <&clks IMX7D_QSPI_ROOT_CLK>;
  1092. clock-names = "qspi_en", "qspi";
  1093. status = "disabled";
  1094. };
  1095. sdma: dma-controller@30bd0000 {
  1096. compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
  1097. reg = <0x30bd0000 0x10000>;
  1098. interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
  1099. clocks = <&clks IMX7D_IPG_ROOT_CLK>,
  1100. <&clks IMX7D_SDMA_CORE_CLK>;
  1101. clock-names = "ipg", "ahb";
  1102. #dma-cells = <3>;
  1103. fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
  1104. };
  1105. fec1: ethernet@30be0000 {
  1106. compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
  1107. reg = <0x30be0000 0x10000>;
  1108. interrupt-names = "int0", "int1", "int2", "pps";
  1109. interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  1110. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
  1111. <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
  1112. <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
  1113. clocks = <&clks IMX7D_ENET1_IPG_ROOT_CLK>,
  1114. <&clks IMX7D_ENET_AXI_ROOT_CLK>,
  1115. <&clks IMX7D_ENET1_TIME_ROOT_CLK>,
  1116. <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
  1117. <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
  1118. clock-names = "ipg", "ahb", "ptp",
  1119. "enet_clk_ref", "enet_out";
  1120. fsl,num-tx-queues = <3>;
  1121. fsl,num-rx-queues = <3>;
  1122. fsl,stop-mode = <&gpr 0x10 3>;
  1123. status = "disabled";
  1124. };
  1125. };
  1126. dma_apbh: dma-apbh@33000000 {
  1127. compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
  1128. reg = <0x33000000 0x2000>;
  1129. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
  1130. <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
  1131. <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
  1132. <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  1133. interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
  1134. #dma-cells = <1>;
  1135. dma-channels = <4>;
  1136. clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
  1137. };
  1138. gpmi: nand-controller@33002000{
  1139. compatible = "fsl,imx7d-gpmi-nand";
  1140. #address-cells = <1>;
  1141. #size-cells = <1>;
  1142. reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
  1143. reg-names = "gpmi-nand", "bch";
  1144. interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  1145. interrupt-names = "bch";
  1146. clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
  1147. <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
  1148. clock-names = "gpmi_io", "gpmi_bch_apb";
  1149. dmas = <&dma_apbh 0>;
  1150. dma-names = "rx-tx";
  1151. status = "disabled";
  1152. assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
  1153. assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;
  1154. };
  1155. };
  1156. };