shivashanka908290

device tree

Mar 10th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.09 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. / {
  4. interrupt-parent = <0x1>;
  5. #address-cells = <0x2>;
  6. #size-cells = <0x2>;
  7. model = "Mistral 820 Nanosom Starter Kit";
  8. compatible = "qcom,apq8096-nanosom";
  9.  
  10. chosen {
  11. stdout-path = "serial0:115200n8";
  12. };
  13.  
  14. memory {
  15. device_type = "memory";
  16. reg = <0x0 0x0 0x0 0x0>;
  17. };
  18.  
  19. reserved-memory {
  20. #address-cells = <0x2>;
  21. #size-cells = <0x2>;
  22. ranges;
  23.  
  24. mba@91500000 {
  25. reg = <0x0 0x91500000 0x0 0x200000>;
  26. no-map;
  27. phandle = <0x9a>;
  28. };
  29.  
  30. venus@90400000 {
  31. reg = <0x0 0x90400000 0x0 0x700000>;
  32. no-map;
  33. phandle = <0x95>;
  34. };
  35.  
  36. adsp@8ea00000 {
  37. reg = <0x0 0x8ea00000 0x0 0x1a00000>;
  38. no-map;
  39. phandle = <0xac>;
  40. };
  41.  
  42. mpss@88800000 {
  43. reg = <0x0 0x88800000 0x0 0x6200000>;
  44. no-map;
  45. phandle = <0x9b>;
  46. };
  47.  
  48. smem-mem@86000000 {
  49. reg = <0x0 0x86000000 0x0 0x200000>;
  50. no-map;
  51. phandle = <0x14>;
  52. };
  53.  
  54. memory@85800000 {
  55. reg = <0x0 0x85800000 0x0 0x800000>;
  56. no-map;
  57. };
  58.  
  59. memory@86200000 {
  60. reg = <0x0 0x86200000 0x0 0x2600000>;
  61. no-map;
  62. };
  63.  
  64. rmtfs@86700000 {
  65. compatible = "qcom,rmtfs-mem";
  66. size = <0x0 0x200000>;
  67. alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>;
  68. no-map;
  69. qcom,client-id = <0x1>;
  70. qcom,vmid = <0xf>;
  71. };
  72.  
  73. gpu@8f200000 {
  74. compatible = "shared-dma-pool";
  75. reg = <0x0 0x90b00000 0x0 0xa00000>;
  76. no-map;
  77. phandle = <0x89>;
  78. };
  79. };
  80.  
  81. cpus {
  82. #address-cells = <0x2>;
  83. #size-cells = <0x0>;
  84.  
  85. cpu@0 {
  86. device_type = "cpu";
  87. compatible = "qcom,kryo";
  88. reg = <0x0 0x0>;
  89. enable-method = "psci";
  90. cpu-idle-states = <0x2 0x3 0x4 0x5>;
  91. capacity-dmips-mhz = <0x400>;
  92. next-level-cache = <0x6>;
  93. phandle = <0x8>;
  94.  
  95. l2-cache {
  96. compatible = "cache";
  97. cache-level = <0x2>;
  98. phandle = <0x6>;
  99. };
  100. };
  101.  
  102. cpu@1 {
  103. device_type = "cpu";
  104. compatible = "qcom,kryo";
  105. reg = <0x0 0x1>;
  106. enable-method = "psci";
  107. cpu-idle-states = <0x2 0x3 0x4 0x5>;
  108. capacity-dmips-mhz = <0x400>;
  109. next-level-cache = <0x6>;
  110. phandle = <0x9>;
  111. };
  112.  
  113. cpu@100 {
  114. device_type = "cpu";
  115. compatible = "qcom,kryo";
  116. reg = <0x0 0x100>;
  117. enable-method = "psci";
  118. cpu-idle-states = <0x2 0x3 0x4 0x5>;
  119. capacity-dmips-mhz = <0x400>;
  120. next-level-cache = <0x7>;
  121. phandle = <0xa>;
  122.  
  123. l2-cache {
  124. compatible = "cache";
  125. cache-level = <0x2>;
  126. phandle = <0x7>;
  127. };
  128. };
  129.  
  130. cpu@101 {
  131. device_type = "cpu";
  132. compatible = "qcom,kryo";
  133. reg = <0x0 0x101>;
  134. enable-method = "psci";
  135. cpu-idle-states = <0x2 0x3 0x4 0x5>;
  136. capacity-dmips-mhz = <0x400>;
  137. next-level-cache = <0x7>;
  138. phandle = <0xb>;
  139. };
  140.  
  141. cpu-map {
  142.  
  143. cluster0 {
  144.  
  145. core0 {
  146. cpu = <0x8>;
  147. };
  148.  
  149. core1 {
  150. cpu = <0x9>;
  151. };
  152. };
  153.  
  154. cluster1 {
  155.  
  156. core0 {
  157. cpu = <0xa>;
  158. };
  159.  
  160. core1 {
  161. cpu = <0xb>;
  162. };
  163. };
  164. };
  165.  
  166. idle-states {
  167. entry-method = "psci";
  168.  
  169. cpu-sleep-0 {
  170. compatible = "arm,idle-state";
  171. idle-state-name = "wfi";
  172. arm,psci-suspend-param = <0x1>;
  173. entry-latency-us = <0x28>;
  174. exit-latency-us = <0x50>;
  175. min-residency-us = <0x12c>;
  176. phandle = <0x2>;
  177. };
  178.  
  179. cpu-sleep-1 {
  180. compatible = "arm,idle-state";
  181. idle-state-name = "standalone-power-collapse";
  182. arm,psci-suspend-param = <0x4>;
  183. entry-latency-us = <0x82>;
  184. exit-latency-us = <0x50>;
  185. min-residency-us = <0x12c>;
  186. phandle = <0x3>;
  187. };
  188.  
  189. cluster-sleep-0 {
  190. compatible = "arm,idle-state";
  191. idle-state-name = "pwr-l2-wfi";
  192. arm,psci-suspend-param = <0x40000001>;
  193. entry-latency-us = <0x2d>;
  194. exit-latency-us = <0x55>;
  195. min-residency-us = <0x12c>;
  196. phandle = <0x4>;
  197. };
  198.  
  199. system-sleep-0 {
  200. compatible = "arm,idle-state";
  201. idle-state-name = "system-wfi";
  202. arm,psci-suspend-param = <0x40000001>;
  203. entry-latency-us = <0x14>;
  204. exit-latency-us = <0x78>;
  205. min-residency-us = <0x12c>;
  206. phandle = <0x5>;
  207. };
  208. };
  209. };
  210.  
  211. thermal-zones {
  212.  
  213. cpu0-thermal {
  214. polling-delay-passive = <0xfa>;
  215. polling-delay = <0x3e8>;
  216. thermal-sensors = <0xc 0x3>;
  217.  
  218. trips {
  219.  
  220. trip-point@0 {
  221. temperature = <0x124f8>;
  222. hysteresis = <0x7d0>;
  223. type = "passive";
  224. };
  225.  
  226. cpu_crit {
  227. temperature = <0x1adb0>;
  228. hysteresis = <0x7d0>;
  229. type = "critical";
  230. };
  231. };
  232. };
  233.  
  234. cpu1-thermal {
  235. polling-delay-passive = <0xfa>;
  236. polling-delay = <0x3e8>;
  237. thermal-sensors = <0xc 0x5>;
  238.  
  239. trips {
  240.  
  241. trip-point@0 {
  242. temperature = <0x124f8>;
  243. hysteresis = <0x7d0>;
  244. type = "passive";
  245. };
  246.  
  247. cpu_crit {
  248. temperature = <0x1adb0>;
  249. hysteresis = <0x7d0>;
  250. type = "critical";
  251. };
  252. };
  253. };
  254.  
  255. cpu2-thermal {
  256. polling-delay-passive = <0xfa>;
  257. polling-delay = <0x3e8>;
  258. thermal-sensors = <0xc 0x8>;
  259.  
  260. trips {
  261.  
  262. trip-point@0 {
  263. temperature = <0x124f8>;
  264. hysteresis = <0x7d0>;
  265. type = "passive";
  266. };
  267.  
  268. cpu_crit {
  269. temperature = <0x1adb0>;
  270. hysteresis = <0x7d0>;
  271. type = "critical";
  272. };
  273. };
  274. };
  275.  
  276. cpu3-thermal {
  277. polling-delay-passive = <0xfa>;
  278. polling-delay = <0x3e8>;
  279. thermal-sensors = <0xc 0xa>;
  280.  
  281. trips {
  282.  
  283. trip-point@0 {
  284. temperature = <0x124f8>;
  285. hysteresis = <0x7d0>;
  286. type = "passive";
  287. };
  288.  
  289. cpu_crit {
  290. temperature = <0x1adb0>;
  291. hysteresis = <0x7d0>;
  292. type = "critical";
  293. };
  294. };
  295. };
  296.  
  297. gpu-thermal-top {
  298. polling-delay-passive = <0xfa>;
  299. polling-delay = <0x3e8>;
  300. thermal-sensors = <0xd 0x6>;
  301.  
  302. trips {
  303.  
  304. trip-point@0 {
  305. temperature = <0x15f90>;
  306. hysteresis = <0x7d0>;
  307. type = "hot";
  308. };
  309. };
  310. };
  311.  
  312. gpu-thermal-bottom {
  313. polling-delay-passive = <0xfa>;
  314. polling-delay = <0x3e8>;
  315. thermal-sensors = <0xd 0x7>;
  316.  
  317. trips {
  318.  
  319. trip-point@0 {
  320. temperature = <0x15f90>;
  321. hysteresis = <0x7d0>;
  322. type = "hot";
  323. };
  324. };
  325. };
  326.  
  327. m4m-thermal {
  328. polling-delay-passive = <0xfa>;
  329. polling-delay = <0x3e8>;
  330. thermal-sensors = <0xc 0x1>;
  331.  
  332. trips {
  333.  
  334. trip-point@0 {
  335. temperature = <0x15f90>;
  336. hysteresis = <0x7d0>;
  337. type = "hot";
  338. };
  339. };
  340. };
  341.  
  342. l3-or-venus-thermal {
  343. polling-delay-passive = <0xfa>;
  344. polling-delay = <0x3e8>;
  345. thermal-sensors = <0xc 0x2>;
  346.  
  347. trips {
  348.  
  349. trip-point@0 {
  350. temperature = <0x15f90>;
  351. hysteresis = <0x7d0>;
  352. type = "hot";
  353. };
  354. };
  355. };
  356.  
  357. cluster0-l2-thermal {
  358. polling-delay-passive = <0xfa>;
  359. polling-delay = <0x3e8>;
  360. thermal-sensors = <0xc 0x7>;
  361.  
  362. trips {
  363.  
  364. trip-point@0 {
  365. temperature = <0x15f90>;
  366. hysteresis = <0x7d0>;
  367. type = "hot";
  368. };
  369. };
  370. };
  371.  
  372. cluster1-l2-thermal {
  373. polling-delay-passive = <0xfa>;
  374. polling-delay = <0x3e8>;
  375. thermal-sensors = <0xc 0xc>;
  376.  
  377. trips {
  378.  
  379. trip-point@0 {
  380. temperature = <0x15f90>;
  381. hysteresis = <0x7d0>;
  382. type = "hot";
  383. };
  384. };
  385. };
  386.  
  387. camera-thermal {
  388. polling-delay-passive = <0xfa>;
  389. polling-delay = <0x3e8>;
  390. thermal-sensors = <0xd 0x1>;
  391.  
  392. trips {
  393.  
  394. trip-point@0 {
  395. temperature = <0x15f90>;
  396. hysteresis = <0x7d0>;
  397. type = "hot";
  398. };
  399. };
  400. };
  401.  
  402. q6-dsp-thermal {
  403. polling-delay-passive = <0xfa>;
  404. polling-delay = <0x3e8>;
  405. thermal-sensors = <0xd 0x2>;
  406.  
  407. trips {
  408.  
  409. trip-point@0 {
  410. temperature = <0x15f90>;
  411. hysteresis = <0x7d0>;
  412. type = "hot";
  413. };
  414. };
  415. };
  416.  
  417. mem-thermal {
  418. polling-delay-passive = <0xfa>;
  419. polling-delay = <0x3e8>;
  420. thermal-sensors = <0xd 0x3>;
  421.  
  422. trips {
  423.  
  424. trip-point@0 {
  425. temperature = <0x15f90>;
  426. hysteresis = <0x7d0>;
  427. type = "hot";
  428. };
  429. };
  430. };
  431.  
  432. modemtx-thermal {
  433. polling-delay-passive = <0xfa>;
  434. polling-delay = <0x3e8>;
  435. thermal-sensors = <0xd 0x4>;
  436.  
  437. trips {
  438.  
  439. trip-point@0 {
  440. temperature = <0x15f90>;
  441. hysteresis = <0x7d0>;
  442. type = "hot";
  443. };
  444. };
  445. };
  446. };
  447.  
  448. timer {
  449. compatible = "arm,armv8-timer";
  450. interrupts = <0x1 0xd 0x8 0x1 0xe 0x8 0x1 0xb 0x8 0x1 0xa 0x8>;
  451. };
  452.  
  453. clocks {
  454. compatible = "simple-bus";
  455.  
  456. xo_board {
  457. compatible = "fixed-clock";
  458. #clock-cells = <0x0>;
  459. clock-frequency = <0x124f800>;
  460. clock-output-names = "xo_board";
  461. phandle = <0x49>;
  462. };
  463.  
  464. sleep_clk {
  465. compatible = "fixed-clock";
  466. #clock-cells = <0x0>;
  467. clock-frequency = <0x7ffc>;
  468. clock-output-names = "sleep_clk";
  469. };
  470.  
  471. divclk4 {
  472. compatible = "fixed-clock";
  473. #clock-cells = <0x0>;
  474. clock-frequency = <0x8000>;
  475. clock-output-names = "divclk4";
  476. pinctrl-names = "default";
  477. pinctrl-0 = <0xe>;
  478. phandle = <0x3c>;
  479. };
  480.  
  481. divclk1 {
  482. compatible = "gpio-gate-clock";
  483. pinctrl-0 = <0xf>;
  484. pinctrl-names = "default";
  485. clocks = <0x10 0x2e>;
  486. #clock-cells = <0x0>;
  487. enable-gpios = <0x11 0xf 0x0>;
  488. phandle = <0x85>;
  489. };
  490. };
  491.  
  492. psci {
  493. compatible = "arm,psci-1.0";
  494. method = "smc";
  495. };
  496.  
  497. firmware {
  498.  
  499. scm {
  500. compatible = "qcom,scm-msm8996";
  501. qcom,dload-mode = <0x12 0x13000>;
  502. };
  503. };
  504.  
  505. hwlock {
  506. compatible = "qcom,tcsr-mutex";
  507. syscon = <0x13 0x0 0x1000>;
  508. #hwlock-cells = <0x1>;
  509. phandle = <0x15>;
  510. };
  511.  
  512. smem {
  513. compatible = "qcom,smem";
  514. memory-region = <0x14>;
  515. hwlocks = <0x15 0x3>;
  516. };
  517.  
  518. rpm-glink {
  519. compatible = "qcom,glink-rpm";
  520. interrupts = <0x0 0xa8 0x1>;
  521. qcom,rpm-msg-ram = <0x16>;
  522. mboxes = <0x17 0x0>;
  523.  
  524. rpm_requests {
  525. compatible = "qcom,rpm-msm8996";
  526. qcom,glink-channels = "rpm_requests";
  527.  
  528. qcom,rpmcc {
  529. compatible = "qcom,rpmcc-msm8996";
  530. #clock-cells = <0x1>;
  531. phandle = <0x10>;
  532. };
  533.  
  534. power-controller {
  535. compatible = "qcom,msm8996-rpmpd";
  536. #power-domain-cells = <0x1>;
  537. operating-points-v2 = <0x18>;
  538.  
  539. opp-table {
  540. compatible = "operating-points-v2";
  541. phandle = <0x18>;
  542.  
  543. opp1 {
  544. opp-level = <0x1>;
  545. };
  546.  
  547. opp2 {
  548. opp-level = <0x2>;
  549. };
  550.  
  551. opp3 {
  552. opp-level = <0x3>;
  553. };
  554.  
  555. opp4 {
  556. opp-level = <0x4>;
  557. };
  558.  
  559. opp5 {
  560. opp-level = <0x5>;
  561. };
  562.  
  563. opp6 {
  564. opp-level = <0x6>;
  565. };
  566. };
  567. };
  568.  
  569. pm8994-regulators {
  570. compatible = "qcom,rpm-pm8994-regulators";
  571. vdd_l1-supply = <0x19>;
  572. vdd_l2_l26_l28-supply = <0x19>;
  573. vdd_l3_l11-supply = <0x19>;
  574. vdd_l4_l27_l31-supply = <0x19>;
  575. vdd_l5_l7-supply = <0x1a>;
  576. vdd_l14_l15-supply = <0x1a>;
  577. vdd_l20_l21-supply = <0x1a>;
  578. vdd_l25-supply = <0x19>;
  579.  
  580. s1 {
  581. phandle = <0x98>;
  582. };
  583.  
  584. s2 {
  585. phandle = <0x97>;
  586. };
  587.  
  588. s3 {
  589. regulator-min-microvolt = <0x13d620>;
  590. regulator-max-microvolt = <0x13d620>;
  591. phandle = <0x19>;
  592. };
  593.  
  594. s4 {
  595. regulator-min-microvolt = <0x1b7740>;
  596. regulator-max-microvolt = <0x1b7740>;
  597. phandle = <0x62>;
  598. };
  599.  
  600. s5 {
  601. regulator-min-microvolt = <0x20ce70>;
  602. regulator-max-microvolt = <0x20ce70>;
  603. phandle = <0x1a>;
  604. };
  605.  
  606. s6 {
  607. };
  608.  
  609. s7 {
  610. regulator-min-microvolt = <0xc3500>;
  611. regulator-max-microvolt = <0xc3500>;
  612. };
  613.  
  614. s8 {
  615. };
  616.  
  617. s9 {
  618. };
  619.  
  620. s10 {
  621. };
  622.  
  623. s11 {
  624. };
  625.  
  626. s12 {
  627. };
  628.  
  629. l1 {
  630. regulator-min-microvolt = <0xf4240>;
  631. regulator-max-microvolt = <0xf4240>;
  632. };
  633.  
  634. l2 {
  635. regulator-min-microvolt = <0x1312d0>;
  636. regulator-max-microvolt = <0x1312d0>;
  637. phandle = <0x6b>;
  638. };
  639.  
  640. l3 {
  641. regulator-min-microvolt = <0xcf850>;
  642. regulator-max-microvolt = <0xcf850>;
  643. };
  644.  
  645. l4 {
  646. regulator-min-microvolt = <0x12b128>;
  647. regulator-max-microvolt = <0x12b128>;
  648. };
  649.  
  650. l5 {
  651. };
  652.  
  653. l6 {
  654. regulator-min-microvolt = <0x124f80>;
  655. regulator-max-microvolt = <0x124f80>;
  656. };
  657.  
  658. l7 {
  659. };
  660.  
  661. l8 {
  662. regulator-min-microvolt = <0x1b7740>;
  663. regulator-max-microvolt = <0x1b7740>;
  664. };
  665.  
  666. l9 {
  667. regulator-min-microvolt = <0x1b7740>;
  668. regulator-max-microvolt = <0x1b7740>;
  669. };
  670.  
  671. l10 {
  672. regulator-min-microvolt = <0x1b7740>;
  673. regulator-max-microvolt = <0x1b7740>;
  674. };
  675.  
  676. l11 {
  677. regulator-min-microvolt = <0x118c30>;
  678. regulator-max-microvolt = <0x118c30>;
  679. };
  680.  
  681. l12 {
  682. regulator-min-microvolt = <0x1b7740>;
  683. regulator-max-microvolt = <0x1b7740>;
  684. phandle = <0x5d>;
  685. };
  686.  
  687. l13 {
  688. regulator-min-microvolt = <0x1b7740>;
  689. regulator-max-microvolt = <0x2d0370>;
  690. phandle = <0x54>;
  691. };
  692.  
  693. l14 {
  694. regulator-min-microvolt = <0x1b7740>;
  695. regulator-max-microvolt = <0x1b7740>;
  696. };
  697.  
  698. l15 {
  699. regulator-min-microvolt = <0x1b7740>;
  700. regulator-max-microvolt = <0x1b7740>;
  701. };
  702.  
  703. l16 {
  704. regulator-min-microvolt = <0x2932e0>;
  705. regulator-max-microvolt = <0x2932e0>;
  706. };
  707.  
  708. l17 {
  709. regulator-min-microvolt = <0x2625a0>;
  710. regulator-max-microvolt = <0x2625a0>;
  711. };
  712.  
  713. l18 {
  714. regulator-min-microvolt = <0x2932e0>;
  715. regulator-max-microvolt = <0x2c4020>;
  716. };
  717.  
  718. l19 {
  719. regulator-min-microvolt = <0x2dc6c0>;
  720. regulator-max-microvolt = <0x2dc6c0>;
  721. };
  722.  
  723. l20 {
  724. regulator-min-microvolt = <0x2d0370>;
  725. regulator-max-microvolt = <0x2d0370>;
  726. regulator-allow-set-load;
  727. phandle = <0x61>;
  728. };
  729.  
  730. l21 {
  731. regulator-min-microvolt = <0x2d0370>;
  732. regulator-max-microvolt = <0x2d0370>;
  733. phandle = <0x53>;
  734. };
  735.  
  736. l22 {
  737. regulator-min-microvolt = <0x325aa0>;
  738. regulator-max-microvolt = <0x325aa0>;
  739. phandle = <0x8a>;
  740. };
  741.  
  742. l23 {
  743. regulator-min-microvolt = <0x2ab980>;
  744. regulator-max-microvolt = <0x2ab980>;
  745. };
  746.  
  747. l24 {
  748. regulator-min-microvolt = <0x2eebb8>;
  749. regulator-max-microvolt = <0x2eebb8>;
  750. phandle = <0x64>;
  751. };
  752.  
  753. l25 {
  754. regulator-min-microvolt = <0x124f80>;
  755. regulator-max-microvolt = <0x124f80>;
  756. regulator-allow-set-load;
  757. phandle = <0x5e>;
  758. };
  759.  
  760. l26 {
  761. };
  762.  
  763. l27 {
  764. regulator-min-microvolt = <0xf4240>;
  765. regulator-max-microvolt = <0xf4240>;
  766. };
  767.  
  768. l28 {
  769. regulator-min-microvolt = <0xe1d48>;
  770. regulator-max-microvolt = <0xe1d48>;
  771. regulator-allow-set-load;
  772. phandle = <0x5c>;
  773. };
  774.  
  775. l29 {
  776. regulator-min-microvolt = <0x2ab980>;
  777. regulator-max-microvolt = <0x2ab980>;
  778. };
  779.  
  780. l30 {
  781. regulator-min-microvolt = <0x1b7740>;
  782. regulator-max-microvolt = <0x1b7740>;
  783. };
  784.  
  785. l31 {
  786. };
  787.  
  788. l32 {
  789. regulator-min-microvolt = <0x1b7740>;
  790. regulator-max-microvolt = <0x1b7740>;
  791. };
  792. };
  793. };
  794. };
  795.  
  796. soc {
  797. #address-cells = <0x1>;
  798. #size-cells = <0x1>;
  799. ranges = <0x0 0x0 0x0 0xffffffff>;
  800. compatible = "simple-bus";
  801.  
  802. memory@68000 {
  803. compatible = "qcom,rpm-msg-ram";
  804. reg = <0x68000 0x6000>;
  805. phandle = <0x16>;
  806. };
  807.  
  808. rng@83000 {
  809. compatible = "qcom,prng-ee";
  810. reg = <0x83000 0x1000>;
  811. clocks = <0x1b 0x98>;
  812. clock-names = "core";
  813. };
  814.  
  815. syscon@740000 {
  816. compatible = "syscon";
  817. reg = <0x740000 0x40000>;
  818. phandle = <0x13>;
  819. };
  820.  
  821. thermal-sensor@4a9000 {
  822. compatible = "qcom,msm8996-tsens";
  823. reg = <0x4a9000 0x1000 0x4a8000 0x1000>;
  824. #qcom,sensors = <0xd>;
  825. #thermal-sensor-cells = <0x1>;
  826. phandle = <0xc>;
  827. };
  828.  
  829. thermal-sensor@4ad000 {
  830. compatible = "qcom,msm8996-tsens";
  831. reg = <0x4ad000 0x1000 0x4ac000 0x1000>;
  832. #qcom,sensors = <0x8>;
  833. #thermal-sensor-cells = <0x1>;
  834. phandle = <0xd>;
  835. };
  836.  
  837. syscon@7a0000 {
  838. compatible = "qcom,tcsr-msm8996", "syscon";
  839. reg = <0x7a0000 0x18000>;
  840. phandle = <0x12>;
  841. };
  842.  
  843. interrupt-controller@9bc0000 {
  844. compatible = "qcom,msm8996-gic-v3", "arm,gic-v3";
  845. #interrupt-cells = <0x3>;
  846. interrupt-controller;
  847. #redistributor-regions = <0x1>;
  848. redistributor-stride = <0x0 0x40000>;
  849. reg = <0x9bc0000 0x10000 0x9c00000 0x100000>;
  850. interrupts = <0x1 0x9 0x4>;
  851. phandle = <0x1>;
  852. };
  853.  
  854. mailbox@9820000 {
  855. compatible = "qcom,msm8996-apcs-hmss-global";
  856. reg = <0x9820000 0x1000>;
  857. #mbox-cells = <0x1>;
  858. phandle = <0x17>;
  859. };
  860.  
  861. clock-controller@300000 {
  862. compatible = "qcom,gcc-msm8996";
  863. #clock-cells = <0x1>;
  864. #reset-cells = <0x1>;
  865. #power-domain-cells = <0x1>;
  866. reg = <0x300000 0x90000>;
  867. clocks = <0x10 0x4a>;
  868. clock-names = "cxo2";
  869. phandle = <0x1b>;
  870. };
  871.  
  872. stm@3002000 {
  873. compatible = "arm,coresight-stm", "arm,primecell";
  874. reg = <0x3002000 0x1000 0x8280000 0x180000>;
  875. reg-names = "stm-base", "stm-stimulus-base";
  876. clocks = <0x10 0x8 0x10 0x9>;
  877. clock-names = "apb_pclk", "atclk";
  878.  
  879. out-ports {
  880.  
  881. port {
  882.  
  883. endpoint {
  884. remote-endpoint = <0x1c>;
  885. phandle = <0x1e>;
  886. };
  887. };
  888. };
  889. };
  890.  
  891. tpiu@3020000 {
  892. compatible = "arm,coresight-tpiu", "arm,primecell";
  893. reg = <0x3020000 0x1000>;
  894. clocks = <0x10 0x8 0x10 0x9>;
  895. clock-names = "apb_pclk", "atclk";
  896.  
  897. in-ports {
  898.  
  899. port {
  900.  
  901. endpoint {
  902. remote-endpoint = <0x1d>;
  903. phandle = <0x29>;
  904. };
  905. };
  906. };
  907. };
  908.  
  909. funnel@3021000 {
  910. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  911. reg = <0x3021000 0x1000>;
  912. clocks = <0x10 0x8 0x10 0x9>;
  913. clock-names = "apb_pclk", "atclk";
  914.  
  915. in-ports {
  916. #address-cells = <0x1>;
  917. #size-cells = <0x0>;
  918.  
  919. port@7 {
  920. reg = <0x7>;
  921.  
  922. endpoint {
  923. remote-endpoint = <0x1e>;
  924. phandle = <0x1c>;
  925. };
  926. };
  927. };
  928.  
  929. out-ports {
  930.  
  931. port {
  932.  
  933. endpoint {
  934. remote-endpoint = <0x1f>;
  935. phandle = <0x23>;
  936. };
  937. };
  938. };
  939. };
  940.  
  941. funnel@3022000 {
  942. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  943. reg = <0x3022000 0x1000>;
  944. clocks = <0x10 0x8 0x10 0x9>;
  945. clock-names = "apb_pclk", "atclk";
  946.  
  947. in-ports {
  948. #address-cells = <0x1>;
  949. #size-cells = <0x0>;
  950.  
  951. port@6 {
  952. reg = <0x6>;
  953.  
  954. endpoint {
  955. remote-endpoint = <0x20>;
  956. phandle = <0x39>;
  957. };
  958. };
  959. };
  960.  
  961. out-ports {
  962.  
  963. port {
  964.  
  965. endpoint {
  966. remote-endpoint = <0x21>;
  967. phandle = <0x24>;
  968. };
  969. };
  970. };
  971. };
  972.  
  973. funnel@3023000 {
  974. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  975. reg = <0x3023000 0x1000>;
  976. clocks = <0x10 0x8 0x10 0x9>;
  977. clock-names = "apb_pclk", "atclk";
  978.  
  979. out-ports {
  980.  
  981. port {
  982.  
  983. endpoint {
  984. remote-endpoint = <0x22>;
  985. phandle = <0x25>;
  986. };
  987. };
  988. };
  989. };
  990.  
  991. funnel@3025000 {
  992. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  993. reg = <0x3025000 0x1000>;
  994. clocks = <0x10 0x8 0x10 0x9>;
  995. clock-names = "apb_pclk", "atclk";
  996.  
  997. in-ports {
  998. #address-cells = <0x1>;
  999. #size-cells = <0x0>;
  1000.  
  1001. port@0 {
  1002. reg = <0x0>;
  1003.  
  1004. endpoint {
  1005. remote-endpoint = <0x23>;
  1006. phandle = <0x1f>;
  1007. };
  1008. };
  1009.  
  1010. port@1 {
  1011. reg = <0x1>;
  1012.  
  1013. endpoint {
  1014. remote-endpoint = <0x24>;
  1015. phandle = <0x21>;
  1016. };
  1017. };
  1018.  
  1019. port@2 {
  1020. reg = <0x2>;
  1021.  
  1022. endpoint {
  1023. remote-endpoint = <0x25>;
  1024. phandle = <0x22>;
  1025. };
  1026. };
  1027. };
  1028.  
  1029. out-ports {
  1030.  
  1031. port {
  1032.  
  1033. endpoint {
  1034. remote-endpoint = <0x26>;
  1035. phandle = <0x2a>;
  1036. };
  1037. };
  1038. };
  1039. };
  1040.  
  1041. replicator@3026000 {
  1042. compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
  1043. reg = <0x3026000 0x1000>;
  1044. clocks = <0x10 0x8 0x10 0x9>;
  1045. clock-names = "apb_pclk", "atclk";
  1046.  
  1047. in-ports {
  1048.  
  1049. port {
  1050.  
  1051. endpoint {
  1052. remote-endpoint = <0x27>;
  1053. phandle = <0x2b>;
  1054. };
  1055. };
  1056. };
  1057.  
  1058. out-ports {
  1059. #address-cells = <0x1>;
  1060. #size-cells = <0x0>;
  1061.  
  1062. port@0 {
  1063. reg = <0x0>;
  1064.  
  1065. endpoint {
  1066. remote-endpoint = <0x28>;
  1067. phandle = <0x2c>;
  1068. };
  1069. };
  1070.  
  1071. port@1 {
  1072. reg = <0x1>;
  1073.  
  1074. endpoint {
  1075. remote-endpoint = <0x29>;
  1076. phandle = <0x1d>;
  1077. };
  1078. };
  1079. };
  1080. };
  1081.  
  1082. etf@3027000 {
  1083. compatible = "arm,coresight-tmc", "arm,primecell";
  1084. reg = <0x3027000 0x1000>;
  1085. clocks = <0x10 0x8 0x10 0x9>;
  1086. clock-names = "apb_pclk", "atclk";
  1087.  
  1088. in-ports {
  1089.  
  1090. port {
  1091.  
  1092. endpoint {
  1093. remote-endpoint = <0x2a>;
  1094. phandle = <0x26>;
  1095. };
  1096. };
  1097. };
  1098.  
  1099. out-ports {
  1100.  
  1101. port {
  1102.  
  1103. endpoint {
  1104. remote-endpoint = <0x2b>;
  1105. phandle = <0x27>;
  1106. };
  1107. };
  1108. };
  1109. };
  1110.  
  1111. etr@3028000 {
  1112. compatible = "arm,coresight-tmc", "arm,primecell";
  1113. reg = <0x3028000 0x1000>;
  1114. clocks = <0x10 0x8 0x10 0x9>;
  1115. clock-names = "apb_pclk", "atclk";
  1116. arm,scatter-gather;
  1117.  
  1118. in-ports {
  1119.  
  1120. port {
  1121.  
  1122. endpoint {
  1123. remote-endpoint = <0x2c>;
  1124. phandle = <0x28>;
  1125. };
  1126. };
  1127. };
  1128. };
  1129.  
  1130. debug@3810000 {
  1131. compatible = "arm,coresight-cpu-debug", "arm,primecell";
  1132. reg = <0x3810000 0x1000>;
  1133. clocks = <0x10 0x8>;
  1134. clock-names = "apb_pclk";
  1135. cpu = <0x8>;
  1136. };
  1137.  
  1138. etm@3840000 {
  1139. compatible = "arm,coresight-etm4x", "arm,primecell";
  1140. reg = <0x3840000 0x1000>;
  1141. clocks = <0x10 0x8 0x10 0x9>;
  1142. clock-names = "apb_pclk", "atclk";
  1143. cpu = <0x8>;
  1144.  
  1145. out-ports {
  1146.  
  1147. port {
  1148.  
  1149. endpoint {
  1150. remote-endpoint = <0x2d>;
  1151. phandle = <0x2f>;
  1152. };
  1153. };
  1154. };
  1155. };
  1156.  
  1157. debug@3910000 {
  1158. compatible = "arm,coresight-cpu-debug", "arm,primecell";
  1159. reg = <0x3910000 0x1000>;
  1160. clocks = <0x10 0x8>;
  1161. clock-names = "apb_pclk";
  1162. cpu = <0x9>;
  1163. };
  1164.  
  1165. etm@3940000 {
  1166. compatible = "arm,coresight-etm4x", "arm,primecell";
  1167. reg = <0x3940000 0x1000>;
  1168. clocks = <0x10 0x8 0x10 0x9>;
  1169. clock-names = "apb_pclk", "atclk";
  1170. cpu = <0x9>;
  1171.  
  1172. out-ports {
  1173.  
  1174. port {
  1175.  
  1176. endpoint {
  1177. remote-endpoint = <0x2e>;
  1178. phandle = <0x30>;
  1179. };
  1180. };
  1181. };
  1182. };
  1183.  
  1184. funnel@39b0000 {
  1185. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  1186. reg = <0x39b0000 0x1000>;
  1187. clocks = <0x10 0x8 0x10 0x9>;
  1188. clock-names = "apb_pclk", "atclk";
  1189.  
  1190. in-ports {
  1191. #address-cells = <0x1>;
  1192. #size-cells = <0x0>;
  1193.  
  1194. port@0 {
  1195. reg = <0x0>;
  1196.  
  1197. endpoint {
  1198. remote-endpoint = <0x2f>;
  1199. phandle = <0x2d>;
  1200. };
  1201. };
  1202.  
  1203. port@1 {
  1204. reg = <0x1>;
  1205.  
  1206. endpoint {
  1207. remote-endpoint = <0x30>;
  1208. phandle = <0x2e>;
  1209. };
  1210. };
  1211. };
  1212.  
  1213. out-ports {
  1214.  
  1215. port {
  1216.  
  1217. endpoint {
  1218. remote-endpoint = <0x31>;
  1219. phandle = <0x37>;
  1220. };
  1221. };
  1222. };
  1223. };
  1224.  
  1225. debug@3a10000 {
  1226. compatible = "arm,coresight-cpu-debug", "arm,primecell";
  1227. reg = <0x3a10000 0x1000>;
  1228. clocks = <0x10 0x8>;
  1229. clock-names = "apb_pclk";
  1230. cpu = <0xa>;
  1231. };
  1232.  
  1233. etm@3a40000 {
  1234. compatible = "arm,coresight-etm4x", "arm,primecell";
  1235. reg = <0x3a40000 0x1000>;
  1236. clocks = <0x10 0x8 0x10 0x9>;
  1237. clock-names = "apb_pclk", "atclk";
  1238. cpu = <0xa>;
  1239.  
  1240. out-ports {
  1241.  
  1242. port {
  1243.  
  1244. endpoint {
  1245. remote-endpoint = <0x32>;
  1246. phandle = <0x34>;
  1247. };
  1248. };
  1249. };
  1250. };
  1251.  
  1252. debug@3b10000 {
  1253. compatible = "arm,coresight-cpu-debug", "arm,primecell";
  1254. reg = <0x3b10000 0x1000>;
  1255. clocks = <0x10 0x8>;
  1256. clock-names = "apb_pclk";
  1257. cpu = <0xb>;
  1258. };
  1259.  
  1260. etm@3b40000 {
  1261. compatible = "arm,coresight-etm4x", "arm,primecell";
  1262. reg = <0x3b40000 0x1000>;
  1263. clocks = <0x10 0x8 0x10 0x9>;
  1264. clock-names = "apb_pclk", "atclk";
  1265. cpu = <0xb>;
  1266.  
  1267. out-ports {
  1268.  
  1269. port {
  1270.  
  1271. endpoint {
  1272. remote-endpoint = <0x33>;
  1273. phandle = <0x35>;
  1274. };
  1275. };
  1276. };
  1277. };
  1278.  
  1279. funnel@3bb0000 {
  1280. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  1281. reg = <0x3bb0000 0x1000>;
  1282. clocks = <0x10 0x8 0x10 0x9>;
  1283. clock-names = "apb_pclk", "atclk";
  1284.  
  1285. in-ports {
  1286. #address-cells = <0x1>;
  1287. #size-cells = <0x0>;
  1288.  
  1289. port@0 {
  1290. reg = <0x0>;
  1291.  
  1292. endpoint {
  1293. remote-endpoint = <0x34>;
  1294. phandle = <0x32>;
  1295. };
  1296. };
  1297.  
  1298. port@1 {
  1299. reg = <0x1>;
  1300.  
  1301. endpoint {
  1302. remote-endpoint = <0x35>;
  1303. phandle = <0x33>;
  1304. };
  1305. };
  1306. };
  1307.  
  1308. out-ports {
  1309.  
  1310. port {
  1311.  
  1312. endpoint {
  1313. remote-endpoint = <0x36>;
  1314. phandle = <0x38>;
  1315. };
  1316. };
  1317. };
  1318. };
  1319.  
  1320. funnel@3bc0000 {
  1321. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  1322. reg = <0x3bc0000 0x1000>;
  1323. clocks = <0x10 0x8 0x10 0x9>;
  1324. clock-names = "apb_pclk", "atclk";
  1325.  
  1326. in-ports {
  1327. #address-cells = <0x1>;
  1328. #size-cells = <0x0>;
  1329.  
  1330. port@0 {
  1331. reg = <0x0>;
  1332.  
  1333. endpoint {
  1334. remote-endpoint = <0x37>;
  1335. phandle = <0x31>;
  1336. };
  1337. };
  1338.  
  1339. port@1 {
  1340. reg = <0x1>;
  1341.  
  1342. endpoint {
  1343. remote-endpoint = <0x38>;
  1344. phandle = <0x36>;
  1345. };
  1346. };
  1347. };
  1348.  
  1349. out-ports {
  1350.  
  1351. port {
  1352.  
  1353. endpoint {
  1354. remote-endpoint = <0x39>;
  1355. phandle = <0x20>;
  1356. };
  1357. };
  1358. };
  1359. };
  1360.  
  1361. clock-controller@6400000 {
  1362. compatible = "qcom,apcc-msm8996";
  1363. reg = <0x6400000 0x90000>;
  1364. #clock-cells = <0x1>;
  1365. };
  1366.  
  1367. serial@7570000 {
  1368. compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
  1369. reg = <0x7570000 0x1000>;
  1370. interrupts = <0x0 0x6c 0x4>;
  1371. clocks = <0x1b 0x74 0x1b 0x6d>;
  1372. clock-names = "core", "iface";
  1373. status = "okay";
  1374. label = "BT-UART";
  1375. pinctrl-names = "default", "sleep";
  1376. pinctrl-0 = <0x3a>;
  1377. pinctrl-1 = <0x3b>;
  1378.  
  1379. bluetooth {
  1380. compatible = "qcom,qca6174-bt";
  1381. enable-gpios = <0x11 0x13 0x0>;
  1382. clocks = <0x3c>;
  1383. };
  1384. };
  1385.  
  1386. spi@7575000 {
  1387. compatible = "qcom,spi-qup-v2.2.1";
  1388. reg = <0x7575000 0x600>;
  1389. interrupts = <0x0 0x5f 0x4>;
  1390. clocks = <0x1b 0x6f 0x1b 0x6d>;
  1391. clock-names = "core", "iface";
  1392. pinctrl-names = "default", "sleep";
  1393. pinctrl-0 = <0x3d>;
  1394. pinctrl-1 = <0x3e>;
  1395. #address-cells = <0x1>;
  1396. #size-cells = <0x0>;
  1397. status = "disabled";
  1398. };
  1399.  
  1400. i2c@75b5000 {
  1401. compatible = "qcom,i2c-qup-v2.2.1";
  1402. reg = <0x75b5000 0x1000>;
  1403. interrupts = <0x0 0x65 0x4>;
  1404. clocks = <0x1b 0x81 0x1b 0x84>;
  1405. clock-names = "iface", "core";
  1406. pinctrl-names = "default", "sleep";
  1407. pinctrl-0 = <0x3f>;
  1408. pinctrl-1 = <0x40>;
  1409. #address-cells = <0x1>;
  1410. #size-cells = <0x0>;
  1411. status = "disabled";
  1412. };
  1413.  
  1414. serial@75b0000 {
  1415. compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
  1416. reg = <0x75b0000 0x1000>;
  1417. interrupts = <0x0 0x72 0x4>;
  1418. clocks = <0x1b 0x88 0x1b 0x81>;
  1419. clock-names = "core", "iface";
  1420. status = "okay";
  1421. label = "LS-UART1";
  1422. pinctrl-names = "default", "sleep";
  1423. pinctrl-0 = <0x41>;
  1424. pinctrl-1 = <0x42>;
  1425. };
  1426.  
  1427. i2c@75b6000 {
  1428. compatible = "qcom,i2c-qup-v2.2.1";
  1429. reg = <0x75b6000 0x1000>;
  1430. interrupts = <0x0 0x66 0x4>;
  1431. clocks = <0x1b 0x81 0x1b 0x87>;
  1432. clock-names = "iface", "core";
  1433. pinctrl-names = "default", "sleep";
  1434. pinctrl-0 = <0x43>;
  1435. pinctrl-1 = <0x44>;
  1436. #address-cells = <0x1>;
  1437. #size-cells = <0x0>;
  1438. status = "disabled";
  1439. };
  1440.  
  1441. serial@75b1000 {
  1442. compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
  1443. reg = <0x75b1000 0x1000>;
  1444. interrupts = <0x0 0x73 0x4>;
  1445. clocks = <0x1b 0x8b 0x1b 0x81>;
  1446. clock-names = "core", "iface";
  1447. status = "disabled";
  1448. };
  1449.  
  1450. i2c@7577000 {
  1451. compatible = "qcom,i2c-qup-v2.2.1";
  1452. reg = <0x7577000 0x1000>;
  1453. interrupts = <0x0 0x61 0x4>;
  1454. clocks = <0x1b 0x6d 0x1b 0x76>;
  1455. clock-names = "iface", "core";
  1456. pinctrl-names = "default", "sleep";
  1457. pinctrl-0 = <0x45>;
  1458. pinctrl-1 = <0x46>;
  1459. #address-cells = <0x1>;
  1460. #size-cells = <0x0>;
  1461. status = "disabled";
  1462. };
  1463.  
  1464. spi@75ba000 {
  1465. compatible = "qcom,spi-qup-v2.2.1";
  1466. reg = <0x75ba000 0x600>;
  1467. interrupts = <0x0 0x6a 0x4>;
  1468. clocks = <0x1b 0x92 0x1b 0x81>;
  1469. clock-names = "core", "iface";
  1470. pinctrl-names = "default", "sleep";
  1471. pinctrl-0 = <0x47>;
  1472. pinctrl-1 = <0x48>;
  1473. #address-cells = <0x1>;
  1474. #size-cells = <0x0>;
  1475. status = "disabled";
  1476. };
  1477.  
  1478. sdhci@74a4900 {
  1479. status = "okay";
  1480. compatible = "qcom,sdhci-msm-v4";
  1481. reg = <0x74a4900 0x314 0x74a4000 0x800>;
  1482. reg-names = "hc_mem", "core_mem";
  1483. interrupts = <0x0 0x7d 0x4 0x0 0xdd 0x4>;
  1484. interrupt-names = "hc_irq", "pwr_irq";
  1485. clock-names = "iface", "core", "xo";
  1486. clocks = <0x1b 0x68 0x1b 0x67 0x49>;
  1487. bus-width = <0x4>;
  1488. pinctrl-names = "default", "sleep";
  1489. pinctrl-0 = <0x4a 0x4b 0x4c 0x4d>;
  1490. pinctrl-1 = <0x4e 0x4f 0x50 0x51>;
  1491. cd-gpios = <0x52 0x5f 0x1>;
  1492. vmmc-supply = <0x53>;
  1493. vqmmc-supply = <0x54>;
  1494. };
  1495.  
  1496. pinctrl@1010000 {
  1497. compatible = "qcom,msm8996-pinctrl";
  1498. reg = <0x1010000 0x300000>;
  1499. interrupts = <0x0 0xd0 0x4>;
  1500. gpio-controller;
  1501. #gpio-cells = <0x2>;
  1502. interrupt-controller;
  1503. #interrupt-cells = <0x2>;
  1504. phandle = <0x52>;
  1505.  
  1506. wcd9xxx_intr {
  1507.  
  1508. wcd_intr_default {
  1509. phandle = <0x83>;
  1510.  
  1511. mux {
  1512. pins = "gpio54";
  1513. function = "gpio";
  1514. };
  1515.  
  1516. config {
  1517. pins = "gpio54";
  1518. drive-strength = <0x2>;
  1519. bias-pull-down;
  1520. input-enable;
  1521. };
  1522. };
  1523. };
  1524.  
  1525. cdc_reset_ctrl {
  1526.  
  1527. cdc_reset_sleep {
  1528.  
  1529. mux {
  1530. pins = "gpio64";
  1531. function = "gpio";
  1532. };
  1533.  
  1534. config {
  1535. pins = "gpio64";
  1536. drive-strength = <0x10>;
  1537. bias-disable;
  1538. output-low;
  1539. };
  1540. };
  1541.  
  1542. cdc_reset_active {
  1543. phandle = <0x82>;
  1544.  
  1545. mux {
  1546. pins = "gpio64";
  1547. function = "gpio";
  1548. };
  1549.  
  1550. config {
  1551. pins = "gpio64";
  1552. drive-strength = <0x10>;
  1553. bias-pull-down;
  1554. output-high;
  1555. };
  1556. };
  1557. };
  1558.  
  1559. blsp1_spi0_default {
  1560. phandle = <0x3d>;
  1561.  
  1562. pinmux {
  1563. function = "blsp_spi1";
  1564. pins = "gpio0", "gpio1", "gpio3";
  1565. };
  1566.  
  1567. pinmux_cs {
  1568. function = "gpio";
  1569. pins = "gpio2";
  1570. };
  1571.  
  1572. pinconf {
  1573. pins = "gpio0", "gpio1", "gpio3";
  1574. drive-strength = <0xc>;
  1575. bias-disable;
  1576. };
  1577.  
  1578. pinconf_cs {
  1579. pins = "gpio2";
  1580. drive-strength = <0x10>;
  1581. bias-disable;
  1582. output-high;
  1583. };
  1584. };
  1585.  
  1586. blsp1_spi0_sleep {
  1587. phandle = <0x3e>;
  1588.  
  1589. pinmux {
  1590. function = "gpio";
  1591. pins = "gpio0", "gpio1", "gpio2", "gpio3";
  1592. };
  1593.  
  1594. pinconf {
  1595. pins = "gpio0", "gpio1", "gpio2", "gpio3";
  1596. drive-strength = <0x2>;
  1597. bias-pull-down;
  1598. };
  1599. };
  1600.  
  1601. blsp1_i2c2_default {
  1602. phandle = <0x45>;
  1603.  
  1604. pinmux {
  1605. function = "blsp_i2c3";
  1606. pins = "gpio47", "gpio48";
  1607. };
  1608.  
  1609. pinconf {
  1610. pins = "gpio47", "gpio48";
  1611. drive-strength = <0x10>;
  1612. bias-disable = <0x0>;
  1613. };
  1614. };
  1615.  
  1616. blsp1_i2c2_sleep {
  1617. phandle = <0x46>;
  1618.  
  1619. pinmux {
  1620. function = "gpio";
  1621. pins = "gpio47", "gpio48";
  1622. };
  1623.  
  1624. pinconf {
  1625. pins = "gpio47", "gpio48";
  1626. drive-strength = <0x2>;
  1627. bias-disable = <0x0>;
  1628. };
  1629. };
  1630.  
  1631. blsp2_i2c0 {
  1632. phandle = <0x3f>;
  1633.  
  1634. pinmux {
  1635. function = "blsp_i2c7";
  1636. pins = "gpio55", "gpio56";
  1637. };
  1638.  
  1639. pinconf {
  1640. pins = "gpio55", "gpio56";
  1641. drive-strength = <0x10>;
  1642. bias-disable;
  1643. };
  1644. };
  1645.  
  1646. blsp2_i2c0_sleep {
  1647. phandle = <0x40>;
  1648.  
  1649. pinmux {
  1650. function = "gpio";
  1651. pins = "gpio55", "gpio56";
  1652. };
  1653.  
  1654. pinconf {
  1655. pins = "gpio55", "gpio56";
  1656. drive-strength = <0x2>;
  1657. bias-disable;
  1658. };
  1659. };
  1660.  
  1661. blsp2_uart1_2pins {
  1662. phandle = <0x41>;
  1663.  
  1664. pinmux {
  1665. function = "blsp_uart8";
  1666. pins = "gpio4", "gpio5";
  1667. };
  1668.  
  1669. pinconf {
  1670. pins = "gpio4", "gpio5";
  1671. drive-strength = <0x10>;
  1672. bias-disable;
  1673. };
  1674. };
  1675.  
  1676. blsp2_uart1_2pins_sleep {
  1677. phandle = <0x42>;
  1678.  
  1679. pinmux {
  1680. function = "gpio";
  1681. pins = "gpio4", "gpio5";
  1682. };
  1683.  
  1684. pinconf {
  1685. pins = "gpio4", "gpio5";
  1686. drive-strength = <0x2>;
  1687. bias-disable;
  1688. };
  1689. };
  1690.  
  1691. blsp2_uart1_4pins {
  1692.  
  1693. pinmux {
  1694. function = "blsp_uart8";
  1695. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  1696. };
  1697.  
  1698. pinconf {
  1699. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  1700. drive-strength = <0x10>;
  1701. bias-disable;
  1702. };
  1703. };
  1704.  
  1705. blsp2_uart1_4pins_sleep {
  1706.  
  1707. pinmux {
  1708. function = "gpio";
  1709. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  1710. };
  1711.  
  1712. pinconf {
  1713. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  1714. drive-strength = <0x2>;
  1715. bias-disable;
  1716. };
  1717. };
  1718.  
  1719. blsp2_i2c1 {
  1720. phandle = <0x43>;
  1721.  
  1722. pinmux {
  1723. function = "blsp_i2c8";
  1724. pins = "gpio6", "gpio7";
  1725. };
  1726.  
  1727. pinconf {
  1728. pins = "gpio6", "gpio7";
  1729. drive-strength = <0x10>;
  1730. bias-disable;
  1731. };
  1732. };
  1733.  
  1734. blsp2_i2c1_sleep {
  1735. phandle = <0x44>;
  1736.  
  1737. pinmux {
  1738. function = "gpio";
  1739. pins = "gpio6", "gpio7";
  1740. };
  1741.  
  1742. pinconf {
  1743. pins = "gpio6", "gpio7";
  1744. drive-strength = <0x2>;
  1745. bias-disable;
  1746. };
  1747. };
  1748.  
  1749. blsp2_uart2_2pins {
  1750.  
  1751. pinmux {
  1752. function = "blsp_uart9";
  1753. pins = "gpio49", "gpio50";
  1754. };
  1755.  
  1756. pinconf {
  1757. pins = "gpio49", "gpio50";
  1758. drive-strength = <0x10>;
  1759. bias-disable;
  1760. };
  1761. };
  1762.  
  1763. blsp2_uart2_2pins_sleep {
  1764.  
  1765. pinmux {
  1766. function = "gpio";
  1767. pins = "gpio49", "gpio50";
  1768. };
  1769.  
  1770. pinconf {
  1771. pins = "gpio49", "gpio50";
  1772. drive-strength = <0x2>;
  1773. bias-disable;
  1774. };
  1775. };
  1776.  
  1777. blsp2_uart2_4pins {
  1778.  
  1779. pinmux {
  1780. function = "blsp_uart9";
  1781. pins = "gpio49", "gpio50", "gpio51", "gpio52";
  1782. };
  1783.  
  1784. pinconf {
  1785. pins = "gpio49", "gpio50", "gpio51", "gpio52";
  1786. drive-strength = <0x10>;
  1787. bias-disable;
  1788. };
  1789. };
  1790.  
  1791. blsp2_uart2_4pins_sleep {
  1792.  
  1793. pinmux {
  1794. function = "gpio";
  1795. pins = "gpio49", "gpio50", "gpio51", "gpio52";
  1796. };
  1797.  
  1798. pinconf {
  1799. pins = "gpio49", "gpio50", "gpio51", "gpio52";
  1800. drive-strength = <0x2>;
  1801. bias-disable;
  1802. };
  1803. };
  1804.  
  1805. blsp2_spi5_default {
  1806. phandle = <0x47>;
  1807.  
  1808. pinmux {
  1809. function = "blsp_spi12";
  1810. pins = "gpio85", "gpio86", "gpio88";
  1811. };
  1812.  
  1813. pinmux_cs {
  1814. function = "gpio";
  1815. pins = "gpio87";
  1816. };
  1817.  
  1818. pinconf {
  1819. pins = "gpio85", "gpio86", "gpio88";
  1820. drive-strength = <0xc>;
  1821. bias-disable;
  1822. };
  1823.  
  1824. pinconf_cs {
  1825. pins = "gpio87";
  1826. drive-strength = <0x10>;
  1827. bias-disable;
  1828. output-high;
  1829. };
  1830. };
  1831.  
  1832. blsp2_spi5_sleep {
  1833. phandle = <0x48>;
  1834.  
  1835. pinmux {
  1836. function = "gpio";
  1837. pins = "gpio85", "gpio86", "gpio87", "gpio88";
  1838. };
  1839.  
  1840. pinconf {
  1841. pins = "gpio85", "gpio86", "gpio87", "gpio88";
  1842. drive-strength = <0x2>;
  1843. bias-pull-down;
  1844. };
  1845. };
  1846.  
  1847. sdc2_clk_on {
  1848. phandle = <0x4a>;
  1849.  
  1850. config {
  1851. pins = "sdc2_clk";
  1852. bias-disable;
  1853. drive-strength = <0x10>;
  1854. };
  1855. };
  1856.  
  1857. sdc2_clk_off {
  1858. phandle = <0x4e>;
  1859.  
  1860. config {
  1861. pins = "sdc2_clk";
  1862. bias-disable;
  1863. drive-strength = <0x2>;
  1864. };
  1865. };
  1866.  
  1867. sdc2_cmd_on {
  1868. phandle = <0x4b>;
  1869.  
  1870. config {
  1871. pins = "sdc2_cmd";
  1872. bias-pull-up;
  1873. drive-strength = <0xa>;
  1874. };
  1875. };
  1876.  
  1877. sdc2_cmd_off {
  1878. phandle = <0x4f>;
  1879.  
  1880. config {
  1881. pins = "sdc2_cmd";
  1882. bias-pull-up;
  1883. drive-strength = <0x2>;
  1884. };
  1885. };
  1886.  
  1887. sdc2_data_on {
  1888. phandle = <0x4c>;
  1889.  
  1890. config {
  1891. pins = "sdc2_data";
  1892. bias-pull-up;
  1893. drive-strength = <0xa>;
  1894. };
  1895. };
  1896.  
  1897. sdc2_data_off {
  1898. phandle = <0x50>;
  1899.  
  1900. config {
  1901. pins = "sdc2_data";
  1902. bias-pull-up;
  1903. drive-strength = <0x2>;
  1904. };
  1905. };
  1906.  
  1907. pcie0_clkreq_default {
  1908. phandle = <0x6f>;
  1909.  
  1910. mux {
  1911. pins = "gpio36";
  1912. function = "pci_e0";
  1913. };
  1914.  
  1915. config {
  1916. pins = "gpio36";
  1917. drive-strength = <0x2>;
  1918. bias-pull-up;
  1919. };
  1920. };
  1921.  
  1922. pcie0_perst_default {
  1923. phandle = <0x70>;
  1924.  
  1925. mux {
  1926. pins = "gpio35";
  1927. function = "gpio";
  1928. };
  1929.  
  1930. config {
  1931. pins = "gpio35";
  1932. drive-strength = <0x2>;
  1933. bias-pull-down;
  1934. };
  1935. };
  1936.  
  1937. pcie0_wake_default {
  1938. phandle = <0x71>;
  1939.  
  1940. mux {
  1941. pins = "gpio37";
  1942. function = "gpio";
  1943. };
  1944.  
  1945. config {
  1946. pins = "gpio37";
  1947. drive-strength = <0x2>;
  1948. bias-pull-up;
  1949. };
  1950. };
  1951.  
  1952. pcie0_clkreq_sleep {
  1953. phandle = <0x72>;
  1954.  
  1955. mux {
  1956. pins = "gpio36";
  1957. function = "gpio";
  1958. };
  1959.  
  1960. config {
  1961. pins = "gpio36";
  1962. drive-strength = <0x2>;
  1963. bias-disable;
  1964. };
  1965. };
  1966.  
  1967. pcie0_wake_sleep {
  1968. phandle = <0x73>;
  1969.  
  1970. mux {
  1971. pins = "gpio37";
  1972. function = "gpio";
  1973. };
  1974.  
  1975. config {
  1976. pins = "gpio37";
  1977. drive-strength = <0x2>;
  1978. bias-disable;
  1979. };
  1980. };
  1981.  
  1982. pcie1_clkreq_default {
  1983. phandle = <0x75>;
  1984.  
  1985. mux {
  1986. pins = "gpio131";
  1987. function = "pci_e1";
  1988. };
  1989.  
  1990. config {
  1991. pins = "gpio131";
  1992. drive-strength = <0x2>;
  1993. bias-pull-up;
  1994. };
  1995. };
  1996.  
  1997. pcie1_perst_default {
  1998. phandle = <0x76>;
  1999.  
  2000. mux {
  2001. pins = "gpio130";
  2002. function = "gpio";
  2003. };
  2004.  
  2005. config {
  2006. pins = "gpio130";
  2007. drive-strength = <0x2>;
  2008. bias-pull-down;
  2009. };
  2010. };
  2011.  
  2012. pcie1_wake_default {
  2013. phandle = <0x77>;
  2014.  
  2015. mux {
  2016. pins = "gpio132";
  2017. function = "gpio";
  2018. };
  2019.  
  2020. config {
  2021. pins = "gpio132";
  2022. drive-strength = <0x2>;
  2023. bias-pull-down;
  2024. };
  2025. };
  2026.  
  2027. pcie1_clkreq_sleep {
  2028. phandle = <0x78>;
  2029.  
  2030. mux {
  2031. pins = "gpio131";
  2032. function = "gpio";
  2033. };
  2034.  
  2035. config {
  2036. pins = "gpio131";
  2037. drive-strength = <0x2>;
  2038. bias-disable;
  2039. };
  2040. };
  2041.  
  2042. pcie1_wake_sleep {
  2043. phandle = <0x79>;
  2044.  
  2045. mux {
  2046. pins = "gpio132";
  2047. function = "gpio";
  2048. };
  2049.  
  2050. config {
  2051. pins = "gpio132";
  2052. drive-strength = <0x2>;
  2053. bias-disable;
  2054. };
  2055. };
  2056.  
  2057. pcie2_clkreq_default {
  2058. phandle = <0x7b>;
  2059.  
  2060. mux {
  2061. pins = "gpio115";
  2062. function = "pci_e2";
  2063. };
  2064.  
  2065. config {
  2066. pins = "gpio115";
  2067. drive-strength = <0x2>;
  2068. bias-pull-up;
  2069. };
  2070. };
  2071.  
  2072. pcie2_perst_default {
  2073. phandle = <0x7c>;
  2074.  
  2075. mux {
  2076. pins = "gpio114";
  2077. function = "gpio";
  2078. };
  2079.  
  2080. config {
  2081. pins = "gpio114";
  2082. drive-strength = <0x2>;
  2083. bias-pull-down;
  2084. };
  2085. };
  2086.  
  2087. pcie2_wake_default {
  2088. phandle = <0x7d>;
  2089.  
  2090. mux {
  2091. pins = "gpio116";
  2092. function = "gpio";
  2093. };
  2094.  
  2095. config {
  2096. pins = "gpio116";
  2097. drive-strength = <0x2>;
  2098. bias-pull-down;
  2099. };
  2100. };
  2101.  
  2102. pcie2_clkreq_sleep {
  2103. phandle = <0x7e>;
  2104.  
  2105. mux {
  2106. pins = "gpio115";
  2107. function = "gpio";
  2108. };
  2109.  
  2110. config {
  2111. pins = "gpio115";
  2112. drive-strength = <0x2>;
  2113. bias-disable;
  2114. };
  2115. };
  2116.  
  2117. pcie2_wake_sleep {
  2118. phandle = <0x7f>;
  2119.  
  2120. mux {
  2121. pins = "gpio116";
  2122. function = "gpio";
  2123. };
  2124.  
  2125. config {
  2126. pins = "gpio116";
  2127. drive-strength = <0x2>;
  2128. bias-disable;
  2129. };
  2130. };
  2131.  
  2132. cci0_default {
  2133.  
  2134. pinmux {
  2135. function = "cci_i2c";
  2136. pins = "gpio17", "gpio18";
  2137. };
  2138.  
  2139. pinconf {
  2140. pins = "gpio17", "gpio18";
  2141. drive-strength = <0x10>;
  2142. bias-disable;
  2143. };
  2144. };
  2145.  
  2146. cci1_default {
  2147.  
  2148. pinmux {
  2149. function = "cci_i2c";
  2150. pins = "gpio19", "gpio20";
  2151. };
  2152.  
  2153. pinconf {
  2154. pins = "gpio19", "gpio20";
  2155. drive-strength = <0x10>;
  2156. bias-disable;
  2157. };
  2158. };
  2159.  
  2160. camera_board_default {
  2161.  
  2162. mux_pwdn {
  2163. function = "gpio";
  2164. pins = "gpio98";
  2165. };
  2166.  
  2167. config_pwdn {
  2168. pins = "gpio98";
  2169. drive-strength = <0x10>;
  2170. bias-disable;
  2171. };
  2172.  
  2173. mux_rst {
  2174. function = "gpio";
  2175. pins = "gpio104";
  2176. };
  2177.  
  2178. config_rst {
  2179. pins = "gpio104";
  2180. drive-strength = <0x10>;
  2181. bias-disable;
  2182. };
  2183.  
  2184. mux_mclk1 {
  2185. function = "cam_mclk";
  2186. pins = "gpio14";
  2187. };
  2188.  
  2189. config_mclk1 {
  2190. pins = "gpio14";
  2191. drive-strength = <0x10>;
  2192. bias-disable;
  2193. };
  2194. };
  2195.  
  2196. camera_front_default {
  2197.  
  2198. mux_pwdn {
  2199. function = "gpio";
  2200. pins = "gpio133";
  2201. };
  2202.  
  2203. config_pwdn {
  2204. pins = "gpio133";
  2205. drive-strength = <0x10>;
  2206. bias-disable;
  2207. };
  2208.  
  2209. mux_rst {
  2210. function = "gpio";
  2211. pins = "gpio23";
  2212. };
  2213.  
  2214. config_rst {
  2215. pins = "gpio23";
  2216. drive-strength = <0x10>;
  2217. bias-disable;
  2218. };
  2219.  
  2220. mux_mclk2 {
  2221. function = "cam_mclk";
  2222. pins = "gpio15";
  2223. };
  2224.  
  2225. config_mclk2 {
  2226. pins = "gpio15";
  2227. drive-strength = <0x10>;
  2228. bias-disable;
  2229. };
  2230. };
  2231.  
  2232. camera_rear_default {
  2233.  
  2234. mux_pwdn {
  2235. function = "gpio";
  2236. pins = "gpio26";
  2237. };
  2238.  
  2239. config_pwdn {
  2240. pins = "gpio26";
  2241. drive-strength = <0x10>;
  2242. bias-disable;
  2243. };
  2244.  
  2245. mux_rst {
  2246. function = "gpio";
  2247. pins = "gpio25";
  2248. };
  2249.  
  2250. config_rst {
  2251. pins = "gpio25";
  2252. drive-strength = <0x10>;
  2253. bias-disable;
  2254. };
  2255.  
  2256. mux_mclk0 {
  2257. function = "cam_mclk";
  2258. pins = "gpio13";
  2259. };
  2260.  
  2261. config_mclk0 {
  2262. pins = "gpio13";
  2263. drive-strength = <0x10>;
  2264. bias-disable;
  2265. };
  2266. };
  2267.  
  2268. sdc2_cd_on {
  2269. phandle = <0x4d>;
  2270.  
  2271. mux {
  2272. pins = "gpio95";
  2273. function = "gpio";
  2274. };
  2275.  
  2276. config {
  2277. pins = "gpio95";
  2278. bias-pull-up;
  2279. drive-strength = <0x10>;
  2280. };
  2281. };
  2282.  
  2283. sdc2_cd_off {
  2284. phandle = <0x51>;
  2285.  
  2286. mux {
  2287. pins = "gpio95";
  2288. function = "gpio";
  2289. };
  2290.  
  2291. config {
  2292. pins = "gpio95";
  2293. bias-pull-up;
  2294. drive-strength = <0x2>;
  2295. };
  2296. };
  2297.  
  2298. hdmi_hpd_active {
  2299. phandle = <0x8f>;
  2300.  
  2301. mux {
  2302. pins = "gpio34";
  2303. function = "hdmi_hot";
  2304. };
  2305.  
  2306. config {
  2307. pins = "gpio34";
  2308. bias-pull-down;
  2309. drive-strength = <0x10>;
  2310. };
  2311. };
  2312.  
  2313. hdmi_hpd_suspend {
  2314. phandle = <0x91>;
  2315.  
  2316. mux {
  2317. pins = "gpio34";
  2318. function = "hdmi_hot";
  2319. };
  2320.  
  2321. config {
  2322. pins = "gpio34";
  2323. bias-pull-down;
  2324. drive-strength = <0x2>;
  2325. };
  2326. };
  2327.  
  2328. hdmi_ddc_active {
  2329. phandle = <0x90>;
  2330.  
  2331. mux {
  2332. pins = "gpio32", "gpio33";
  2333. function = "hdmi_ddc";
  2334. };
  2335.  
  2336. config {
  2337. pins = "gpio32", "gpio33";
  2338. drive-strength = <0x2>;
  2339. bias-pull-up;
  2340. };
  2341. };
  2342.  
  2343. hdmi_ddc_suspend {
  2344. phandle = <0x92>;
  2345.  
  2346. mux {
  2347. pins = "gpio32", "gpio33";
  2348. function = "hdmi_ddc";
  2349. };
  2350.  
  2351. config {
  2352. pins = "gpio32", "gpio33";
  2353. drive-strength = <0x2>;
  2354. bias-pull-down;
  2355. };
  2356. };
  2357.  
  2358. blsp1_uart1_default {
  2359. phandle = <0x3a>;
  2360.  
  2361. mux {
  2362. pins = "gpio41", "gpio42", "gpio43", "gpio44";
  2363. function = "blsp_uart2";
  2364. };
  2365.  
  2366. config {
  2367. pins = "gpio41", "gpio42", "gpio43", "gpio44";
  2368. drive-strength = <0x10>;
  2369. bias-disable;
  2370. };
  2371. };
  2372.  
  2373. blsp1_uart1_sleep {
  2374. phandle = <0x3b>;
  2375.  
  2376. mux {
  2377. pins = "gpio41", "gpio42", "gpio43", "gpio44";
  2378. function = "gpio";
  2379. };
  2380.  
  2381. config {
  2382. pins = "gpio41", "gpio42", "gpio43", "gpio44";
  2383. drive-strength = <0x2>;
  2384. bias-disable;
  2385. };
  2386. };
  2387.  
  2388. blsp12_i2c_default {
  2389. phandle = <0x9d>;
  2390.  
  2391. pinmux {
  2392. function = "blsp_i2c12";
  2393. pins = "gpio87", "gpio88";
  2394. };
  2395.  
  2396. pinconf {
  2397. pins = "gpio87", "gpio88";
  2398. drive-strength = <0x10>;
  2399. bias-disable;
  2400. };
  2401. };
  2402.  
  2403. blsp12_i2c_sleep {
  2404. phandle = <0x9e>;
  2405.  
  2406. pinmux {
  2407. function = "gpio";
  2408. pins = "gpio87", "gpio88";
  2409. };
  2410.  
  2411. pinconf {
  2412. pins = "gpio87", "gpio88";
  2413. drive-strength = <0x2>;
  2414. bias-pull-down;
  2415. };
  2416. };
  2417.  
  2418. camera_primary_default {
  2419. phandle = <0xa0>;
  2420.  
  2421. mux_rst {
  2422. function = "gpio";
  2423. pins = "gpio135";
  2424. };
  2425.  
  2426. config_rst {
  2427. pins = "gpio135";
  2428. drive-strength = <0x10>;
  2429. bias-disable;
  2430. };
  2431.  
  2432. mux_mclk0 {
  2433. function = "cam_mclk";
  2434. pins = "gpio13";
  2435. };
  2436.  
  2437. config_mclk0 {
  2438. pins = "gpio13";
  2439. drive-strength = <0x10>;
  2440. bias-disable;
  2441. };
  2442. };
  2443. };
  2444.  
  2445. timer@9840000 {
  2446. #address-cells = <0x1>;
  2447. #size-cells = <0x1>;
  2448. ranges;
  2449. compatible = "arm,armv7-timer-mem";
  2450. reg = <0x9840000 0x1000>;
  2451. clock-frequency = <0x124f800>;
  2452.  
  2453. frame@9850000 {
  2454. frame-number = <0x0>;
  2455. interrupts = <0x0 0x1f 0x4 0x0 0x1e 0x4>;
  2456. reg = <0x9850000 0x1000 0x9860000 0x1000>;
  2457. };
  2458.  
  2459. frame@9870000 {
  2460. frame-number = <0x1>;
  2461. interrupts = <0x0 0x20 0x4>;
  2462. reg = <0x9870000 0x1000>;
  2463. status = "disabled";
  2464. };
  2465.  
  2466. frame@9880000 {
  2467. frame-number = <0x2>;
  2468. interrupts = <0x0 0x21 0x4>;
  2469. reg = <0x9880000 0x1000>;
  2470. status = "disabled";
  2471. };
  2472.  
  2473. frame@9890000 {
  2474. frame-number = <0x3>;
  2475. interrupts = <0x0 0x22 0x4>;
  2476. reg = <0x9890000 0x1000>;
  2477. status = "disabled";
  2478. };
  2479.  
  2480. frame@98a0000 {
  2481. frame-number = <0x4>;
  2482. interrupts = <0x0 0x23 0x4>;
  2483. reg = <0x98a0000 0x1000>;
  2484. status = "disabled";
  2485. };
  2486.  
  2487. frame@98b0000 {
  2488. frame-number = <0x5>;
  2489. interrupts = <0x0 0x24 0x4>;
  2490. reg = <0x98b0000 0x1000>;
  2491. status = "disabled";
  2492. };
  2493.  
  2494. frame@98c0000 {
  2495. frame-number = <0x6>;
  2496. interrupts = <0x0 0x25 0x4>;
  2497. reg = <0x98c0000 0x1000>;
  2498. status = "disabled";
  2499. };
  2500. };
  2501.  
  2502. qcom,spmi@400f000 {
  2503. compatible = "qcom,spmi-pmic-arb";
  2504. reg = <0x400f000 0x1000 0x4400000 0x800000 0x4c00000 0x800000 0x5800000 0x200000 0x400a000 0x2100>;
  2505. reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
  2506. interrupt-names = "periph_irq";
  2507. interrupts = <0x0 0x146 0x4>;
  2508. qcom,ee = <0x0>;
  2509. qcom,channel = <0x0>;
  2510. #address-cells = <0x2>;
  2511. #size-cells = <0x0>;
  2512. interrupt-controller;
  2513. #interrupt-cells = <0x4>;
  2514.  
  2515. pmic@0 {
  2516. compatible = "qcom,pm8994", "qcom,spmi-pmic";
  2517. reg = <0x0 0x0>;
  2518. #address-cells = <0x1>;
  2519. #size-cells = <0x0>;
  2520.  
  2521. rtc@6000 {
  2522. compatible = "qcom,pm8941-rtc";
  2523. reg = <0x6000 0x6100>;
  2524. reg-names = "rtc", "alarm";
  2525. interrupts = <0x0 0x61 0x1 0x1>;
  2526. };
  2527.  
  2528. pon@800 {
  2529. compatible = "qcom,pm8916-pon";
  2530. reg = <0x800>;
  2531. mode-bootloader = <0x2>;
  2532. mode-recovery = <0x1>;
  2533.  
  2534. pwrkey {
  2535. compatible = "qcom,pm8941-pwrkey";
  2536. interrupts = <0x0 0x8 0x0 0x3>;
  2537. debounce = <0x3d09>;
  2538. bias-pull-up;
  2539. linux,code = <0x74>;
  2540. };
  2541.  
  2542. resin {
  2543. compatible = "qcom,pm8941-resin";
  2544. interrupts = <0x0 0x8 0x1 0x3>;
  2545. debounce = <0x3d09>;
  2546. bias-pull-up;
  2547. linux,code = <0x72>;
  2548. };
  2549. };
  2550.  
  2551. pmic_vadc@3100 {
  2552. compatible = "qcom,spmi-vadc";
  2553. reg = <0x3100>;
  2554. #address-cells = <0x1>;
  2555. #size-cells = <0x0>;
  2556. #io-channel-cells = <0x1>;
  2557.  
  2558. blsp_exp_ain1 {
  2559. reg = <0x35>;
  2560. };
  2561.  
  2562. vadc_ref_1250mv {
  2563. reg = <0xa>;
  2564. };
  2565.  
  2566. vadc_ref_625mv {
  2567. reg = <0x9>;
  2568. };
  2569.  
  2570. vadc_gnd_ref {
  2571. reg = <0xe>;
  2572. };
  2573.  
  2574. vadc_vdd_vadc {
  2575. reg = <0xf>;
  2576. };
  2577. };
  2578.  
  2579. gpios@c000 {
  2580. compatible = "qcom,pm8994-gpio";
  2581. reg = <0xc000>;
  2582. gpio-controller;
  2583. #gpio-cells = <0x2>;
  2584. interrupts = <0x0 0xc0 0x0 0x0 0x0 0xc1 0x0 0x0 0x0 0xc2 0x0 0x0 0x0 0xc3 0x0 0x0 0x0 0xc4 0x0 0x0 0x0 0xc5 0x0 0x0 0x0 0xc6 0x0 0x0 0x0 0xc7 0x0 0x0 0x0 0xc8 0x0 0x0 0x0 0xc9 0x0 0x0 0x0 0xca 0x0 0x0 0x0 0xcb 0x0 0x0 0x0 0xcc 0x0 0x0 0x0 0xcd 0x0 0x0 0x0 0xce 0x0 0x0 0x0 0xcf 0x0 0x0 0x0 0xd0 0x0 0x0 0x0 0xd1 0x0 0x0 0x0 0xd2 0x0 0x0 0x0 0xd3 0x0 0x0 0x0 0xd4 0x0 0x0 0x0 0xd5 0x0 0x0>;
  2585. pinctrl-names = "default";
  2586. pinctrl-0 = <0x55 0x56>;
  2587. phandle = <0x11>;
  2588.  
  2589. pm8994_gpio5 {
  2590. phandle = <0x55>;
  2591.  
  2592. pinconf {
  2593. pins = "gpio5";
  2594. function = "normal";
  2595. output-high;
  2596. power-source = <0x2>;
  2597. qcom,drive-strength = <0x3>;
  2598. bias-pull-down;
  2599. };
  2600. };
  2601.  
  2602. bt_en_gpios {
  2603. phandle = <0x56>;
  2604.  
  2605. pinconf {
  2606. pins = "gpio19";
  2607. function = "normal";
  2608. output-low;
  2609. power-source = <0x2>;
  2610. qcom,drive-strength = <0x3>;
  2611. bias-pull-down;
  2612. };
  2613. };
  2614.  
  2615. wlan_en_gpios {
  2616. phandle = <0x9c>;
  2617.  
  2618. pinconf {
  2619. pins = "gpio8";
  2620. function = "normal";
  2621. output-low;
  2622. power-source = <0x2>;
  2623. qcom,drive-strength = <0x3>;
  2624. bias-pull-down;
  2625. };
  2626. };
  2627.  
  2628. clk_div1 {
  2629. phandle = <0xf>;
  2630.  
  2631. pinconf {
  2632. pins = "gpio15";
  2633. function = "func1";
  2634. power-source = <0x2>;
  2635. };
  2636. };
  2637.  
  2638. pm8996_gpio2 {
  2639.  
  2640. pinconf {
  2641. pins = "gpio2";
  2642. function = "normal";
  2643. input-enable;
  2644. drive-push-pull;
  2645. bias-pull-up;
  2646. qcom,drive-strength = <0x0>;
  2647. power-source = <0x2>;
  2648. };
  2649. };
  2650.  
  2651. divclk4 {
  2652. phandle = <0xe>;
  2653.  
  2654. pinconf {
  2655. pins = "gpio18";
  2656. function = "func2";
  2657. bias-disable;
  2658. power-source = <0x2>;
  2659. };
  2660. };
  2661.  
  2662. pmi8996_gpio22 {
  2663. phandle = <0xa5>;
  2664.  
  2665. pinconf {
  2666. pins = "gpio22";
  2667. function = "normal";
  2668. input-enable;
  2669. bias-pull-down;
  2670. qcom,drive-strength = <0x0>;
  2671. power-source = <0x2>;
  2672. };
  2673. };
  2674. };
  2675.  
  2676. mpps@a000 {
  2677. compatible = "qcom,pm8994-mpp";
  2678. reg = <0xa000>;
  2679. gpio-controller;
  2680. #gpio-cells = <0x2>;
  2681. interrupts = <0x0 0xa0 0x0 0x0 0x0 0xa1 0x0 0x0 0x0 0xa2 0x0 0x0 0x0 0xa3 0x0 0x0 0x0 0xa4 0x0 0x0 0x0 0xa5 0x0 0x0 0x0 0xa6 0x0 0x0 0x0 0xa7 0x0 0x0>;
  2682.  
  2683. mpp2-wifi-led-active {
  2684. pins = "mpp2";
  2685. function = "sink";
  2686. output-low;
  2687. qcom,dtest = <0x1>;
  2688. phandle = <0x57>;
  2689. };
  2690.  
  2691. mpp4-wifi-led-active {
  2692. pins = "mpp4";
  2693. function = "sink";
  2694. output-low;
  2695. qcom,dtest = <0x2>;
  2696. phandle = <0x58>;
  2697. };
  2698. };
  2699. };
  2700.  
  2701. pmic@1 {
  2702. compatible = "qcom,pm8994", "qcom,spmi-pmic";
  2703. reg = <0x1 0x0>;
  2704. #address-cells = <0x1>;
  2705. #size-cells = <0x0>;
  2706.  
  2707. lpg {
  2708. compatible = "qcom,pm8994-lpg";
  2709. status = "okay";
  2710. qcom,dtest = <0x1 0x2 0x2 0x2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>;
  2711. pinctrl-names = "default";
  2712. pinctrl-0 = <0x57 0x58>;
  2713.  
  2714. wifi-led {
  2715. led-sources = <0x1>;
  2716. linux,default-trigger = "phy0tx";
  2717. default-state = "off";
  2718. };
  2719.  
  2720. bt-led {
  2721. led-sources = <0x2>;
  2722. linux,default-trigger = "hci0-power";
  2723. default-state = "off";
  2724. };
  2725. };
  2726. };
  2727.  
  2728. pmic@2 {
  2729. compatible = "qcom,pmi8994", "qcom,spmi-pmic";
  2730. reg = <0x2 0x0>;
  2731. #address-cells = <0x1>;
  2732. #size-cells = <0x0>;
  2733.  
  2734. qcom,power-on@800 {
  2735. compatible = "qcom,qpnp-power-on";
  2736. reg = <0x800 0x100>;
  2737. qcom,secondary-pon-reset;
  2738.  
  2739. qcom,pon_perph_reg {
  2740. regulator-name = "pon_spare_reg";
  2741. qcom,pon-spare-reg-addr = <0x8c>;
  2742. qcom,pon-spare-reg-bit = <0x1>;
  2743. phandle = <0x5b>;
  2744. };
  2745. };
  2746.  
  2747. gpios@c000 {
  2748. compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio";
  2749. reg = <0xc000>;
  2750. gpio-controller;
  2751. gpio-ranges = <0x59 0x0 0x0 0xa>;
  2752. #gpio-cells = <0x2>;
  2753. interrupt-controller;
  2754. #interrupt-cells = <0x2>;
  2755. interrupts = <0x2 0xc0 0x0 0x0 0x2 0xc1 0x0 0x0 0x2 0xc2 0x0 0x0 0x2 0xc3 0x0 0x0 0x2 0xc4 0x0 0x0 0x2 0xc5 0x0 0x0 0x2 0xc6 0x0 0x0 0x2 0xc7 0x0 0x0 0x2 0xc8 0x0 0x0 0x2 0xc9 0x0 0x0>;
  2756. phandle = <0x59>;
  2757.  
  2758. pmi8996_gpio6 {
  2759.  
  2760. pinconf {
  2761. pins = "gpio6";
  2762. function = "normal";
  2763. input-enable;
  2764. bias-pull-down;
  2765. qcom,drive-strength = <0x0>;
  2766. power-source = <0x2>;
  2767. };
  2768. };
  2769. };
  2770.  
  2771. mpps@a000 {
  2772. compatible = "qcom,pm8994-mpp";
  2773. reg = <0xa000>;
  2774. gpio-controller;
  2775. #gpio-cells = <0x2>;
  2776. interrupts = <0x0 0xa0 0x0 0x0 0x0 0xa1 0x0 0x0 0x0 0xa2 0x0 0x0 0x0 0xa3 0x0 0x0>;
  2777.  
  2778. mpp2-userled4 {
  2779. pins = "mpp2";
  2780. function = "sink";
  2781. output-low;
  2782. qcom,dtest = <0x4>;
  2783. phandle = <0x5a>;
  2784. };
  2785. };
  2786. };
  2787.  
  2788. pmic@3 {
  2789. compatible = "qcom,pmi8994", "qcom,spmi-pmic";
  2790. reg = <0x3 0x0>;
  2791. #address-cells = <0x1>;
  2792. #size-cells = <0x0>;
  2793.  
  2794. lpg@b100 {
  2795. compatible = "qcom,pmi8994-lpg";
  2796. status = "okay";
  2797. qcom,power-source = <0x1>;
  2798. qcom,dtest = <0x0 0x0 0x0 0x0 0x0 0x0 0x4 0x1>;
  2799. pinctrl-names = "default";
  2800. pinctrl-0 = <0x5a>;
  2801.  
  2802. user0 {
  2803. led-sources = <0x2>;
  2804. label = "db820c:green:user0";
  2805. default-state = "on";
  2806. linux,default-trigger = "heartbeat";
  2807. };
  2808.  
  2809. user1 {
  2810. led-sources = <0x1>;
  2811. label = "db820c:green:user1";
  2812. };
  2813.  
  2814. user2 {
  2815. led-sources = <0x3>;
  2816. label = "db820c:green:user2";
  2817. };
  2818.  
  2819. user3 {
  2820. led-sources = <0x4>;
  2821. label = "db820c:green:user3";
  2822. qcom,dtest = <0x4 0x1>;
  2823. };
  2824. };
  2825.  
  2826. regulators {
  2827. compatible = "qcom,pmi8994-regulators";
  2828. #address-cells = <0x1>;
  2829. #size-cells = <0x1>;
  2830.  
  2831. s2@1700 {
  2832. reg = <0x1700 0x100>;
  2833. status = "ok";
  2834. regulator-min-microvolt = <0x61a80>;
  2835. regulator-max-microvolt = <0xf7cd8>;
  2836. regulator-always-on;
  2837. };
  2838. };
  2839.  
  2840. qcom,haptic@c000 {
  2841. status = "disabled";
  2842. compatible = "qcom,qpnp-haptic";
  2843. reg = <0xc000 0x100>;
  2844. interrupts = <0x3 0xc0 0x0 0x3 0xc0 0x1>;
  2845. interrupt-names = "sc-irq", "play-irq";
  2846. vcc_pon-supply = <0x5b>;
  2847. qcom,play-mode = "direct";
  2848. qcom,wave-play-rate-us = <0x4a38>;
  2849. qcom,actuator-type = "erm";
  2850. qcom,vmax-mv = <0xbb8>;
  2851. qcom,int-pwm-freq-khz = <0x1f9>;
  2852. };
  2853. };
  2854. };
  2855.  
  2856. phy@627000 {
  2857. compatible = "qcom,msm8996-ufs-phy-qmp-14nm";
  2858. reg = <0x627000 0xda8>;
  2859. reg-names = "phy_mem";
  2860. #phy-cells = <0x0>;
  2861. vdda-phy-supply = <0x5c>;
  2862. vdda-pll-supply = <0x5d>;
  2863. vdda-phy-max-microamp = <0x47cc>;
  2864. vdda-pll-max-microamp = <0x24e0>;
  2865. vddp-ref-clk-supply = <0x5e>;
  2866. vddp-ref-clk-max-microamp = <0x64>;
  2867. vddp-ref-clk-always-on;
  2868. clock-names = "ref_clk_src", "ref_clk";
  2869. clocks = <0x10 0x4a 0x1b 0xd7>;
  2870. resets = <0x5f 0x0>;
  2871. status = "disabled";
  2872. phandle = <0x60>;
  2873. };
  2874.  
  2875. ufshc@624000 {
  2876. compatible = "qcom,ufshc";
  2877. reg = <0x624000 0x2500>;
  2878. interrupts = <0x0 0x109 0x4>;
  2879. phys = <0x60>;
  2880. phy-names = "ufsphy";
  2881. vcc-supply = <0x61>;
  2882. vccq-supply = <0x5e>;
  2883. vccq2-supply = <0x62>;
  2884. vcc-max-microamp = <0x927c0>;
  2885. vccq-max-microamp = <0x6ddd0>;
  2886. vccq2-max-microamp = <0x6ddd0>;
  2887. power-domains = <0x1b 0x8>;
  2888. clock-names = "core_clk_src", "core_clk", "bus_clk", "bus_aggr_clk", "iface_clk", "core_clk_unipro_src", "core_clk_unipro", "core_clk_ice", "ref_clk", "tx_lane0_sync_clk", "rx_lane0_sync_clk";
  2889. clocks = <0x1b 0x49 0x1b 0xc1 0x1b 0x52 0x1b 0xd1 0x1b 0xc2 0x1b 0x4a 0x1b 0xc8 0x1b 0xc9 0x10 0x4a 0x1b 0xc5 0x1b 0xc6>;
  2890. freq-table-hz = <0x5f5e100 0xbebc200 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x8f0d180 0x11e1a300 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>;
  2891. lanes-per-direction = <0x1>;
  2892. #reset-cells = <0x1>;
  2893. status = "okay";
  2894. phandle = <0x5f>;
  2895.  
  2896. ufs_variant {
  2897. compatible = "qcom,ufs_variant";
  2898. };
  2899. };
  2900.  
  2901. clock-controller@8c0000 {
  2902. compatible = "qcom,mmcc-msm8996";
  2903. #clock-cells = <0x1>;
  2904. #reset-cells = <0x1>;
  2905. #power-domain-cells = <0x1>;
  2906. reg = <0x8c0000 0x40000>;
  2907. assigned-clocks = <0x63 0xf 0x63 0x3 0x63 0x7 0x63 0x9 0x63 0xb>;
  2908. assigned-clock-rates = <0x25317c00 0x30479e80 0x3a699d00 0x39387000 0x312c8040>;
  2909. phandle = <0x63>;
  2910. };
  2911.  
  2912. qfprom@74000 {
  2913. compatible = "qcom,qfprom";
  2914. reg = <0x74000 0x8ff>;
  2915. #address-cells = <0x1>;
  2916. #size-cells = <0x1>;
  2917.  
  2918. hstx_trim@24e {
  2919. reg = <0x24e 0x2>;
  2920. bits = <0x5 0x4>;
  2921. phandle = <0x65>;
  2922. };
  2923.  
  2924. hstx_trim@24f {
  2925. reg = <0x24f 0x1>;
  2926. bits = <0x1 0x4>;
  2927. phandle = <0x66>;
  2928. };
  2929.  
  2930. gpu_speed_bin@133 {
  2931. reg = <0x133 0x1>;
  2932. bits = <0x5 0x3>;
  2933. phandle = <0x87>;
  2934. };
  2935. };
  2936.  
  2937. phy@34000 {
  2938. compatible = "qcom,msm8996-qmp-pcie-phy";
  2939. reg = <0x34000 0x488>;
  2940. #clock-cells = <0x1>;
  2941. #address-cells = <0x1>;
  2942. #size-cells = <0x1>;
  2943. ranges;
  2944. clocks = <0x1b 0xc0 0x1b 0xbf 0x1b 0xd8>;
  2945. clock-names = "aux", "cfg_ahb", "ref";
  2946. vdda-phy-supply = <0x5c>;
  2947. vdda-pll-supply = <0x5d>;
  2948. resets = <0x1b 0x55 0x1b 0x65 0x1b 0x66>;
  2949. reset-names = "phy", "common", "cfg";
  2950. status = "okay";
  2951.  
  2952. lane@35000 {
  2953. reg = <0x35000 0x130 0x35200 0x200 0x35400 0x1dc>;
  2954. #phy-cells = <0x0>;
  2955. clock-output-names = "pcie_0_pipe_clk_src";
  2956. clocks = <0x1b 0xb4>;
  2957. clock-names = "pipe0";
  2958. resets = <0x1b 0x50>;
  2959. reset-names = "lane0";
  2960. phandle = <0x6e>;
  2961. };
  2962.  
  2963. lane@36000 {
  2964. reg = <0x36000 0x130 0x36200 0x200 0x36400 0x1dc>;
  2965. #phy-cells = <0x0>;
  2966. clock-output-names = "pcie_1_pipe_clk_src";
  2967. clocks = <0x1b 0xb9>;
  2968. clock-names = "pipe1";
  2969. resets = <0x1b 0x52>;
  2970. reset-names = "lane1";
  2971. phandle = <0x74>;
  2972. };
  2973.  
  2974. lane@37000 {
  2975. reg = <0x37000 0x130 0x37200 0x200 0x37400 0x1dc>;
  2976. #phy-cells = <0x0>;
  2977. clock-output-names = "pcie_2_pipe_clk_src";
  2978. clocks = <0x1b 0xbe>;
  2979. clock-names = "pipe2";
  2980. resets = <0x1b 0x54>;
  2981. reset-names = "lane2";
  2982. phandle = <0x7a>;
  2983. };
  2984. };
  2985.  
  2986. phy@7410000 {
  2987. compatible = "qcom,msm8996-qmp-usb3-phy";
  2988. reg = <0x7410000 0x1c4>;
  2989. #clock-cells = <0x1>;
  2990. #address-cells = <0x1>;
  2991. #size-cells = <0x1>;
  2992. ranges;
  2993. clocks = <0x1b 0x5e 0x1b 0x63 0x1b 0xd5>;
  2994. clock-names = "aux", "cfg_ahb", "ref";
  2995. vdda-phy-supply = <0x5c>;
  2996. vdda-pll-supply = <0x5d>;
  2997. resets = <0x1b 0x67 0x1b 0x68>;
  2998. reset-names = "phy", "common";
  2999. status = "okay";
  3000.  
  3001. lane@7410200 {
  3002. reg = <0x7410200 0x200 0x7410400 0x130 0x7410600 0x1a8>;
  3003. #phy-cells = <0x0>;
  3004. clock-output-names = "usb3_phy_pipe_clk_src";
  3005. clocks = <0x1b 0x5f>;
  3006. clock-names = "pipe0";
  3007. phandle = <0x6a>;
  3008. };
  3009. };
  3010.  
  3011. phy@7411000 {
  3012. compatible = "qcom,msm8996-qusb2-phy";
  3013. reg = <0x7411000 0x180>;
  3014. #phy-cells = <0x0>;
  3015. clocks = <0x1b 0x63 0x1b 0xda>;
  3016. clock-names = "cfg_ahb", "ref";
  3017. vdda-pll-supply = <0x5d>;
  3018. vdda-phy-dpdm-supply = <0x64>;
  3019. resets = <0x1b 0x9>;
  3020. nvmem-cells = <0x65>;
  3021. status = "okay";
  3022. phandle = <0x69>;
  3023. };
  3024.  
  3025. phy@7412000 {
  3026. compatible = "qcom,msm8996-qusb2-phy";
  3027. reg = <0x7412000 0x180>;
  3028. #phy-cells = <0x0>;
  3029. clocks = <0x1b 0x63 0x1b 0xd9>;
  3030. clock-names = "cfg_ahb", "ref";
  3031. vdda-pll-supply = <0x5d>;
  3032. vdda-phy-dpdm-supply = <0x64>;
  3033. resets = <0x1b 0xa>;
  3034. nvmem-cells = <0x66>;
  3035. status = "okay";
  3036. phandle = <0x67>;
  3037. };
  3038.  
  3039. usb@76f8800 {
  3040. compatible = "qcom,msm8996-dwc3", "qcom,dwc3";
  3041. reg = <0x76f8800 0x400>;
  3042. #address-cells = <0x1>;
  3043. #size-cells = <0x1>;
  3044. ranges;
  3045. clocks = <0x1b 0x55 0x1b 0x60 0x1b 0x62 0x1b 0x61 0x1b 0x63>;
  3046. assigned-clocks = <0x1b 0x62 0x1b 0x60>;
  3047. assigned-clock-rates = <0x124f800 0x3938700>;
  3048. power-domains = <0x1b 0x4>;
  3049. status = "okay";
  3050.  
  3051. dwc3@7600000 {
  3052. compatible = "snps,dwc3";
  3053. reg = <0x7600000 0xcc00>;
  3054. interrupts = <0x0 0x8a 0x4>;
  3055. phys = <0x67>;
  3056. phy-names = "usb2-phy";
  3057. snps,dis_u2_susphy_quirk;
  3058. snps,dis_enblslpm_quirk;
  3059. dr_mode = "host";
  3060. maximum-speed = "high-speed";
  3061. };
  3062. };
  3063.  
  3064. usb@6af8800 {
  3065. compatible = "qcom,msm8996-dwc3", "qcom,dwc3";
  3066. reg = <0x6af8800 0x400>;
  3067. #address-cells = <0x1>;
  3068. #size-cells = <0x1>;
  3069. ranges;
  3070. clocks = <0x1b 0x51 0x1b 0x5b 0x1b 0xd2 0x1b 0x5d 0x1b 0x5c 0x1b 0x63>;
  3071. assigned-clocks = <0x1b 0x5d 0x1b 0x5b>;
  3072. assigned-clock-rates = <0x124f800 0x7270e00>;
  3073. power-domains = <0x1b 0x4>;
  3074. status = "okay";
  3075. extcon = <0x68>;
  3076.  
  3077. dwc3@6a00000 {
  3078. compatible = "snps,dwc3";
  3079. reg = <0x6a00000 0xcc00>;
  3080. interrupts = <0x0 0x83 0x4>;
  3081. phys = <0x69 0x6a>;
  3082. phy-names = "usb2-phy", "usb3-phy";
  3083. snps,dis_u2_susphy_quirk;
  3084. snps,dis_enblslpm_quirk;
  3085. extcon = <0x68>;
  3086. dr_mode = "otg";
  3087. status = "ok";
  3088. };
  3089. };
  3090.  
  3091. iommu@da0000 {
  3092. compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
  3093. reg = <0xda0000 0x10000>;
  3094. #global-interrupts = <0x1>;
  3095. interrupts = <0x0 0x4c 0x4 0x0 0x157 0x4 0x0 0x158 0x4>;
  3096. power-domains = <0x63 0x2>;
  3097. clocks = <0x63 0x4e 0x63 0x4f>;
  3098. clock-names = "iface", "bus";
  3099. #iommu-cells = <0x1>;
  3100. phandle = <0x6c>;
  3101. };
  3102.  
  3103. camss@a00000 {
  3104. compatible = "qcom,msm8996-camss";
  3105. reg = <0xa34000 0x1000 0xa00030 0x4 0xa35000 0x1000 0xa00038 0x4 0xa36000 0x1000 0xa00040 0x4 0xa30000 0x100 0xa30400 0x100 0xa30800 0x100 0xa30c00 0x100 0xa31000 0x500 0xa00020 0x10 0xa10000 0x1000 0xa14000 0x1000>;
  3106. reg-names = "csiphy0", "csiphy0_clk_mux", "csiphy1", "csiphy1_clk_mux", "csiphy2", "csiphy2_clk_mux", "csid0", "csid1", "csid2", "csid3", "ispif", "csi_clk_mux", "vfe0", "vfe1";
  3107. interrupts = <0x0 0x4e 0x0 0x0 0x4f 0x0 0x0 0x50 0x0 0x0 0x128 0x0 0x0 0x129 0x0 0x0 0x12a 0x0 0x0 0x12b 0x0 0x0 0x135 0x0 0x0 0x13a 0x0 0x0 0x13b 0x0>;
  3108. interrupt-names = "csiphy0", "csiphy1", "csiphy2", "csid0", "csid1", "csid2", "csid3", "ispif", "vfe0", "vfe1";
  3109. power-domains = <0x63 0x8>;
  3110. clocks = <0x63 0x81 0x63 0xb9 0x63 0x8c 0x63 0x8d 0x63 0x8e 0x63 0xa6 0x63 0xa5 0x63 0xa7 0x63 0xa9 0x63 0xa8 0x63 0xab 0x63 0xaa 0x63 0xac 0x63 0xae 0x63 0xad 0x63 0xb0 0x63 0xaf 0x63 0xb1 0x63 0xb3 0x63 0xb2 0x63 0xb5 0x63 0xb4 0x63 0xb6 0x63 0xb8 0x63 0xb7 0x63 0x82 0x63 0x99 0x63 0x9f 0x63 0x9b 0x63 0x9a 0x63 0x9c 0x63 0xa0 0x63 0x9e 0x63 0x9d 0x63 0x97 0x63 0x98>;
  3111. clock-names = "top_ahb", "ispif_ahb", "csiphy0_timer", "csiphy1_timer", "csiphy2_timer", "csi0_ahb", "csi0", "csi0_phy", "csi0_pix", "csi0_rdi", "csi1_ahb", "csi1", "csi1_phy", "csi1_pix", "csi1_rdi", "csi2_ahb", "csi2", "csi2_phy", "csi2_pix", "csi2_rdi", "csi3_ahb", "csi3", "csi3_phy", "csi3_pix", "csi3_rdi", "ahb", "vfe0", "csi_vfe0", "vfe0_ahb", "vfe0_stream", "vfe1", "csi_vfe1", "vfe1_ahb", "vfe1_stream", "vfe_ahb", "vfe_axi";
  3112. vdda-supply = <0x6b>;
  3113. iommus = <0x6c 0x0 0x6c 0x1 0x6c 0x2 0x6c 0x3>;
  3114. status = "ok";
  3115.  
  3116. ports {
  3117. #address-cells = <0x1>;
  3118. #size-cells = <0x0>;
  3119.  
  3120. port@0 {
  3121. reg = <0x0>;
  3122.  
  3123. endpoint {
  3124. clock-lanes = <0x7>;
  3125. data-lanes = <0x0 0x1>;
  3126. remote-endpoint = <0x6d>;
  3127. status = "ok";
  3128. phandle = <0xa4>;
  3129. };
  3130. };
  3131. };
  3132. };
  3133.  
  3134. iommu@b40000 {
  3135. compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
  3136. reg = <0xb40000 0x10000>;
  3137. #global-interrupts = <0x1>;
  3138. interrupts = <0x0 0x14e 0x4 0x0 0x149 0x4 0x0 0x14a 0x4>;
  3139. #iommu-cells = <0x1>;
  3140. clocks = <0x63 0x68 0x1b 0x5a>;
  3141. clock-names = "iface", "bus";
  3142. power-domains = <0x63 0x3>;
  3143. phandle = <0x86>;
  3144. };
  3145.  
  3146. iommu@d00000 {
  3147. compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
  3148. reg = <0xd00000 0x10000>;
  3149. #global-interrupts = <0x1>;
  3150. interrupts = <0x0 0x49 0x4 0x0 0x140 0x4 0x0 0x141 0x4>;
  3151. #iommu-cells = <0x1>;
  3152. clocks = <0x63 0x5b 0x63 0x5c>;
  3153. clock-names = "iface", "bus";
  3154. power-domains = <0x63 0xd>;
  3155. phandle = <0x8c>;
  3156. };
  3157.  
  3158. iommu@1600000 {
  3159. compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
  3160. reg = <0x1600000 0x20000>;
  3161. #iommu-cells = <0x1>;
  3162. power-domains = <0x1b 0x3>;
  3163. #global-interrupts = <0x1>;
  3164. interrupts = <0x0 0x194 0x4 0x0 0xe2 0x4 0x0 0x189 0x4 0x0 0x18a 0x4 0x0 0x18b 0x4 0x0 0x18c 0x4 0x0 0x18d 0x4 0x0 0x18e 0x4 0x0 0x18f 0x4 0x0 0x190 0x4 0x0 0x191 0x4 0x0 0x192 0x4 0x0 0x193 0x4>;
  3165. clocks = <0x1b 0xdb 0x1b 0xdc>;
  3166. clock-names = "iface", "bus";
  3167. phandle = <0xae>;
  3168. };
  3169.  
  3170. agnoc@0 {
  3171. power-domains = <0x1b 0x0>;
  3172. compatible = "simple-pm-bus";
  3173. #address-cells = <0x1>;
  3174. #size-cells = <0x1>;
  3175. ranges;
  3176.  
  3177. pcie@600000 {
  3178. compatible = "qcom,pcie-msm8996", "snps,dw-pcie";
  3179. status = "disabled";
  3180. power-domains = <0x1b 0x5>;
  3181. bus-range = <0x0 0xff>;
  3182. num-lanes = <0x1>;
  3183. reg = <0x600000 0x2000 0xc000000 0xf1d 0xc000f20 0xa8 0xc100000 0x100000>;
  3184. reg-names = "parf", "dbi", "elbi", "config";
  3185. phys = <0x6e>;
  3186. phy-names = "pciephy";
  3187. #address-cells = <0x3>;
  3188. #size-cells = <0x2>;
  3189. ranges = <0x1000000 0x0 0xc200000 0xc200000 0x0 0x100000 0x2000000 0x0 0xc300000 0xc300000 0x0 0xd00000>;
  3190. interrupts = <0x0 0x195 0x4>;
  3191. interrupt-names = "msi";
  3192. #interrupt-cells = <0x1>;
  3193. interrupt-map-mask = <0x0 0x0 0x0 0x7>;
  3194. interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0xf4 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0xf5 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0xf7 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0xf8 0x4>;
  3195. pinctrl-names = "default", "sleep";
  3196. pinctrl-0 = <0x6f 0x70 0x71>;
  3197. pinctrl-1 = <0x72 0x70 0x73>;
  3198. vdda-supply = <0x5c>;
  3199. linux,pci-domain = <0x0>;
  3200. clocks = <0x1b 0xb4 0x1b 0xb3 0x1b 0xb2 0x1b 0xb1 0x1b 0xb0>;
  3201. clock-names = "pipe", "aux", "cfg", "bus_master", "bus_slave";
  3202. };
  3203.  
  3204. pcie@608000 {
  3205. compatible = "qcom,pcie-msm8996", "snps,dw-pcie";
  3206. power-domains = <0x1b 0x6>;
  3207. bus-range = <0x0 0xff>;
  3208. num-lanes = <0x1>;
  3209. status = "disabled";
  3210. reg = <0x608000 0x2000 0xd000000 0xf1d 0xd000f20 0xa8 0xd100000 0x100000>;
  3211. reg-names = "parf", "dbi", "elbi", "config";
  3212. phys = <0x74>;
  3213. phy-names = "pciephy";
  3214. #address-cells = <0x3>;
  3215. #size-cells = <0x2>;
  3216. ranges = <0x1000000 0x0 0xd200000 0xd200000 0x0 0x100000 0x2000000 0x0 0xd300000 0xd300000 0x0 0xd00000>;
  3217. interrupts = <0x0 0x19d 0x4>;
  3218. interrupt-names = "msi";
  3219. #interrupt-cells = <0x1>;
  3220. interrupt-map-mask = <0x0 0x0 0x0 0x7>;
  3221. interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0x110 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0x111 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0x112 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0x113 0x4>;
  3222. pinctrl-names = "default", "sleep";
  3223. pinctrl-0 = <0x75 0x76 0x77>;
  3224. pinctrl-1 = <0x78 0x76 0x79>;
  3225. vdda-supply = <0x5c>;
  3226. linux,pci-domain = <0x1>;
  3227. clocks = <0x1b 0xb9 0x1b 0xb8 0x1b 0xb7 0x1b 0xb6 0x1b 0xb5>;
  3228. clock-names = "pipe", "aux", "cfg", "bus_master", "bus_slave";
  3229. };
  3230.  
  3231. pcie@610000 {
  3232. compatible = "qcom,pcie-msm8996", "snps,dw-pcie";
  3233. power-domains = <0x1b 0x7>;
  3234. bus-range = <0x0 0xff>;
  3235. num-lanes = <0x1>;
  3236. status = "disabled";
  3237. reg = <0x610000 0x2000 0xe000000 0xf1d 0xe000f20 0xa8 0xe100000 0x100000>;
  3238. reg-names = "parf", "dbi", "elbi", "config";
  3239. phys = <0x7a>;
  3240. phy-names = "pciephy";
  3241. #address-cells = <0x3>;
  3242. #size-cells = <0x2>;
  3243. ranges = <0x1000000 0x0 0xe200000 0xe200000 0x0 0x100000 0x2000000 0x0 0xe300000 0xe300000 0x0 0x1d00000>;
  3244. device_type = "pci";
  3245. interrupts = <0x0 0x1a5 0x4>;
  3246. interrupt-names = "msi";
  3247. #interrupt-cells = <0x1>;
  3248. interrupt-map-mask = <0x0 0x0 0x0 0x7>;
  3249. interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0x8e 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0x8f 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0x90 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0x91 0x4>;
  3250. pinctrl-names = "default", "sleep";
  3251. pinctrl-0 = <0x7b 0x7c 0x7d>;
  3252. pinctrl-1 = <0x7e 0x7c 0x7f>;
  3253. vdda-supply = <0x5c>;
  3254. linux,pci-domain = <0x2>;
  3255. clocks = <0x1b 0xbe 0x1b 0xbd 0x1b 0xbc 0x1b 0xbb 0x1b 0xba>;
  3256. clock-names = "pipe", "aux", "cfg", "bus_master", "bus_slave";
  3257. };
  3258.  
  3259. qcom,pcie@00600000 {
  3260. status = "okay";
  3261. perst-gpio = <0x52 0x23 0x1>;
  3262. vddpe-3v3-supply = <0x80>;
  3263. };
  3264.  
  3265. qcom,pcie@00610000 {
  3266. status = "okay";
  3267. perst-gpio = <0x52 0x72 0x1>;
  3268. };
  3269. };
  3270.  
  3271. dma@9184000 {
  3272. compatible = "qcom,bam-v1.7.0";
  3273. qcom,controlled-remotely;
  3274. reg = <0x9184000 0x32000>;
  3275. num-channels = <0x1f>;
  3276. interrupts = <0x0 0xa4 0x4>;
  3277. #dma-cells = <0x1>;
  3278. qcom,ee = <0x1>;
  3279. qcom,num-ees = <0x2>;
  3280. phandle = <0x81>;
  3281. };
  3282.  
  3283. slim@91c0000 {
  3284. compatible = "qcom,slim-ngd-v1.5.0";
  3285. reg = <0x91c0000 0x2c000>;
  3286. reg-names = "ctrl";
  3287. interrupts = <0x0 0xa3 0x4>;
  3288. dmas = <0x81 0x3 0x81 0x4 0x81 0x5 0x81 0x6>;
  3289. dma-names = "rx", "tx", "tx2", "rx2";
  3290. #address-cells = <0x1>;
  3291. #size-cells = <0x0>;
  3292.  
  3293. ngd@1 {
  3294. reg = <0x1>;
  3295. #address-cells = <0x1>;
  3296. #size-cells = <0x1>;
  3297.  
  3298. tas-ifd {
  3299. compatible = "slim217,1a0";
  3300. reg = <0x0 0x0>;
  3301. phandle = <0x84>;
  3302. };
  3303.  
  3304. codec@1 {
  3305. pinctrl-0 = <0x82 0x83>;
  3306. pinctrl-names = "default";
  3307. compatible = "slim217,1a0";
  3308. reg = <0x1 0x0>;
  3309. interrupt-parent = <0x52>;
  3310. interrupts = <0x36 0x4 0x35 0x4>;
  3311. interrupt-names = "intr1", "intr2";
  3312. interrupt-controller;
  3313. #interrupt-cells = <0x1>;
  3314. reset-gpios = <0x52 0x40 0x0>;
  3315. slim-ifc-dev = <0x84>;
  3316. vdd-buck-supply = <0x62>;
  3317. vdd-buck-sido-supply = <0x62>;
  3318. vdd-tx-supply = <0x62>;
  3319. vdd-rx-supply = <0x62>;
  3320. vdd-io-supply = <0x62>;
  3321. #sound-dai-cells = <0x1>;
  3322. clock-names = "mclk", "slimbus";
  3323. clocks = <0x85 0x10 0xa>;
  3324. qcom,mbhc-vthreshold = <0x4b 0x96 0xed 0x1f4 0x1f4 0x1f4 0x1f4 0x1f4>;
  3325. phandle = <0xaa>;
  3326. };
  3327. };
  3328. };
  3329.  
  3330. gpu@b00000 {
  3331. compatible = "qcom,adreno-530.2", "qcom,adreno";
  3332. #stream-id-cells = <0x10>;
  3333. reg = <0xb00000 0x3f000>;
  3334. reg-names = "kgsl_3d0_reg_memory";
  3335. interrupts = <0x0 0x12c 0x4>;
  3336. clocks = <0x63 0x66 0x63 0x68 0x63 0x67 0x1b 0xa8 0x1b 0x5a>;
  3337. clock-names = "core", "iface", "rbbmtimer", "mem", "mem_iface";
  3338. power-domains = <0x63 0x3>;
  3339. iommus = <0x86 0x0>;
  3340. nvmem-cells = <0x87>;
  3341. nvmem-cell-names = "speed_bin";
  3342. qcom,gpu-quirk-two-pass-use-wfi;
  3343. qcom,gpu-quirk-fault-detect-mask;
  3344. operating-points-v2 = <0x88>;
  3345.  
  3346. opp-table {
  3347. compatible = "operating-points-v2";
  3348. phandle = <0x88>;
  3349.  
  3350. opp-624000000 {
  3351. opp-hz = <0x0 0x25317c00>;
  3352. opp-supported-hw = <0x1>;
  3353. };
  3354.  
  3355. opp-560000000 {
  3356. opp-hz = <0x0 0x2160ec00>;
  3357. opp-supported-hw = <0x1>;
  3358. };
  3359.  
  3360. opp-510000000 {
  3361. opp-hz = <0x0 0x1e65fb80>;
  3362. opp-supported-hw = <0xff>;
  3363. };
  3364.  
  3365. opp-401800000 {
  3366. opp-hz = <0x0 0x17f2fb40>;
  3367. opp-supported-hw = <0xff>;
  3368. };
  3369.  
  3370. opp-315000000 {
  3371. opp-hz = <0x0 0x12c684c0>;
  3372. opp-supported-hw = <0xff>;
  3373. };
  3374.  
  3375. opp-214000000 {
  3376. opp-hz = <0x0 0xcc16180>;
  3377. opp-supported-hw = <0xff>;
  3378. };
  3379.  
  3380. opp-133000000 {
  3381. opp-hz = <0x0 0x7ed6b40>;
  3382. opp-supported-hw = <0xff>;
  3383. };
  3384. };
  3385.  
  3386. zap-shader {
  3387. memory-region = <0x89>;
  3388. };
  3389. };
  3390.  
  3391. mdss@900000 {
  3392. compatible = "qcom,mdss";
  3393. reg = <0x900000 0x1000 0x9b0000 0x1040 0x9b8000 0x1040>;
  3394. reg-names = "mdss_phys", "vbif_phys", "vbif_nrt_phys";
  3395. power-domains = <0x63 0xd>;
  3396. interrupts = <0x0 0x53 0x4>;
  3397. interrupt-controller;
  3398. #interrupt-cells = <0x1>;
  3399. clocks = <0x63 0x74>;
  3400. clock-names = "iface";
  3401. #address-cells = <0x1>;
  3402. #size-cells = <0x1>;
  3403. ranges;
  3404. vdd-supply = <0x8a>;
  3405. status = "okay";
  3406. phandle = <0x8b>;
  3407.  
  3408. mdp@901000 {
  3409. compatible = "qcom,mdp5";
  3410. reg = <0x901000 0x90000>;
  3411. reg-names = "mdp_phys";
  3412. interrupt-parent = <0x8b>;
  3413. interrupts = <0x0 0x4>;
  3414. clocks = <0x63 0x74 0x63 0x76 0x63 0x79 0x63 0x5c 0x63 0x7b>;
  3415. clock-names = "iface", "bus", "core", "iommu", "vsync";
  3416. iommus = <0x8c 0x0>;
  3417. status = "okay";
  3418.  
  3419. ports {
  3420. #address-cells = <0x1>;
  3421. #size-cells = <0x0>;
  3422.  
  3423. port@0 {
  3424. reg = <0x0>;
  3425.  
  3426. endpoint {
  3427. remote-endpoint = <0x8d>;
  3428. phandle = <0x93>;
  3429. };
  3430. };
  3431. };
  3432. };
  3433.  
  3434. hdmi-tx@9a0000 {
  3435. compatible = "qcom,hdmi-tx-8996";
  3436. reg = <0x9a0000 0x50c 0x70000 0x6158 0x9e0000 0xfff>;
  3437. reg-names = "core_physical", "qfprom_physical", "hdcp_physical";
  3438. interrupt-parent = <0x8b>;
  3439. interrupts = <0x8 0x4>;
  3440. clocks = <0x63 0x79 0x63 0x74 0x63 0x7c 0x63 0x75 0x63 0x7a>;
  3441. clock-names = "mdp_core", "iface", "core", "alt_iface", "extp";
  3442. phys = <0x8e>;
  3443. phy-names = "hdmi_phy";
  3444. #sound-dai-cells = <0x1>;
  3445. status = "okay";
  3446. pinctrl-names = "default", "sleep";
  3447. pinctrl-0 = <0x8f 0x90>;
  3448. pinctrl-1 = <0x91 0x92>;
  3449. core-vdda-supply = <0x5d>;
  3450. core-vcc-supply = <0x62>;
  3451. phandle = <0xa9>;
  3452.  
  3453. ports {
  3454. #address-cells = <0x1>;
  3455. #size-cells = <0x0>;
  3456.  
  3457. port@0 {
  3458. reg = <0x0>;
  3459.  
  3460. endpoint {
  3461. remote-endpoint = <0x93>;
  3462. phandle = <0x8d>;
  3463. };
  3464. };
  3465. };
  3466. };
  3467.  
  3468. hdmi-phy@9a0600 {
  3469. #phy-cells = <0x0>;
  3470. compatible = "qcom,hdmi-phy-8996";
  3471. reg = <0x9a0600 0x1c4 0x9a0a00 0x124 0x9a0c00 0x124 0x9a0e00 0x124 0x9a1000 0x124 0x9a1200 0xc8>;
  3472. reg-names = "hdmi_pll", "hdmi_tx_l0", "hdmi_tx_l1", "hdmi_tx_l2", "hdmi_tx_l3", "hdmi_phy";
  3473. clocks = <0x63 0x74 0x1b 0xd6>;
  3474. clock-names = "iface", "ref";
  3475. status = "okay";
  3476. vddio-supply = <0x5d>;
  3477. vcca-supply = <0x5c>;
  3478. phandle = <0x8e>;
  3479. };
  3480. };
  3481.  
  3482. arm,smmu-venus@d40000 {
  3483. compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
  3484. reg = <0xd40000 0x20000>;
  3485. #global-interrupts = <0x1>;
  3486. interrupts = <0x0 0x11e 0x4 0x0 0x14f 0x4 0x0 0x150 0x4 0x0 0x151 0x4 0x0 0x152 0x4 0x0 0x153 0x4 0x0 0x154 0x4 0x0 0x155 0x4>;
  3487. power-domains = <0x63 0x0>;
  3488. clocks = <0x63 0x62 0x63 0x63>;
  3489. clock-names = "iface", "bus";
  3490. #iommu-cells = <0x1>;
  3491. status = "okay";
  3492. phandle = <0x94>;
  3493. };
  3494.  
  3495. video-codec@c00000 {
  3496. compatible = "qcom,msm8996-venus";
  3497. reg = <0xc00000 0xff000>;
  3498. interrupts = <0x0 0x11f 0x4>;
  3499. power-domains = <0x63 0x4>;
  3500. clocks = <0x63 0x6e 0x63 0x71 0x63 0x6f 0x63 0x70>;
  3501. clock-names = "core", "iface", "bus", "mbus";
  3502. iommus = <0x94 0x0 0x94 0x1 0x94 0xa 0x94 0x7 0x94 0xe 0x94 0xf 0x94 0x8 0x94 0x9 0x94 0xb 0x94 0xc 0x94 0xd 0x94 0x10 0x94 0x11 0x94 0x21 0x94 0x28 0x94 0x29 0x94 0x2b 0x94 0x2c 0x94 0x2d 0x94 0x31>;
  3503. memory-region = <0x95>;
  3504. status = "okay";
  3505.  
  3506. video-decoder {
  3507. compatible = "venus-decoder";
  3508. clocks = <0x63 0x72>;
  3509. clock-names = "core";
  3510. power-domains = <0x63 0x5>;
  3511. };
  3512.  
  3513. video-encoder {
  3514. compatible = "venus-encoder";
  3515. clocks = <0x63 0x73>;
  3516. clock-names = "core";
  3517. power-domains = <0x63 0x6>;
  3518. };
  3519. };
  3520.  
  3521. remoteproc@2080000 {
  3522. compatible = "qcom,msm8996-mss-pil";
  3523. reg = <0x2080000 0x100 0x2180000 0x40>;
  3524. reg-names = "qdsp6", "rmb";
  3525. interrupts-extended = <0x1 0x0 0x1c0 0x1 0x96 0x0 0x1 0x96 0x1 0x1 0x96 0x2 0x1 0x96 0x3 0x1>;
  3526. interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
  3527. clocks = <0x49 0x1b 0xde 0x10 0x2 0x1b 0xdf 0x1b 0x9d 0x1b 0xe5 0x1b 0xe0 0x1b 0xe1 0x10 0x8>;
  3528. clock-names = "xo", "iface", "pnoc", "bus", "mem", "gpll0_mss", "snoc_axi", "mnoc_axi", "qdss";
  3529. mx-supply = <0x97>;
  3530. cx-supply = <0x98>;
  3531. pll-supply = <0x5d>;
  3532. resets = <0x1b 0x69>;
  3533. reset-names = "mss_restart";
  3534. qcom,halt-regs = <0x13 0x23000 0x25000 0x24000>;
  3535. qcom,smem-states = <0x99 0x0>;
  3536. qcom,smem-state-names = "stop";
  3537. status = "okay";
  3538.  
  3539. mba {
  3540. memory-region = <0x9a>;
  3541. };
  3542.  
  3543. mpss {
  3544. memory-region = <0x9b>;
  3545. };
  3546.  
  3547. smd-edge {
  3548. interrupts = <0x0 0x1c1 0x1>;
  3549. label = "modem";
  3550. mboxes = <0x17 0xc>;
  3551. qcom,smd-edge = <0x0>;
  3552. qcom,remote-pid = <0x1>;
  3553. };
  3554. };
  3555.  
  3556. i2c@07577000 {
  3557. label = "LS-I2C0";
  3558. status = "disabled";
  3559. };
  3560.  
  3561. ufsphy@627000 {
  3562. status = "okay";
  3563. };
  3564.  
  3565. wlan-en-1-8v {
  3566. pinctrl-names = "default";
  3567. pinctrl-0 = <0x9c>;
  3568. compatible = "regulator-fixed";
  3569. regulator-name = "wlan-en-regulator";
  3570. regulator-min-microvolt = <0x1b7740>;
  3571. regulator-max-microvolt = <0x1b7740>;
  3572. gpio = <0x11 0x8 0x0>;
  3573. startup-delay-us = <0x11170>;
  3574. enable-active-high;
  3575. phandle = <0x80>;
  3576. };
  3577.  
  3578. i2c@075ba000 {
  3579. compatible = "qcom,i2c-qup-v2.2.1";
  3580. reg = <0x75ba000 0x1000>;
  3581. interrupts = <0x0 0x6a 0x0>;
  3582. clocks = <0x1b 0x81 0x1b 0x93>;
  3583. clock-names = "iface", "core";
  3584. pinctrl-names = "default", "sleep";
  3585. pinctrl-0 = <0x9d>;
  3586. pinctrl-1 = <0x9e>;
  3587. #address-cells = <0x1>;
  3588. #size-cells = <0x0>;
  3589. status = "okay";
  3590.  
  3591. tca9535@20 {
  3592. compatible = "ti,tca9535";
  3593. reg = <0x20>;
  3594. tca9535,invert = [00 00];
  3595. tca9535,output = [fe ff];
  3596. tca9535,config = [aa ff];
  3597. gpio-controller;
  3598. #gpio-cells = <0x2>;
  3599. status = "okay";
  3600. phandle = <0x9f>;
  3601. };
  3602. };
  3603.  
  3604. i2c@075b5000 {
  3605. label = "HS-I2C2";
  3606. status = "ok";
  3607.  
  3608. analogix_i2c@2c {
  3609. compatible = "analogix,anx7625";
  3610. status = "ok";
  3611. reg = <0x2c>;
  3612. interrupt-parent = <0x52>;
  3613. interrupts = <0x4e 0x0 0x91 0x0>;
  3614. analogix,p-on-gpio = <0x52 0x1c 0x0>;
  3615. analogix,reset-gpio = <0x52 0x1b 0x0>;
  3616. analogix,v33-ctrl-gpio = <0x52 0x95 0x0>;
  3617. analogix,usb-id-gpio = <0x52 0x4a 0x0>;
  3618. analogix,pmic-vbus-detect-gpio = <0x52 0x54 0x0>;
  3619. analogix,source-or-sink-gpio = <0x52 0x94 0x0>;
  3620. analogix,5v-or-9v-gpio = <0x52 0x8e 0x0>;
  3621. analogix,intr-comm-gpio = <0x52 0x4e 0x0>;
  3622. analogix,cbl-det-gpio = <0x52 0x91 0x0>;
  3623. analogix,i2c-pull-up = <0x1>;
  3624. };
  3625. };
  3626.  
  3627. fixedregulator@0 {
  3628. compatible = "regulator-fixed";
  3629. regulator-name = "camera_vdddo";
  3630. regulator-min-microvolt = <0x1b7740>;
  3631. regulator-max-microvolt = <0x1b7740>;
  3632. regulator-always-on;
  3633. phandle = <0xa1>;
  3634. };
  3635.  
  3636. fixedregulator@1 {
  3637. compatible = "regulator-fixed";
  3638. regulator-name = "camera_vdda";
  3639. regulator-min-microvolt = <0x2ab980>;
  3640. regulator-max-microvolt = <0x2ab980>;
  3641. regulator-always-on;
  3642. phandle = <0xa2>;
  3643. };
  3644.  
  3645. fixedregulator@2 {
  3646. compatible = "regulator-fixed";
  3647. regulator-name = "camera_vddd";
  3648. regulator-min-microvolt = <0x16e360>;
  3649. regulator-max-microvolt = <0x16e360>;
  3650. regulator-always-on;
  3651. phandle = <0xa3>;
  3652. };
  3653.  
  3654. cci@a0c000 {
  3655. status = "ok";
  3656.  
  3657. camera_board@3c {
  3658. compatible = "ovti,ov5645";
  3659. reg = <0x3c>;
  3660. enable-gpios = <0x9f 0x6 0x0>;
  3661. reset-gpios = <0x52 0x87 0x1>;
  3662. pinctrl-names = "default";
  3663. pinctrl-0 = <0xa0>;
  3664. clocks = <0x63 0x86>;
  3665. clock-names = "xclk";
  3666. clock-frequency = <0x16e3600>;
  3667. vdddo-supply = <0xa1>;
  3668. vdda-supply = <0xa2>;
  3669. vddd-supply = <0xa3>;
  3670. status = "ok";
  3671.  
  3672. port {
  3673.  
  3674. endpoint {
  3675. clock-lanes = <0x1>;
  3676. data-lanes = <0x0 0x2>;
  3677. remote-endpoint = <0xa4>;
  3678. phandle = <0x6d>;
  3679. };
  3680. };
  3681. };
  3682. };
  3683.  
  3684. usb3-id {
  3685. compatible = "linux,extcon-usb-gpio";
  3686. id-gpio = <0x11 0x16 0x0>;
  3687. pinctrl-names = "default";
  3688. pinctrl-0 = <0xa5>;
  3689. phandle = <0x68>;
  3690. };
  3691. };
  3692.  
  3693. sound {
  3694. compatible = "qcom,apq8096-sndcard";
  3695. model = "DB820c";
  3696. audio-routing = "RX_BIAS", "MCLK", "MIC BIAS1", "MCLK", "MIC BIAS2", "MCLK", "MIC BIAS3", "MCLK", "MIC BIAS4", "MCLK", "AMIC1", "MIC BIAS2", "AMIC2", "MIC BIAS2", "AMIC3", "MIC BIAS2", "AMIC4", "MIC BIAS2", "AMIC5", "MIC BIAS2", "AMIC6", "MIC BIAS2", "DMIC2", "MIC BIAS1", "DMIC3", "MIC BIAS1", "DMIC4", "MIC BIAS3", "DMIC5", "MIC BIAS3";
  3697.  
  3698. mm1-dai-link {
  3699. link-name = "MultiMedia1";
  3700.  
  3701. cpu {
  3702. sound-dai = <0xa6 0x0>;
  3703. };
  3704. };
  3705.  
  3706. mm2-dai-link {
  3707. link-name = "MultiMedia2";
  3708.  
  3709. cpu {
  3710. sound-dai = <0xa6 0x1>;
  3711. };
  3712. };
  3713.  
  3714. mm3-dai-link {
  3715. link-name = "MultiMedia3";
  3716.  
  3717. cpu {
  3718. sound-dai = <0xa6 0x2>;
  3719. };
  3720. };
  3721.  
  3722. hdmi-dai-link {
  3723. link-name = "HDMI Playback";
  3724.  
  3725. cpu {
  3726. sound-dai = <0xa7 0x1>;
  3727. };
  3728.  
  3729. platform {
  3730. sound-dai = <0xa8>;
  3731. };
  3732.  
  3733. codec {
  3734. sound-dai = <0xa9 0x0>;
  3735. };
  3736. };
  3737.  
  3738. slim-dai-link {
  3739. link-name = "SLIM Playback";
  3740.  
  3741. cpu {
  3742. sound-dai = <0xa7 0xe>;
  3743. };
  3744.  
  3745. platform {
  3746. sound-dai = <0xa8>;
  3747. };
  3748.  
  3749. codec {
  3750. sound-dai = <0xaa 0x6>;
  3751. };
  3752. };
  3753.  
  3754. slimcap-dai-link {
  3755. link-name = "SLIM Capture";
  3756.  
  3757. cpu {
  3758. sound-dai = <0xa7 0x3>;
  3759. };
  3760.  
  3761. platform {
  3762. sound-dai = <0xa8>;
  3763. };
  3764.  
  3765. codec {
  3766. sound-dai = <0xaa 0x1>;
  3767. };
  3768. };
  3769. };
  3770.  
  3771. adsp-pil {
  3772. compatible = "qcom,msm8996-adsp-pil";
  3773. interrupts-extended = <0x1 0x0 0xa2 0x1 0xab 0x0 0x1 0xab 0x1 0x1 0xab 0x2 0x1 0xab 0x3 0x1>;
  3774. interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
  3775. clocks = <0x49>;
  3776. clock-names = "xo";
  3777. memory-region = <0xac>;
  3778. qcom,smem-states = <0xad 0x0>;
  3779. qcom,smem-state-names = "stop";
  3780.  
  3781. smd-edge {
  3782. interrupts = <0x0 0x9c 0x1>;
  3783. label = "lpass";
  3784. mboxes = <0x17 0x8>;
  3785. qcom,smd-edge = <0x1>;
  3786. qcom,remote-pid = <0x2>;
  3787. #address-cells = <0x1>;
  3788. #size-cells = <0x0>;
  3789.  
  3790. fastrpc {
  3791. compatible = "qcom,fastrpc";
  3792. qcom,smd-channels = "fastrpcsmd-apps-dsp";
  3793. label = "adsp";
  3794. #address-cells = <0x1>;
  3795. #size-cells = <0x0>;
  3796.  
  3797. cb@8 {
  3798. compatible = "qcom,fastrpc-compute-cb";
  3799. reg = <0x8>;
  3800. iommus = <0xae 0x8>;
  3801. };
  3802.  
  3803. cb@9 {
  3804. compatible = "qcom,fastrpc-compute-cb";
  3805. reg = <0x9>;
  3806. iommus = <0xae 0x9>;
  3807. };
  3808.  
  3809. cb@10 {
  3810. compatible = "qcom,fastrpc-compute-cb";
  3811. reg = <0xa>;
  3812. iommus = <0xae 0xa>;
  3813. };
  3814.  
  3815. cb@11 {
  3816. reg = <0xb>;
  3817. compatible = "qcom,fastrpc-compute-cb";
  3818. iommus = <0xae 0xb>;
  3819. };
  3820.  
  3821. cb@12 {
  3822. reg = <0xc>;
  3823. compatible = "qcom,fastrpc-compute-cb";
  3824. iommus = <0xae 0xc>;
  3825. };
  3826.  
  3827. cb@5 {
  3828. reg = <0x5>;
  3829. compatible = "qcom,fastrpc-compute-cb";
  3830. iommus = <0xae 0x5>;
  3831. };
  3832.  
  3833. cb@6 {
  3834. reg = <0x6>;
  3835. compatible = "qcom,fastrpc-compute-cb";
  3836. iommus = <0xae 0x6>;
  3837. };
  3838.  
  3839. cb@7 {
  3840. reg = <0x7>;
  3841. compatible = "qcom,fastrpc-compute-cb";
  3842. iommus = <0xae 0x7>;
  3843. };
  3844. };
  3845.  
  3846. apr {
  3847. power-domains = <0x1b 0x2>;
  3848. compatible = "qcom,apr-v2";
  3849. qcom,smd-channels = "apr_audio_svc";
  3850. qcom,apr-domain = <0x4>;
  3851. #address-cells = <0x1>;
  3852. #size-cells = <0x0>;
  3853.  
  3854. q6core {
  3855. reg = <0x3>;
  3856. compatible = "qcom,q6core";
  3857. };
  3858.  
  3859. q6afe {
  3860. compatible = "qcom,q6afe";
  3861. reg = <0x4>;
  3862.  
  3863. dais {
  3864. compatible = "qcom,q6afe-dais";
  3865. #address-cells = <0x1>;
  3866. #size-cells = <0x0>;
  3867. #sound-dai-cells = <0x1>;
  3868. phandle = <0xa7>;
  3869.  
  3870. hdmi@1 {
  3871. reg = <0x1>;
  3872. };
  3873. };
  3874. };
  3875.  
  3876. q6asm {
  3877. compatible = "qcom,q6asm";
  3878. reg = <0x7>;
  3879.  
  3880. dais {
  3881. compatible = "qcom,q6asm-dais";
  3882. #sound-dai-cells = <0x1>;
  3883. iommus = <0xae 0x1>;
  3884. phandle = <0xa6>;
  3885. };
  3886. };
  3887.  
  3888. q6adm {
  3889. compatible = "qcom,q6adm";
  3890. reg = <0x8>;
  3891.  
  3892. routing {
  3893. compatible = "qcom,q6adm-routing";
  3894. #sound-dai-cells = <0x0>;
  3895. phandle = <0xa8>;
  3896. };
  3897. };
  3898. };
  3899. };
  3900. };
  3901.  
  3902. adsp-smp2p {
  3903. compatible = "qcom,smp2p";
  3904. qcom,smem = <0x1bb 0x1ad>;
  3905. interrupts = <0x0 0x9e 0x1>;
  3906. mboxes = <0x17 0xa>;
  3907. qcom,local-pid = <0x0>;
  3908. qcom,remote-pid = <0x2>;
  3909.  
  3910. master-kernel {
  3911. qcom,entry-name = "master-kernel";
  3912. #qcom,smem-state-cells = <0x1>;
  3913. phandle = <0xad>;
  3914. };
  3915.  
  3916. slave-kernel {
  3917. qcom,entry-name = "slave-kernel";
  3918. interrupt-controller;
  3919. #interrupt-cells = <0x2>;
  3920. phandle = <0xab>;
  3921. };
  3922. };
  3923.  
  3924. modem-smp2p {
  3925. compatible = "qcom,smp2p";
  3926. qcom,smem = <0x1b3 0x1ac>;
  3927. interrupts = <0x0 0x1c3 0x1>;
  3928. mboxes = <0x17 0xe>;
  3929. qcom,local-pid = <0x0>;
  3930. qcom,remote-pid = <0x1>;
  3931.  
  3932. master-kernel {
  3933. qcom,entry-name = "master-kernel";
  3934. #qcom,smem-state-cells = <0x1>;
  3935. phandle = <0x99>;
  3936. };
  3937.  
  3938. slave-kernel {
  3939. qcom,entry-name = "slave-kernel";
  3940. interrupt-controller;
  3941. #interrupt-cells = <0x2>;
  3942. phandle = <0x96>;
  3943. };
  3944. };
  3945.  
  3946. smp2p-slpi {
  3947. compatible = "qcom,smp2p";
  3948. qcom,smem = <0x1e1 0x1ae>;
  3949. interrupts = <0x0 0xb2 0x1>;
  3950. mboxes = <0x17 0x1a>;
  3951. qcom,local-pid = <0x0>;
  3952. qcom,remote-pid = <0x3>;
  3953.  
  3954. slave-kernel {
  3955. qcom,entry-name = "slave-kernel";
  3956. interrupt-controller;
  3957. #interrupt-cells = <0x2>;
  3958. };
  3959.  
  3960. master-kernel {
  3961. qcom,entry-name = "master-kernel";
  3962. #qcom,smem-state-cells = <0x1>;
  3963. };
  3964. };
  3965.  
  3966. aliases {
  3967. serial0 = "/soc/serial@75b0000";
  3968. serial1 = "/soc/serial@75b1000";
  3969. serial2 = "/soc/serial@7570000";
  3970. i2c0 = "/soc/i2c@7577000";
  3971. i2c1 = "/soc/i2c@75b6000";
  3972. i2c2 = "/soc/i2c@75b5000";
  3973. spi0 = "/soc/spi@7575000";
  3974. spi1 = "/soc/spi@75ba000";
  3975. };
  3976. };
Add Comment
Please, Sign In to add comment