sdm845.dtsi 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * SDM845 SoC device tree source
  4. *
  5. * Copyright (c) 2018, The Linux Foundation. All rights reserved.
  6. */
  7. #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
  8. #include <dt-bindings/clock/qcom,gcc-sdm845.h>
  9. #include <dt-bindings/clock/qcom,rpmh.h>
  10. #include <dt-bindings/interrupt-controller/arm-gic.h>
  11. #include <dt-bindings/phy/phy-qcom-qusb2.h>
  12. #include <dt-bindings/reset/qcom,sdm845-aoss.h>
  13. #include <dt-bindings/soc/qcom,rpmh-rsc.h>
  14. / {
  15. interrupt-parent = <&intc>;
  16. #address-cells = <2>;
  17. #size-cells = <2>;
  18. aliases {
  19. i2c0 = &i2c0;
  20. i2c1 = &i2c1;
  21. i2c2 = &i2c2;
  22. i2c3 = &i2c3;
  23. i2c4 = &i2c4;
  24. i2c5 = &i2c5;
  25. i2c6 = &i2c6;
  26. i2c7 = &i2c7;
  27. i2c8 = &i2c8;
  28. i2c9 = &i2c9;
  29. i2c10 = &i2c10;
  30. i2c11 = &i2c11;
  31. i2c12 = &i2c12;
  32. i2c13 = &i2c13;
  33. i2c14 = &i2c14;
  34. i2c15 = &i2c15;
  35. spi0 = &spi0;
  36. spi1 = &spi1;
  37. spi2 = &spi2;
  38. spi3 = &spi3;
  39. spi4 = &spi4;
  40. spi5 = &spi5;
  41. spi6 = &spi6;
  42. spi7 = &spi7;
  43. spi8 = &spi8;
  44. spi9 = &spi9;
  45. spi10 = &spi10;
  46. spi11 = &spi11;
  47. spi12 = &spi12;
  48. spi13 = &spi13;
  49. spi14 = &spi14;
  50. spi15 = &spi15;
  51. };
  52. chosen { };
  53. memory@80000000 {
  54. device_type = "memory";
  55. /* We expect the bootloader to fill in the size */
  56. reg = <0 0x80000000 0 0>;
  57. };
  58. reserved-memory {
  59. #address-cells = <2>;
  60. #size-cells = <2>;
  61. ranges;
  62. memory@85fc0000 {
  63. reg = <0 0x85fc0000 0 0x20000>;
  64. no-map;
  65. };
  66. memory@85fe0000 {
  67. compatible = "qcom,cmd-db";
  68. reg = <0x0 0x85fe0000 0x0 0x20000>;
  69. no-map;
  70. };
  71. smem_mem: memory@86000000 {
  72. reg = <0x0 0x86000000 0x0 0x200000>;
  73. no-map;
  74. };
  75. memory@86200000 {
  76. reg = <0 0x86200000 0 0x2d00000>;
  77. no-map;
  78. };
  79. };
  80. cpus {
  81. #address-cells = <2>;
  82. #size-cells = <0>;
  83. CPU0: cpu@0 {
  84. device_type = "cpu";
  85. compatible = "qcom,kryo385";
  86. reg = <0x0 0x0>;
  87. enable-method = "psci";
  88. next-level-cache = <&L2_0>;
  89. L2_0: l2-cache {
  90. compatible = "cache";
  91. next-level-cache = <&L3_0>;
  92. L3_0: l3-cache {
  93. compatible = "cache";
  94. };
  95. };
  96. };
  97. CPU1: cpu@100 {
  98. device_type = "cpu";
  99. compatible = "qcom,kryo385";
  100. reg = <0x0 0x100>;
  101. enable-method = "psci";
  102. next-level-cache = <&L2_100>;
  103. L2_100: l2-cache {
  104. compatible = "cache";
  105. next-level-cache = <&L3_0>;
  106. };
  107. };
  108. CPU2: cpu@200 {
  109. device_type = "cpu";
  110. compatible = "qcom,kryo385";
  111. reg = <0x0 0x200>;
  112. enable-method = "psci";
  113. next-level-cache = <&L2_200>;
  114. L2_200: l2-cache {
  115. compatible = "cache";
  116. next-level-cache = <&L3_0>;
  117. };
  118. };
  119. CPU3: cpu@300 {
  120. device_type = "cpu";
  121. compatible = "qcom,kryo385";
  122. reg = <0x0 0x300>;
  123. enable-method = "psci";
  124. next-level-cache = <&L2_300>;
  125. L2_300: l2-cache {
  126. compatible = "cache";
  127. next-level-cache = <&L3_0>;
  128. };
  129. };
  130. CPU4: cpu@400 {
  131. device_type = "cpu";
  132. compatible = "qcom,kryo385";
  133. reg = <0x0 0x400>;
  134. enable-method = "psci";
  135. next-level-cache = <&L2_400>;
  136. L2_400: l2-cache {
  137. compatible = "cache";
  138. next-level-cache = <&L3_0>;
  139. };
  140. };
  141. CPU5: cpu@500 {
  142. device_type = "cpu";
  143. compatible = "qcom,kryo385";
  144. reg = <0x0 0x500>;
  145. enable-method = "psci";
  146. next-level-cache = <&L2_500>;
  147. L2_500: l2-cache {
  148. compatible = "cache";
  149. next-level-cache = <&L3_0>;
  150. };
  151. };
  152. CPU6: cpu@600 {
  153. device_type = "cpu";
  154. compatible = "qcom,kryo385";
  155. reg = <0x0 0x600>;
  156. enable-method = "psci";
  157. next-level-cache = <&L2_600>;
  158. L2_600: l2-cache {
  159. compatible = "cache";
  160. next-level-cache = <&L3_0>;
  161. };
  162. };
  163. CPU7: cpu@700 {
  164. device_type = "cpu";
  165. compatible = "qcom,kryo385";
  166. reg = <0x0 0x700>;
  167. enable-method = "psci";
  168. next-level-cache = <&L2_700>;
  169. L2_700: l2-cache {
  170. compatible = "cache";
  171. next-level-cache = <&L3_0>;
  172. };
  173. };
  174. };
  175. pmu {
  176. compatible = "arm,armv8-pmuv3";
  177. interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
  178. };
  179. timer {
  180. compatible = "arm,armv8-timer";
  181. interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
  182. <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
  183. <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
  184. <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
  185. };
  186. clocks {
  187. xo_board: xo-board {
  188. compatible = "fixed-clock";
  189. #clock-cells = <0>;
  190. clock-frequency = <38400000>;
  191. clock-output-names = "xo_board";
  192. };
  193. sleep_clk: sleep-clk {
  194. compatible = "fixed-clock";
  195. #clock-cells = <0>;
  196. clock-frequency = <32764>;
  197. };
  198. };
  199. tcsr_mutex: hwlock {
  200. compatible = "qcom,tcsr-mutex";
  201. syscon = <&tcsr_mutex_regs 0 0x1000>;
  202. #hwlock-cells = <1>;
  203. };
  204. smem {
  205. compatible = "qcom,smem";
  206. memory-region = <&smem_mem>;
  207. hwlocks = <&tcsr_mutex 3>;
  208. };
  209. smp2p-cdsp {
  210. compatible = "qcom,smp2p";
  211. qcom,smem = <94>, <432>;
  212. interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
  213. mboxes = <&apss_shared 6>;
  214. qcom,local-pid = <0>;
  215. qcom,remote-pid = <5>;
  216. cdsp_smp2p_out: master-kernel {
  217. qcom,entry-name = "master-kernel";
  218. #qcom,smem-state-cells = <1>;
  219. };
  220. cdsp_smp2p_in: slave-kernel {
  221. qcom,entry-name = "slave-kernel";
  222. interrupt-controller;
  223. #interrupt-cells = <2>;
  224. };
  225. };
  226. smp2p-lpass {
  227. compatible = "qcom,smp2p";
  228. qcom,smem = <443>, <429>;
  229. interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
  230. mboxes = <&apss_shared 10>;
  231. qcom,local-pid = <0>;
  232. qcom,remote-pid = <2>;
  233. adsp_smp2p_out: master-kernel {
  234. qcom,entry-name = "master-kernel";
  235. #qcom,smem-state-cells = <1>;
  236. };
  237. adsp_smp2p_in: slave-kernel {
  238. qcom,entry-name = "slave-kernel";
  239. interrupt-controller;
  240. #interrupt-cells = <2>;
  241. };
  242. };
  243. smp2p-mpss {
  244. compatible = "qcom,smp2p";
  245. qcom,smem = <435>, <428>;
  246. interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
  247. mboxes = <&apss_shared 14>;
  248. qcom,local-pid = <0>;
  249. qcom,remote-pid = <1>;
  250. modem_smp2p_out: master-kernel {
  251. qcom,entry-name = "master-kernel";
  252. #qcom,smem-state-cells = <1>;
  253. };
  254. modem_smp2p_in: slave-kernel {
  255. qcom,entry-name = "slave-kernel";
  256. interrupt-controller;
  257. #interrupt-cells = <2>;
  258. };
  259. };
  260. smp2p-slpi {
  261. compatible = "qcom,smp2p";
  262. qcom,smem = <481>, <430>;
  263. interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
  264. mboxes = <&apss_shared 26>;
  265. qcom,local-pid = <0>;
  266. qcom,remote-pid = <3>;
  267. slpi_smp2p_out: master-kernel {
  268. qcom,entry-name = "master-kernel";
  269. #qcom,smem-state-cells = <1>;
  270. };
  271. slpi_smp2p_in: slave-kernel {
  272. qcom,entry-name = "slave-kernel";
  273. interrupt-controller;
  274. #interrupt-cells = <2>;
  275. };
  276. };
  277. psci {
  278. compatible = "arm,psci-1.0";
  279. method = "smc";
  280. };
  281. soc: soc {
  282. #address-cells = <1>;
  283. #size-cells = <1>;
  284. ranges = <0 0 0 0xffffffff>;
  285. compatible = "simple-bus";
  286. gcc: clock-controller@100000 {
  287. compatible = "qcom,gcc-sdm845";
  288. reg = <0x100000 0x1f0000>;
  289. #clock-cells = <1>;
  290. #reset-cells = <1>;
  291. #power-domain-cells = <1>;
  292. };
  293. qfprom@784000 {
  294. compatible = "qcom,qfprom";
  295. reg = <0x784000 0x8ff>;
  296. #address-cells = <1>;
  297. #size-cells = <1>;
  298. qusb2p_hstx_trim: hstx-trim-primary@1eb {
  299. reg = <0x1eb 0x1>;
  300. bits = <1 4>;
  301. };
  302. qusb2s_hstx_trim: hstx-trim-secondary@1eb {
  303. reg = <0x1eb 0x2>;
  304. bits = <6 4>;
  305. };
  306. };
  307. qupv3_id_0: geniqup@8c0000 {
  308. compatible = "qcom,geni-se-qup";
  309. reg = <0x8c0000 0x6000>;
  310. clock-names = "m-ahb", "s-ahb";
  311. clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
  312. <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
  313. #address-cells = <1>;
  314. #size-cells = <1>;
  315. ranges;
  316. status = "disabled";
  317. i2c0: i2c@880000 {
  318. compatible = "qcom,geni-i2c";
  319. reg = <0x880000 0x4000>;
  320. clock-names = "se";
  321. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  322. pinctrl-names = "default";
  323. pinctrl-0 = <&qup_i2c0_default>;
  324. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  325. #address-cells = <1>;
  326. #size-cells = <0>;
  327. status = "disabled";
  328. };
  329. spi0: spi@880000 {
  330. compatible = "qcom,geni-spi";
  331. reg = <0x880000 0x4000>;
  332. clock-names = "se";
  333. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  334. pinctrl-names = "default";
  335. pinctrl-0 = <&qup_spi0_default>;
  336. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  337. #address-cells = <1>;
  338. #size-cells = <0>;
  339. status = "disabled";
  340. };
  341. i2c1: i2c@884000 {
  342. compatible = "qcom,geni-i2c";
  343. reg = <0x884000 0x4000>;
  344. clock-names = "se";
  345. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  346. pinctrl-names = "default";
  347. pinctrl-0 = <&qup_i2c1_default>;
  348. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  349. #address-cells = <1>;
  350. #size-cells = <0>;
  351. status = "disabled";
  352. };
  353. spi1: spi@884000 {
  354. compatible = "qcom,geni-spi";
  355. reg = <0x884000 0x4000>;
  356. clock-names = "se";
  357. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  358. pinctrl-names = "default";
  359. pinctrl-0 = <&qup_spi1_default>;
  360. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  361. #address-cells = <1>;
  362. #size-cells = <0>;
  363. status = "disabled";
  364. };
  365. i2c2: i2c@888000 {
  366. compatible = "qcom,geni-i2c";
  367. reg = <0x888000 0x4000>;
  368. clock-names = "se";
  369. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  370. pinctrl-names = "default";
  371. pinctrl-0 = <&qup_i2c2_default>;
  372. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  373. #address-cells = <1>;
  374. #size-cells = <0>;
  375. status = "disabled";
  376. };
  377. spi2: spi@888000 {
  378. compatible = "qcom,geni-spi";
  379. reg = <0x888000 0x4000>;
  380. clock-names = "se";
  381. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  382. pinctrl-names = "default";
  383. pinctrl-0 = <&qup_spi2_default>;
  384. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  385. #address-cells = <1>;
  386. #size-cells = <0>;
  387. status = "disabled";
  388. };
  389. i2c3: i2c@88c000 {
  390. compatible = "qcom,geni-i2c";
  391. reg = <0x88c000 0x4000>;
  392. clock-names = "se";
  393. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  394. pinctrl-names = "default";
  395. pinctrl-0 = <&qup_i2c3_default>;
  396. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  397. #address-cells = <1>;
  398. #size-cells = <0>;
  399. status = "disabled";
  400. };
  401. spi3: spi@88c000 {
  402. compatible = "qcom,geni-spi";
  403. reg = <0x88c000 0x4000>;
  404. clock-names = "se";
  405. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  406. pinctrl-names = "default";
  407. pinctrl-0 = <&qup_spi3_default>;
  408. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  409. #address-cells = <1>;
  410. #size-cells = <0>;
  411. status = "disabled";
  412. };
  413. i2c4: i2c@890000 {
  414. compatible = "qcom,geni-i2c";
  415. reg = <0x890000 0x4000>;
  416. clock-names = "se";
  417. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  418. pinctrl-names = "default";
  419. pinctrl-0 = <&qup_i2c4_default>;
  420. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  421. #address-cells = <1>;
  422. #size-cells = <0>;
  423. status = "disabled";
  424. };
  425. spi4: spi@890000 {
  426. compatible = "qcom,geni-spi";
  427. reg = <0x890000 0x4000>;
  428. clock-names = "se";
  429. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  430. pinctrl-names = "default";
  431. pinctrl-0 = <&qup_spi4_default>;
  432. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  433. #address-cells = <1>;
  434. #size-cells = <0>;
  435. status = "disabled";
  436. };
  437. i2c5: i2c@894000 {
  438. compatible = "qcom,geni-i2c";
  439. reg = <0x894000 0x4000>;
  440. clock-names = "se";
  441. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  442. pinctrl-names = "default";
  443. pinctrl-0 = <&qup_i2c5_default>;
  444. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  445. #address-cells = <1>;
  446. #size-cells = <0>;
  447. status = "disabled";
  448. };
  449. spi5: spi@894000 {
  450. compatible = "qcom,geni-spi";
  451. reg = <0x894000 0x4000>;
  452. clock-names = "se";
  453. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  454. pinctrl-names = "default";
  455. pinctrl-0 = <&qup_spi5_default>;
  456. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  457. #address-cells = <1>;
  458. #size-cells = <0>;
  459. status = "disabled";
  460. };
  461. i2c6: i2c@898000 {
  462. compatible = "qcom,geni-i2c";
  463. reg = <0x898000 0x4000>;
  464. clock-names = "se";
  465. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  466. pinctrl-names = "default";
  467. pinctrl-0 = <&qup_i2c6_default>;
  468. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  469. #address-cells = <1>;
  470. #size-cells = <0>;
  471. status = "disabled";
  472. };
  473. spi6: spi@898000 {
  474. compatible = "qcom,geni-spi";
  475. reg = <0x898000 0x4000>;
  476. clock-names = "se";
  477. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  478. pinctrl-names = "default";
  479. pinctrl-0 = <&qup_spi6_default>;
  480. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  481. #address-cells = <1>;
  482. #size-cells = <0>;
  483. status = "disabled";
  484. };
  485. i2c7: i2c@89c000 {
  486. compatible = "qcom,geni-i2c";
  487. reg = <0x89c000 0x4000>;
  488. clock-names = "se";
  489. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  490. pinctrl-names = "default";
  491. pinctrl-0 = <&qup_i2c7_default>;
  492. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  493. #address-cells = <1>;
  494. #size-cells = <0>;
  495. status = "disabled";
  496. };
  497. spi7: spi@89c000 {
  498. compatible = "qcom,geni-spi";
  499. reg = <0x89c000 0x4000>;
  500. clock-names = "se";
  501. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  502. pinctrl-names = "default";
  503. pinctrl-0 = <&qup_spi7_default>;
  504. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  505. #address-cells = <1>;
  506. #size-cells = <0>;
  507. status = "disabled";
  508. };
  509. };
  510. qupv3_id_1: geniqup@ac0000 {
  511. compatible = "qcom,geni-se-qup";
  512. reg = <0xac0000 0x6000>;
  513. clock-names = "m-ahb", "s-ahb";
  514. clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
  515. <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
  516. #address-cells = <1>;
  517. #size-cells = <1>;
  518. ranges;
  519. status = "disabled";
  520. i2c8: i2c@a80000 {
  521. compatible = "qcom,geni-i2c";
  522. reg = <0xa80000 0x4000>;
  523. clock-names = "se";
  524. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  525. pinctrl-names = "default";
  526. pinctrl-0 = <&qup_i2c8_default>;
  527. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  528. #address-cells = <1>;
  529. #size-cells = <0>;
  530. status = "disabled";
  531. };
  532. spi8: spi@a80000 {
  533. compatible = "qcom,geni-spi";
  534. reg = <0xa80000 0x4000>;
  535. clock-names = "se";
  536. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  537. pinctrl-names = "default";
  538. pinctrl-0 = <&qup_spi8_default>;
  539. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  540. #address-cells = <1>;
  541. #size-cells = <0>;
  542. status = "disabled";
  543. };
  544. i2c9: i2c@a84000 {
  545. compatible = "qcom,geni-i2c";
  546. reg = <0xa84000 0x4000>;
  547. clock-names = "se";
  548. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  549. pinctrl-names = "default";
  550. pinctrl-0 = <&qup_i2c9_default>;
  551. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  552. #address-cells = <1>;
  553. #size-cells = <0>;
  554. status = "disabled";
  555. };
  556. spi9: spi@a84000 {
  557. compatible = "qcom,geni-spi";
  558. reg = <0xa84000 0x4000>;
  559. clock-names = "se";
  560. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  561. pinctrl-names = "default";
  562. pinctrl-0 = <&qup_spi9_default>;
  563. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  564. #address-cells = <1>;
  565. #size-cells = <0>;
  566. status = "disabled";
  567. };
  568. uart9: serial@a84000 {
  569. compatible = "qcom,geni-debug-uart";
  570. reg = <0xa84000 0x4000>;
  571. clock-names = "se";
  572. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  573. pinctrl-names = "default";
  574. pinctrl-0 = <&qup_uart9_default>;
  575. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  576. status = "disabled";
  577. };
  578. i2c10: i2c@a88000 {
  579. compatible = "qcom,geni-i2c";
  580. reg = <0xa88000 0x4000>;
  581. clock-names = "se";
  582. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  583. pinctrl-names = "default";
  584. pinctrl-0 = <&qup_i2c10_default>;
  585. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  586. #address-cells = <1>;
  587. #size-cells = <0>;
  588. status = "disabled";
  589. };
  590. spi10: spi@a88000 {
  591. compatible = "qcom,geni-spi";
  592. reg = <0xa88000 0x4000>;
  593. clock-names = "se";
  594. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  595. pinctrl-names = "default";
  596. pinctrl-0 = <&qup_spi10_default>;
  597. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  598. #address-cells = <1>;
  599. #size-cells = <0>;
  600. status = "disabled";
  601. };
  602. i2c11: i2c@a8c000 {
  603. compatible = "qcom,geni-i2c";
  604. reg = <0xa8c000 0x4000>;
  605. clock-names = "se";
  606. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  607. pinctrl-names = "default";
  608. pinctrl-0 = <&qup_i2c11_default>;
  609. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  610. #address-cells = <1>;
  611. #size-cells = <0>;
  612. status = "disabled";
  613. };
  614. spi11: spi@a8c000 {
  615. compatible = "qcom,geni-spi";
  616. reg = <0xa8c000 0x4000>;
  617. clock-names = "se";
  618. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  619. pinctrl-names = "default";
  620. pinctrl-0 = <&qup_spi11_default>;
  621. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  622. #address-cells = <1>;
  623. #size-cells = <0>;
  624. status = "disabled";
  625. };
  626. i2c12: i2c@a90000 {
  627. compatible = "qcom,geni-i2c";
  628. reg = <0xa90000 0x4000>;
  629. clock-names = "se";
  630. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  631. pinctrl-names = "default";
  632. pinctrl-0 = <&qup_i2c12_default>;
  633. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  634. #address-cells = <1>;
  635. #size-cells = <0>;
  636. status = "disabled";
  637. };
  638. spi12: spi@a90000 {
  639. compatible = "qcom,geni-spi";
  640. reg = <0xa90000 0x4000>;
  641. clock-names = "se";
  642. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  643. pinctrl-names = "default";
  644. pinctrl-0 = <&qup_spi12_default>;
  645. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  646. #address-cells = <1>;
  647. #size-cells = <0>;
  648. status = "disabled";
  649. };
  650. i2c13: i2c@a94000 {
  651. compatible = "qcom,geni-i2c";
  652. reg = <0xa94000 0x4000>;
  653. clock-names = "se";
  654. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  655. pinctrl-names = "default";
  656. pinctrl-0 = <&qup_i2c13_default>;
  657. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  658. #address-cells = <1>;
  659. #size-cells = <0>;
  660. status = "disabled";
  661. };
  662. spi13: spi@a94000 {
  663. compatible = "qcom,geni-spi";
  664. reg = <0xa94000 0x4000>;
  665. clock-names = "se";
  666. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  667. pinctrl-names = "default";
  668. pinctrl-0 = <&qup_spi13_default>;
  669. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  670. #address-cells = <1>;
  671. #size-cells = <0>;
  672. status = "disabled";
  673. };
  674. i2c14: i2c@a98000 {
  675. compatible = "qcom,geni-i2c";
  676. reg = <0xa98000 0x4000>;
  677. clock-names = "se";
  678. clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
  679. pinctrl-names = "default";
  680. pinctrl-0 = <&qup_i2c14_default>;
  681. interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
  682. #address-cells = <1>;
  683. #size-cells = <0>;
  684. status = "disabled";
  685. };
  686. spi14: spi@a98000 {
  687. compatible = "qcom,geni-spi";
  688. reg = <0xa98000 0x4000>;
  689. clock-names = "se";
  690. clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
  691. pinctrl-names = "default";
  692. pinctrl-0 = <&qup_spi14_default>;
  693. interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
  694. #address-cells = <1>;
  695. #size-cells = <0>;
  696. status = "disabled";
  697. };
  698. i2c15: i2c@a9c000 {
  699. compatible = "qcom,geni-i2c";
  700. reg = <0xa9c000 0x4000>;
  701. clock-names = "se";
  702. clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
  703. pinctrl-names = "default";
  704. pinctrl-0 = <&qup_i2c15_default>;
  705. interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
  706. #address-cells = <1>;
  707. #size-cells = <0>;
  708. status = "disabled";
  709. };
  710. spi15: spi@a9c000 {
  711. compatible = "qcom,geni-spi";
  712. reg = <0xa9c000 0x4000>;
  713. clock-names = "se";
  714. clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
  715. pinctrl-names = "default";
  716. pinctrl-0 = <&qup_spi15_default>;
  717. interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
  718. #address-cells = <1>;
  719. #size-cells = <0>;
  720. status = "disabled";
  721. };
  722. };
  723. tcsr_mutex_regs: syscon@1f40000 {
  724. compatible = "syscon";
  725. reg = <0x1f40000 0x40000>;
  726. };
  727. tlmm: pinctrl@3400000 {
  728. compatible = "qcom,sdm845-pinctrl";
  729. reg = <0x03400000 0xc00000>;
  730. interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
  731. gpio-controller;
  732. #gpio-cells = <2>;
  733. interrupt-controller;
  734. #interrupt-cells = <2>;
  735. qup_i2c0_default: qup-i2c0-default {
  736. pinmux {
  737. pins = "gpio0", "gpio1";
  738. function = "qup0";
  739. };
  740. };
  741. qup_i2c1_default: qup-i2c1-default {
  742. pinmux {
  743. pins = "gpio17", "gpio18";
  744. function = "qup1";
  745. };
  746. };
  747. qup_i2c2_default: qup-i2c2-default {
  748. pinmux {
  749. pins = "gpio27", "gpio28";
  750. function = "qup2";
  751. };
  752. };
  753. qup_i2c3_default: qup-i2c3-default {
  754. pinmux {
  755. pins = "gpio41", "gpio42";
  756. function = "qup3";
  757. };
  758. };
  759. qup_i2c4_default: qup-i2c4-default {
  760. pinmux {
  761. pins = "gpio89", "gpio90";
  762. function = "qup4";
  763. };
  764. };
  765. qup_i2c5_default: qup-i2c5-default {
  766. pinmux {
  767. pins = "gpio85", "gpio86";
  768. function = "qup5";
  769. };
  770. };
  771. qup_i2c6_default: qup-i2c6-default {
  772. pinmux {
  773. pins = "gpio45", "gpio46";
  774. function = "qup6";
  775. };
  776. };
  777. qup_i2c7_default: qup-i2c7-default {
  778. pinmux {
  779. pins = "gpio93", "gpio94";
  780. function = "qup7";
  781. };
  782. };
  783. qup_i2c8_default: qup-i2c8-default {
  784. pinmux {
  785. pins = "gpio65", "gpio66";
  786. function = "qup8";
  787. };
  788. };
  789. qup_i2c9_default: qup-i2c9-default {
  790. pinmux {
  791. pins = "gpio6", "gpio7";
  792. function = "qup9";
  793. };
  794. };
  795. qup_i2c10_default: qup-i2c10-default {
  796. pinmux {
  797. pins = "gpio55", "gpio56";
  798. function = "qup10";
  799. };
  800. };
  801. qup_i2c11_default: qup-i2c11-default {
  802. pinmux {
  803. pins = "gpio31", "gpio32";
  804. function = "qup11";
  805. };
  806. };
  807. qup_i2c12_default: qup-i2c12-default {
  808. pinmux {
  809. pins = "gpio49", "gpio50";
  810. function = "qup12";
  811. };
  812. };
  813. qup_i2c13_default: qup-i2c13-default {
  814. pinmux {
  815. pins = "gpio105", "gpio106";
  816. function = "qup13";
  817. };
  818. };
  819. qup_i2c14_default: qup-i2c14-default {
  820. pinmux {
  821. pins = "gpio33", "gpio34";
  822. function = "qup14";
  823. };
  824. };
  825. qup_i2c15_default: qup-i2c15-default {
  826. pinmux {
  827. pins = "gpio81", "gpio82";
  828. function = "qup15";
  829. };
  830. };
  831. qup_spi0_default: qup-spi0-default {
  832. pinmux {
  833. pins = "gpio0", "gpio1",
  834. "gpio2", "gpio3";
  835. function = "qup0";
  836. };
  837. };
  838. qup_spi1_default: qup-spi1-default {
  839. pinmux {
  840. pins = "gpio17", "gpio18",
  841. "gpio19", "gpio20";
  842. function = "qup1";
  843. };
  844. };
  845. qup_spi2_default: qup-spi2-default {
  846. pinmux {
  847. pins = "gpio27", "gpio28",
  848. "gpio29", "gpio30";
  849. function = "qup2";
  850. };
  851. };
  852. qup_spi3_default: qup-spi3-default {
  853. pinmux {
  854. pins = "gpio41", "gpio42",
  855. "gpio43", "gpio44";
  856. function = "qup3";
  857. };
  858. };
  859. qup_spi4_default: qup-spi4-default {
  860. pinmux {
  861. pins = "gpio89", "gpio90",
  862. "gpio91", "gpio92";
  863. function = "qup4";
  864. };
  865. };
  866. qup_spi5_default: qup-spi5-default {
  867. pinmux {
  868. pins = "gpio85", "gpio86",
  869. "gpio87", "gpio88";
  870. function = "qup5";
  871. };
  872. };
  873. qup_spi6_default: qup-spi6-default {
  874. pinmux {
  875. pins = "gpio45", "gpio46",
  876. "gpio47", "gpio48";
  877. function = "qup6";
  878. };
  879. };
  880. qup_spi7_default: qup-spi7-default {
  881. pinmux {
  882. pins = "gpio93", "gpio94",
  883. "gpio95", "gpio96";
  884. function = "qup7";
  885. };
  886. };
  887. qup_spi8_default: qup-spi8-default {
  888. pinmux {
  889. pins = "gpio65", "gpio66",
  890. "gpio67", "gpio68";
  891. function = "qup8";
  892. };
  893. };
  894. qup_spi9_default: qup-spi9-default {
  895. pinmux {
  896. pins = "gpio6", "gpio7",
  897. "gpio4", "gpio5";
  898. function = "qup9";
  899. };
  900. };
  901. qup_spi10_default: qup-spi10-default {
  902. pinmux {
  903. pins = "gpio55", "gpio56",
  904. "gpio53", "gpio54";
  905. function = "qup10";
  906. };
  907. };
  908. qup_spi11_default: qup-spi11-default {
  909. pinmux {
  910. pins = "gpio31", "gpio32",
  911. "gpio33", "gpio34";
  912. function = "qup11";
  913. };
  914. };
  915. qup_spi12_default: qup-spi12-default {
  916. pinmux {
  917. pins = "gpio49", "gpio50",
  918. "gpio51", "gpio52";
  919. function = "qup12";
  920. };
  921. };
  922. qup_spi13_default: qup-spi13-default {
  923. pinmux {
  924. pins = "gpio105", "gpio106",
  925. "gpio107", "gpio108";
  926. function = "qup13";
  927. };
  928. };
  929. qup_spi14_default: qup-spi14-default {
  930. pinmux {
  931. pins = "gpio33", "gpio34",
  932. "gpio31", "gpio32";
  933. function = "qup14";
  934. };
  935. };
  936. qup_spi15_default: qup-spi15-default {
  937. pinmux {
  938. pins = "gpio81", "gpio82",
  939. "gpio83", "gpio84";
  940. function = "qup15";
  941. };
  942. };
  943. qup_uart9_default: qup-uart9-default {
  944. pinmux {
  945. pins = "gpio4", "gpio5";
  946. function = "qup9";
  947. };
  948. };
  949. };
  950. usb_1_hsphy: phy@88e2000 {
  951. compatible = "qcom,sdm845-qusb2-phy";
  952. reg = <0x88e2000 0x400>;
  953. status = "disabled";
  954. #phy-cells = <0>;
  955. clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
  956. <&rpmhcc RPMH_CXO_CLK>;
  957. clock-names = "cfg_ahb", "ref";
  958. resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
  959. nvmem-cells = <&qusb2p_hstx_trim>;
  960. };
  961. usb_2_hsphy: phy@88e3000 {
  962. compatible = "qcom,sdm845-qusb2-phy";
  963. reg = <0x88e3000 0x400>;
  964. status = "disabled";
  965. #phy-cells = <0>;
  966. clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
  967. <&rpmhcc RPMH_CXO_CLK>;
  968. clock-names = "cfg_ahb", "ref";
  969. resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
  970. nvmem-cells = <&qusb2s_hstx_trim>;
  971. };
  972. usb_1_qmpphy: phy@88e9000 {
  973. compatible = "qcom,sdm845-qmp-usb3-phy";
  974. reg = <0x88e9000 0x18c>,
  975. <0x88e8000 0x10>;
  976. reg-names = "reg-base", "dp_com";
  977. status = "disabled";
  978. #clock-cells = <1>;
  979. #address-cells = <1>;
  980. #size-cells = <1>;
  981. ranges;
  982. clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
  983. <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
  984. <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
  985. <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
  986. clock-names = "aux", "cfg_ahb", "ref", "com_aux";
  987. resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
  988. <&gcc GCC_USB3_PHY_PRIM_BCR>;
  989. reset-names = "phy", "common";
  990. usb_1_ssphy: lane@88e9200 {
  991. reg = <0x88e9200 0x128>,
  992. <0x88e9400 0x200>,
  993. <0x88e9c00 0x218>,
  994. <0x88e9a00 0x100>;
  995. #phy-cells = <0>;
  996. clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
  997. clock-names = "pipe0";
  998. clock-output-names = "usb3_phy_pipe_clk_src";
  999. };
  1000. };
  1001. usb_2_qmpphy: phy@88eb000 {
  1002. compatible = "qcom,sdm845-qmp-usb3-uni-phy";
  1003. reg = <0x88eb000 0x18c>;
  1004. status = "disabled";
  1005. #clock-cells = <1>;
  1006. #address-cells = <1>;
  1007. #size-cells = <1>;
  1008. ranges;
  1009. clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
  1010. <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
  1011. <&gcc GCC_USB3_SEC_CLKREF_CLK>,
  1012. <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
  1013. clock-names = "aux", "cfg_ahb", "ref", "com_aux";
  1014. resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
  1015. <&gcc GCC_USB3_PHY_SEC_BCR>;
  1016. reset-names = "phy", "common";
  1017. usb_2_ssphy: lane@88eb200 {
  1018. reg = <0x88eb200 0x128>,
  1019. <0x88eb400 0x1fc>,
  1020. <0x88eb800 0x218>,
  1021. <0x88e9600 0x70>;
  1022. #phy-cells = <0>;
  1023. clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
  1024. clock-names = "pipe0";
  1025. clock-output-names = "usb3_uni_phy_pipe_clk_src";
  1026. };
  1027. };
  1028. usb_1: usb@a6f8800 {
  1029. compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
  1030. reg = <0xa6f8800 0x400>;
  1031. status = "disabled";
  1032. #address-cells = <1>;
  1033. #size-cells = <1>;
  1034. ranges;
  1035. clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
  1036. <&gcc GCC_USB30_PRIM_MASTER_CLK>,
  1037. <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
  1038. <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  1039. <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
  1040. clock-names = "cfg_noc", "core", "iface", "mock_utmi",
  1041. "sleep";
  1042. assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  1043. <&gcc GCC_USB30_PRIM_MASTER_CLK>;
  1044. assigned-clock-rates = <19200000>, <150000000>;
  1045. interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
  1046. <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
  1047. <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
  1048. <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
  1049. interrupt-names = "hs_phy_irq", "ss_phy_irq",
  1050. "dm_hs_phy_irq", "dp_hs_phy_irq";
  1051. power-domains = <&gcc USB30_PRIM_GDSC>;
  1052. resets = <&gcc GCC_USB30_PRIM_BCR>;
  1053. usb_1_dwc3: dwc3@a600000 {
  1054. compatible = "snps,dwc3";
  1055. reg = <0xa600000 0xcd00>;
  1056. interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  1057. snps,dis_u2_susphy_quirk;
  1058. snps,dis_enblslpm_quirk;
  1059. phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
  1060. phy-names = "usb2-phy", "usb3-phy";
  1061. };
  1062. };
  1063. usb_2: usb@a8f8800 {
  1064. compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
  1065. reg = <0xa8f8800 0x400>;
  1066. status = "disabled";
  1067. #address-cells = <1>;
  1068. #size-cells = <1>;
  1069. ranges;
  1070. clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
  1071. <&gcc GCC_USB30_SEC_MASTER_CLK>,
  1072. <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
  1073. <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
  1074. <&gcc GCC_USB30_SEC_SLEEP_CLK>;
  1075. clock-names = "cfg_noc", "core", "iface", "mock_utmi",
  1076. "sleep";
  1077. assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
  1078. <&gcc GCC_USB30_SEC_MASTER_CLK>;
  1079. assigned-clock-rates = <19200000>, <150000000>;
  1080. interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
  1081. <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
  1082. <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
  1083. <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
  1084. interrupt-names = "hs_phy_irq", "ss_phy_irq",
  1085. "dm_hs_phy_irq", "dp_hs_phy_irq";
  1086. power-domains = <&gcc USB30_SEC_GDSC>;
  1087. resets = <&gcc GCC_USB30_SEC_BCR>;
  1088. usb_2_dwc3: dwc3@a800000 {
  1089. compatible = "snps,dwc3";
  1090. reg = <0xa800000 0xcd00>;
  1091. interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
  1092. snps,dis_u2_susphy_quirk;
  1093. snps,dis_enblslpm_quirk;
  1094. phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
  1095. phy-names = "usb2-phy", "usb3-phy";
  1096. };
  1097. };
  1098. dispcc: clock-controller@af00000 {
  1099. compatible = "qcom,sdm845-dispcc";
  1100. reg = <0xaf00000 0x10000>;
  1101. #clock-cells = <1>;
  1102. #reset-cells = <1>;
  1103. #power-domain-cells = <1>;
  1104. };
  1105. tsens0: thermal-sensor@c263000 {
  1106. compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
  1107. reg = <0xc263000 0x1ff>, /* TM */
  1108. <0xc222000 0x1ff>; /* SROT */
  1109. #qcom,sensors = <13>;
  1110. #thermal-sensor-cells = <1>;
  1111. };
  1112. tsens1: thermal-sensor@c265000 {
  1113. compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
  1114. reg = <0xc265000 0x1ff>, /* TM */
  1115. <0xc223000 0x1ff>; /* SROT */
  1116. #qcom,sensors = <8>;
  1117. #thermal-sensor-cells = <1>;
  1118. };
  1119. aoss_reset: reset-controller@c2a0000 {
  1120. compatible = "qcom,sdm845-aoss-cc";
  1121. reg = <0xc2a0000 0x31000>;
  1122. #reset-cells = <1>;
  1123. };
  1124. spmi_bus: spmi@c440000 {
  1125. compatible = "qcom,spmi-pmic-arb";
  1126. reg = <0xc440000 0x1100>,
  1127. <0xc600000 0x2000000>,
  1128. <0xe600000 0x100000>,
  1129. <0xe700000 0xa0000>,
  1130. <0xc40a000 0x26000>;
  1131. reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
  1132. interrupt-names = "periph_irq";
  1133. interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
  1134. qcom,ee = <0>;
  1135. qcom,channel = <0>;
  1136. #address-cells = <2>;
  1137. #size-cells = <0>;
  1138. interrupt-controller;
  1139. #interrupt-cells = <4>;
  1140. cell-index = <0>;
  1141. };
  1142. apss_shared: mailbox@17990000 {
  1143. compatible = "qcom,sdm845-apss-shared";
  1144. reg = <0x17990000 0x1000>;
  1145. #mbox-cells = <1>;
  1146. };
  1147. apps_rsc: rsc@179c0000 {
  1148. label = "apps_rsc";
  1149. compatible = "qcom,rpmh-rsc";
  1150. reg = <0x179c0000 0x10000>,
  1151. <0x179d0000 0x10000>,
  1152. <0x179e0000 0x10000>;
  1153. reg-names = "drv-0", "drv-1", "drv-2";
  1154. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  1155. <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
  1156. <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  1157. qcom,tcs-offset = <0xd00>;
  1158. qcom,drv-id = <2>;
  1159. qcom,tcs-config = <ACTIVE_TCS 2>,
  1160. <SLEEP_TCS 3>,
  1161. <WAKE_TCS 3>,
  1162. <CONTROL_TCS 1>;
  1163. rpmhcc: clock-controller {
  1164. compatible = "qcom,sdm845-rpmh-clk";
  1165. #clock-cells = <1>;
  1166. };
  1167. };
  1168. intc: interrupt-controller@17a00000 {
  1169. compatible = "arm,gic-v3";
  1170. #address-cells = <1>;
  1171. #size-cells = <1>;
  1172. ranges;
  1173. #interrupt-cells = <3>;
  1174. interrupt-controller;
  1175. reg = <0x17a00000 0x10000>, /* GICD */
  1176. <0x17a60000 0x100000>; /* GICR * 8 */
  1177. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  1178. gic-its@17a40000 {
  1179. compatible = "arm,gic-v3-its";
  1180. msi-controller;
  1181. #msi-cells = <1>;
  1182. reg = <0x17a40000 0x20000>;
  1183. status = "disabled";
  1184. };
  1185. };
  1186. timer@17c90000 {
  1187. #address-cells = <1>;
  1188. #size-cells = <1>;
  1189. ranges;
  1190. compatible = "arm,armv7-timer-mem";
  1191. reg = <0x17c90000 0x1000>;
  1192. frame@17ca0000 {
  1193. frame-number = <0>;
  1194. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
  1195. <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  1196. reg = <0x17ca0000 0x1000>,
  1197. <0x17cb0000 0x1000>;
  1198. };
  1199. frame@17cc0000 {
  1200. frame-number = <1>;
  1201. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
  1202. reg = <0x17cc0000 0x1000>;
  1203. status = "disabled";
  1204. };
  1205. frame@17cd0000 {
  1206. frame-number = <2>;
  1207. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  1208. reg = <0x17cd0000 0x1000>;
  1209. status = "disabled";
  1210. };
  1211. frame@17ce0000 {
  1212. frame-number = <3>;
  1213. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  1214. reg = <0x17ce0000 0x1000>;
  1215. status = "disabled";
  1216. };
  1217. frame@17cf0000 {
  1218. frame-number = <4>;
  1219. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  1220. reg = <0x17cf0000 0x1000>;
  1221. status = "disabled";
  1222. };
  1223. frame@17d00000 {
  1224. frame-number = <5>;
  1225. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  1226. reg = <0x17d00000 0x1000>;
  1227. status = "disabled";
  1228. };
  1229. frame@17d10000 {
  1230. frame-number = <6>;
  1231. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  1232. reg = <0x17d10000 0x1000>;
  1233. status = "disabled";
  1234. };
  1235. };
  1236. };
  1237. };