mt6735m.dtsi 55 KB

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