qcom-apq8064.dtsi 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808
  1. // SPDX-License-Identifier: GPL-2.0
  2. /dts-v1/;
  3. #include <dt-bindings/clock/qcom,gcc-msm8960.h>
  4. #include <dt-bindings/clock/qcom,lcc-msm8960.h>
  5. #include <dt-bindings/reset/qcom,gcc-msm8960.h>
  6. #include <dt-bindings/clock/qcom,mmcc-msm8960.h>
  7. #include <dt-bindings/clock/qcom,rpmcc.h>
  8. #include <dt-bindings/soc/qcom,gsbi.h>
  9. #include <dt-bindings/interrupt-controller/irq.h>
  10. #include <dt-bindings/interrupt-controller/arm-gic.h>
  11. / {
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. model = "Qualcomm APQ8064";
  15. compatible = "qcom,apq8064";
  16. interrupt-parent = <&intc>;
  17. reserved-memory {
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. ranges;
  21. smem_region: smem@80000000 {
  22. reg = <0x80000000 0x200000>;
  23. no-map;
  24. };
  25. wcnss_mem: wcnss@8f000000 {
  26. reg = <0x8f000000 0x700000>;
  27. no-map;
  28. };
  29. };
  30. cpus {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. CPU0: cpu@0 {
  34. compatible = "qcom,krait";
  35. enable-method = "qcom,kpss-acc-v1";
  36. device_type = "cpu";
  37. reg = <0>;
  38. next-level-cache = <&L2>;
  39. qcom,acc = <&acc0>;
  40. qcom,saw = <&saw0>;
  41. cpu-idle-states = <&CPU_SPC>;
  42. };
  43. CPU1: cpu@1 {
  44. compatible = "qcom,krait";
  45. enable-method = "qcom,kpss-acc-v1";
  46. device_type = "cpu";
  47. reg = <1>;
  48. next-level-cache = <&L2>;
  49. qcom,acc = <&acc1>;
  50. qcom,saw = <&saw1>;
  51. cpu-idle-states = <&CPU_SPC>;
  52. };
  53. CPU2: cpu@2 {
  54. compatible = "qcom,krait";
  55. enable-method = "qcom,kpss-acc-v1";
  56. device_type = "cpu";
  57. reg = <2>;
  58. next-level-cache = <&L2>;
  59. qcom,acc = <&acc2>;
  60. qcom,saw = <&saw2>;
  61. cpu-idle-states = <&CPU_SPC>;
  62. };
  63. CPU3: cpu@3 {
  64. compatible = "qcom,krait";
  65. enable-method = "qcom,kpss-acc-v1";
  66. device_type = "cpu";
  67. reg = <3>;
  68. next-level-cache = <&L2>;
  69. qcom,acc = <&acc3>;
  70. qcom,saw = <&saw3>;
  71. cpu-idle-states = <&CPU_SPC>;
  72. };
  73. L2: l2-cache {
  74. compatible = "cache";
  75. cache-level = <2>;
  76. };
  77. idle-states {
  78. CPU_SPC: spc {
  79. compatible = "qcom,idle-state-spc",
  80. "arm,idle-state";
  81. entry-latency-us = <400>;
  82. exit-latency-us = <900>;
  83. min-residency-us = <3000>;
  84. };
  85. };
  86. };
  87. memory@0 {
  88. device_type = "memory";
  89. reg = <0x0 0x0>;
  90. };
  91. thermal-zones {
  92. cpu0-thermal {
  93. polling-delay-passive = <250>;
  94. polling-delay = <1000>;
  95. thermal-sensors = <&tsens 7>;
  96. coefficients = <1199 0>;
  97. trips {
  98. cpu_alert0: trip0 {
  99. temperature = <75000>;
  100. hysteresis = <2000>;
  101. type = "passive";
  102. };
  103. cpu_crit0: trip1 {
  104. temperature = <110000>;
  105. hysteresis = <2000>;
  106. type = "critical";
  107. };
  108. };
  109. };
  110. cpu1-thermal {
  111. polling-delay-passive = <250>;
  112. polling-delay = <1000>;
  113. thermal-sensors = <&tsens 8>;
  114. coefficients = <1132 0>;
  115. trips {
  116. cpu_alert1: trip0 {
  117. temperature = <75000>;
  118. hysteresis = <2000>;
  119. type = "passive";
  120. };
  121. cpu_crit1: trip1 {
  122. temperature = <110000>;
  123. hysteresis = <2000>;
  124. type = "critical";
  125. };
  126. };
  127. };
  128. cpu2-thermal {
  129. polling-delay-passive = <250>;
  130. polling-delay = <1000>;
  131. thermal-sensors = <&tsens 9>;
  132. coefficients = <1199 0>;
  133. trips {
  134. cpu_alert2: trip0 {
  135. temperature = <75000>;
  136. hysteresis = <2000>;
  137. type = "passive";
  138. };
  139. cpu_crit2: trip1 {
  140. temperature = <110000>;
  141. hysteresis = <2000>;
  142. type = "critical";
  143. };
  144. };
  145. };
  146. cpu3-thermal {
  147. polling-delay-passive = <250>;
  148. polling-delay = <1000>;
  149. thermal-sensors = <&tsens 10>;
  150. coefficients = <1132 0>;
  151. trips {
  152. cpu_alert3: trip0 {
  153. temperature = <75000>;
  154. hysteresis = <2000>;
  155. type = "passive";
  156. };
  157. cpu_crit3: trip1 {
  158. temperature = <110000>;
  159. hysteresis = <2000>;
  160. type = "critical";
  161. };
  162. };
  163. };
  164. };
  165. cpu-pmu {
  166. compatible = "qcom,krait-pmu";
  167. interrupts = <1 10 0x304>;
  168. };
  169. clocks {
  170. cxo_board: cxo_board {
  171. compatible = "fixed-clock";
  172. #clock-cells = <0>;
  173. clock-frequency = <19200000>;
  174. };
  175. pxo_board: pxo_board {
  176. compatible = "fixed-clock";
  177. #clock-cells = <0>;
  178. clock-frequency = <27000000>;
  179. };
  180. sleep_clk: sleep_clk {
  181. compatible = "fixed-clock";
  182. #clock-cells = <0>;
  183. clock-frequency = <32768>;
  184. };
  185. };
  186. sfpb_mutex: hwmutex {
  187. compatible = "qcom,sfpb-mutex";
  188. syscon = <&sfpb_wrapper_mutex 0x604 0x4>;
  189. #hwlock-cells = <1>;
  190. };
  191. smem {
  192. compatible = "qcom,smem";
  193. memory-region = <&smem_region>;
  194. hwlocks = <&sfpb_mutex 3>;
  195. };
  196. smd {
  197. compatible = "qcom,smd";
  198. modem-edge {
  199. interrupts = <0 37 IRQ_TYPE_EDGE_RISING>;
  200. qcom,ipc = <&l2cc 8 3>;
  201. qcom,smd-edge = <0>;
  202. status = "disabled";
  203. };
  204. q6-edge {
  205. interrupts = <0 90 IRQ_TYPE_EDGE_RISING>;
  206. qcom,ipc = <&l2cc 8 15>;
  207. qcom,smd-edge = <1>;
  208. status = "disabled";
  209. };
  210. dsps-edge {
  211. interrupts = <0 138 IRQ_TYPE_EDGE_RISING>;
  212. qcom,ipc = <&sps_sic_non_secure 0x4080 0>;
  213. qcom,smd-edge = <3>;
  214. status = "disabled";
  215. };
  216. riva-edge {
  217. interrupts = <0 198 IRQ_TYPE_EDGE_RISING>;
  218. qcom,ipc = <&l2cc 8 25>;
  219. qcom,smd-edge = <6>;
  220. status = "disabled";
  221. };
  222. };
  223. smsm {
  224. compatible = "qcom,smsm";
  225. #address-cells = <1>;
  226. #size-cells = <0>;
  227. qcom,ipc-1 = <&l2cc 8 4>;
  228. qcom,ipc-2 = <&l2cc 8 14>;
  229. qcom,ipc-3 = <&l2cc 8 23>;
  230. qcom,ipc-4 = <&sps_sic_non_secure 0x4094 0>;
  231. apps_smsm: apps@0 {
  232. reg = <0>;
  233. #qcom,smem-state-cells = <1>;
  234. };
  235. modem_smsm: modem@1 {
  236. reg = <1>;
  237. interrupts = <0 38 IRQ_TYPE_EDGE_RISING>;
  238. interrupt-controller;
  239. #interrupt-cells = <2>;
  240. };
  241. q6_smsm: q6@2 {
  242. reg = <2>;
  243. interrupts = <0 89 IRQ_TYPE_EDGE_RISING>;
  244. interrupt-controller;
  245. #interrupt-cells = <2>;
  246. };
  247. wcnss_smsm: wcnss@3 {
  248. reg = <3>;
  249. interrupts = <0 204 IRQ_TYPE_EDGE_RISING>;
  250. interrupt-controller;
  251. #interrupt-cells = <2>;
  252. };
  253. dsps_smsm: dsps@4 {
  254. reg = <4>;
  255. interrupts = <0 137 IRQ_TYPE_EDGE_RISING>;
  256. interrupt-controller;
  257. #interrupt-cells = <2>;
  258. };
  259. };
  260. firmware {
  261. scm {
  262. compatible = "qcom,scm-apq8064", "qcom,scm";
  263. clocks = <&rpmcc RPM_DAYTONA_FABRIC_CLK>;
  264. clock-names = "core";
  265. };
  266. };
  267. /*
  268. * These channels from the ADC are simply hardware monitors.
  269. * That is why the ADC is referred to as "HKADC" - HouseKeeping
  270. * ADC.
  271. */
  272. iio-hwmon {
  273. compatible = "iio-hwmon";
  274. io-channels = <&xoadc 0x00 0x01>, /* Battery */
  275. <&xoadc 0x00 0x02>, /* DC in (charger) */
  276. <&xoadc 0x00 0x04>, /* VPH the main system voltage */
  277. <&xoadc 0x00 0x0b>, /* Die temperature */
  278. <&xoadc 0x00 0x0c>, /* Reference voltage 1.25V */
  279. <&xoadc 0x00 0x0d>, /* Reference voltage 0.625V */
  280. <&xoadc 0x00 0x0e>; /* Charger temperature */
  281. };
  282. soc: soc {
  283. #address-cells = <1>;
  284. #size-cells = <1>;
  285. ranges;
  286. compatible = "simple-bus";
  287. tlmm_pinmux: pinctrl@800000 {
  288. compatible = "qcom,apq8064-pinctrl";
  289. reg = <0x800000 0x4000>;
  290. gpio-controller;
  291. gpio-ranges = <&tlmm_pinmux 0 0 90>;
  292. #gpio-cells = <2>;
  293. interrupt-controller;
  294. #interrupt-cells = <2>;
  295. interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
  296. pinctrl-names = "default";
  297. pinctrl-0 = <&ps_hold>;
  298. };
  299. sfpb_wrapper_mutex: syscon@1200000 {
  300. compatible = "syscon";
  301. reg = <0x01200000 0x8000>;
  302. };
  303. intc: interrupt-controller@2000000 {
  304. compatible = "qcom,msm-qgic2";
  305. interrupt-controller;
  306. #interrupt-cells = <3>;
  307. reg = <0x02000000 0x1000>,
  308. <0x02002000 0x1000>;
  309. };
  310. timer@200a000 {
  311. compatible = "qcom,kpss-timer",
  312. "qcom,kpss-wdt-apq8064", "qcom,msm-timer";
  313. interrupts = <1 1 0x301>,
  314. <1 2 0x301>,
  315. <1 3 0x301>;
  316. reg = <0x0200a000 0x100>;
  317. clock-frequency = <27000000>,
  318. <32768>;
  319. cpu-offset = <0x80000>;
  320. };
  321. acc0: clock-controller@2088000 {
  322. compatible = "qcom,kpss-acc-v1";
  323. reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
  324. };
  325. acc1: clock-controller@2098000 {
  326. compatible = "qcom,kpss-acc-v1";
  327. reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
  328. };
  329. acc2: clock-controller@20a8000 {
  330. compatible = "qcom,kpss-acc-v1";
  331. reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
  332. };
  333. acc3: clock-controller@20b8000 {
  334. compatible = "qcom,kpss-acc-v1";
  335. reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
  336. };
  337. saw0: power-controller@2089000 {
  338. compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
  339. reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
  340. regulator;
  341. };
  342. saw1: power-controller@2099000 {
  343. compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
  344. reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
  345. regulator;
  346. };
  347. saw2: power-controller@20a9000 {
  348. compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
  349. reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
  350. regulator;
  351. };
  352. saw3: power-controller@20b9000 {
  353. compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
  354. reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
  355. regulator;
  356. };
  357. sps_sic_non_secure: sps-sic-non-secure@12100000 {
  358. compatible = "syscon";
  359. reg = <0x12100000 0x10000>;
  360. };
  361. gsbi1: gsbi@12440000 {
  362. status = "disabled";
  363. compatible = "qcom,gsbi-v1.0.0";
  364. cell-index = <1>;
  365. reg = <0x12440000 0x100>;
  366. clocks = <&gcc GSBI1_H_CLK>;
  367. clock-names = "iface";
  368. #address-cells = <1>;
  369. #size-cells = <1>;
  370. ranges;
  371. syscon-tcsr = <&tcsr>;
  372. gsbi1_serial: serial@12450000 {
  373. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  374. reg = <0x12450000 0x100>,
  375. <0x12400000 0x03>;
  376. interrupts = <0 193 IRQ_TYPE_LEVEL_HIGH>;
  377. clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
  378. clock-names = "core", "iface";
  379. status = "disabled";
  380. };
  381. gsbi1_i2c: i2c@12460000 {
  382. compatible = "qcom,i2c-qup-v1.1.1";
  383. pinctrl-0 = <&i2c1_pins>;
  384. pinctrl-1 = <&i2c1_pins_sleep>;
  385. pinctrl-names = "default", "sleep";
  386. reg = <0x12460000 0x1000>;
  387. interrupts = <0 194 IRQ_TYPE_LEVEL_HIGH>;
  388. clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
  389. clock-names = "core", "iface";
  390. #address-cells = <1>;
  391. #size-cells = <0>;
  392. status = "disabled";
  393. };
  394. };
  395. gsbi2: gsbi@12480000 {
  396. status = "disabled";
  397. compatible = "qcom,gsbi-v1.0.0";
  398. cell-index = <2>;
  399. reg = <0x12480000 0x100>;
  400. clocks = <&gcc GSBI2_H_CLK>;
  401. clock-names = "iface";
  402. #address-cells = <1>;
  403. #size-cells = <1>;
  404. ranges;
  405. syscon-tcsr = <&tcsr>;
  406. gsbi2_i2c: i2c@124a0000 {
  407. compatible = "qcom,i2c-qup-v1.1.1";
  408. reg = <0x124a0000 0x1000>;
  409. pinctrl-0 = <&i2c2_pins>;
  410. pinctrl-1 = <&i2c2_pins_sleep>;
  411. pinctrl-names = "default", "sleep";
  412. interrupts = <0 196 IRQ_TYPE_LEVEL_HIGH>;
  413. clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
  414. clock-names = "core", "iface";
  415. #address-cells = <1>;
  416. #size-cells = <0>;
  417. status = "disabled";
  418. };
  419. };
  420. gsbi3: gsbi@16200000 {
  421. status = "disabled";
  422. compatible = "qcom,gsbi-v1.0.0";
  423. cell-index = <3>;
  424. reg = <0x16200000 0x100>;
  425. clocks = <&gcc GSBI3_H_CLK>;
  426. clock-names = "iface";
  427. #address-cells = <1>;
  428. #size-cells = <1>;
  429. ranges;
  430. gsbi3_i2c: i2c@16280000 {
  431. compatible = "qcom,i2c-qup-v1.1.1";
  432. pinctrl-0 = <&i2c3_pins>;
  433. pinctrl-1 = <&i2c3_pins_sleep>;
  434. pinctrl-names = "default", "sleep";
  435. reg = <0x16280000 0x1000>;
  436. interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
  437. clocks = <&gcc GSBI3_QUP_CLK>,
  438. <&gcc GSBI3_H_CLK>;
  439. clock-names = "core", "iface";
  440. #address-cells = <1>;
  441. #size-cells = <0>;
  442. status = "disabled";
  443. };
  444. };
  445. gsbi4: gsbi@16300000 {
  446. status = "disabled";
  447. compatible = "qcom,gsbi-v1.0.0";
  448. cell-index = <4>;
  449. reg = <0x16300000 0x03>;
  450. clocks = <&gcc GSBI4_H_CLK>;
  451. clock-names = "iface";
  452. #address-cells = <1>;
  453. #size-cells = <1>;
  454. ranges;
  455. gsbi4_i2c: i2c@16380000 {
  456. compatible = "qcom,i2c-qup-v1.1.1";
  457. pinctrl-0 = <&i2c4_pins>;
  458. pinctrl-1 = <&i2c4_pins_sleep>;
  459. pinctrl-names = "default", "sleep";
  460. reg = <0x16380000 0x1000>;
  461. interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
  462. clocks = <&gcc GSBI4_QUP_CLK>,
  463. <&gcc GSBI4_H_CLK>;
  464. clock-names = "core", "iface";
  465. status = "disabled";
  466. };
  467. };
  468. gsbi5: gsbi@1a200000 {
  469. status = "disabled";
  470. compatible = "qcom,gsbi-v1.0.0";
  471. cell-index = <5>;
  472. reg = <0x1a200000 0x03>;
  473. clocks = <&gcc GSBI5_H_CLK>;
  474. clock-names = "iface";
  475. #address-cells = <1>;
  476. #size-cells = <1>;
  477. ranges;
  478. gsbi5_serial: serial@1a240000 {
  479. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  480. reg = <0x1a240000 0x100>,
  481. <0x1a200000 0x03>;
  482. interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
  483. clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
  484. clock-names = "core", "iface";
  485. status = "disabled";
  486. };
  487. gsbi5_spi: spi@1a280000 {
  488. compatible = "qcom,spi-qup-v1.1.1";
  489. reg = <0x1a280000 0x1000>;
  490. interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
  491. pinctrl-0 = <&spi5_default>;
  492. pinctrl-1 = <&spi5_sleep>;
  493. pinctrl-names = "default", "sleep";
  494. clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
  495. clock-names = "core", "iface";
  496. status = "disabled";
  497. #address-cells = <1>;
  498. #size-cells = <0>;
  499. };
  500. };
  501. gsbi6: gsbi@16500000 {
  502. status = "disabled";
  503. compatible = "qcom,gsbi-v1.0.0";
  504. cell-index = <6>;
  505. reg = <0x16500000 0x03>;
  506. clocks = <&gcc GSBI6_H_CLK>;
  507. clock-names = "iface";
  508. #address-cells = <1>;
  509. #size-cells = <1>;
  510. ranges;
  511. gsbi6_serial: serial@16540000 {
  512. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  513. reg = <0x16540000 0x100>,
  514. <0x16500000 0x03>;
  515. interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
  516. clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
  517. clock-names = "core", "iface";
  518. status = "disabled";
  519. };
  520. gsbi6_i2c: i2c@16580000 {
  521. compatible = "qcom,i2c-qup-v1.1.1";
  522. pinctrl-0 = <&i2c6_pins>;
  523. pinctrl-1 = <&i2c6_pins_sleep>;
  524. pinctrl-names = "default", "sleep";
  525. reg = <0x16580000 0x1000>;
  526. interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
  527. clocks = <&gcc GSBI6_QUP_CLK>,
  528. <&gcc GSBI6_H_CLK>;
  529. clock-names = "core", "iface";
  530. status = "disabled";
  531. };
  532. };
  533. gsbi7: gsbi@16600000 {
  534. status = "disabled";
  535. compatible = "qcom,gsbi-v1.0.0";
  536. cell-index = <7>;
  537. reg = <0x16600000 0x100>;
  538. clocks = <&gcc GSBI7_H_CLK>;
  539. clock-names = "iface";
  540. #address-cells = <1>;
  541. #size-cells = <1>;
  542. ranges;
  543. syscon-tcsr = <&tcsr>;
  544. gsbi7_serial: serial@16640000 {
  545. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  546. reg = <0x16640000 0x1000>,
  547. <0x16600000 0x1000>;
  548. interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
  549. clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
  550. clock-names = "core", "iface";
  551. status = "disabled";
  552. };
  553. gsbi7_i2c: i2c@16680000 {
  554. compatible = "qcom,i2c-qup-v1.1.1";
  555. pinctrl-0 = <&i2c7_pins>;
  556. pinctrl-1 = <&i2c7_pins_sleep>;
  557. pinctrl-names = "default", "sleep";
  558. reg = <0x16680000 0x1000>;
  559. interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
  560. clocks = <&gcc GSBI7_QUP_CLK>,
  561. <&gcc GSBI7_H_CLK>;
  562. clock-names = "core", "iface";
  563. status = "disabled";
  564. };
  565. };
  566. rng@1a500000 {
  567. compatible = "qcom,prng";
  568. reg = <0x1a500000 0x200>;
  569. clocks = <&gcc PRNG_CLK>;
  570. clock-names = "core";
  571. };
  572. ssbi@c00000 {
  573. compatible = "qcom,ssbi";
  574. reg = <0x00c00000 0x1000>;
  575. qcom,controller-type = "pmic-arbiter";
  576. pm8821: pmic@1 {
  577. compatible = "qcom,pm8821";
  578. interrupt-parent = <&tlmm_pinmux>;
  579. interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
  580. #interrupt-cells = <2>;
  581. interrupt-controller;
  582. #address-cells = <1>;
  583. #size-cells = <0>;
  584. pm8821_mpps: mpps@50 {
  585. compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp";
  586. reg = <0x50>;
  587. interrupt-controller;
  588. #interrupt-cells = <2>;
  589. gpio-controller;
  590. #gpio-cells = <2>;
  591. gpio-ranges = <&pm8821_mpps 0 0 4>;
  592. };
  593. };
  594. };
  595. qcom,ssbi@500000 {
  596. compatible = "qcom,ssbi";
  597. reg = <0x00500000 0x1000>;
  598. qcom,controller-type = "pmic-arbiter";
  599. pmicintc: pmic@0 {
  600. compatible = "qcom,pm8921";
  601. interrupt-parent = <&tlmm_pinmux>;
  602. interrupts = <74 8>;
  603. #interrupt-cells = <2>;
  604. interrupt-controller;
  605. #address-cells = <1>;
  606. #size-cells = <0>;
  607. pm8921_gpio: gpio@150 {
  608. compatible = "qcom,pm8921-gpio",
  609. "qcom,ssbi-gpio";
  610. reg = <0x150>;
  611. interrupt-controller;
  612. #interrupt-cells = <2>;
  613. gpio-controller;
  614. gpio-ranges = <&pm8921_gpio 0 0 44>;
  615. #gpio-cells = <2>;
  616. };
  617. pm8921_mpps: mpps@50 {
  618. compatible = "qcom,pm8921-mpp",
  619. "qcom,ssbi-mpp";
  620. reg = <0x50>;
  621. gpio-controller;
  622. #gpio-cells = <2>;
  623. gpio-ranges = <&pm8921_mpps 0 0 12>;
  624. interrupt-controller;
  625. #interrupt-cells = <2>;
  626. };
  627. rtc@11d {
  628. compatible = "qcom,pm8921-rtc";
  629. interrupt-parent = <&pmicintc>;
  630. interrupts = <39 1>;
  631. reg = <0x11d>;
  632. allow-set-time;
  633. };
  634. pwrkey@1c {
  635. compatible = "qcom,pm8921-pwrkey";
  636. reg = <0x1c>;
  637. interrupt-parent = <&pmicintc>;
  638. interrupts = <50 1>, <51 1>;
  639. debounce = <15625>;
  640. pull-up;
  641. };
  642. xoadc: xoadc@197 {
  643. compatible = "qcom,pm8921-adc";
  644. reg = <197>;
  645. interrupts-extended = <&pmicintc 78 IRQ_TYPE_EDGE_RISING>;
  646. #address-cells = <2>;
  647. #size-cells = <0>;
  648. #io-channel-cells = <2>;
  649. vcoin: adc-channel@0 {
  650. reg = <0x00 0x00>;
  651. };
  652. vbat: adc-channel@1 {
  653. reg = <0x00 0x01>;
  654. };
  655. dcin: adc-channel@2 {
  656. reg = <0x00 0x02>;
  657. };
  658. vph_pwr: adc-channel@4 {
  659. reg = <0x00 0x04>;
  660. };
  661. batt_therm: adc-channel@8 {
  662. reg = <0x00 0x08>;
  663. };
  664. batt_id: adc-channel@9 {
  665. reg = <0x00 0x09>;
  666. };
  667. usb_vbus: adc-channel@a {
  668. reg = <0x00 0x0a>;
  669. };
  670. die_temp: adc-channel@b {
  671. reg = <0x00 0x0b>;
  672. };
  673. ref_625mv: adc-channel@c {
  674. reg = <0x00 0x0c>;
  675. };
  676. ref_1250mv: adc-channel@d {
  677. reg = <0x00 0x0d>;
  678. };
  679. chg_temp: adc-channel@e {
  680. reg = <0x00 0x0e>;
  681. };
  682. ref_muxoff: adc-channel@f {
  683. reg = <0x00 0x0f>;
  684. };
  685. };
  686. };
  687. };
  688. qfprom: qfprom@700000 {
  689. compatible = "qcom,apq8064-qfprom", "qcom,qfprom";
  690. reg = <0x00700000 0x1000>;
  691. #address-cells = <1>;
  692. #size-cells = <1>;
  693. ranges;
  694. tsens_calib: calib@404 {
  695. reg = <0x404 0x10>;
  696. };
  697. tsens_backup: backup_calib@414 {
  698. reg = <0x414 0x10>;
  699. };
  700. };
  701. gcc: clock-controller@900000 {
  702. compatible = "qcom,gcc-apq8064", "syscon";
  703. reg = <0x00900000 0x4000>;
  704. #clock-cells = <1>;
  705. #power-domain-cells = <1>;
  706. #reset-cells = <1>;
  707. clocks = <&cxo_board>,
  708. <&pxo_board>,
  709. <&lcc PLL4>;
  710. clock-names = "cxo", "pxo", "pll4";
  711. tsens: thermal-sensor {
  712. compatible = "qcom,msm8960-tsens";
  713. nvmem-cells = <&tsens_calib>, <&tsens_backup>;
  714. nvmem-cell-names = "calib", "calib_backup";
  715. interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
  716. interrupt-names = "uplow";
  717. #qcom,sensors = <11>;
  718. #thermal-sensor-cells = <1>;
  719. };
  720. };
  721. lcc: clock-controller@28000000 {
  722. compatible = "qcom,lcc-apq8064";
  723. reg = <0x28000000 0x1000>;
  724. #clock-cells = <1>;
  725. #reset-cells = <1>;
  726. clocks = <&pxo_board>,
  727. <&gcc PLL4_VOTE>,
  728. <0>,
  729. <0>, <0>,
  730. <0>, <0>,
  731. <0>;
  732. clock-names = "pxo",
  733. "pll4_vote",
  734. "mi2s_codec_clk",
  735. "codec_i2s_mic_codec_clk",
  736. "spare_i2s_mic_codec_clk",
  737. "codec_i2s_spkr_codec_clk",
  738. "spare_i2s_spkr_codec_clk",
  739. "pcm_codec_clk";
  740. };
  741. mmcc: clock-controller@4000000 {
  742. compatible = "qcom,mmcc-apq8064";
  743. reg = <0x4000000 0x1000>;
  744. #clock-cells = <1>;
  745. #power-domain-cells = <1>;
  746. #reset-cells = <1>;
  747. clocks = <&pxo_board>,
  748. <&gcc PLL3>,
  749. <&gcc PLL8_VOTE>,
  750. <&dsi0_phy 1>,
  751. <&dsi0_phy 0>,
  752. <0>,
  753. <0>,
  754. <0>;
  755. clock-names = "pxo",
  756. "pll3",
  757. "pll8_vote",
  758. "dsi1pll",
  759. "dsi1pllbyte",
  760. "dsi2pll",
  761. "dsi2pllbyte",
  762. "hdmipll";
  763. };
  764. l2cc: clock-controller@2011000 {
  765. compatible = "qcom,kpss-gcc", "syscon";
  766. reg = <0x2011000 0x1000>;
  767. };
  768. rpm@108000 {
  769. compatible = "qcom,rpm-apq8064";
  770. reg = <0x108000 0x1000>;
  771. qcom,ipc = <&l2cc 0x8 2>;
  772. interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
  773. <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
  774. <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
  775. interrupt-names = "ack", "err", "wakeup";
  776. rpmcc: clock-controller {
  777. compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
  778. #clock-cells = <1>;
  779. clocks = <&pxo_board>, <&cxo_board>;
  780. clock-names = "pxo", "cxo";
  781. };
  782. regulators {
  783. compatible = "qcom,rpm-pm8921-regulators";
  784. pm8921_s1: s1 {};
  785. pm8921_s2: s2 {};
  786. pm8921_s3: s3 {};
  787. pm8921_s4: s4 {};
  788. pm8921_s7: s7 {};
  789. pm8921_s8: s8 {};
  790. pm8921_l1: l1 {};
  791. pm8921_l2: l2 {};
  792. pm8921_l3: l3 {};
  793. pm8921_l4: l4 {};
  794. pm8921_l5: l5 {};
  795. pm8921_l6: l6 {};
  796. pm8921_l7: l7 {};
  797. pm8921_l8: l8 {};
  798. pm8921_l9: l9 {};
  799. pm8921_l10: l10 {};
  800. pm8921_l11: l11 {};
  801. pm8921_l12: l12 {};
  802. pm8921_l14: l14 {};
  803. pm8921_l15: l15 {};
  804. pm8921_l16: l16 {};
  805. pm8921_l17: l17 {};
  806. pm8921_l18: l18 {};
  807. pm8921_l21: l21 {};
  808. pm8921_l22: l22 {};
  809. pm8921_l23: l23 {};
  810. pm8921_l24: l24 {};
  811. pm8921_l25: l25 {};
  812. pm8921_l26: l26 {};
  813. pm8921_l27: l27 {};
  814. pm8921_l28: l28 {};
  815. pm8921_l29: l29 {};
  816. pm8921_lvs1: lvs1 {};
  817. pm8921_lvs2: lvs2 {};
  818. pm8921_lvs3: lvs3 {};
  819. pm8921_lvs4: lvs4 {};
  820. pm8921_lvs5: lvs5 {};
  821. pm8921_lvs6: lvs6 {};
  822. pm8921_lvs7: lvs7 {};
  823. pm8921_usb_switch: usb-switch {};
  824. pm8921_hdmi_switch: hdmi-switch {
  825. bias-pull-down;
  826. };
  827. pm8921_ncp: ncp {};
  828. };
  829. };
  830. usb1: usb@12500000 {
  831. compatible = "qcom,ci-hdrc";
  832. reg = <0x12500000 0x200>,
  833. <0x12500200 0x200>;
  834. interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
  835. clocks = <&gcc USB_HS1_XCVR_CLK>, <&gcc USB_HS1_H_CLK>;
  836. clock-names = "core", "iface";
  837. assigned-clocks = <&gcc USB_HS1_XCVR_CLK>;
  838. assigned-clock-rates = <60000000>;
  839. resets = <&gcc USB_HS1_RESET>;
  840. reset-names = "core";
  841. phy_type = "ulpi";
  842. ahb-burst-config = <0>;
  843. phys = <&usb_hs1_phy>;
  844. phy-names = "usb-phy";
  845. status = "disabled";
  846. #reset-cells = <1>;
  847. ulpi {
  848. usb_hs1_phy: phy {
  849. compatible = "qcom,usb-hs-phy-apq8064",
  850. "qcom,usb-hs-phy";
  851. clocks = <&sleep_clk>, <&cxo_board>;
  852. clock-names = "sleep", "ref";
  853. resets = <&usb1 0>;
  854. reset-names = "por";
  855. #phy-cells = <0>;
  856. };
  857. };
  858. };
  859. usb3: usb@12520000 {
  860. compatible = "qcom,ci-hdrc";
  861. reg = <0x12520000 0x200>,
  862. <0x12520200 0x200>;
  863. interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
  864. clocks = <&gcc USB_HS3_XCVR_CLK>, <&gcc USB_HS3_H_CLK>;
  865. clock-names = "core", "iface";
  866. assigned-clocks = <&gcc USB_HS3_XCVR_CLK>;
  867. assigned-clock-rates = <60000000>;
  868. resets = <&gcc USB_HS3_RESET>;
  869. reset-names = "core";
  870. phy_type = "ulpi";
  871. ahb-burst-config = <0>;
  872. phys = <&usb_hs3_phy>;
  873. phy-names = "usb-phy";
  874. status = "disabled";
  875. #reset-cells = <1>;
  876. ulpi {
  877. usb_hs3_phy: phy {
  878. compatible = "qcom,usb-hs-phy-apq8064",
  879. "qcom,usb-hs-phy";
  880. #phy-cells = <0>;
  881. clocks = <&sleep_clk>, <&cxo_board>;
  882. clock-names = "sleep", "ref";
  883. resets = <&usb3 0>;
  884. reset-names = "por";
  885. };
  886. };
  887. };
  888. usb4: usb@12530000 {
  889. compatible = "qcom,ci-hdrc";
  890. reg = <0x12530000 0x200>,
  891. <0x12530200 0x200>;
  892. interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
  893. clocks = <&gcc USB_HS4_XCVR_CLK>, <&gcc USB_HS4_H_CLK>;
  894. clock-names = "core", "iface";
  895. assigned-clocks = <&gcc USB_HS4_XCVR_CLK>;
  896. assigned-clock-rates = <60000000>;
  897. resets = <&gcc USB_HS4_RESET>;
  898. reset-names = "core";
  899. phy_type = "ulpi";
  900. ahb-burst-config = <0>;
  901. phys = <&usb_hs4_phy>;
  902. phy-names = "usb-phy";
  903. status = "disabled";
  904. #reset-cells = <1>;
  905. ulpi {
  906. usb_hs4_phy: phy {
  907. compatible = "qcom,usb-hs-phy-apq8064",
  908. "qcom,usb-hs-phy";
  909. #phy-cells = <0>;
  910. clocks = <&sleep_clk>, <&cxo_board>;
  911. clock-names = "sleep", "ref";
  912. resets = <&usb4 0>;
  913. reset-names = "por";
  914. };
  915. };
  916. };
  917. sata_phy0: phy@1b400000 {
  918. compatible = "qcom,apq8064-sata-phy";
  919. status = "disabled";
  920. reg = <0x1b400000 0x200>;
  921. reg-names = "phy_mem";
  922. clocks = <&gcc SATA_PHY_CFG_CLK>;
  923. clock-names = "cfg";
  924. #phy-cells = <0>;
  925. };
  926. sata0: sata@29000000 {
  927. compatible = "qcom,apq8064-ahci", "generic-ahci";
  928. status = "disabled";
  929. reg = <0x29000000 0x180>;
  930. interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
  931. clocks = <&gcc SFAB_SATA_S_H_CLK>,
  932. <&gcc SATA_H_CLK>,
  933. <&gcc SATA_A_CLK>,
  934. <&gcc SATA_RXOOB_CLK>,
  935. <&gcc SATA_PMALIVE_CLK>;
  936. clock-names = "slave_iface",
  937. "iface",
  938. "bus",
  939. "rxoob",
  940. "core_pmalive";
  941. assigned-clocks = <&gcc SATA_RXOOB_CLK>,
  942. <&gcc SATA_PMALIVE_CLK>;
  943. assigned-clock-rates = <100000000>, <100000000>;
  944. phys = <&sata_phy0>;
  945. phy-names = "sata-phy";
  946. ports-implemented = <0x1>;
  947. };
  948. /* Temporary fixed regulator */
  949. sdcc1bam: dma-controller@12402000{
  950. compatible = "qcom,bam-v1.3.0";
  951. reg = <0x12402000 0x8000>;
  952. interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
  953. clocks = <&gcc SDC1_H_CLK>;
  954. clock-names = "bam_clk";
  955. #dma-cells = <1>;
  956. qcom,ee = <0>;
  957. };
  958. sdcc3bam: dma-controller@12182000{
  959. compatible = "qcom,bam-v1.3.0";
  960. reg = <0x12182000 0x8000>;
  961. interrupts = <0 96 IRQ_TYPE_LEVEL_HIGH>;
  962. clocks = <&gcc SDC3_H_CLK>;
  963. clock-names = "bam_clk";
  964. #dma-cells = <1>;
  965. qcom,ee = <0>;
  966. };
  967. sdcc4bam: dma-controller@121c2000{
  968. compatible = "qcom,bam-v1.3.0";
  969. reg = <0x121c2000 0x8000>;
  970. interrupts = <0 95 IRQ_TYPE_LEVEL_HIGH>;
  971. clocks = <&gcc SDC4_H_CLK>;
  972. clock-names = "bam_clk";
  973. #dma-cells = <1>;
  974. qcom,ee = <0>;
  975. };
  976. amba {
  977. compatible = "simple-bus";
  978. #address-cells = <1>;
  979. #size-cells = <1>;
  980. ranges;
  981. sdcc1: mmc@12400000 {
  982. status = "disabled";
  983. compatible = "arm,pl18x", "arm,primecell";
  984. pinctrl-names = "default";
  985. pinctrl-0 = <&sdcc1_pins>;
  986. arm,primecell-periphid = <0x00051180>;
  987. reg = <0x12400000 0x2000>;
  988. interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
  989. interrupt-names = "cmd_irq";
  990. clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
  991. clock-names = "mclk", "apb_pclk";
  992. bus-width = <8>;
  993. max-frequency = <96000000>;
  994. non-removable;
  995. cap-sd-highspeed;
  996. cap-mmc-highspeed;
  997. dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
  998. dma-names = "tx", "rx";
  999. };
  1000. sdcc3: mmc@12180000 {
  1001. compatible = "arm,pl18x", "arm,primecell";
  1002. arm,primecell-periphid = <0x00051180>;
  1003. status = "disabled";
  1004. reg = <0x12180000 0x2000>;
  1005. interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
  1006. interrupt-names = "cmd_irq";
  1007. clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
  1008. clock-names = "mclk", "apb_pclk";
  1009. bus-width = <4>;
  1010. cap-sd-highspeed;
  1011. cap-mmc-highspeed;
  1012. max-frequency = <192000000>;
  1013. no-1-8-v;
  1014. dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
  1015. dma-names = "tx", "rx";
  1016. };
  1017. sdcc4: mmc@121c0000 {
  1018. compatible = "arm,pl18x", "arm,primecell";
  1019. arm,primecell-periphid = <0x00051180>;
  1020. status = "disabled";
  1021. reg = <0x121c0000 0x2000>;
  1022. interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
  1023. interrupt-names = "cmd_irq";
  1024. clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
  1025. clock-names = "mclk", "apb_pclk";
  1026. bus-width = <4>;
  1027. cap-sd-highspeed;
  1028. cap-mmc-highspeed;
  1029. max-frequency = <48000000>;
  1030. dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
  1031. dma-names = "tx", "rx";
  1032. pinctrl-names = "default";
  1033. pinctrl-0 = <&sdc4_gpios>;
  1034. };
  1035. };
  1036. tcsr: syscon@1a400000 {
  1037. compatible = "qcom,tcsr-apq8064", "syscon";
  1038. reg = <0x1a400000 0x100>;
  1039. };
  1040. gpu: adreno-3xx@4300000 {
  1041. compatible = "qcom,adreno-320.2", "qcom,adreno";
  1042. reg = <0x04300000 0x20000>;
  1043. reg-names = "kgsl_3d0_reg_memory";
  1044. interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
  1045. interrupt-names = "kgsl_3d0_irq";
  1046. clock-names =
  1047. "core",
  1048. "iface",
  1049. "mem",
  1050. "mem_iface";
  1051. clocks =
  1052. <&mmcc GFX3D_CLK>,
  1053. <&mmcc GFX3D_AHB_CLK>,
  1054. <&mmcc GFX3D_AXI_CLK>,
  1055. <&mmcc MMSS_IMEM_AHB_CLK>;
  1056. iommus = <&gfx3d 0
  1057. &gfx3d 1
  1058. &gfx3d 2
  1059. &gfx3d 3
  1060. &gfx3d 4
  1061. &gfx3d 5
  1062. &gfx3d 6
  1063. &gfx3d 7
  1064. &gfx3d 8
  1065. &gfx3d 9
  1066. &gfx3d 10
  1067. &gfx3d 11
  1068. &gfx3d 12
  1069. &gfx3d 13
  1070. &gfx3d 14
  1071. &gfx3d 15
  1072. &gfx3d 16
  1073. &gfx3d 17
  1074. &gfx3d 18
  1075. &gfx3d 19
  1076. &gfx3d 20
  1077. &gfx3d 21
  1078. &gfx3d 22
  1079. &gfx3d 23
  1080. &gfx3d 24
  1081. &gfx3d 25
  1082. &gfx3d 26
  1083. &gfx3d 27
  1084. &gfx3d 28
  1085. &gfx3d 29
  1086. &gfx3d 30
  1087. &gfx3d 31
  1088. &gfx3d1 0
  1089. &gfx3d1 1
  1090. &gfx3d1 2
  1091. &gfx3d1 3
  1092. &gfx3d1 4
  1093. &gfx3d1 5
  1094. &gfx3d1 6
  1095. &gfx3d1 7
  1096. &gfx3d1 8
  1097. &gfx3d1 9
  1098. &gfx3d1 10
  1099. &gfx3d1 11
  1100. &gfx3d1 12
  1101. &gfx3d1 13
  1102. &gfx3d1 14
  1103. &gfx3d1 15
  1104. &gfx3d1 16
  1105. &gfx3d1 17
  1106. &gfx3d1 18
  1107. &gfx3d1 19
  1108. &gfx3d1 20
  1109. &gfx3d1 21
  1110. &gfx3d1 22
  1111. &gfx3d1 23
  1112. &gfx3d1 24
  1113. &gfx3d1 25
  1114. &gfx3d1 26
  1115. &gfx3d1 27
  1116. &gfx3d1 28
  1117. &gfx3d1 29
  1118. &gfx3d1 30
  1119. &gfx3d1 31>;
  1120. operating-points-v2 = <&gpu_opp_table>;
  1121. gpu_opp_table: opp-table {
  1122. compatible = "operating-points-v2";
  1123. opp-450000000 {
  1124. opp-hz = /bits/ 64 <450000000>;
  1125. };
  1126. opp-27000000 {
  1127. opp-hz = /bits/ 64 <27000000>;
  1128. };
  1129. };
  1130. };
  1131. mmss_sfpb: syscon@5700000 {
  1132. compatible = "syscon";
  1133. reg = <0x5700000 0x70>;
  1134. };
  1135. dsi0: dsi@4700000 {
  1136. compatible = "qcom,mdss-dsi-ctrl";
  1137. label = "MDSS DSI CTRL->0";
  1138. #address-cells = <1>;
  1139. #size-cells = <0>;
  1140. interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
  1141. reg = <0x04700000 0x200>;
  1142. reg-names = "dsi_ctrl";
  1143. clocks = <&mmcc DSI_M_AHB_CLK>,
  1144. <&mmcc DSI_S_AHB_CLK>,
  1145. <&mmcc AMP_AHB_CLK>,
  1146. <&mmcc DSI_CLK>,
  1147. <&mmcc DSI1_BYTE_CLK>,
  1148. <&mmcc DSI_PIXEL_CLK>,
  1149. <&mmcc DSI1_ESC_CLK>;
  1150. clock-names = "iface", "bus", "core_mmss",
  1151. "src", "byte", "pixel",
  1152. "core";
  1153. assigned-clocks = <&mmcc DSI1_BYTE_SRC>,
  1154. <&mmcc DSI1_ESC_SRC>,
  1155. <&mmcc DSI_SRC>,
  1156. <&mmcc DSI_PIXEL_SRC>;
  1157. assigned-clock-parents = <&dsi0_phy 0>,
  1158. <&dsi0_phy 0>,
  1159. <&dsi0_phy 1>,
  1160. <&dsi0_phy 1>;
  1161. syscon-sfpb = <&mmss_sfpb>;
  1162. phys = <&dsi0_phy>;
  1163. phy-names = "dsi";
  1164. status = "disabled";
  1165. ports {
  1166. #address-cells = <1>;
  1167. #size-cells = <0>;
  1168. port@0 {
  1169. reg = <0>;
  1170. dsi0_in: endpoint {
  1171. };
  1172. };
  1173. port@1 {
  1174. reg = <1>;
  1175. dsi0_out: endpoint {
  1176. };
  1177. };
  1178. };
  1179. };
  1180. dsi0_phy: dsi-phy@4700200 {
  1181. compatible = "qcom,dsi-phy-28nm-8960";
  1182. #clock-cells = <1>;
  1183. #phy-cells = <0>;
  1184. reg = <0x04700200 0x100>,
  1185. <0x04700300 0x200>,
  1186. <0x04700500 0x5c>;
  1187. reg-names = "dsi_pll", "dsi_phy", "dsi_phy_regulator";
  1188. clock-names = "iface", "ref";
  1189. clocks = <&mmcc DSI_M_AHB_CLK>,
  1190. <&pxo_board>;
  1191. status = "disabled";
  1192. };
  1193. mdp_port0: iommu@7500000 {
  1194. compatible = "qcom,apq8064-iommu";
  1195. #iommu-cells = <1>;
  1196. clock-names =
  1197. "smmu_pclk",
  1198. "iommu_clk";
  1199. clocks =
  1200. <&mmcc SMMU_AHB_CLK>,
  1201. <&mmcc MDP_AXI_CLK>;
  1202. reg = <0x07500000 0x100000>;
  1203. interrupts =
  1204. <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>,
  1205. <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
  1206. qcom,ncb = <2>;
  1207. };
  1208. mdp_port1: iommu@7600000 {
  1209. compatible = "qcom,apq8064-iommu";
  1210. #iommu-cells = <1>;
  1211. clock-names =
  1212. "smmu_pclk",
  1213. "iommu_clk";
  1214. clocks =
  1215. <&mmcc SMMU_AHB_CLK>,
  1216. <&mmcc MDP_AXI_CLK>;
  1217. reg = <0x07600000 0x100000>;
  1218. interrupts =
  1219. <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
  1220. <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
  1221. qcom,ncb = <2>;
  1222. };
  1223. gfx3d: iommu@7c00000 {
  1224. compatible = "qcom,apq8064-iommu";
  1225. #iommu-cells = <1>;
  1226. clock-names =
  1227. "smmu_pclk",
  1228. "iommu_clk";
  1229. clocks =
  1230. <&mmcc SMMU_AHB_CLK>,
  1231. <&mmcc GFX3D_AXI_CLK>;
  1232. reg = <0x07c00000 0x100000>;
  1233. interrupts =
  1234. <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
  1235. <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
  1236. qcom,ncb = <3>;
  1237. };
  1238. gfx3d1: iommu@7d00000 {
  1239. compatible = "qcom,apq8064-iommu";
  1240. #iommu-cells = <1>;
  1241. clock-names =
  1242. "smmu_pclk",
  1243. "iommu_clk";
  1244. clocks =
  1245. <&mmcc SMMU_AHB_CLK>,
  1246. <&mmcc GFX3D_AXI_CLK>;
  1247. reg = <0x07d00000 0x100000>;
  1248. interrupts =
  1249. <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
  1250. <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
  1251. qcom,ncb = <3>;
  1252. };
  1253. pcie: pci@1b500000 {
  1254. compatible = "qcom,pcie-apq8064";
  1255. reg = <0x1b500000 0x1000>,
  1256. <0x1b502000 0x80>,
  1257. <0x1b600000 0x100>,
  1258. <0x0ff00000 0x100000>;
  1259. reg-names = "dbi", "elbi", "parf", "config";
  1260. device_type = "pci";
  1261. linux,pci-domain = <0>;
  1262. bus-range = <0x00 0xff>;
  1263. num-lanes = <1>;
  1264. #address-cells = <3>;
  1265. #size-cells = <2>;
  1266. ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000>, /* I/O */
  1267. <0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* mem */
  1268. interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
  1269. interrupt-names = "msi";
  1270. #interrupt-cells = <1>;
  1271. interrupt-map-mask = <0 0 0 0x7>;
  1272. interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  1273. <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  1274. <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  1275. <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  1276. clocks = <&gcc PCIE_A_CLK>,
  1277. <&gcc PCIE_H_CLK>,
  1278. <&gcc PCIE_PHY_REF_CLK>;
  1279. clock-names = "core", "iface", "phy";
  1280. resets = <&gcc PCIE_ACLK_RESET>,
  1281. <&gcc PCIE_HCLK_RESET>,
  1282. <&gcc PCIE_POR_RESET>,
  1283. <&gcc PCIE_PCI_RESET>,
  1284. <&gcc PCIE_PHY_RESET>;
  1285. reset-names = "axi", "ahb", "por", "pci", "phy";
  1286. status = "disabled";
  1287. };
  1288. hdmi: hdmi-tx@4a00000 {
  1289. compatible = "qcom,hdmi-tx-8960";
  1290. pinctrl-names = "default";
  1291. pinctrl-0 = <&hdmi_pinctrl>;
  1292. reg = <0x04a00000 0x2f0>;
  1293. reg-names = "core_physical";
  1294. interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
  1295. clocks = <&mmcc HDMI_APP_CLK>,
  1296. <&mmcc HDMI_M_AHB_CLK>,
  1297. <&mmcc HDMI_S_AHB_CLK>;
  1298. clock-names = "core",
  1299. "master_iface",
  1300. "slave_iface";
  1301. phys = <&hdmi_phy>;
  1302. ports {
  1303. #address-cells = <1>;
  1304. #size-cells = <0>;
  1305. port@0 {
  1306. reg = <0>;
  1307. hdmi_in: endpoint {
  1308. };
  1309. };
  1310. port@1 {
  1311. reg = <1>;
  1312. hdmi_out: endpoint {
  1313. };
  1314. };
  1315. };
  1316. };
  1317. hdmi_phy: hdmi-phy@4a00400 {
  1318. compatible = "qcom,hdmi-phy-8960";
  1319. reg = <0x4a00400 0x60>,
  1320. <0x4a00500 0x100>;
  1321. reg-names = "hdmi_phy",
  1322. "hdmi_pll";
  1323. clocks = <&mmcc HDMI_S_AHB_CLK>;
  1324. clock-names = "slave_iface";
  1325. #phy-cells = <0>;
  1326. };
  1327. mdp: mdp@5100000 {
  1328. compatible = "qcom,mdp4";
  1329. reg = <0x05100000 0xf0000>;
  1330. interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
  1331. clocks = <&mmcc MDP_CLK>,
  1332. <&mmcc MDP_AHB_CLK>,
  1333. <&mmcc MDP_AXI_CLK>,
  1334. <&mmcc MDP_LUT_CLK>,
  1335. <&mmcc HDMI_TV_CLK>,
  1336. <&mmcc MDP_TV_CLK>;
  1337. clock-names = "core_clk",
  1338. "iface_clk",
  1339. "bus_clk",
  1340. "lut_clk",
  1341. "hdmi_clk",
  1342. "tv_clk";
  1343. iommus = <&mdp_port0 0
  1344. &mdp_port0 2
  1345. &mdp_port1 0
  1346. &mdp_port1 2>;
  1347. ports {
  1348. #address-cells = <1>;
  1349. #size-cells = <0>;
  1350. port@0 {
  1351. reg = <0>;
  1352. mdp_lvds_out: endpoint {
  1353. };
  1354. };
  1355. port@1 {
  1356. reg = <1>;
  1357. mdp_dsi1_out: endpoint {
  1358. };
  1359. };
  1360. port@2 {
  1361. reg = <2>;
  1362. mdp_dsi2_out: endpoint {
  1363. };
  1364. };
  1365. port@3 {
  1366. reg = <3>;
  1367. mdp_dtv_out: endpoint {
  1368. };
  1369. };
  1370. };
  1371. };
  1372. riva: riva-pil@3204000 {
  1373. compatible = "qcom,riva-pil";
  1374. reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>;
  1375. reg-names = "ccu", "dxe", "pmu";
  1376. interrupts-extended = <&intc GIC_SPI 199 IRQ_TYPE_EDGE_RISING>,
  1377. <&wcnss_smsm 6 IRQ_TYPE_EDGE_RISING>;
  1378. interrupt-names = "wdog", "fatal";
  1379. memory-region = <&wcnss_mem>;
  1380. vddcx-supply = <&pm8921_s3>;
  1381. vddmx-supply = <&pm8921_l24>;
  1382. vddpx-supply = <&pm8921_s4>;
  1383. status = "disabled";
  1384. iris {
  1385. compatible = "qcom,wcn3660";
  1386. clocks = <&cxo_board>;
  1387. clock-names = "xo";
  1388. vddxo-supply = <&pm8921_l4>;
  1389. vddrfa-supply = <&pm8921_s2>;
  1390. vddpa-supply = <&pm8921_l10>;
  1391. vdddig-supply = <&pm8921_lvs2>;
  1392. };
  1393. smd-edge {
  1394. interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>;
  1395. qcom,ipc = <&l2cc 8 25>;
  1396. qcom,smd-edge = <6>;
  1397. label = "riva";
  1398. wcnss {
  1399. compatible = "qcom,wcnss";
  1400. qcom,smd-channels = "WCNSS_CTRL";
  1401. qcom,mmio = <&riva>;
  1402. bluetooth {
  1403. compatible = "qcom,wcnss-bt";
  1404. };
  1405. wifi {
  1406. compatible = "qcom,wcnss-wlan";
  1407. interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
  1408. <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
  1409. interrupt-names = "tx", "rx";
  1410. qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
  1411. qcom,smem-state-names = "tx-enable", "tx-rings-empty";
  1412. };
  1413. };
  1414. };
  1415. };
  1416. etb@1a01000 {
  1417. compatible = "arm,coresight-etb10", "arm,primecell";
  1418. reg = <0x1a01000 0x1000>;
  1419. clocks = <&rpmcc RPM_QDSS_CLK>;
  1420. clock-names = "apb_pclk";
  1421. in-ports {
  1422. port {
  1423. etb_in: endpoint {
  1424. remote-endpoint = <&replicator_out0>;
  1425. };
  1426. };
  1427. };
  1428. };
  1429. tpiu@1a03000 {
  1430. compatible = "arm,coresight-tpiu", "arm,primecell";
  1431. reg = <0x1a03000 0x1000>;
  1432. clocks = <&rpmcc RPM_QDSS_CLK>;
  1433. clock-names = "apb_pclk";
  1434. in-ports {
  1435. port {
  1436. tpiu_in: endpoint {
  1437. remote-endpoint = <&replicator_out1>;
  1438. };
  1439. };
  1440. };
  1441. };
  1442. replicator {
  1443. compatible = "arm,coresight-static-replicator";
  1444. clocks = <&rpmcc RPM_QDSS_CLK>;
  1445. clock-names = "apb_pclk";
  1446. out-ports {
  1447. #address-cells = <1>;
  1448. #size-cells = <0>;
  1449. port@0 {
  1450. reg = <0>;
  1451. replicator_out0: endpoint {
  1452. remote-endpoint = <&etb_in>;
  1453. };
  1454. };
  1455. port@1 {
  1456. reg = <1>;
  1457. replicator_out1: endpoint {
  1458. remote-endpoint = <&tpiu_in>;
  1459. };
  1460. };
  1461. };
  1462. in-ports {
  1463. port {
  1464. replicator_in: endpoint {
  1465. remote-endpoint = <&funnel_out>;
  1466. };
  1467. };
  1468. };
  1469. };
  1470. funnel@1a04000 {
  1471. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  1472. reg = <0x1a04000 0x1000>;
  1473. clocks = <&rpmcc RPM_QDSS_CLK>;
  1474. clock-names = "apb_pclk";
  1475. in-ports {
  1476. #address-cells = <1>;
  1477. #size-cells = <0>;
  1478. /*
  1479. * Not described input ports:
  1480. * 2 - connected to STM component
  1481. * 3 - not-connected
  1482. * 6 - not-connected
  1483. * 7 - not-connected
  1484. */
  1485. port@0 {
  1486. reg = <0>;
  1487. funnel_in0: endpoint {
  1488. remote-endpoint = <&etm0_out>;
  1489. };
  1490. };
  1491. port@1 {
  1492. reg = <1>;
  1493. funnel_in1: endpoint {
  1494. remote-endpoint = <&etm1_out>;
  1495. };
  1496. };
  1497. port@4 {
  1498. reg = <4>;
  1499. funnel_in4: endpoint {
  1500. remote-endpoint = <&etm2_out>;
  1501. };
  1502. };
  1503. port@5 {
  1504. reg = <5>;
  1505. funnel_in5: endpoint {
  1506. remote-endpoint = <&etm3_out>;
  1507. };
  1508. };
  1509. };
  1510. out-ports {
  1511. port {
  1512. funnel_out: endpoint {
  1513. remote-endpoint = <&replicator_in>;
  1514. };
  1515. };
  1516. };
  1517. };
  1518. etm@1a1c000 {
  1519. compatible = "arm,coresight-etm3x", "arm,primecell";
  1520. reg = <0x1a1c000 0x1000>;
  1521. clocks = <&rpmcc RPM_QDSS_CLK>;
  1522. clock-names = "apb_pclk";
  1523. cpu = <&CPU0>;
  1524. out-ports {
  1525. port {
  1526. etm0_out: endpoint {
  1527. remote-endpoint = <&funnel_in0>;
  1528. };
  1529. };
  1530. };
  1531. };
  1532. etm@1a1d000 {
  1533. compatible = "arm,coresight-etm3x", "arm,primecell";
  1534. reg = <0x1a1d000 0x1000>;
  1535. clocks = <&rpmcc RPM_QDSS_CLK>;
  1536. clock-names = "apb_pclk";
  1537. cpu = <&CPU1>;
  1538. out-ports {
  1539. port {
  1540. etm1_out: endpoint {
  1541. remote-endpoint = <&funnel_in1>;
  1542. };
  1543. };
  1544. };
  1545. };
  1546. etm@1a1e000 {
  1547. compatible = "arm,coresight-etm3x", "arm,primecell";
  1548. reg = <0x1a1e000 0x1000>;
  1549. clocks = <&rpmcc RPM_QDSS_CLK>;
  1550. clock-names = "apb_pclk";
  1551. cpu = <&CPU2>;
  1552. out-ports {
  1553. port {
  1554. etm2_out: endpoint {
  1555. remote-endpoint = <&funnel_in4>;
  1556. };
  1557. };
  1558. };
  1559. };
  1560. etm@1a1f000 {
  1561. compatible = "arm,coresight-etm3x", "arm,primecell";
  1562. reg = <0x1a1f000 0x1000>;
  1563. clocks = <&rpmcc RPM_QDSS_CLK>;
  1564. clock-names = "apb_pclk";
  1565. cpu = <&CPU3>;
  1566. out-ports {
  1567. port {
  1568. etm3_out: endpoint {
  1569. remote-endpoint = <&funnel_in5>;
  1570. };
  1571. };
  1572. };
  1573. };
  1574. };
  1575. };
  1576. #include "qcom-apq8064-pins.dtsi"