imx7s.dtsi 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992
  1. /*
  2. * Copyright 2015 Freescale Semiconductor, Inc.
  3. * Copyright 2016 Toradex AG
  4. *
  5. * This file is dual-licensed: you can use it either under the terms
  6. * of the GPL or the X11 license, at your option. Note that this dual
  7. * licensing only applies to this file, and not this project as a
  8. * whole.
  9. *
  10. * a) This file is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU General Public License as
  12. * published by the Free Software Foundation; either version 2 of the
  13. * License, or (at your option) any later version.
  14. *
  15. * This file is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * Or, alternatively,
  21. *
  22. * b) Permission is hereby granted, free of charge, to any person
  23. * obtaining a copy of this software and associated documentation
  24. * files (the "Software"), to deal in the Software without
  25. * restriction, including without limitation the rights to use,
  26. * copy, modify, merge, publish, distribute, sublicense, and/or
  27. * sell copies of the Software, and to permit persons to whom the
  28. * Software is furnished to do so, subject to the following
  29. * conditions:
  30. *
  31. * The above copyright notice and this permission notice shall be
  32. * included in all copies or substantial portions of the Software.
  33. *
  34. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  35. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  36. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  37. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  38. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  39. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  40. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  41. * OTHER DEALINGS IN THE SOFTWARE.
  42. */
  43. #include <dt-bindings/clock/imx7d-clock.h>
  44. #include <dt-bindings/gpio/gpio.h>
  45. #include <dt-bindings/input/input.h>
  46. #include <dt-bindings/interrupt-controller/arm-gic.h>
  47. #include "imx7d-pinfunc.h"
  48. #include "skeleton.dtsi"
  49. / {
  50. aliases {
  51. gpio0 = &gpio1;
  52. gpio1 = &gpio2;
  53. gpio2 = &gpio3;
  54. gpio3 = &gpio4;
  55. gpio4 = &gpio5;
  56. gpio5 = &gpio6;
  57. gpio6 = &gpio7;
  58. i2c0 = &i2c1;
  59. i2c1 = &i2c2;
  60. i2c2 = &i2c3;
  61. i2c3 = &i2c4;
  62. mmc0 = &usdhc1;
  63. mmc1 = &usdhc2;
  64. mmc2 = &usdhc3;
  65. serial0 = &uart1;
  66. serial1 = &uart2;
  67. serial2 = &uart3;
  68. serial3 = &uart4;
  69. serial4 = &uart5;
  70. serial5 = &uart6;
  71. serial6 = &uart7;
  72. spi0 = &ecspi1;
  73. spi1 = &ecspi2;
  74. spi2 = &ecspi3;
  75. spi3 = &ecspi4;
  76. };
  77. cpus {
  78. #address-cells = <1>;
  79. #size-cells = <0>;
  80. cpu0: cpu@0 {
  81. compatible = "arm,cortex-a7";
  82. device_type = "cpu";
  83. reg = <0>;
  84. clock-frequency = <792000000>;
  85. clock-latency = <61036>; /* two CLK32 periods */
  86. clocks = <&clks IMX7D_CLK_ARM>;
  87. };
  88. };
  89. ckil: clock-cki {
  90. compatible = "fixed-clock";
  91. #clock-cells = <0>;
  92. clock-frequency = <32768>;
  93. clock-output-names = "ckil";
  94. };
  95. osc: clock-osc {
  96. compatible = "fixed-clock";
  97. #clock-cells = <0>;
  98. clock-frequency = <24000000>;
  99. clock-output-names = "osc";
  100. };
  101. soc {
  102. #address-cells = <1>;
  103. #size-cells = <1>;
  104. compatible = "simple-bus";
  105. interrupt-parent = <&intc>;
  106. ranges;
  107. funnel@30041000 {
  108. compatible = "arm,coresight-funnel", "arm,primecell";
  109. reg = <0x30041000 0x1000>;
  110. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  111. clock-names = "apb_pclk";
  112. ca_funnel_ports: ports {
  113. #address-cells = <1>;
  114. #size-cells = <0>;
  115. /* funnel input ports */
  116. port@0 {
  117. reg = <0>;
  118. ca_funnel_in_port0: endpoint {
  119. slave-mode;
  120. remote-endpoint = <&etm0_out_port>;
  121. };
  122. };
  123. /* funnel output port */
  124. port@2 {
  125. reg = <0>;
  126. ca_funnel_out_port0: endpoint {
  127. remote-endpoint = <&hugo_funnel_in_port0>;
  128. };
  129. };
  130. /* the other input ports are not connect to anything */
  131. };
  132. };
  133. etm@3007c000 {
  134. compatible = "arm,coresight-etm3x", "arm,primecell";
  135. reg = <0x3007c000 0x1000>;
  136. cpu = <&cpu0>;
  137. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  138. clock-names = "apb_pclk";
  139. port {
  140. etm0_out_port: endpoint {
  141. remote-endpoint = <&ca_funnel_in_port0>;
  142. };
  143. };
  144. };
  145. funnel@30083000 {
  146. compatible = "arm,coresight-funnel", "arm,primecell";
  147. reg = <0x30083000 0x1000>;
  148. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  149. clock-names = "apb_pclk";
  150. ports {
  151. #address-cells = <1>;
  152. #size-cells = <0>;
  153. /* funnel input ports */
  154. port@0 {
  155. reg = <0>;
  156. hugo_funnel_in_port0: endpoint {
  157. slave-mode;
  158. remote-endpoint = <&ca_funnel_out_port0>;
  159. };
  160. };
  161. port@1 {
  162. reg = <1>;
  163. hugo_funnel_in_port1: endpoint {
  164. slave-mode; /* M4 input */
  165. };
  166. };
  167. port@2 {
  168. reg = <0>;
  169. hugo_funnel_out_port0: endpoint {
  170. remote-endpoint = <&etf_in_port>;
  171. };
  172. };
  173. /* the other input ports are not connect to anything */
  174. };
  175. };
  176. etf@30084000 {
  177. compatible = "arm,coresight-tmc", "arm,primecell";
  178. reg = <0x30084000 0x1000>;
  179. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  180. clock-names = "apb_pclk";
  181. ports {
  182. #address-cells = <1>;
  183. #size-cells = <0>;
  184. port@0 {
  185. reg = <0>;
  186. etf_in_port: endpoint {
  187. slave-mode;
  188. remote-endpoint = <&hugo_funnel_out_port0>;
  189. };
  190. };
  191. port@1 {
  192. reg = <0>;
  193. etf_out_port: endpoint {
  194. remote-endpoint = <&replicator_in_port0>;
  195. };
  196. };
  197. };
  198. };
  199. etr@30086000 {
  200. compatible = "arm,coresight-tmc", "arm,primecell";
  201. reg = <0x30086000 0x1000>;
  202. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  203. clock-names = "apb_pclk";
  204. port {
  205. etr_in_port: endpoint {
  206. slave-mode;
  207. remote-endpoint = <&replicator_out_port1>;
  208. };
  209. };
  210. };
  211. tpiu@30087000 {
  212. compatible = "arm,coresight-tpiu", "arm,primecell";
  213. reg = <0x30087000 0x1000>;
  214. clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
  215. clock-names = "apb_pclk";
  216. port {
  217. tpiu_in_port: endpoint {
  218. slave-mode;
  219. remote-endpoint = <&replicator_out_port1>;
  220. };
  221. };
  222. };
  223. replicator {
  224. /*
  225. * non-configurable replicators don't show up on the
  226. * AMBA bus. As such no need to add "arm,primecell"
  227. */
  228. compatible = "arm,coresight-replicator";
  229. ports {
  230. #address-cells = <1>;
  231. #size-cells = <0>;
  232. /* replicator output ports */
  233. port@0 {
  234. reg = <0>;
  235. replicator_out_port0: endpoint {
  236. remote-endpoint = <&tpiu_in_port>;
  237. };
  238. };
  239. port@1 {
  240. reg = <1>;
  241. replicator_out_port1: endpoint {
  242. remote-endpoint = <&etr_in_port>;
  243. };
  244. };
  245. /* replicator input port */
  246. port@2 {
  247. reg = <0>;
  248. replicator_in_port0: endpoint {
  249. slave-mode;
  250. remote-endpoint = <&etf_out_port>;
  251. };
  252. };
  253. };
  254. };
  255. intc: interrupt-controller@31001000 {
  256. compatible = "arm,cortex-a7-gic";
  257. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
  258. #interrupt-cells = <3>;
  259. interrupt-controller;
  260. reg = <0x31001000 0x1000>,
  261. <0x31002000 0x2000>,
  262. <0x31004000 0x2000>,
  263. <0x31006000 0x2000>;
  264. };
  265. timer {
  266. compatible = "arm,armv7-timer";
  267. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  268. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  269. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  270. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
  271. };
  272. aips1: aips-bus@30000000 {
  273. compatible = "fsl,aips-bus", "simple-bus";
  274. #address-cells = <1>;
  275. #size-cells = <1>;
  276. reg = <0x30000000 0x400000>;
  277. ranges;
  278. gpio1: gpio@30200000 {
  279. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  280. reg = <0x30200000 0x10000>;
  281. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */
  282. <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */
  283. gpio-controller;
  284. #gpio-cells = <2>;
  285. interrupt-controller;
  286. #interrupt-cells = <2>;
  287. gpio-ranges = <&iomuxc_lpsr 0 0 8>, <&iomuxc 8 5 8>;
  288. };
  289. gpio2: gpio@30210000 {
  290. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  291. reg = <0x30210000 0x10000>;
  292. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
  293. <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
  294. gpio-controller;
  295. #gpio-cells = <2>;
  296. interrupt-controller;
  297. #interrupt-cells = <2>;
  298. gpio-ranges = <&iomuxc 0 13 32>;
  299. };
  300. gpio3: gpio@30220000 {
  301. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  302. reg = <0x30220000 0x10000>;
  303. interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
  304. <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
  305. gpio-controller;
  306. #gpio-cells = <2>;
  307. interrupt-controller;
  308. #interrupt-cells = <2>;
  309. gpio-ranges = <&iomuxc 0 45 29>;
  310. };
  311. gpio4: gpio@30230000 {
  312. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  313. reg = <0x30230000 0x10000>;
  314. interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
  315. <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  316. gpio-controller;
  317. #gpio-cells = <2>;
  318. interrupt-controller;
  319. #interrupt-cells = <2>;
  320. gpio-ranges = <&iomuxc 0 74 24>;
  321. };
  322. gpio5: gpio@30240000 {
  323. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  324. reg = <0x30240000 0x10000>;
  325. interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
  326. <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  327. gpio-controller;
  328. #gpio-cells = <2>;
  329. interrupt-controller;
  330. #interrupt-cells = <2>;
  331. gpio-ranges = <&iomuxc 0 98 18>;
  332. };
  333. gpio6: gpio@30250000 {
  334. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  335. reg = <0x30250000 0x10000>;
  336. interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
  337. <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
  338. gpio-controller;
  339. #gpio-cells = <2>;
  340. interrupt-controller;
  341. #interrupt-cells = <2>;
  342. gpio-ranges = <&iomuxc 0 116 23>;
  343. };
  344. gpio7: gpio@30260000 {
  345. compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
  346. reg = <0x30260000 0x10000>;
  347. interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
  348. <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
  349. gpio-controller;
  350. #gpio-cells = <2>;
  351. interrupt-controller;
  352. #interrupt-cells = <2>;
  353. gpio-ranges = <&iomuxc 0 139 16>;
  354. };
  355. wdog1: wdog@30280000 {
  356. compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
  357. reg = <0x30280000 0x10000>;
  358. interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
  359. clocks = <&clks IMX7D_WDOG1_ROOT_CLK>;
  360. };
  361. wdog2: wdog@30290000 {
  362. compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
  363. reg = <0x30290000 0x10000>;
  364. interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
  365. clocks = <&clks IMX7D_WDOG2_ROOT_CLK>;
  366. status = "disabled";
  367. };
  368. wdog3: wdog@302a0000 {
  369. compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
  370. reg = <0x302a0000 0x10000>;
  371. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  372. clocks = <&clks IMX7D_WDOG3_ROOT_CLK>;
  373. status = "disabled";
  374. };
  375. wdog4: wdog@302b0000 {
  376. compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
  377. reg = <0x302b0000 0x10000>;
  378. interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
  379. clocks = <&clks IMX7D_WDOG4_ROOT_CLK>;
  380. status = "disabled";
  381. };
  382. iomuxc_lpsr: iomuxc-lpsr@302c0000 {
  383. compatible = "fsl,imx7d-iomuxc-lpsr";
  384. reg = <0x302c0000 0x10000>;
  385. fsl,input-sel = <&iomuxc>;
  386. };
  387. gpt1: gpt@302d0000 {
  388. compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
  389. reg = <0x302d0000 0x10000>;
  390. interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
  391. clocks = <&clks IMX7D_CLK_DUMMY>,
  392. <&clks IMX7D_GPT1_ROOT_CLK>;
  393. clock-names = "ipg", "per";
  394. };
  395. gpt2: gpt@302e0000 {
  396. compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
  397. reg = <0x302e0000 0x10000>;
  398. interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
  399. clocks = <&clks IMX7D_CLK_DUMMY>,
  400. <&clks IMX7D_GPT2_ROOT_CLK>;
  401. clock-names = "ipg", "per";
  402. status = "disabled";
  403. };
  404. gpt3: gpt@302f0000 {
  405. compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
  406. reg = <0x302f0000 0x10000>;
  407. interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
  408. clocks = <&clks IMX7D_CLK_DUMMY>,
  409. <&clks IMX7D_GPT3_ROOT_CLK>;
  410. clock-names = "ipg", "per";
  411. status = "disabled";
  412. };
  413. gpt4: gpt@30300000 {
  414. compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
  415. reg = <0x30300000 0x10000>;
  416. interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
  417. clocks = <&clks IMX7D_CLK_DUMMY>,
  418. <&clks IMX7D_GPT4_ROOT_CLK>;
  419. clock-names = "ipg", "per";
  420. status = "disabled";
  421. };
  422. iomuxc: iomuxc@30330000 {
  423. compatible = "fsl,imx7d-iomuxc";
  424. reg = <0x30330000 0x10000>;
  425. };
  426. gpr: iomuxc-gpr@30340000 {
  427. compatible = "fsl,imx7d-iomuxc-gpr", "syscon";
  428. reg = <0x30340000 0x10000>;
  429. };
  430. ocotp: ocotp-ctrl@30350000 {
  431. compatible = "syscon";
  432. reg = <0x30350000 0x10000>;
  433. clocks = <&clks IMX7D_CLK_DUMMY>;
  434. status = "disabled";
  435. };
  436. anatop: anatop@30360000 {
  437. compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop",
  438. "syscon", "simple-bus";
  439. reg = <0x30360000 0x10000>;
  440. interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
  441. <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
  442. reg_1p0d: regulator-vdd1p0d {
  443. compatible = "fsl,anatop-regulator";
  444. regulator-name = "vdd1p0d";
  445. regulator-min-microvolt = <800000>;
  446. regulator-max-microvolt = <1200000>;
  447. anatop-reg-offset = <0x210>;
  448. anatop-vol-bit-shift = <8>;
  449. anatop-vol-bit-width = <5>;
  450. anatop-min-bit-val = <8>;
  451. anatop-min-voltage = <800000>;
  452. anatop-max-voltage = <1200000>;
  453. anatop-enable-bit = <31>;
  454. };
  455. };
  456. snvs: snvs@30370000 {
  457. compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
  458. reg = <0x30370000 0x10000>;
  459. snvs_rtc: snvs-rtc-lp {
  460. compatible = "fsl,sec-v4.0-mon-rtc-lp";
  461. regmap = <&snvs>;
  462. offset = <0x34>;
  463. interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
  464. <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  465. };
  466. snvs_poweroff: snvs-poweroff {
  467. compatible = "syscon-poweroff";
  468. regmap = <&snvs>;
  469. offset = <0x38>;
  470. mask = <0x60>;
  471. };
  472. snvs_pwrkey: snvs-powerkey {
  473. compatible = "fsl,sec-v4.0-pwrkey";
  474. regmap = <&snvs>;
  475. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  476. linux,keycode = <KEY_POWER>;
  477. wakeup-source;
  478. };
  479. };
  480. clks: ccm@30380000 {
  481. compatible = "fsl,imx7d-ccm";
  482. reg = <0x30380000 0x10000>;
  483. interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
  484. <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
  485. #clock-cells = <1>;
  486. clocks = <&ckil>, <&osc>;
  487. clock-names = "ckil", "osc";
  488. };
  489. src: src@30390000 {
  490. compatible = "fsl,imx7d-src", "fsl,imx51-src", "syscon";
  491. reg = <0x30390000 0x10000>;
  492. interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
  493. #reset-cells = <1>;
  494. };
  495. };
  496. aips2: aips-bus@30400000 {
  497. compatible = "fsl,aips-bus", "simple-bus";
  498. #address-cells = <1>;
  499. #size-cells = <1>;
  500. reg = <0x30400000 0x400000>;
  501. ranges;
  502. adc1: adc@30610000 {
  503. compatible = "fsl,imx7d-adc";
  504. reg = <0x30610000 0x10000>;
  505. interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
  506. clocks = <&clks IMX7D_ADC_ROOT_CLK>;
  507. clock-names = "adc";
  508. status = "disabled";
  509. };
  510. adc2: adc@30620000 {
  511. compatible = "fsl,imx7d-adc";
  512. reg = <0x30620000 0x10000>;
  513. interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
  514. clocks = <&clks IMX7D_ADC_ROOT_CLK>;
  515. clock-names = "adc";
  516. status = "disabled";
  517. };
  518. ecspi4: ecspi@30630000 {
  519. #address-cells = <1>;
  520. #size-cells = <0>;
  521. compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
  522. reg = <0x30630000 0x10000>;
  523. interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
  524. clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
  525. <&clks IMX7D_ECSPI4_ROOT_CLK>;
  526. clock-names = "ipg", "per";
  527. status = "disabled";
  528. };
  529. pwm1: pwm@30660000 {
  530. compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
  531. reg = <0x30660000 0x10000>;
  532. interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
  533. clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
  534. <&clks IMX7D_PWM1_ROOT_CLK>;
  535. clock-names = "ipg", "per";
  536. #pwm-cells = <2>;
  537. status = "disabled";
  538. };
  539. pwm2: pwm@30670000 {
  540. compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
  541. reg = <0x30670000 0x10000>;
  542. interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
  543. clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
  544. <&clks IMX7D_PWM2_ROOT_CLK>;
  545. clock-names = "ipg", "per";
  546. #pwm-cells = <2>;
  547. status = "disabled";
  548. };
  549. pwm3: pwm@30680000 {
  550. compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
  551. reg = <0x30680000 0x10000>;
  552. interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  553. clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
  554. <&clks IMX7D_PWM3_ROOT_CLK>;
  555. clock-names = "ipg", "per";
  556. #pwm-cells = <2>;
  557. status = "disabled";
  558. };
  559. pwm4: pwm@30690000 {
  560. compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
  561. reg = <0x30690000 0x10000>;
  562. interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
  563. clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
  564. <&clks IMX7D_PWM4_ROOT_CLK>;
  565. clock-names = "ipg", "per";
  566. #pwm-cells = <2>;
  567. status = "disabled";
  568. };
  569. lcdif: lcdif@30730000 {
  570. compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif";
  571. reg = <0x30730000 0x10000>;
  572. interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  573. clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
  574. <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
  575. clock-names = "pix", "axi";
  576. status = "disabled";
  577. };
  578. };
  579. aips3: aips-bus@30800000 {
  580. compatible = "fsl,aips-bus", "simple-bus";
  581. #address-cells = <1>;
  582. #size-cells = <1>;
  583. reg = <0x30800000 0x400000>;
  584. ranges;
  585. ecspi1: ecspi@30820000 {
  586. #address-cells = <1>;
  587. #size-cells = <0>;
  588. compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
  589. reg = <0x30820000 0x10000>;
  590. interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
  591. clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
  592. <&clks IMX7D_ECSPI1_ROOT_CLK>;
  593. clock-names = "ipg", "per";
  594. status = "disabled";
  595. };
  596. ecspi2: ecspi@30830000 {
  597. #address-cells = <1>;
  598. #size-cells = <0>;
  599. compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
  600. reg = <0x30830000 0x10000>;
  601. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  602. clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
  603. <&clks IMX7D_ECSPI2_ROOT_CLK>;
  604. clock-names = "ipg", "per";
  605. status = "disabled";
  606. };
  607. ecspi3: ecspi@30840000 {
  608. #address-cells = <1>;
  609. #size-cells = <0>;
  610. compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
  611. reg = <0x30840000 0x10000>;
  612. interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  613. clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
  614. <&clks IMX7D_ECSPI3_ROOT_CLK>;
  615. clock-names = "ipg", "per";
  616. status = "disabled";
  617. };
  618. uart1: serial@30860000 {
  619. compatible = "fsl,imx7d-uart",
  620. "fsl,imx6q-uart";
  621. reg = <0x30860000 0x10000>;
  622. interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
  623. clocks = <&clks IMX7D_UART1_ROOT_CLK>,
  624. <&clks IMX7D_UART1_ROOT_CLK>;
  625. clock-names = "ipg", "per";
  626. status = "disabled";
  627. };
  628. uart2: serial@30890000 {
  629. compatible = "fsl,imx7d-uart",
  630. "fsl,imx6q-uart";
  631. reg = <0x30890000 0x10000>;
  632. interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
  633. clocks = <&clks IMX7D_UART2_ROOT_CLK>,
  634. <&clks IMX7D_UART2_ROOT_CLK>;
  635. clock-names = "ipg", "per";
  636. status = "disabled";
  637. };
  638. uart3: serial@30880000 {
  639. compatible = "fsl,imx7d-uart",
  640. "fsl,imx6q-uart";
  641. reg = <0x30880000 0x10000>;
  642. interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
  643. clocks = <&clks IMX7D_UART3_ROOT_CLK>,
  644. <&clks IMX7D_UART3_ROOT_CLK>;
  645. clock-names = "ipg", "per";
  646. status = "disabled";
  647. };
  648. sai1: sai@308a0000 {
  649. #sound-dai-cells = <0>;
  650. compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
  651. reg = <0x308a0000 0x10000>;
  652. interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
  653. clocks = <&clks IMX7D_SAI1_IPG_CLK>,
  654. <&clks IMX7D_SAI1_ROOT_CLK>,
  655. <&clks IMX7D_CLK_DUMMY>,
  656. <&clks IMX7D_CLK_DUMMY>;
  657. clock-names = "bus", "mclk1", "mclk2", "mclk3";
  658. dma-names = "rx", "tx";
  659. dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
  660. status = "disabled";
  661. };
  662. sai2: sai@308b0000 {
  663. #sound-dai-cells = <0>;
  664. compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
  665. reg = <0x308b0000 0x10000>;
  666. interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
  667. clocks = <&clks IMX7D_SAI2_IPG_CLK>,
  668. <&clks IMX7D_SAI2_ROOT_CLK>,
  669. <&clks IMX7D_CLK_DUMMY>,
  670. <&clks IMX7D_CLK_DUMMY>;
  671. clock-names = "bus", "mclk1", "mclk2", "mclk3";
  672. dma-names = "rx", "tx";
  673. dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
  674. status = "disabled";
  675. };
  676. sai3: sai@308c0000 {
  677. #sound-dai-cells = <0>;
  678. compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
  679. reg = <0x308c0000 0x10000>;
  680. interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
  681. clocks = <&clks IMX7D_SAI3_IPG_CLK>,
  682. <&clks IMX7D_SAI3_ROOT_CLK>,
  683. <&clks IMX7D_CLK_DUMMY>,
  684. <&clks IMX7D_CLK_DUMMY>;
  685. clock-names = "bus", "mclk1", "mclk2", "mclk3";
  686. dma-names = "rx", "tx";
  687. dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
  688. status = "disabled";
  689. };
  690. flexcan1: can@30a00000 {
  691. compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
  692. reg = <0x30a00000 0x10000>;
  693. interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
  694. clocks = <&clks IMX7D_CLK_DUMMY>,
  695. <&clks IMX7D_CAN1_ROOT_CLK>;
  696. clock-names = "ipg", "per";
  697. status = "disabled";
  698. };
  699. flexcan2: can@30a10000 {
  700. compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
  701. reg = <0x30a10000 0x10000>;
  702. interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
  703. clocks = <&clks IMX7D_CLK_DUMMY>,
  704. <&clks IMX7D_CAN2_ROOT_CLK>;
  705. clock-names = "ipg", "per";
  706. status = "disabled";
  707. };
  708. i2c1: i2c@30a20000 {
  709. #address-cells = <1>;
  710. #size-cells = <0>;
  711. compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
  712. reg = <0x30a20000 0x10000>;
  713. interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  714. clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
  715. status = "disabled";
  716. };
  717. i2c2: i2c@30a30000 {
  718. #address-cells = <1>;
  719. #size-cells = <0>;
  720. compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
  721. reg = <0x30a30000 0x10000>;
  722. interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
  723. clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
  724. status = "disabled";
  725. };
  726. i2c3: i2c@30a40000 {
  727. #address-cells = <1>;
  728. #size-cells = <0>;
  729. compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
  730. reg = <0x30a40000 0x10000>;
  731. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  732. clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
  733. status = "disabled";
  734. };
  735. i2c4: i2c@30a50000 {
  736. #address-cells = <1>;
  737. #size-cells = <0>;
  738. compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
  739. reg = <0x30a50000 0x10000>;
  740. interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
  741. clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
  742. status = "disabled";
  743. };
  744. uart4: serial@30a60000 {
  745. compatible = "fsl,imx7d-uart",
  746. "fsl,imx6q-uart";
  747. reg = <0x30a60000 0x10000>;
  748. interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
  749. clocks = <&clks IMX7D_UART4_ROOT_CLK>,
  750. <&clks IMX7D_UART4_ROOT_CLK>;
  751. clock-names = "ipg", "per";
  752. status = "disabled";
  753. };
  754. uart5: serial@30a70000 {
  755. compatible = "fsl,imx7d-uart",
  756. "fsl,imx6q-uart";
  757. reg = <0x30a70000 0x10000>;
  758. interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  759. clocks = <&clks IMX7D_UART5_ROOT_CLK>,
  760. <&clks IMX7D_UART5_ROOT_CLK>;
  761. clock-names = "ipg", "per";
  762. status = "disabled";
  763. };
  764. uart6: serial@30a80000 {
  765. compatible = "fsl,imx7d-uart",
  766. "fsl,imx6q-uart";
  767. reg = <0x30a80000 0x10000>;
  768. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  769. clocks = <&clks IMX7D_UART6_ROOT_CLK>,
  770. <&clks IMX7D_UART6_ROOT_CLK>;
  771. clock-names = "ipg", "per";
  772. status = "disabled";
  773. };
  774. uart7: serial@30a90000 {
  775. compatible = "fsl,imx7d-uart",
  776. "fsl,imx6q-uart";
  777. reg = <0x30a90000 0x10000>;
  778. interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
  779. clocks = <&clks IMX7D_UART7_ROOT_CLK>,
  780. <&clks IMX7D_UART7_ROOT_CLK>;
  781. clock-names = "ipg", "per";
  782. status = "disabled";
  783. };
  784. usbotg1: usb@30b10000 {
  785. compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
  786. reg = <0x30b10000 0x200>;
  787. interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  788. clocks = <&clks IMX7D_USB_CTRL_CLK>;
  789. fsl,usbphy = <&usbphynop1>;
  790. fsl,usbmisc = <&usbmisc1 0>;
  791. phy-clkgate-delay-us = <400>;
  792. status = "disabled";
  793. };
  794. usbh: usb@30b30000 {
  795. compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
  796. reg = <0x30b30000 0x200>;
  797. interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
  798. clocks = <&clks IMX7D_USB_CTRL_CLK>;
  799. fsl,usbphy = <&usbphynop3>;
  800. fsl,usbmisc = <&usbmisc3 0>;
  801. phy_type = "hsic";
  802. dr_mode = "host";
  803. phy-clkgate-delay-us = <400>;
  804. status = "disabled";
  805. };
  806. usbmisc1: usbmisc@30b10200 {
  807. #index-cells = <1>;
  808. compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
  809. reg = <0x30b10200 0x200>;
  810. };
  811. usbmisc3: usbmisc@30b30200 {
  812. #index-cells = <1>;
  813. compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
  814. reg = <0x30b30200 0x200>;
  815. };
  816. usbphynop1: usbphynop1 {
  817. compatible = "usb-nop-xceiv";
  818. clocks = <&clks IMX7D_USB_PHY1_CLK>;
  819. clock-names = "main_clk";
  820. };
  821. usbphynop3: usbphynop3 {
  822. compatible = "usb-nop-xceiv";
  823. clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
  824. clock-names = "main_clk";
  825. };
  826. usdhc1: usdhc@30b40000 {
  827. compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
  828. reg = <0x30b40000 0x10000>;
  829. interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
  830. clocks = <&clks IMX7D_CLK_DUMMY>,
  831. <&clks IMX7D_CLK_DUMMY>,
  832. <&clks IMX7D_USDHC1_ROOT_CLK>;
  833. clock-names = "ipg", "ahb", "per";
  834. bus-width = <4>;
  835. status = "disabled";
  836. };
  837. usdhc2: usdhc@30b50000 {
  838. compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
  839. reg = <0x30b50000 0x10000>;
  840. interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
  841. clocks = <&clks IMX7D_CLK_DUMMY>,
  842. <&clks IMX7D_CLK_DUMMY>,
  843. <&clks IMX7D_USDHC2_ROOT_CLK>;
  844. clock-names = "ipg", "ahb", "per";
  845. bus-width = <4>;
  846. status = "disabled";
  847. };
  848. usdhc3: usdhc@30b60000 {
  849. compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
  850. reg = <0x30b60000 0x10000>;
  851. interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
  852. clocks = <&clks IMX7D_CLK_DUMMY>,
  853. <&clks IMX7D_CLK_DUMMY>,
  854. <&clks IMX7D_USDHC3_ROOT_CLK>;
  855. clock-names = "ipg", "ahb", "per";
  856. bus-width = <4>;
  857. status = "disabled";
  858. };
  859. sdma: sdma@30bd0000 {
  860. compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
  861. reg = <0x30bd0000 0x10000>;
  862. interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
  863. clocks = <&clks IMX7D_SDMA_CORE_CLK>,
  864. <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
  865. clock-names = "ipg", "ahb";
  866. #dma-cells = <3>;
  867. fsl,sdma-ram-script-name = "/*(DEBLOBBED)*/";
  868. };
  869. fec1: ethernet@30be0000 {
  870. compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
  871. reg = <0x30be0000 0x10000>;
  872. interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
  873. <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
  874. <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
  875. clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>,
  876. <&clks IMX7D_ENET_AXI_ROOT_CLK>,
  877. <&clks IMX7D_ENET1_TIME_ROOT_CLK>,
  878. <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
  879. <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
  880. clock-names = "ipg", "ahb", "ptp",
  881. "enet_clk_ref", "enet_out";
  882. fsl,num-tx-queues=<3>;
  883. fsl,num-rx-queues=<3>;
  884. status = "disabled";
  885. };
  886. };
  887. };
  888. };