mt6735m.dtsi 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982
  1. /*
  2. * Mediatek's MT6735M SoC device tree source
  3. *
  4. * Copyright (c) 2013 MediaTek Co., Ltd.
  5. * http://www.mediatek.com
  6. *
  7. */
  8. #include <dt-bindings/interrupt-controller/arm-gic.h>
  9. #include <dt-bindings/interrupt-controller/irq.h>
  10. #include "mt6735m-pinfunc.h"
  11. #include <dt-bindings/mmc/mt67xx-msdc.h>
  12. / {
  13. model = "MT6735M";
  14. compatible = "mediatek,MT6735";
  15. interrupt-parent = <&gic>;
  16. #address-cells = <2>;
  17. #size-cells = <2>;
  18. /* chosen */
  19. chosen {
  20. bootargs = "console=tty0 console=ttyMT0,921600n1 root=/dev/ram \
  21. initrd=0x44000000,0x1000000 loglevel=8 androidboot.hardware=mt6735";
  22. };
  23. /* Do not put any bus before mtk-msdc, because it should be mtk-msdc.0 for partition device node usage */
  24. /*workaround for .0*/
  25. mtk-msdc.0 {
  26. compatible = "simple-bus";
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. ranges = <0 0 0 0xffffffff>;
  30. mmc0: msdc0@11230000{
  31. compatible = "mediatek,mt6735m-mmc";
  32. reg = <0x11230000 0x10000 /* MSDC0_BASE */
  33. 0x10000e84 0x2>; /* FPGA PWR_GPIO, PWR_GPIO_EO */
  34. interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_LOW>;
  35. status = "disabled";
  36. };
  37. mmc1: msdc1@11240000{
  38. compatible = "mediatek,mt6735m-mmc";
  39. reg = <0x11240000 0x10000 /* MSDC1_BASE */
  40. 0x10000e84 0x2>; /* FPGA PWR_GPIO, PWR_GPIO_EO */
  41. interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_LOW>;
  42. status = "disabled";
  43. };
  44. /* only used for old way of DCT, can be removed in new platform */
  45. msdc1_ins: default {
  46. compatible = "mediatek, msdc1_ins-eint";
  47. };
  48. };
  49. psci {
  50. compatible = "arm,psci";
  51. method = "smc";
  52. cpu_suspend = <0x84000001>;
  53. cpu_off = <0x84000002>;
  54. cpu_on = <0x84000003>;
  55. affinity_info = <0x84000004>;
  56. };
  57. cpus {
  58. #address-cells = <1>;
  59. #size-cells = <0>;
  60. /* enable-method = "mediatek,mt6735-smp"; */
  61. cpu0: cpu@000 {
  62. device_type = "cpu";
  63. compatible = "arm,cortex-a53";
  64. reg = <0x000>;
  65. enable-method = "spin-table";
  66. cpu-release-addr = <0x0 0x40000200>;
  67. clock-frequency = <1000000000>;
  68. };
  69. cpu1: cpu@001 {
  70. device_type = "cpu";
  71. compatible = "arm,cortex-a53";
  72. reg = <0x001>;
  73. enable-method = "spin-table";
  74. cpu-release-addr = <0x0 0x40000200>;
  75. clock-frequency = <1000000000>;
  76. };
  77. cpu2: cpu@002 {
  78. device_type = "cpu";
  79. compatible = "arm,cortex-a53";
  80. reg = <0x002>;
  81. enable-method = "spin-table";
  82. cpu-release-addr = <0x0 0x40000200>;
  83. clock-frequency = <1000000000>;
  84. };
  85. cpu3: cpu@003 {
  86. device_type = "cpu";
  87. compatible = "arm,cortex-a53";
  88. reg = <0x003>;
  89. enable-method = "spin-table";
  90. cpu-release-addr = <0x0 0x40000200>;
  91. clock-frequency = <1000000000>;
  92. };
  93. };
  94. memory@00000000 {
  95. device_type = "memory";
  96. reg = <0 0x40000000 0 0x40000000>;
  97. };
  98. reserved-memory {
  99. #address-cells = <2>;
  100. #size-cells = <2>;
  101. ranges;
  102. /* reserve 192KB at DRAM start + 48MB */
  103. atf-reserved-memory@43000000 {
  104. compatible = "mediatek,mt6735-atf-reserved-memory",
  105. "mediatek,mt6735m-atf-reserved-memory",
  106. "mediatek,mt6753-atf-reserved-memory";
  107. no-map;
  108. reg = <0 0x43000000 0 0x30000>;
  109. };
  110. reserve-memory-ccci_md1 {
  111. compatible = "mediatek,reserve-memory-ccci_md1";
  112. no-map;
  113. size = <0 0x3810000>; // md_size+smem_size
  114. alignment = <0 0x2000000>;
  115. alloc-ranges = <0 0x40000000 0 0xC0000000>;
  116. };
  117. consys-reserve-memory {
  118. compatible = "mediatek,consys-reserve-memory";
  119. no-map;
  120. size = <0 0x100000>;
  121. alignment = <0 0x200000>;
  122. };
  123. ram_console-reserved-memory@43f00000 {
  124. compatible = "mediatek,ram_console";
  125. reg = <0 0x43f00000 0 0x10000>;
  126. };
  127. minirdump-reserved-memory@43ff0000 {
  128. compatible = "mediatek, minirdump";
  129. reg = <0 0x43ff0000 0 0x10000>;
  130. };
  131. pstore-reserved-memory@43f10000 {
  132. compatible = "mediatek,pstore";
  133. reg = <0 0x43f10000 0 0xe0000>;
  134. };
  135. };
  136. gic: interrupt-controller@10220000 {
  137. compatible = "mediatek,mt6735-gic";
  138. #interrupt-cells = <3>;
  139. #address-cells = <0>;
  140. interrupt-controller;
  141. reg = <0 0x10221000 0 0x1000>,
  142. <0 0x10222000 0 0x1000>,
  143. <0 0x10200620 0 0x1000>;
  144. mediatek,wdt_irq = <160>;
  145. gic-cpuif@0 {
  146. compatible = "arm,gic-cpuif";
  147. cpuif-id = <0>;
  148. cpu = <&cpu0>;
  149. };
  150. gic-cpuif@1 {
  151. compatible = "arm,gic-cpuif";
  152. cpuif-id = <1>;
  153. cpu = <&cpu1>;
  154. };
  155. gic-cpuif@2 {
  156. compatible = "arm,gic-cpuif";
  157. cpuif-id = <2>;
  158. cpu = <&cpu2>;
  159. };
  160. gic-cpuif@3 {
  161. compatible = "arm,gic-cpuif";
  162. cpuif-id = <3>;
  163. cpu = <&cpu3>;
  164. };
  165. };
  166. soc {
  167. compatible = "simple-bus";
  168. #address-cells = <1>;
  169. #size-cells = <1>;
  170. ranges;
  171. cpuxgpt: cpuxgpt@10200000 {
  172. compatible = "mediatek,mt6735-cpuxgpt";
  173. reg = <0x10200000 0x1000>;
  174. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
  175. <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
  176. <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
  177. <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
  178. <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
  179. <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
  180. <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
  181. <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  182. };
  183. apxgpt: apxgpt@10004000 {
  184. compatible = "mediatek,mt6735-apxgpt";
  185. reg = <0x10004000 0x1000>;
  186. interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_LOW>;
  187. clock-frequency = <13000000>;
  188. };
  189. timer {
  190. compatible = "arm,armv8-timer";
  191. interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /*Secure Physical Timer Event*/
  192. <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /*Non-Secure Physical Timer Event*/
  193. <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /*Virtual Timer Event*/
  194. <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /*Hypervisor Timer Event*/
  195. clock-frequency = <13000000>;
  196. };
  197. mt_pmic_regulator {
  198. compatible = "mediatek,mt_pmic";
  199. /*reg = <0x01>*/
  200. buck_regulators {
  201. compatible = "mediatek,mt_pmic_buck_regulators";
  202. mt_pmic_vpa_buck_reg: buck_vpa {
  203. regulator-name = "vpa";
  204. regulator-min-microvolt = <500000>;
  205. regulator-max-microvolt = <3650000>;
  206. regulator-ramp-delay = <50000>;
  207. regulator-enable-ramp-delay = <180>;
  208. };
  209. mt_pmic_vproc_buck_reg: buck_vproc {
  210. regulator-name = "vproc";
  211. regulator-min-microvolt = <600000>;
  212. regulator-max-microvolt = <1393750>;
  213. regulator-ramp-delay = <6250>;
  214. regulator-enable-ramp-delay = <180>;
  215. regulator-always-on;
  216. regulator-boot-on;
  217. };
  218. mt_pmic_vcore1_buck_reg: buck_vcore1 {
  219. regulator-name = "vcore1";
  220. regulator-min-microvolt = <600000>;
  221. regulator-max-microvolt = <1393750>;
  222. regulator-ramp-delay = <6250>;
  223. regulator-enable-ramp-delay = <180>;
  224. regulator-always-on;
  225. regulator-boot-on;
  226. };
  227. mt_pmic_vsys22_buck_reg: buck_vsys22 {
  228. regulator-name = "vsys22";
  229. regulator-min-microvolt = <1200000>;
  230. regulator-max-microvolt = <1993750>;
  231. regulator-ramp-delay = <6250>;
  232. regulator-enable-ramp-delay = <180>;
  233. regulator-always-on;
  234. regulator-boot-on;
  235. };
  236. mt_pmic_vlte_buck_reg: buck_vlte {
  237. regulator-name = "vlte";
  238. regulator-min-microvolt = <600000>;
  239. regulator-max-microvolt = <1393750>;
  240. regulator-ramp-delay = <6250>;
  241. regulator-enable-ramp-delay = <180>;
  242. regulator-always-on;
  243. regulator-boot-on;
  244. };
  245. }; /* End of buck_regulators */
  246. ldo_regulators {
  247. compatible = "mediatek,mt_pmic_ldo_regulators";
  248. mt_pmic_vaux18_ldo_reg: ldo_vaux18 {
  249. regulator-name = "vaux18";
  250. regulator-min-microvolt = <1800000>;
  251. regulator-max-microvolt = <1800000>;
  252. regulator-enable-ramp-delay = <264>;
  253. regulator-boot-on;
  254. };
  255. mt_pmic_vtcxo_0_ldo_reg: ldo_vtcxo_0 {
  256. regulator-name = "vtcxo_0";
  257. regulator-min-microvolt = <2800000>;
  258. regulator-max-microvolt = <2800000>;
  259. regulator-enable-ramp-delay = <110>;
  260. regulator-boot-on;
  261. };
  262. mt_pmic_vtcxo_1_ldo_reg: ldo_vtcxo_1 {
  263. regulator-name = "vtcxo_1";
  264. regulator-min-microvolt = <2800000>;
  265. regulator-max-microvolt = <2800000>;
  266. regulator-enable-ramp-delay = <110>;
  267. };
  268. mt_pmic_vaud28_ldo_reg: ldo_vaud28 {
  269. regulator-name = "vaud28";
  270. regulator-min-microvolt = <2800000>;
  271. regulator-max-microvolt = <2800000>;
  272. regulator-enable-ramp-delay = <264>;
  273. regulator-boot-on;
  274. };
  275. mt_pmic_vcn28_ldo_reg: ldo_vcn28 {
  276. regulator-name = "vcn28";
  277. regulator-min-microvolt = <2800000>;
  278. regulator-max-microvolt = <2800000>;
  279. regulator-enable-ramp-delay = <264>;
  280. };
  281. mt_pmic_vcama_ldo_reg: ldo_vcama {
  282. regulator-name = "vcama";
  283. regulator-min-microvolt = <1500000>;
  284. regulator-max-microvolt = <2800000>;
  285. regulator-enable-ramp-delay = <264>;
  286. };
  287. mt_pmic_vcn33_bt_ldo_reg: ldo_vcn33_bt {
  288. regulator-name = "vcn33_bt";
  289. regulator-min-microvolt = <3300000>;
  290. regulator-max-microvolt = <3600000>;
  291. regulator-enable-ramp-delay = <264>;
  292. };
  293. mt_pmic_vcn33_wifi_ldo_reg: ldo_vcn33_wifi {
  294. regulator-name = "vcn33_wifi";
  295. regulator-min-microvolt = <3300000>;
  296. regulator-max-microvolt = <3600000>;
  297. regulator-enable-ramp-delay = <264>;
  298. };
  299. mt_pmic_vusb33_ldo_reg: ldo_vusb33 {
  300. regulator-name = "vusb33";
  301. regulator-min-microvolt = <3300000>;
  302. regulator-max-microvolt = <3300000>;
  303. regulator-enable-ramp-delay = <264>;
  304. regulator-boot-on;
  305. };
  306. mt_pmic_vefuse_ldo_reg: ldo_vefuse {
  307. regulator-name = "vefuse";
  308. regulator-min-microvolt = <1800000>;
  309. regulator-max-microvolt = <2200000>;
  310. regulator-enable-ramp-delay = <264>;
  311. };
  312. mt_pmic_vsim1_ldo_reg: ldo_vsim1 {
  313. regulator-name = "vsim1";
  314. regulator-min-microvolt = <1700000>;
  315. regulator-max-microvolt = <2100000>;
  316. regulator-enable-ramp-delay = <264>;
  317. };
  318. mt_pmic_vsim2_ldo_reg: ldo_vsim2 {
  319. regulator-name = "vsim2";
  320. regulator-min-microvolt = <1700000>;
  321. regulator-max-microvolt = <2100000>;
  322. regulator-enable-ramp-delay = <264>;
  323. };
  324. mt_pmic_vemc33_ldo_reg: ldo_vemc_3v3 {
  325. regulator-name = "vemc_3v3";
  326. regulator-min-microvolt = <1800000>;
  327. regulator-max-microvolt = <3300000>;
  328. regulator-enable-ramp-delay = <264>;
  329. regulator-boot-on;
  330. };
  331. mt_pmic_vmch_ldo_reg: ldo_vmch {
  332. regulator-name = "vmch";
  333. regulator-min-microvolt = <2900000>;
  334. regulator-max-microvolt = <3300000>;
  335. regulator-enable-ramp-delay = <44>;
  336. regulator-boot-on;
  337. };
  338. mt_pmic_vtref_ldo_reg: ldo_vtref {
  339. regulator-name = "vtref";
  340. regulator-min-microvolt = <1800000>;
  341. regulator-max-microvolt = <1800000>;
  342. regulator-enable-ramp-delay = <240>;
  343. };
  344. mt_pmic_vmc_ldo_reg: ldo_vmc {
  345. regulator-name = "vmc";
  346. regulator-min-microvolt = <1800000>;
  347. regulator-max-microvolt = <3300000>;
  348. regulator-enable-ramp-delay = <44>;
  349. regulator-boot-on;
  350. };
  351. mt_pmic_vcam_af_ldo_reg: ldo_vcamaf {
  352. regulator-name = "vcamaf";
  353. regulator-min-microvolt = <1200000>;
  354. regulator-max-microvolt = <3300000>;
  355. regulator-enable-ramp-delay = <264>;
  356. };
  357. mt_pmic_vio28_ldo_reg: ldo_vio28 {
  358. regulator-name = "vio28";
  359. regulator-min-microvolt = <2800000>;
  360. regulator-max-microvolt = <2800000>;
  361. regulator-enable-ramp-delay = <264>;
  362. regulator-boot-on;
  363. };
  364. mt_pmic_vgp1_ldo_reg: ldo_vgp1 {
  365. regulator-name = "vgp1";
  366. regulator-min-microvolt = <1200000>;
  367. regulator-max-microvolt = <3300000>;
  368. regulator-enable-ramp-delay = <264>;
  369. };
  370. mt_pmic_vibr_ldo_reg: ldo_vibr {
  371. regulator-name = "vibr";
  372. regulator-min-microvolt = <1200000>;
  373. regulator-max-microvolt = <3300000>;
  374. regulator-enable-ramp-delay = <44>;
  375. };
  376. mt_pmic_vcamd_ldo_reg: ldo_vcamd {
  377. regulator-name = "vcamd";
  378. regulator-min-microvolt = <900000>;
  379. regulator-max-microvolt = <1500000>;
  380. regulator-enable-ramp-delay = <264>;
  381. };
  382. mt_pmic_vrf18_0_ldo_reg: ldo_vrf18_0 {
  383. regulator-name = "vrf18_0";
  384. regulator-min-microvolt = <1825000>;
  385. regulator-max-microvolt = <1825000>;
  386. regulator-enable-ramp-delay = <220>;
  387. };
  388. mt_pmic_vrf18_1_ldo_reg: ldo_vrf18_1 {
  389. regulator-name = "vrf18_1";
  390. regulator-min-microvolt = <1200000>;
  391. regulator-max-microvolt = <1825000>;
  392. regulator-enable-ramp-delay = <220>;
  393. };
  394. mt_pmic_vio18_ldo_reg: ldo_vio18 {
  395. regulator-name = "vio18";
  396. regulator-min-microvolt = <1800000>;
  397. regulator-max-microvolt = <1800000>;
  398. regulator-enable-ramp-delay = <264>;
  399. regulator-boot-on;
  400. };
  401. mt_pmic_vcn18_ldo_reg: ldo_vcn18 {
  402. regulator-name = "vcn18";
  403. regulator-min-microvolt = <1800000>;
  404. regulator-max-microvolt = <1800000>;
  405. regulator-enable-ramp-delay = <44>;
  406. };
  407. mt_pmic_vcam_io_ldo_reg: ldo_vcamio {
  408. regulator-name = "vcamio";
  409. regulator-min-microvolt = <1200000>;
  410. regulator-max-microvolt = <1800000>;
  411. regulator-enable-ramp-delay = <220>;
  412. };
  413. mt_pmic_vsram_ldo_reg: ldo_vsram {
  414. regulator-name = "vsram";
  415. regulator-min-microvolt = <700000>;
  416. regulator-max-microvolt = <1493750>;
  417. regulator-enable-ramp-delay = <220>;
  418. regulator-ramp-delay = <6250>;
  419. regulator-boot-on;
  420. };
  421. mt_pmic_vm_ldo_reg: ldo_vm {
  422. regulator-name = "vm";
  423. regulator-min-microvolt = <1240000>;
  424. regulator-max-microvolt = <1540000>;
  425. regulator-enable-ramp-delay = <264>;
  426. regulator-boot-on;
  427. };
  428. };/* End of ldo_regulators */
  429. regulators_supply {
  430. compatible = "mediatek,mt_pmic_regulator_supply";
  431. vaux18-supply = <&mt_pmic_vaux18_ldo_reg>;
  432. vtcxo_0-supply = <&mt_pmic_vtcxo_0_ldo_reg>;
  433. vtcxo_1-supply = <&mt_pmic_vtcxo_1_ldo_reg>;
  434. vaud28-supply = <&mt_pmic_vaud28_ldo_reg>;
  435. vefuse-supply = <&mt_pmic_vefuse_ldo_reg>;
  436. vsim1-supply = <&mt_pmic_vsim1_ldo_reg>;
  437. vsim2-supply = <&mt_pmic_vsim2_ldo_reg>;
  438. vemc_3v3-supply = <&mt_pmic_vemc33_ldo_reg>;
  439. vmch-supply = <&mt_pmic_vmch_ldo_reg>;
  440. vtref-supply = <&mt_pmic_vtref_ldo_reg>;
  441. vmc-supply = <&mt_pmic_vmc_ldo_reg>;
  442. vio28-supply = <&mt_pmic_vio28_ldo_reg>;
  443. vibr-supply = <&mt_pmic_vibr_ldo_reg>;
  444. vrf18_0-supply = <&mt_pmic_vrf18_0_ldo_reg>;
  445. vrf18_1-supply = <&mt_pmic_vrf18_1_ldo_reg>;
  446. vio18-supply = <&mt_pmic_vio18_ldo_reg>;
  447. vsram-supply = <&mt_pmic_vsram_ldo_reg>;
  448. vm-supply = <&mt_pmic_vm_ldo_reg>;
  449. };/* End of regulators_supply */
  450. };/* End of mt_pmic_regulator */
  451. toprgu: toprgu@10212000 {
  452. compatible = "mediatek,mt6735-rgu";
  453. reg = <0x10212000 0x1000>;
  454. interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_FALLING>;
  455. };
  456. mcu_biu: mcu_biu@10300000 {
  457. compatible = "mediatek,mt6735-mcu_biu";
  458. reg = <0x10300000 0x8000>;
  459. };
  460. gpio_usage_mapping:gpio {
  461. compatible = "mediatek,gpio_usage_mapping";
  462. };
  463. gpio: gpio@10211000 {
  464. compatible = "mediatek,gpio";
  465. reg = <0x10211000 0x1000>;
  466. };
  467. dramc_nao: dramc_nao@1020e000 {
  468. compatible = "mediatek,mt6735-dramc_nao";
  469. reg = <0x1020e000 0x1000>;
  470. };
  471. ddrphy: ddrphy@10213000 {
  472. compatible = "mediatek,mt6735-ddrphy";
  473. reg = <0x10213000 0x1000>;
  474. };
  475. dramc: dramc@10214000 {
  476. compatible = "mediatek,mt6735-dramc";
  477. reg = <0x10214000 0x1000>;
  478. /*clocks = <&infrasys INFRA_GCE>;*/
  479. clock-names = "infra-cqdma";
  480. };
  481. keypad: keypad@10003000 {
  482. compatible = "mediatek,mt6735-keypad",
  483. "mediatek,mt6735m-keypad";
  484. reg = <0x10003000 0x1000>;
  485. interrupts = <GIC_SPI 164 IRQ_TYPE_EDGE_FALLING>;
  486. };
  487. apirtx:irtx@11011000 {
  488. compatible = "mediatek,irtx";
  489. reg = <0x11011000 0x1000>;
  490. interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
  491. pwm_ch = <0>;
  492. };
  493. apuart0: apuart0@11002000 {
  494. cell-index = <0>;
  495. compatible = "mediatek,mt6735-uart";
  496. reg = <0x11002000 0x1000>, /* UART base */
  497. <0x11000380 0x1000>, /* DMA Tx base */
  498. <0x11000400 0x80>; /* DMA Rx base */
  499. interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>, /* UART IRQ */
  500. <GIC_SPI 103 IRQ_TYPE_LEVEL_LOW>, /* DMA Tx IRQ */
  501. <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>; /* DMA Rx IRQ */
  502. };
  503. apuart1: apuart1@11003000 {
  504. cell-index = <1>;
  505. compatible = "mediatek,mt6735-uart";
  506. reg = <0x11003000 0x1000>, /* UART base */
  507. <0x11000480 0x80>, /* DMA Tx base */
  508. <0x11000500 0x80>; /* DMA Rx base */
  509. interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>, /* UART IRQ */
  510. <GIC_SPI 105 IRQ_TYPE_LEVEL_LOW>, /* DMA Tx IRQ */
  511. <GIC_SPI 106 IRQ_TYPE_LEVEL_LOW>; /* DMA Rx IRQ */
  512. };
  513. apuart2: apuart2@11004000 {
  514. cell-index = <2>;
  515. compatible = "mediatek,mt6735-uart";
  516. reg = <0x11004000 0x1000>, /* UART base */
  517. <0x11000580 0x80>, /* DMA Tx base */
  518. <0x11000600 0x80>; /* DMA Rx base */
  519. interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>, /* UART IRQ */
  520. <GIC_SPI 107 IRQ_TYPE_LEVEL_LOW>, /* DMA Tx IRQ */
  521. <GIC_SPI 108 IRQ_TYPE_LEVEL_LOW>; /* DMA Rx IRQ */
  522. };
  523. apuart3: apuart3@11005000 {
  524. cell-index = <3>;
  525. compatible = "mediatek,mt6735-uart";
  526. reg = <0x11005000 0x1000>, /* UART base */
  527. <0x11000680 0x80>, /* DMA Tx base */
  528. <0x11000700 0x80>; /* DMA Rx base */
  529. interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_LOW>, /* UART IRQ */
  530. <GIC_SPI 109 IRQ_TYPE_LEVEL_LOW>, /* DMA Tx IRQ */
  531. <GIC_SPI 110 IRQ_TYPE_LEVEL_LOW>; /* DMA Rx IRQ */
  532. };
  533. spi0:spi@1100a000 {
  534. compatible = "mediatek,mt6735m-spi";
  535. cell-index = <0>;
  536. spi-padmacro = <0>;
  537. reg = <0x1100a000 0x1000>;
  538. interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_LOW>;
  539. };
  540. btif_tx:btif_tx@11000780 {
  541. compatible = "mediatek,btif_tx";
  542. reg = <0x11000780 0x80>;
  543. interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_LOW>;
  544. };
  545. btif_rx:btif_rx@11000800 {
  546. compatible = "mediatek,btif_rx";
  547. reg = <0x11000800 0x80>;
  548. interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_LOW>;
  549. };
  550. btif:btif@1100c000 {
  551. compatible = "mediatek,btif";
  552. reg = <0x1100c000 0x1000>;
  553. interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_LOW>;
  554. };/* End of btif */
  555. consys:consys@18070000 {
  556. compatible = "mediatek,mt6735m-consys",
  557. "mediatek,mt6735-consys";
  558. reg = <0x18070000 0x0200>, /*CONN_MCU_CONFIG_BASE */
  559. <0x10212000 0x0100>, /*AP_RGU_BASE */
  560. <0x10000000 0x2000>, /*TOPCKGEN_BASE */
  561. <0x10006000 0x1000>; /*SPM_BASE */
  562. interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_LOW>, /* BGF_EINT */
  563. <GIC_SPI 225 IRQ_TYPE_LEVEL_LOW>; /* WDT_EINT */
  564. vcn18-supply = <&mt_pmic_vcn18_ldo_reg>;
  565. vcn28-supply = <&mt_pmic_vcn28_ldo_reg>;
  566. vcn33_bt-supply = <&mt_pmic_vcn33_bt_ldo_reg>;
  567. vcn33_wifi-supply = <&mt_pmic_vcn33_wifi_ldo_reg>;
  568. };
  569. hacc:hacc@10008000 {
  570. compatible = "mediatek,hacc";
  571. reg = <0x10008000 0x1000>;
  572. interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_LOW>;
  573. };
  574. als: als {
  575. compatible = "mediatek, als-eint";
  576. };
  577. gse_1: gse_1 {
  578. compatible = "mediatek, gse_1-eint";
  579. status = "disabled";
  580. };
  581. ext_buck_oc: ext_buck_oc {
  582. compatible = "mediatek, ext_buck_oc-eint";
  583. status = "disabled";
  584. };
  585. };
  586. bus {
  587. compatible = "simple-bus";
  588. #address-cells = <1>;
  589. #size-cells = <1>;
  590. ranges = <0 0 0 0xffffffff>;
  591. INFRACFG_AO@0x10000000 {
  592. compatible = "mediatek,INFRACFG_AO";
  593. reg = <0x10000000 0x1000>;
  594. };
  595. PWRAP@0x10001000 {
  596. compatible = "mediatek,PWRAP";
  597. reg = <0x10001000 0x1000>;
  598. interrupts = <0 163 0x4>;
  599. };
  600. PERICFG@0x10002000 {
  601. compatible = "mediatek,PERICFG";
  602. reg = <0x10002000 0x1000>;
  603. };
  604. FHCTL@0x10209F00 {
  605. compatible = "mediatek,FHCTL";
  606. reg = <0x10209F00 0x100>;
  607. };
  608. KP@0x10003000 {
  609. compatible = "mediatek,KP";
  610. reg = <0x10003000 0x1000>;
  611. interrupts = <0 164 0x2>;
  612. };
  613. eintc: eintc@10005000 {
  614. compatible = "mediatek,mt-eic";
  615. reg = <0x10005000 0x1000>;
  616. interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
  617. #interrupt-cells = <2>;
  618. interrupt-controller;
  619. mediatek,max_eint_num = <213>;
  620. mediatek,mapping_table_entry = <0>;
  621. };
  622. SLEEP@0x10006000 {
  623. compatible = "mediatek,SLEEP";
  624. reg = <0x10006000 0x1000>;
  625. interrupts = <0 165 0x8>,
  626. <0 166 0x8>,
  627. <0 167 0x8>,
  628. <0 168 0x8>;
  629. };
  630. DEVAPC_AO@10007000 {
  631. compatible = "mediatek,DEVAPC_AO";
  632. reg = <0x10007000 0x1000>;
  633. };
  634. RSVD@0x10009000 {
  635. compatible = "mediatek,RSVD";
  636. reg = <0x10009000 0x1000>;
  637. };
  638. bat_meter: bat_meter {
  639. compatible = "mediatek,bat_meter";
  640. };
  641. bat_notify: bat_notify {
  642. compatible = "mediatek,bat_notify";
  643. };
  644. bat_comm: bat_comm {
  645. compatible = "mediatek,battery";
  646. };
  647. mdcldma:mdcldma@1000A000 {
  648. compatible = "mediatek,mdcldma";
  649. reg = <0x1000A000 0x1000>, /*AP_CLDMA_AO*/
  650. <0x1000B000 0x1000>, /*MD_CLDMA_AO*/
  651. <0x1021A000 0x1000>, /*AP_CLDMA_PDN*/
  652. <0x1021B000 0x1000>, /*MD_CLDMA_PDN*/
  653. <0x1020A000 0x1000>, /*AP_CCIF_BASE*/
  654. <0x1020B000 0x1000>; /*MD_CCIF_BASE*/
  655. interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, /*IRQ_CLDMA*/
  656. <GIC_SPI 140 IRQ_TYPE_LEVEL_LOW>, /*IRQ_CCIF*/
  657. <GIC_SPI 221 IRQ_TYPE_EDGE_FALLING>; /*IRQ_MDWDT*/
  658. mediatek,md_id = <0>;
  659. mediatek,cldma_capability = <2>;
  660. mediatek,md_smem_size = <0x10000>; /* md share memory size */
  661. };
  662. dbgapb_base@1011A000{
  663. compatible = "mediatek,dbgapb_base";
  664. reg = <0x1011A000 0x100>;/* MD debug register */
  665. };
  666. ssw:simswitch@0 {
  667. compatible = "mediatek,sim_switch";
  668. pinctrl-names = "default",
  669. "hot_plug_mode1",
  670. "hot_plug_mode2",
  671. "two_sims_bound_to_md1",
  672. "sim1_md3_sim2_md1";
  673. pinctrl-0 = <&ssw_default>;
  674. pinctrl-1 = <&ssw_hot_plug_mode1>;
  675. pinctrl-2 = <&ssw_hot_plug_mode2>;
  676. pinctrl-3 = <&ssw_two_sims_bound_to_md1>;
  677. pinctrl-4 = <&ssw_sim1_md3_sim2_md1>;
  678. };
  679. DNL3_XGPT64@0x1000C000 {
  680. compatible = "mediatek,DNL3_XGPT64";
  681. reg = <0x1000C000 0x1000>;
  682. interrupts = <0 159 0x8>;
  683. };
  684. MCUCFG@0x10200000 {
  685. compatible = "mediatek,MCUCFG";
  686. reg = <0x10200000 0x200>;
  687. interrupts = <0 0 0x8>;
  688. };
  689. mcucfg: mcucfg@10200000 {
  690. compatible = "mediatek,mt6735-mcucfg";
  691. reg = <0x10200000 0x200>;
  692. interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  693. };
  694. RSVD@0x10200200 {
  695. compatible = "mediatek,RSVD";
  696. reg = <0x10200200 0x200>;
  697. };
  698. MCUSYS_MISCCFG@0x10200400 {
  699. compatible = "mediatek,MCUSYS_MISCCFG";
  700. reg = <0x10200400 0x200>;
  701. };
  702. MCUSYS_MCUCFG@0x10200600 {
  703. compatible = "mediatek,MCUSYS_MCUCFG";
  704. reg = <0x10200600 0xa00>;
  705. };
  706. INFRACFG@0x10201000 {
  707. compatible = "mediatek,INFRACFG";
  708. reg = <0x10201000 0x1000>;
  709. };
  710. SRAMROM@0x10202000 {
  711. compatible = "mediatek,SRAMROM";
  712. reg = <0x10202000 0x1000>;
  713. };
  714. EMI@0x10203000 {
  715. compatible = "mediatek,EMI";
  716. reg = <0x10203000 0x1000>;
  717. interrupts = <0 136 0x4>;
  718. };
  719. sys_cirq: sys_cirq@10204000 {
  720. compatible = "mediatek,mt6735-sys_cirq";
  721. reg = <0x10204000 0x1000>;
  722. interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_LOW>;
  723. mediatek,cirq_num = <159>;
  724. mediatek,spi_start_offset = <72>;
  725. };
  726. m4u@10205000 {
  727. cell-index = <0>;
  728. compatible = "mediatek,m4u";
  729. reg = <0x10205000 0x1000>;
  730. interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_LOW>;
  731. };
  732. EFUSEC@10206000 {
  733. compatible = "mediatek,EFUSEC";
  734. reg = <0x10206000 0x1000>;
  735. };
  736. DEVAPC@10207000 {
  737. compatible = "mediatek,DEVAPC";
  738. reg = <0x10207000 0x1000>;
  739. interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_LOW>;
  740. };
  741. bus_dbg@10208000 {
  742. compatible = "mediatek,bus_dbg-v1";
  743. reg = <0x10208000 0x1000>;
  744. interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_LOW>;
  745. };
  746. APMIXED@0x10209000 {
  747. compatible = "mediatek,APMIXED";
  748. reg = <0x10209000 0x1000>;
  749. };
  750. RSVD@0x1020C000 {
  751. compatible = "mediatek,RSVD";
  752. reg = <0x1020C000 0x1000>;
  753. };
  754. INFRA_MBIST@0x1020D000 {
  755. compatible = "mediatek,INFRA_MBIST";
  756. reg = <0x1020D000 0x1000>;
  757. };
  758. TRNG@0x1020F000 {
  759. compatible = "mediatek,TRNG";
  760. reg = <0x1020F000 0x1000>;
  761. interrupts = <0 141 0x8>;
  762. };
  763. CKSYS@0x10210000 {
  764. compatible = "mediatek,CKSYS";
  765. reg = <0x10210000 0x1000>;
  766. };
  767. MIPI_RX_ANA_CSI0@0x10215800 {
  768. compatible = "mediatek,MIPI_RX_ANA_CSI0";
  769. reg = <0x10215800 0x400>;
  770. };
  771. MIPI_RX_ANA_CSI1@0x10215C00 {
  772. compatible = "mediatek,MIPI_RX_ANA_CSI1";
  773. reg = <0x10215C00 0x400>;
  774. };
  775. gcpu@10216000 {
  776. compatible = "mediatek,gcpu";
  777. reg = <0x10216000 0x1000>;
  778. interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_LOW>;
  779. };
  780. gce@10217000 {
  781. compatible = "mediatek,gce";
  782. reg = <0x10217000 0xc00>;
  783. interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_LOW>,
  784. <GIC_SPI 148 IRQ_TYPE_LEVEL_LOW>;
  785. disp_mutex_reg = <0x14015000 0x1000>;
  786. g3d_config_base = <0x13000000 0 0xffff0000>;
  787. mmsys_config_base = <0x14000000 1 0xffff0000>;
  788. disp_dither_base = <0x14010000 2 0xffff0000>;
  789. mm_na_base = <0x14020000 3 0xffff0000>;
  790. imgsys_base = <0x15000000 4 0xffff0000>;
  791. vdec_gcon_base = <0x16000000 5 0xffff0000>;
  792. venc_gcon_base = <0x17000000 6 0xffff0000>;
  793. conn_peri_base = <0x18000000 7 0xffff0000>;
  794. topckgen_base = <0x10000000 8 0xffff0000>;
  795. kp_base = <0x10010000 9 0xffff0000>;
  796. scp_sram_base = <0x10020000 10 0xffff0000>;
  797. infra_na3_base = <0x10030000 11 0xffff0000>;
  798. infra_na4_base = <0x10040000 12 0xffff0000>;
  799. scp_base = <0x10050000 13 0xffff0000>;
  800. mcucfg_base = <0x10200000 14 0xffff0000>;
  801. gcpu_base = <0x10210000 15 0xffff0000>;
  802. usb0_base = <0x11200000 16 0xffff0000>;
  803. usb_sif_base = <0x11210000 17 0xffff0000>;
  804. audio_base = <0x11220000 18 0xffff0000>;
  805. msdc0_base = <0x11230000 19 0xffff0000>;
  806. msdc1_base = <0x11240000 20 0xffff0000>;
  807. msdc2_base = <0x11250000 21 0xffff0000>;
  808. msdc3_base = <0x11260000 22 0xffff0000>;
  809. pwm_sw_base = <0x1100E000 99 0xfffff000>;
  810. mdp_rdma0_sof = <0>;
  811. mdp_rsz0_sof = <1>;
  812. mdp_rsz1_sof = <2>;
  813. mdp_tdshp_sof = <3>;
  814. mdp_wdma_sof = <4>;
  815. mdp_wrot_sof = <5>;
  816. disp_ovl0_sof = <6>;
  817. disp_rdma0_sof = <8>;
  818. disp_rdma1_sof = <9>;
  819. disp_wdma0_sof = <10>;
  820. disp_ccorr_sof = <11>;
  821. disp_color_sof = <12>;
  822. disp_aal_sof = <13>;
  823. disp_gamma_sof = <14>;
  824. disp_dither_sof = <15>;
  825. disp_pwm0_sof = <17>;
  826. mdp_rdma0_frame_done = <18>;
  827. mdp_rsz0_frame_done = <19>;
  828. mdp_rsz1_frame_done = <20>;
  829. mdp_tdshp_frame_done = <21>;
  830. mdp_wdma_frame_done = <22>;
  831. mdp_wrot_write_frame_done = <23>;
  832. mdp_wrot_read_frame_done = <24>;
  833. disp_ovl0_frame_done = <25>;
  834. disp_rdma0_frame_done = <27>;
  835. disp_rdma1_frame_done = <28>;
  836. disp_wdma0_frame_done = <29>;
  837. disp_ccorr_frame_done = <30>;
  838. disp_color_frame_done = <31>;
  839. disp_aal_frame_done = <32>;
  840. disp_gamma_frame_done = <33>;
  841. disp_dither_frame_done = <34>;
  842. disp_dpi0_frame_done = <36>;
  843. disp_dsi0_frame_done = <37>;
  844. stream_done_0 = <38>;
  845. stream_done_1 = <39>;
  846. stream_done_2 = <40>;
  847. stream_done_3 = <41>;
  848. stream_done_4 = <42>;
  849. stream_done_5 = <43>;
  850. stream_done_6 = <44>;
  851. stream_done_7 = <45>;
  852. stream_done_8 = <46>;
  853. stream_done_9 = <47>;
  854. buf_underrun_event_0 = <48>;
  855. buf_underrun_event_1 = <49>;
  856. dsi0_te_event = <50>;
  857. isp_frame_done_p2_1 = <66>;
  858. isp_frame_done_p2_0 = <67>;
  859. seninf_cam0_fifo_full = <73>;
  860. apxgpt2_count = <0x10004028>;
  861. };
  862. smi_larb0@14016000 {
  863. compatible = "mediatek,smi_larb0";
  864. reg = <0x14016000 0x1000>;
  865. interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_LOW>;
  866. };
  867. smi_larb2@15001000 {
  868. compatible = "mediatek,smi_larb2";
  869. reg = <0x15001000 0x1000>;
  870. interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_LOW>;
  871. };
  872. smi_common@14017000 {
  873. compatible = "mediatek,smi_common";
  874. reg = <0x14017000 0x1000>, /* SMI_COMMON_EXT */
  875. <0x14016000 0x1000>, /* LARB 0 */
  876. <0x16010000 0x1000>, /* LARB 1 */
  877. <0x15001000 0x1000>; /* LARB 2 */
  878. };
  879. smi_larb1@16010000 {
  880. compatible = "mediatek,smi_larb1";
  881. reg = <0x16010000 0x10000>;
  882. interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_LOW>;
  883. };
  884. cqdma@10217c00 {
  885. compatible = "mediatek,cqdma";
  886. reg = <0x10217c00 0x400>;
  887. interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_LOW>;
  888. nr_channel = <1>;
  889. };
  890. AP_CCIF1@0x10218000 {
  891. compatible = "mediatek,AP_CCIF1";
  892. reg = <0x10218000 0x1000>;
  893. interrupts = <0 139 0x4>;
  894. };
  895. MD_CCIF1@0x10219000 {
  896. compatible = "mediatek,MD_CCIF1";
  897. reg = <0x10219000 0x1000>;
  898. };
  899. INFRA_MD@0x1021C000 {
  900. compatible = "mediatek,INFRA_MD";
  901. reg = <0x1021C000 0x1000>;
  902. };
  903. DBGAPB@0x10400000 {
  904. compatible = "mediatek,DBGAPB";
  905. reg = <0x10400000 0xc00000>;
  906. interrupts = <0 132 0x8>;
  907. };
  908. DEBUGTOP_CA7L@0x10800000 {
  909. compatible = "mediatek,DEBUGTOP_CA7L";
  910. reg = <0x10800000 0x400000>;
  911. };
  912. DEBUGTOP_MD1@0x10450000 {
  913. compatible = "mediatek,DEBUGTOP_MD1";
  914. reg = <0x10450000 0x20000>;
  915. };
  916. DEBUGTOP_MD2@0x10470000 {
  917. compatible = "mediatek,DEBUGTOP_MD2";
  918. reg = <0x10470000 0x10000>;
  919. };
  920. CA9@0x10220000 {
  921. compatible = "mediatek,CA9";
  922. reg = <0x10220000 0x8000>;
  923. };
  924. cpu_dbgapb: cpu_dbgapb {
  925. compatible = "mediatek,mt6735-dbg_debug";
  926. num = <4>;
  927. reg = <0x10810000 0x1000
  928. 0x10910000 0x1000
  929. 0x10A10000 0x1000
  930. 0x10B10000 0x1000>;
  931. };
  932. ap_dma:dma@11000000 {
  933. compatible = "mediatek,ap_dma";
  934. reg = <0x11000000 0x1000>;
  935. interrupts = <0 97 0x8>;
  936. };
  937. AP_DMA_IRDA@0x11000100 {
  938. compatible = "mediatek,AP_DMA_IRDA";
  939. reg = <0x11000100 0x80>;
  940. interrupts = <0 98 0x8>;
  941. };
  942. auxadc: adc_hw@11001000 {
  943. compatible = "mediatek,mt6735-auxadc";
  944. reg = <0x11001000 0x1000>;
  945. interrupts = <GIC_SPI 76 IRQ_TYPE_EDGE_FALLING>;
  946. };
  947. PWM@0x11006000 {
  948. compatible = "mediatek,PWM";
  949. reg = <0x11006000 0x1000>;
  950. interrupts = <0 77 0x8>;
  951. };
  952. syscfg_pctl_a: syscfg_pctl_a@0x10211000 {
  953. compatible = "mediatek,mt6735-pctl-a-syscfg", "syscon";
  954. reg = <0x10211000 0x1000>;
  955. };
  956. pio: pinctrl@0x10211000 {
  957. compatible = "mediatek,mt6735-pinctrl";
  958. reg = <0x10211000 0x1000>;
  959. mediatek,pctl-regmap = <&syscfg_pctl_a>;
  960. pins-are-numbered;
  961. gpio-controller;
  962. #gpio-cells = <2>;
  963. };
  964. i2c0:i2c@11007000 {
  965. compatible = "mediatek,mt6735m-i2c";
  966. cell-index = <0>;
  967. reg = <0x11007000 0x1000>;
  968. interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>,
  969. <GIC_SPI 99 IRQ_TYPE_LEVEL_LOW>;
  970. def_speed = <100>;
  971. };
  972. i2c1:i2c@11008000 {
  973. compatible = "mediatek,mt6735m-i2c";
  974. cell-index = <1>;
  975. reg = <0x11008000 0x1000>;
  976. interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>,
  977. <GIC_SPI 100 IRQ_TYPE_LEVEL_LOW>;
  978. def_speed = <100>;
  979. };
  980. i2c2:i2c@11009000 {
  981. compatible = "mediatek,mt6735m-i2c";
  982. cell-index = <2>;
  983. reg = <0x11009000 0x1000>;
  984. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>,
  985. <GIC_SPI 101 IRQ_TYPE_LEVEL_LOW>;
  986. def_speed = <100>;
  987. };
  988. i2c3:i2c@1100f000 {
  989. compatible = "mediatek,mt6735m-i2c";
  990. cell-index = <3>;
  991. reg = <0x1100f000 0x1000>;
  992. interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>,
  993. <GIC_SPI 102 IRQ_TYPE_LEVEL_LOW>;
  994. def_speed = <100>;
  995. };
  996. G3D_CONFIG@0x13000000 {
  997. compatible = "mediatek,G3D_CONFIG";
  998. reg = <0x13000000 0x1000>;
  999. };
  1000. IMGSYS@0x15000000 {
  1001. compatible = "mediatek,IMGSYS";
  1002. reg = <0x15000000 0x1000>;
  1003. };
  1004. SPI1@0x1100A000 {
  1005. cell-index = <0>;
  1006. spi-padmacro = <0>;
  1007. compatible = "mediatek,SPI1";
  1008. reg = <0x1100A000 0x1000>;
  1009. interrupts = <0 118 0x8>;
  1010. };
  1011. touch: touch@ {
  1012. compatible = "mediatek,mt6735-touch",
  1013. "mediatek,mt6735m-touch";
  1014. vtouch-supply = <&mt_pmic_vgp1_ldo_reg>;
  1015. };
  1016. accdet: accdet@ {
  1017. compatible = "mediatek,mt6735-accdet",
  1018. "mediatek,mt6735m-accdet";
  1019. };
  1020. THERM_CTRL@0x1100B000 {
  1021. compatible = "mediatek,THERM_CTRL";
  1022. reg = <0x1100B000 0x1000>;
  1023. interrupts = <0 78 0x8>;
  1024. };
  1025. ptp_fsm@1100b000 {
  1026. compatible = "mediatek,ptp_fsm_v1";
  1027. reg = <0x1100b000 0x1000>;
  1028. interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_LOW>;
  1029. };
  1030. AP_DMA_BTIF_TX@0x11000780 {
  1031. compatible = "mediatek,AP_DMA_BTIF_TX";
  1032. reg = <0x11000780 0x80>;
  1033. interrupts = <0 111 0x8>;
  1034. };
  1035. AP_DMA_BTIF_RX@0x11000800 {
  1036. compatible = "mediatek,AP_DMA_BTIF_RX";
  1037. reg = <0x11000800 0x80>;
  1038. interrupts = <0 112 0x8>;
  1039. };
  1040. BTIF@0x1100C000 {
  1041. compatible = "mediatek,BTIF";
  1042. reg = <0x1100C000 0x1000>;
  1043. interrupts = <0 90 0x8>;
  1044. };
  1045. /* NFC start */
  1046. nfc:nfc@0 {
  1047. compatible = "mediatek,nfc-gpio-v2";
  1048. gpio-ven = <4>;
  1049. gpio-rst = <3>;
  1050. gpio-eint = <1>;
  1051. gpio-irq = <2>;
  1052. };
  1053. /* NFC end */
  1054. gps {
  1055. compatible = "mediatek,mt3326-gps";
  1056. };
  1057. btcvsd@10000000 {
  1058. compatible = "mediatek,audio_bt_cvsd";
  1059. /*INFRA MISC, conn_bt_cvsd_mask, cvsd_mcu_read, write, packet_indicator*/
  1060. offset = <0x700 0x800 0xfd0 0xfd4 0xfd8>;
  1061. reg = <0x10000000 0x1000>, /*AUDIO_INFRA_BASE_PHYSICAL*/
  1062. <0x18000000 0x10000>, /*PKV_PHYSICAL_BASE*/
  1063. <0x18080000 0x8000>; /*SRAM_BANK2*/
  1064. interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_LOW>;
  1065. };
  1066. wifi@180F0000 {
  1067. compatible = "mediatek,wifi";
  1068. reg = <0x180F0000 0x005c>;
  1069. interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_LOW>;
  1070. };
  1071. NFI@0x1100D000 {
  1072. compatible = "mediatek,NFI";
  1073. reg = <0x1100D000 0x1000>;
  1074. interrupts = <0 96 0x8>;
  1075. };
  1076. DISP_PWM0@0x1100E000 {
  1077. compatible = "mediatek,DISP_PWM0";
  1078. reg = <0x1100E000 0x1000>;
  1079. };
  1080. IRDA@0x11010000 {
  1081. compatible = "mediatek,IRDA";
  1082. reg = <0x11010000 0x1000>;
  1083. };
  1084. usb0:usb20@11200000 {
  1085. compatible = "mediatek,mt6735-usb20";
  1086. cell-index = <0>;
  1087. reg = <0x11200000 0x10000>,
  1088. <0x11210000 0x10000>;
  1089. interrupts = <0 72 0x8>;
  1090. mode = <2>;
  1091. multipoint = <1>;
  1092. dyn_fifo = <1>;
  1093. soft_con = <1>;
  1094. dma = <1>;
  1095. num_eps = <16>;
  1096. dma_channels = <8>;
  1097. drvvbus_gpio = <83 2>;
  1098. };
  1099. audio@11220000 {
  1100. compatible = "mediatek,audio";
  1101. reg = <0x11220000 0x10000>;
  1102. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
  1103. };
  1104. mt_soc_dl1_pcm@11220000 {
  1105. compatible = "mediatek,mt-soc-dl1-pcm";
  1106. reg = <0x11220000 0x1000>;
  1107. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
  1108. audclk-gpio = <143 0>;
  1109. audmiso-gpio = <144 0>;
  1110. audmosi-gpio = <145 0>;
  1111. vowclk-gpio = <148 0>;
  1112. extspkamp-gpio = <117 0>;
  1113. i2s1clk-gpio = <80 0>;
  1114. i2s1dat-gpio = <78 0>;
  1115. i2s1mclk-gpio = <9 0>;
  1116. i2s1ws-gpio = <79 0>;
  1117. };
  1118. mt_soc_ul1_pcm@11220000 {
  1119. compatible = "mediatek,mt_soc_pcm_capture";
  1120. };
  1121. mt_soc_voice_md1@11220000 {
  1122. compatible = "mediatek,mt_soc_pcm_voice_md1";
  1123. };
  1124. mt_soc_hdmi_pcm@11220000 {
  1125. compatible = "mediatek,mt_soc_pcm_hdmi";
  1126. };
  1127. mt_soc_uldlloopback_pcm@11220000 {
  1128. compatible = "mediatek,mt_soc_pcm_uldlloopback";
  1129. };
  1130. mt_soc_i2s0_pcm@11220000 {
  1131. compatible = "mediatek,mt_soc_pcm_dl1_i2s0";
  1132. };
  1133. mt_soc_mrgrx_pcm@11220000 {
  1134. compatible = "mediatek,mt_soc_pcm_mrgrx";
  1135. };
  1136. mt_soc_mrgrx_awb_pcm@11220000 {
  1137. compatible = "mediatek,mt_soc_pcm_mrgrx_awb";
  1138. };
  1139. mt_soc_fm_i2s_pcm@11220000 {
  1140. compatible = "mediatek,mt_soc_pcm_fm_i2s";
  1141. };
  1142. mt_soc_fm_i2s_awb_pcm@11220000 {
  1143. compatible = "mediatek,mt_soc_pcm_fm_i2s_awb";
  1144. };
  1145. mt_soc_i2s0dl1_pcm@11220000 {
  1146. compatible = "mediatek,mt_soc_pcm_dl1_i2s0Dl1";
  1147. };
  1148. mt_soc_dl1_awb_pcm@11220000 {
  1149. compatible = "mediatek,mt_soc_pcm_dl1_awb";
  1150. };
  1151. mt_soc_voice_md1_bt@11220000 {
  1152. compatible = "mediatek,mt_soc_pcm_voice_md1_bt";
  1153. };
  1154. mt_soc_voip_bt_out@11220000 {
  1155. compatible = "mediatek,mt_soc_pcm_dl1_bt";
  1156. };
  1157. mt_soc_voip_bt_in@11220000 {
  1158. compatible = "mediatek,mt_soc_pcm_bt_dai";
  1159. };
  1160. mt_soc_tdmrx_pcm@11220000 {
  1161. compatible = "mediatek,mt_soc_tdm_capture";
  1162. };
  1163. mt_soc_fm_mrgtx_pcm@11220000 {
  1164. compatible = "mediatek,mt_soc_pcm_fmtx";
  1165. };
  1166. mt_soc_ul2_pcm@11220000 {
  1167. compatible = "mediatek,mt_soc_pcm_capture2";
  1168. };
  1169. mt_soc_i2s0_awb_pcm@11220000 {
  1170. compatible = "mediatek,mt_soc_pcm_i2s0_awb";
  1171. };
  1172. mt_soc_voice_md2@11220000 {
  1173. compatible = "mediatek,mt_soc_pcm_voice_md2";
  1174. };
  1175. mt_soc_routing_pcm@11220000 {
  1176. compatible = "mediatek,mt_soc_pcm_routing";
  1177. i2s1clk-gpio = <7 6>;
  1178. i2s1dat-gpio = <5 6>;
  1179. i2s1mclk-gpio = <9 6>;
  1180. i2s1ws-gpio = <6 6>;
  1181. };
  1182. mt_soc_voice_md2_bt@11220000 {
  1183. compatible = "mediatek,mt_soc_pcm_voice_md2_bt";
  1184. };
  1185. mt_soc_hp_impedance_pcm@11220000 {
  1186. compatible = "mediatek,Mt_soc_pcm_hp_impedance";
  1187. };
  1188. mt_soc_codec_name@11220000 {
  1189. compatible = "mediatek,mt_soc_codec_63xx";
  1190. };
  1191. mt_soc_dummy_pcm@11220000 {
  1192. compatible = "mediatek,mt_soc_pcm_dummy";
  1193. };
  1194. mt_soc_codec_dummy_name@11220000 {
  1195. compatible = "mediatek,mt_soc_codec_dummy";
  1196. };
  1197. mt_soc_routing_dai_name@11220000 {
  1198. compatible = "mediatek,mt_soc_dai_routing";
  1199. };
  1200. mt_soc_dai_name@11220000 {
  1201. compatible = "mediatek,mt_soc_dai_stub";
  1202. };
  1203. mt_soc_offload_gdma@11220000 {
  1204. compatible = "mediatek,mt_soc_pcm_offload_gdma";
  1205. };
  1206. mt_soc_dl2_pcm@11220000 {
  1207. compatible = "mediatek,mt_soc_pcm_dl2";
  1208. };
  1209. USB1@0x11260000 {
  1210. compatible = "mediatek,USB1";
  1211. reg = <0x11260000 0x10000>;
  1212. interrupts = <0 73 0x8>;
  1213. };
  1214. MSDC3@0x11260000 {
  1215. compatible = "mediatek,MSDC3";
  1216. reg = <0x11260000 0x10000>;
  1217. };
  1218. WCN_AHB@0x11270000 {
  1219. compatible = "mediatek,WCN_AHB";
  1220. reg = <0x11270000 0x10000>;
  1221. interrupts = <0 228 0x8>;
  1222. };
  1223. MDPERIPHERALS@0x20000000 {
  1224. compatible = "mediatek,MD PERIPHERALS";
  1225. reg = <0x20000000 0x0>;
  1226. };
  1227. MD2PERIPHERALS@0x30000000 {
  1228. compatible = "mediatek,MD2 PERIPHERALS";
  1229. reg = <0x30000000 0x0>;
  1230. };
  1231. C2KPERIPHERALS@0x38000000 {
  1232. compatible = "mediatek,C2K PERIPHERALS";
  1233. reg = <0x38000000 0x0>;
  1234. };
  1235. MFGCFG@0x13000000 {
  1236. compatible = "mediatek,MFGCFG";
  1237. reg = <0x13000000 0x1000>;
  1238. interrupts = <0 210 0x8>;
  1239. };
  1240. MALI@0x13040000 {
  1241. compatible = "arm,malit720", "arm,mali-t72x", "arm,malit7xx", "arm,mali-midgard";
  1242. reg = <0x13040000 0x4000>;
  1243. interrupts = <0 212 0x8>, <0 211 0x8>, <0 210 0x8>;
  1244. interrupt-names = "JOB", "MMU", "GPU";
  1245. clock-frequency = <450000000>;
  1246. };
  1247. mmsys_config@14000000 {
  1248. compatible = "mediatek,mmsys_config";
  1249. reg = <0x14000000 0x1000>;
  1250. interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_LOW>;
  1251. };
  1252. mdp_rdma@14001000 {
  1253. compatible = "mediatek,mdp_rdma";
  1254. reg = <0x14001000 0x1000>;
  1255. interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_LOW>;
  1256. };
  1257. mdp_rsz0@14002000 {
  1258. compatible = "mediatek,mdp_rsz0";
  1259. reg = <0x14002000 0x1000>;
  1260. interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_LOW>;
  1261. };
  1262. mdp_rsz1@14003000 {
  1263. compatible = "mediatek,mdp_rsz1";
  1264. reg = <0x14003000 0x1000>;
  1265. interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_LOW>;
  1266. };
  1267. mdp_wdma@14004000 {
  1268. compatible = "mediatek,mdp_wdma";
  1269. reg = <0x14004000 0x1000>;
  1270. interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_LOW>;
  1271. };
  1272. mdp_wrot@14005000 {
  1273. compatible = "mediatek,mdp_wrot";
  1274. reg = <0x14005000 0x1000>;
  1275. interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_LOW>;
  1276. };
  1277. mdp_tdshp@14006000 {
  1278. compatible = "mediatek,mdp_tdshp";
  1279. reg = <0x14006000 0x1000>;
  1280. interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_LOW>;
  1281. };
  1282. DISPSYS@0x14007000 {
  1283. compatible = "mediatek,DISPSYS";
  1284. reg = <0x14007000 0x1000>, /*DISP_OVL0 */
  1285. <0 0>, /*DISP_OVL1 */
  1286. <0x14009000 0x1000>, /*DISP_RDMA0 */
  1287. <0 0>, /*DISP_RDMA1 */
  1288. <0x1400B000 0x1000>, /*DISP_WDMA0 */
  1289. <0x1400C000 0x1000>, /*DISP_COLOR */
  1290. <0x1400D000 0x1000>, /*DISP_CCORR */
  1291. <0x1400E000 0x1000>, /*DISP_AAL */
  1292. <0x1400F000 0x1000>, /*DISP_GAMMA */
  1293. <0x14010000 0x1000>, /*DISP_DITHER */
  1294. <0 0>, /*DISP_UFOE */
  1295. <0x1100E000 0x1000>, /*DISP_PWM */
  1296. <0 0>, /*DISP_WDMA1 */
  1297. <0x14015000 0x1000>, /*DISP_MUTEX */
  1298. <0x14012000 0x1000>, /*DISP_DSI0 */
  1299. <0x14013000 0x1000>, /*DISP_DPI0 */
  1300. <0x14000000 0x1000>, /*DISP_CONFIG */
  1301. <0x14016000 0x1000>, /*DISP_SMI_LARB0 */
  1302. <0x14017000 0x1000>, /*DISP_SMI_COMMOM*/
  1303. <0x14018000 0x1000>, /*MIPITX0,real chip would use this:<0x14017000 0x1000>;*/
  1304. <0x10206000 0x1000>, /*DISP_CONFIG2*/
  1305. <0x10210000 0x1000>, /*DISP_CONFIG3*/
  1306. <0x10211A70 0x000C>, /*DISP_DPI_IO_DRIVING1 */
  1307. <0x10211974 0x000C>, /*DISP_DPI_IO_DRIVING2 */
  1308. <0x10211B70 0x000C>, /*DISP_DPI_IO_DRIVING3 */
  1309. <0x10206044 0x000C>, /*DISP_DPI_USE */
  1310. <0x10206514 0x000C>, /*DISP_DPI_USE_PERMISSION */
  1311. <0x10206558 0x000C>, /*DISP_DPI_USE_KEY */
  1312. <0x102100A0 0x1000>, /*DISP_TVDPLL_CFG6 */
  1313. <0x10209260 0x1000>, /*DISP_TVDPLL_CON0 */
  1314. <0x10209264 0x1000>, /*DISP_TVDPLL_CON1 */
  1315. <0 0>, /*DISP_OD */
  1316. <0x10209000 0x1000>; /*DISP_VENCPLL */
  1317. interrupts = <0 193 8>, /*DISP_OVL0 */
  1318. <0 0 8>, /*DISP_OVL1 */
  1319. <0 195 8>, /*DISP_RDMA0 */
  1320. <0 0 8>, /*DISP_RDMA1 */
  1321. <0 197 8>, /*DISP_WDMA0 */
  1322. <0 198 8>, /*DISP_COLOR */
  1323. <0 199 8>, /*DISP_CCORR */
  1324. <0 200 8>, /*DISP_AAL */
  1325. <0 201 8>, /*DISP_GAMMA */
  1326. <0 202 8>, /*DISP_DITHER */
  1327. <0 0 8>, /*DISP_UFOE */
  1328. <0 117 8>, /*DISP_PWM */
  1329. <0 0 8>, /*DISP_WDMA1 */
  1330. <0 186 8>, /*DISP_MUTEX */
  1331. <0 204 8>, /*DISP_DSI0 */
  1332. <0 205 8>, /*DISP_DPI0 */
  1333. <0 206 8>, /*DISP_CONFIG, 0 means no IRQ*/
  1334. <0 176 8>, /*DISP_SMI_LARB0 */
  1335. <0 0 8>, /*DISP_SMI_COMMOM*/
  1336. <0 0 8>, /*MIPITX0,real chip would use this:<0x14017000 0x1000>;*/
  1337. <0 0 8>, /*DISP_CONFIG2*/
  1338. <0 0 8>, /*DISP_CONFIG3*/
  1339. <0 0 8>, /*DISP_DPI_IO_DRIVING */
  1340. <0 0 8>, /*DISP_TVDPLL_CFG6 */
  1341. <0 0 8>, /*DISP_TVDPLL_CON0 */
  1342. <0 0 8>, /*DISP_TVDPLL_CON1 */
  1343. <0 0 8>, /*DISP_OD */
  1344. <0 0 8>; /*DISP_VENCPLL */
  1345. };
  1346. DISP_OVL0@0x14007000 {
  1347. compatible = "mediatek,DISP_OVL0";
  1348. reg = <0x14007000 0x1000>;
  1349. interrupts = <0 193 0x8>;
  1350. };
  1351. DISP_OVL1@0x14008000 {
  1352. compatible = "mediatek,DISP_OVL1";
  1353. reg = <0x14008000 0x1000>;
  1354. interrupts = <0 194 0x8>;
  1355. };
  1356. DISP_RDMA0@0x14009000 {
  1357. compatible = "mediatek,DISP_RDMA0";
  1358. reg = <0x14009000 0x1000>;
  1359. interrupts = <0 195 0x8>;
  1360. };
  1361. DISP_RDMA1@0x1400A000 {
  1362. compatible = "mediatek,DISP_RDMA1";
  1363. reg = <0x1400A000 0x1000>;
  1364. interrupts = <0 196 0x8>;
  1365. };
  1366. gpio@0x10000e00 {
  1367. compatible = "mediatek,fpga_gpio";
  1368. reg = <0x10000e00 0x100>;
  1369. };
  1370. DISP_WDMA0@0x1400B000 {
  1371. compatible = "mediatek,DISP_WDMA0";
  1372. reg = <0x1400B000 0x1000>;
  1373. interrupts = <0 197 0x8>;
  1374. };
  1375. DISP_COLOR@0x1400C000 {
  1376. compatible = "mediatek,DISP_COLOR";
  1377. reg = <0x1400C000 0x1000>;
  1378. interrupts = <0 198 0x8>;
  1379. };
  1380. DISP_CCORR@0x1400D000 {
  1381. compatible = "mediatek,DISP_CCORR";
  1382. reg = <0x1400D000 0x1000>;
  1383. interrupts = <0 199 0x8>;
  1384. };
  1385. DISP_AAL@0x1400E000 {
  1386. compatible = "mediatek,DISP_AAL";
  1387. reg = <0x1400E000 0x1000>;
  1388. interrupts = <0 200 0x8>;
  1389. };
  1390. DISP_GAMMA@0x1400F000 {
  1391. compatible = "mediatek,DISP_GAMMA";
  1392. reg = <0x1400F000 0x1000>;
  1393. interrupts = <0 201 0x8>;
  1394. };
  1395. DISP_DITHER@0x14010000 {
  1396. compatible = "mediatek,DISP_DITHER";
  1397. reg = <0x14010000 0x1000>;
  1398. interrupts = <0 202 0x8>;
  1399. };
  1400. DISP_UFOE@0x14011000 {
  1401. compatible = "mediatek,DISP_UFOE";
  1402. reg = <0x14011000 0x1000>;
  1403. interrupts = <0 203 0x8>;
  1404. };
  1405. DSI0@0x14012000 {
  1406. compatible = "mediatek,DSI0";
  1407. reg = <0x14012000 0x1000>;
  1408. interrupts = <0 204 0x8>;
  1409. };
  1410. DPI0@0x14013000 {
  1411. compatible = "mediatek,DPI0";
  1412. reg = <0x14013000 0x1000>;
  1413. interrupts = <0 205 0x8>;
  1414. };
  1415. DISP_PWM@0x14014000 {
  1416. compatible = "mediatek,DISP_PWM";
  1417. reg = <0x14014000 0x1000>;
  1418. };
  1419. MM_MUTEX@0x14015000 {
  1420. compatible = "mediatek,MM_MUTEX";
  1421. reg = <0x14015000 0x1000>;
  1422. interrupts = <0 186 0x8>;
  1423. };
  1424. met_smi: met_smi@14017000 {
  1425. compatible = "mediatek,met_smi";
  1426. reg = <0x14017000 0x1000>, /* SMI_COMMON_EXT */
  1427. <0x14016000 0x1000>, /* LARB 0 */
  1428. <0x16010000 0x1000>, /* LARB 1 */
  1429. <0x15001000 0x1000>, /* LARB 2 */
  1430. <0x17001000 0x1000>; /* LARB 3 */
  1431. /*
  1432. clocks = <&mmsys MM_DISP0_SMI_COMMON>,
  1433. <&mmsys MM_DISP0_SMI_LARB0>,
  1434. <&imgsys IMG_IMAGE_LARB2_SMI>,
  1435. <&vdecsys VDEC0_VDEC>,
  1436. <&vdecsys VDEC1_LARB>,
  1437. <&vencsys VENC_LARB>,
  1438. <&vencsys VENC_VENC>;
  1439. clock-names = "smi-common",
  1440. "smi-larb0",
  1441. "img-larb2",
  1442. "vdec0-vdec",
  1443. "vdec1-larb",
  1444. "venc-larb",
  1445. "venc-venc";
  1446. */
  1447. };
  1448. MIPI_TX_CONFIG@0x14018000 {
  1449. compatible = "mediatek,MIPI_TX_CONFIG";
  1450. reg = <0x14018000 0x1000>;
  1451. };
  1452. ISPSYS@0x15000000 {
  1453. compatible = "mediatek,ISPSYS";
  1454. reg = <0x15004000 0x9000>, /*ISP_ADDR */
  1455. <0x15000000 0x10000>, /*IMGSYS_CONFIG_ADDR */
  1456. <0x10215000 0x1000>; /*MIPI_ANA_ADDR */
  1457. interrupts = <0 182 0x8>, /* SENINF */
  1458. <0 183 0x8>; /* CAM0 */
  1459. };
  1460. kd_camera_hw1:kd_camera_hw1@15008000 {
  1461. compatible = "mediatek,camera_hw";
  1462. reg = <0x15008000 0x1000>; /* SENINF_ADDR */
  1463. vcama-supply = <&mt_pmic_vcama_ldo_reg>;
  1464. vcamd-supply = <&mt_pmic_vcamd_ldo_reg>;
  1465. vcamaf-supply = <&mt_pmic_vcam_af_ldo_reg>;
  1466. vcamio-supply = <&mt_pmic_vcam_io_ldo_reg>;
  1467. };
  1468. kd_camera_hw2:kd_camera_hw2@15008000 {
  1469. compatible = "mediatek,camera_hw2";
  1470. reg = <0x15008000 0x1000>; /* SENINF_ADDR */
  1471. };
  1472. /*for sysram dev and pipemgr dev*/
  1473. ISP_SYSR@0x15000000 {
  1474. compatible = "mediatek,ISP_SYSR";
  1475. };
  1476. ISP_PIPEM@0x15000000 {
  1477. compatible = "mediatek,ISP_PIPEM";
  1478. };
  1479. SENINF_TOP@0x15008000 {
  1480. compatible = "mediatek,SENINF_TOP";
  1481. reg = <0x15008000 0x1000>;
  1482. interrupts = <0 182 0x8>;
  1483. };
  1484. CAM@0x15004000 {
  1485. compatible = "mediatek,CAM";
  1486. reg = <0x15004000 0x1000>;
  1487. interrupts = <0 183 0x8>;
  1488. };
  1489. VENC@0x15009000 {
  1490. compatible = "mediatek,VENC";
  1491. reg = <0x15009000 0x1000>;
  1492. interrupts = <0 180 0x8>;
  1493. };
  1494. VDEC@0x1500B000 {
  1495. compatible = "mediatek,VDEC";
  1496. reg = <0x1500B000 0x1000>;
  1497. };
  1498. JPGENC@0x1500A000 {
  1499. compatible = "mediatek,JPGENC";
  1500. reg = <0x1500A000 0x1000>;
  1501. interrupts = <0 181 0x8>;
  1502. };
  1503. VDEC_GCON@0x16000000 {
  1504. compatible = "mediatek,VDEC_GCON";
  1505. reg = <0x16000000 0x1000>;
  1506. };
  1507. VDEC_FULL_TOP@0x16020000 {
  1508. compatible = "mediatek,VDEC_FULL_TOP";
  1509. reg = <0x16020000 0x10000>;
  1510. interrupts = <0 179 0x8>;
  1511. };
  1512. CHIPID@08000000 {
  1513. compatible = "mediatek,CHIPID";
  1514. reg = <0x08000000 0x0004>,
  1515. <0x08000004 0x0004>,
  1516. <0x08000008 0x0004>,
  1517. <0x0800000C 0x0004>;
  1518. };
  1519. pwm:pwm@11006000 {
  1520. compatible = "mediatek,pwm";
  1521. reg = <0x11006000 0x1000>;
  1522. interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>;
  1523. };
  1524. };
  1525. lcm: lcm {
  1526. compatible = "mediatek,lcm";
  1527. };
  1528. /* sensor part */
  1529. hwmsensor@0 {
  1530. compatible = "mediatek,hwmsensor";
  1531. };
  1532. gsensor@0 {
  1533. compatible = "mediatek,gsensor";
  1534. };
  1535. alsps:als_ps@0 {
  1536. compatible = "mediatek,als_ps";
  1537. };
  1538. m_acc_pl@0 {
  1539. compatible = "mediatek,m_acc_pl";
  1540. };
  1541. m_alsps_pl@0 {
  1542. compatible = "mediatek,m_alsps_pl";
  1543. };
  1544. m_batch_pl@0 {
  1545. compatible = "mediatek,m_batch_pl";
  1546. };
  1547. batchsensor@0 {
  1548. compatible = "mediatek,batchsensor";
  1549. };
  1550. gyro:gyroscope@0 {
  1551. compatible = "mediatek,gyroscope";
  1552. };
  1553. m_gyro_pl@0 {
  1554. compatible = "mediatek,m_gyro_pl";
  1555. };
  1556. barometer@0 {
  1557. compatible = "mediatek,barometer";
  1558. };
  1559. m_baro_pl@0 {
  1560. compatible = "mediatek,m_baro_pl";
  1561. };
  1562. msensor@0 {
  1563. compatible = "mediatek,msensor";
  1564. };
  1565. m_mag_pl@0 {
  1566. compatible = "mediatek,m_mag_pl";
  1567. };
  1568. orientation@0 {
  1569. compatible = "mediatek,orientation";
  1570. };
  1571. /* sensor end */
  1572. MOBICORE {
  1573. compatible = "trustonic,mobicore";
  1574. interrupts = <GIC_SPI 248 IRQ_TYPE_EDGE_RISING>;
  1575. };
  1576. rf_clock_buffer_ctrl:rf_clock_buffer {
  1577. compatible = "mediatek,rf_clock_buffer";
  1578. mediatek,clkbuf-quantity = <4>;
  1579. mediatek,clkbuf-config = <2 1 1 1>;
  1580. };
  1581. };
  1582. #include <cust.dtsi>
  1583. &eintc {
  1584. pmic@206 {
  1585. compatible = "mediatek, pmic-eint";
  1586. interrupt-parent = <&eintc>;
  1587. interrupts = <206 4>;
  1588. debounce = <206 1000>;
  1589. };
  1590. };
  1591. &pio {
  1592. ssw_default:ssw0default {
  1593. };
  1594. ssw_hot_plug_mode1:ssw@1 {
  1595. pins_cmd0_dat {
  1596. pins = <PINMUX_GPIO8__FUNC_MD_EINT1>;
  1597. };
  1598. pins_cmd1_dat {
  1599. pins = <PINMUX_GPIO9__FUNC_MD_EINT2>;
  1600. };
  1601. };
  1602. ssw_hot_plug_mode2:ssw@2 {
  1603. pins_cmd0_dat {
  1604. pins = <PINMUX_GPIO8__FUNC_C2K_UIM0_HOT_PLUG_IN>;
  1605. };
  1606. pins_cmd1_dat {
  1607. pins = <PINMUX_GPIO9__FUNC_MD_EINT2>;
  1608. };
  1609. };
  1610. ssw_two_sims_bound_to_md1:ssw@3 {
  1611. pins_cmd0_dat {
  1612. pins = <PINMUX_GPIO163__FUNC_MD_SIM1_SCLK>;
  1613. slew-rate = <1>;
  1614. };
  1615. pins_cmd1_dat {
  1616. pins = <PINMUX_GPIO164__FUNC_MD_SIM1_SRST>;
  1617. slew-rate = <1>;
  1618. };
  1619. pins_cmd2_dat {
  1620. pins = <PINMUX_GPIO165__FUNC_MD_SIM1_SDAT>;
  1621. slew-rate = <0>;
  1622. bias-pull-up = <00>;
  1623. };
  1624. pins_cmd3_dat {
  1625. pins = <PINMUX_GPIO160__FUNC_MD_SIM2_SCLK>;
  1626. slew-rate = <1>;
  1627. };
  1628. pins_cmd4_dat {
  1629. pins = <PINMUX_GPIO161__FUNC_MD_SIM2_SRST>;
  1630. slew-rate = <1>;
  1631. };
  1632. pins_cmd5_dat {
  1633. pins = <PINMUX_GPIO162__FUNC_MD_SIM2_SDAT>;
  1634. slew-rate = <0>;
  1635. bias-pull-up = <00>;
  1636. };
  1637. };
  1638. ssw_sim1_md3_sim2_md1:ssw@4 {
  1639. pins_cmd0_dat {
  1640. pins = <PINMUX_GPIO163__FUNC_UIM0_CLK>;
  1641. };
  1642. pins_cmd1_dat {
  1643. pins = <PINMUX_GPIO164__FUNC_UIM0_RST>;
  1644. };
  1645. pins_cmd2_dat {
  1646. pins = <PINMUX_GPIO165__FUNC_UIM0_IO>;
  1647. };
  1648. pins_cmd3_dat {
  1649. pins = <PINMUX_GPIO160__FUNC_MD_SIM2_SCLK>;
  1650. };
  1651. pins_cmd4_dat {
  1652. pins = <PINMUX_GPIO161__FUNC_MD_SIM2_SRST>;
  1653. };
  1654. pins_cmd5_dat {
  1655. pins = <PINMUX_GPIO162__FUNC_MD_SIM2_SDAT>;
  1656. };
  1657. };
  1658. };
  1659. /*SSW end*/
  1660. /*GPIO standardization CLDMA*/
  1661. &mdcldma {
  1662. pinctrl-names = "default", "vsram_output_low", "vsram_output_high", "RFIC0_01_mode", "RFIC0_04_mode";
  1663. pinctrl-0 = <&vsram_default>;
  1664. pinctrl-1 = <&vsram_output_low>;
  1665. pinctrl-2 = <&vsram_output_high>;
  1666. pinctrl-3 = <&RFIC0_01_mode>;
  1667. pinctrl-4 = <&RFIC0_04_mode>;
  1668. };
  1669. &pio {
  1670. vsram_default: vsram0default {
  1671. };
  1672. vsram_output_low: vsram@1 {
  1673. pins_cmd_dat {
  1674. pins = <PINMUX_GPIO140__FUNC_GPIO140>;
  1675. slew-rate = <1>;
  1676. output-low;
  1677. };
  1678. };
  1679. vsram_output_high: vsram@2 {
  1680. pins_cmd_dat {
  1681. pins = <PINMUX_GPIO140__FUNC_GPIO140>;
  1682. slew-rate = <1>;
  1683. output-high;
  1684. };
  1685. };
  1686. RFIC0_01_mode: clockbuf@1{
  1687. pins_cmd0_dat {
  1688. pins = <PINMUX_GPIO110__FUNC_RFIC0_BSI_EN>;
  1689. };
  1690. pins_cmd1_dat {
  1691. pins = <PINMUX_GPIO111__FUNC_RFIC0_BSI_CK>;
  1692. };
  1693. pins_cmd2_dat {
  1694. pins = <PINMUX_GPIO112__FUNC_RFIC0_BSI_D2>;
  1695. };
  1696. pins_cmd3_dat {
  1697. pins = <PINMUX_GPIO113__FUNC_RFIC0_BSI_D1>;
  1698. };
  1699. pins_cmd4_dat {
  1700. pins = <PINMUX_GPIO114__FUNC_RFIC0_BSI_D0>;
  1701. };
  1702. };
  1703. RFIC0_04_mode: clockbuf@2{
  1704. pins_cmd0_dat {
  1705. pins = <PINMUX_GPIO110__FUNC_SPM_BSI_EN>;
  1706. };
  1707. pins_cmd1_dat {
  1708. pins = <PINMUX_GPIO111__FUNC_SPM_BSI_CLK>;
  1709. };
  1710. pins_cmd2_dat {
  1711. pins = <PINMUX_GPIO112__FUNC_SPM_BSI_D2>;
  1712. };
  1713. pins_cmd3_dat {
  1714. pins = <PINMUX_GPIO113__FUNC_SPM_BSI_D1>;
  1715. };
  1716. pins_cmd4_dat {
  1717. pins = <PINMUX_GPIO114__FUNC_SPM_BSI_D0>;
  1718. };
  1719. };
  1720. };
  1721. /*CLDMA end*/
  1722. #include <trusty.dtsi>