sm8350.dtsi 85 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438
  1. // SPDX-License-Identifier: BSD-3-Clause
  2. /*
  3. * Copyright (c) 2020, Linaro Limited
  4. */
  5. #include <dt-bindings/interrupt-controller/arm-gic.h>
  6. #include <dt-bindings/clock/qcom,dispcc-sm8350.h>
  7. #include <dt-bindings/clock/qcom,gcc-sm8350.h>
  8. #include <dt-bindings/clock/qcom,rpmh.h>
  9. #include <dt-bindings/dma/qcom-gpi.h>
  10. #include <dt-bindings/gpio/gpio.h>
  11. #include <dt-bindings/interconnect/qcom,sm8350.h>
  12. #include <dt-bindings/mailbox/qcom-ipcc.h>
  13. #include <dt-bindings/power/qcom-rpmpd.h>
  14. #include <dt-bindings/soc/qcom,rpmh-rsc.h>
  15. #include <dt-bindings/thermal/thermal.h>
  16. #include <dt-bindings/interconnect/qcom,sm8350.h>
  17. / {
  18. interrupt-parent = <&intc>;
  19. #address-cells = <2>;
  20. #size-cells = <2>;
  21. chosen { };
  22. clocks {
  23. xo_board: xo-board {
  24. compatible = "fixed-clock";
  25. #clock-cells = <0>;
  26. clock-frequency = <38400000>;
  27. clock-output-names = "xo_board";
  28. };
  29. sleep_clk: sleep-clk {
  30. compatible = "fixed-clock";
  31. clock-frequency = <32000>;
  32. #clock-cells = <0>;
  33. };
  34. ufs_phy_rx_symbol_0_clk: ufs-phy-rx-symbol-0 {
  35. compatible = "fixed-clock";
  36. clock-frequency = <1000>;
  37. #clock-cells = <0>;
  38. };
  39. ufs_phy_rx_symbol_1_clk: ufs-phy-rx-symbol-1 {
  40. compatible = "fixed-clock";
  41. clock-frequency = <1000>;
  42. #clock-cells = <0>;
  43. };
  44. ufs_phy_tx_symbol_0_clk: ufs-phy-tx-symbol-0 {
  45. compatible = "fixed-clock";
  46. clock-frequency = <1000>;
  47. #clock-cells = <0>;
  48. };
  49. };
  50. cpus {
  51. #address-cells = <2>;
  52. #size-cells = <0>;
  53. CPU0: cpu@0 {
  54. device_type = "cpu";
  55. compatible = "arm,cortex-a55";
  56. reg = <0x0 0x0>;
  57. enable-method = "psci";
  58. next-level-cache = <&L2_0>;
  59. qcom,freq-domain = <&cpufreq_hw 0>;
  60. power-domains = <&CPU_PD0>;
  61. power-domain-names = "psci";
  62. #cooling-cells = <2>;
  63. L2_0: l2-cache {
  64. compatible = "cache";
  65. next-level-cache = <&L3_0>;
  66. L3_0: l3-cache {
  67. compatible = "cache";
  68. };
  69. };
  70. };
  71. CPU1: cpu@100 {
  72. device_type = "cpu";
  73. compatible = "arm,cortex-a55";
  74. reg = <0x0 0x100>;
  75. enable-method = "psci";
  76. next-level-cache = <&L2_100>;
  77. qcom,freq-domain = <&cpufreq_hw 0>;
  78. power-domains = <&CPU_PD1>;
  79. power-domain-names = "psci";
  80. #cooling-cells = <2>;
  81. L2_100: l2-cache {
  82. compatible = "cache";
  83. next-level-cache = <&L3_0>;
  84. };
  85. };
  86. CPU2: cpu@200 {
  87. device_type = "cpu";
  88. compatible = "arm,cortex-a55";
  89. reg = <0x0 0x200>;
  90. enable-method = "psci";
  91. next-level-cache = <&L2_200>;
  92. qcom,freq-domain = <&cpufreq_hw 0>;
  93. power-domains = <&CPU_PD2>;
  94. power-domain-names = "psci";
  95. #cooling-cells = <2>;
  96. L2_200: l2-cache {
  97. compatible = "cache";
  98. next-level-cache = <&L3_0>;
  99. };
  100. };
  101. CPU3: cpu@300 {
  102. device_type = "cpu";
  103. compatible = "arm,cortex-a55";
  104. reg = <0x0 0x300>;
  105. enable-method = "psci";
  106. next-level-cache = <&L2_300>;
  107. qcom,freq-domain = <&cpufreq_hw 0>;
  108. power-domains = <&CPU_PD3>;
  109. power-domain-names = "psci";
  110. #cooling-cells = <2>;
  111. L2_300: l2-cache {
  112. compatible = "cache";
  113. next-level-cache = <&L3_0>;
  114. };
  115. };
  116. CPU4: cpu@400 {
  117. device_type = "cpu";
  118. compatible = "arm,cortex-a78";
  119. reg = <0x0 0x400>;
  120. enable-method = "psci";
  121. next-level-cache = <&L2_400>;
  122. qcom,freq-domain = <&cpufreq_hw 1>;
  123. power-domains = <&CPU_PD4>;
  124. power-domain-names = "psci";
  125. #cooling-cells = <2>;
  126. L2_400: l2-cache {
  127. compatible = "cache";
  128. next-level-cache = <&L3_0>;
  129. };
  130. };
  131. CPU5: cpu@500 {
  132. device_type = "cpu";
  133. compatible = "arm,cortex-a78";
  134. reg = <0x0 0x500>;
  135. enable-method = "psci";
  136. next-level-cache = <&L2_500>;
  137. qcom,freq-domain = <&cpufreq_hw 1>;
  138. power-domains = <&CPU_PD5>;
  139. power-domain-names = "psci";
  140. #cooling-cells = <2>;
  141. L2_500: l2-cache {
  142. compatible = "cache";
  143. next-level-cache = <&L3_0>;
  144. };
  145. };
  146. CPU6: cpu@600 {
  147. device_type = "cpu";
  148. compatible = "arm,cortex-a78";
  149. reg = <0x0 0x600>;
  150. enable-method = "psci";
  151. next-level-cache = <&L2_600>;
  152. qcom,freq-domain = <&cpufreq_hw 1>;
  153. power-domains = <&CPU_PD6>;
  154. power-domain-names = "psci";
  155. #cooling-cells = <2>;
  156. L2_600: l2-cache {
  157. compatible = "cache";
  158. next-level-cache = <&L3_0>;
  159. };
  160. };
  161. CPU7: cpu@700 {
  162. device_type = "cpu";
  163. compatible = "arm,cortex-x1";
  164. reg = <0x0 0x700>;
  165. enable-method = "psci";
  166. next-level-cache = <&L2_700>;
  167. qcom,freq-domain = <&cpufreq_hw 2>;
  168. power-domains = <&CPU_PD7>;
  169. power-domain-names = "psci";
  170. #cooling-cells = <2>;
  171. L2_700: l2-cache {
  172. compatible = "cache";
  173. next-level-cache = <&L3_0>;
  174. };
  175. };
  176. cpu-map {
  177. cluster0 {
  178. core0 {
  179. cpu = <&CPU0>;
  180. };
  181. core1 {
  182. cpu = <&CPU1>;
  183. };
  184. core2 {
  185. cpu = <&CPU2>;
  186. };
  187. core3 {
  188. cpu = <&CPU3>;
  189. };
  190. core4 {
  191. cpu = <&CPU4>;
  192. };
  193. core5 {
  194. cpu = <&CPU5>;
  195. };
  196. core6 {
  197. cpu = <&CPU6>;
  198. };
  199. core7 {
  200. cpu = <&CPU7>;
  201. };
  202. };
  203. };
  204. idle-states {
  205. entry-method = "psci";
  206. LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
  207. compatible = "arm,idle-state";
  208. idle-state-name = "silver-rail-power-collapse";
  209. arm,psci-suspend-param = <0x40000004>;
  210. entry-latency-us = <360>;
  211. exit-latency-us = <531>;
  212. min-residency-us = <3934>;
  213. local-timer-stop;
  214. };
  215. BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
  216. compatible = "arm,idle-state";
  217. idle-state-name = "gold-rail-power-collapse";
  218. arm,psci-suspend-param = <0x40000004>;
  219. entry-latency-us = <702>;
  220. exit-latency-us = <1061>;
  221. min-residency-us = <4488>;
  222. local-timer-stop;
  223. };
  224. };
  225. domain-idle-states {
  226. CLUSTER_SLEEP_0: cluster-sleep-0 {
  227. compatible = "domain-idle-state";
  228. idle-state-name = "cluster-power-collapse";
  229. arm,psci-suspend-param = <0x4100c344>;
  230. entry-latency-us = <3263>;
  231. exit-latency-us = <6562>;
  232. min-residency-us = <9987>;
  233. local-timer-stop;
  234. };
  235. };
  236. };
  237. firmware {
  238. scm: scm {
  239. compatible = "qcom,scm-sm8350", "qcom,scm";
  240. #reset-cells = <1>;
  241. };
  242. };
  243. memory@80000000 {
  244. device_type = "memory";
  245. /* We expect the bootloader to fill in the size */
  246. reg = <0x0 0x80000000 0x0 0x0>;
  247. };
  248. pmu {
  249. compatible = "arm,armv8-pmuv3";
  250. interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
  251. };
  252. psci {
  253. compatible = "arm,psci-1.0";
  254. method = "smc";
  255. CPU_PD0: cpu0 {
  256. #power-domain-cells = <0>;
  257. power-domains = <&CLUSTER_PD>;
  258. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  259. };
  260. CPU_PD1: cpu1 {
  261. #power-domain-cells = <0>;
  262. power-domains = <&CLUSTER_PD>;
  263. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  264. };
  265. CPU_PD2: cpu2 {
  266. #power-domain-cells = <0>;
  267. power-domains = <&CLUSTER_PD>;
  268. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  269. };
  270. CPU_PD3: cpu3 {
  271. #power-domain-cells = <0>;
  272. power-domains = <&CLUSTER_PD>;
  273. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  274. };
  275. CPU_PD4: cpu4 {
  276. #power-domain-cells = <0>;
  277. power-domains = <&CLUSTER_PD>;
  278. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  279. };
  280. CPU_PD5: cpu5 {
  281. #power-domain-cells = <0>;
  282. power-domains = <&CLUSTER_PD>;
  283. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  284. };
  285. CPU_PD6: cpu6 {
  286. #power-domain-cells = <0>;
  287. power-domains = <&CLUSTER_PD>;
  288. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  289. };
  290. CPU_PD7: cpu7 {
  291. #power-domain-cells = <0>;
  292. power-domains = <&CLUSTER_PD>;
  293. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  294. };
  295. CLUSTER_PD: cpu-cluster0 {
  296. #power-domain-cells = <0>;
  297. domain-idle-states = <&CLUSTER_SLEEP_0>;
  298. };
  299. };
  300. qup_opp_table_100mhz: opp-table-qup100mhz {
  301. compatible = "operating-points-v2";
  302. opp-50000000 {
  303. opp-hz = /bits/ 64 <50000000>;
  304. required-opps = <&rpmhpd_opp_min_svs>;
  305. };
  306. opp-75000000 {
  307. opp-hz = /bits/ 64 <75000000>;
  308. required-opps = <&rpmhpd_opp_low_svs>;
  309. };
  310. opp-100000000 {
  311. opp-hz = /bits/ 64 <100000000>;
  312. required-opps = <&rpmhpd_opp_svs>;
  313. };
  314. };
  315. qup_opp_table_120mhz: opp-table-qup120mhz {
  316. compatible = "operating-points-v2";
  317. opp-50000000 {
  318. opp-hz = /bits/ 64 <50000000>;
  319. required-opps = <&rpmhpd_opp_min_svs>;
  320. };
  321. opp-75000000 {
  322. opp-hz = /bits/ 64 <75000000>;
  323. required-opps = <&rpmhpd_opp_low_svs>;
  324. };
  325. opp-120000000 {
  326. opp-hz = /bits/ 64 <120000000>;
  327. required-opps = <&rpmhpd_opp_svs>;
  328. };
  329. };
  330. reserved_memory: reserved-memory {
  331. #address-cells = <2>;
  332. #size-cells = <2>;
  333. ranges;
  334. hyp_mem: memory@80000000 {
  335. reg = <0x0 0x80000000 0x0 0x600000>;
  336. no-map;
  337. };
  338. xbl_aop_mem: memory@80700000 {
  339. no-map;
  340. reg = <0x0 0x80700000 0x0 0x160000>;
  341. };
  342. cmd_db: memory@80860000 {
  343. compatible = "qcom,cmd-db";
  344. reg = <0x0 0x80860000 0x0 0x20000>;
  345. no-map;
  346. };
  347. reserved_xbl_uefi_log: memory@80880000 {
  348. reg = <0x0 0x80880000 0x0 0x14000>;
  349. no-map;
  350. };
  351. smem_mem: memory@80900000 {
  352. reg = <0x0 0x80900000 0x0 0x200000>;
  353. no-map;
  354. };
  355. cpucp_fw_mem: memory@80b00000 {
  356. reg = <0x0 0x80b00000 0x0 0x100000>;
  357. no-map;
  358. };
  359. cdsp_secure_heap: memory@80c00000 {
  360. reg = <0x0 0x80c00000 0x0 0x4600000>;
  361. no-map;
  362. };
  363. pil_camera_mem: mmeory@85200000 {
  364. reg = <0x0 0x85200000 0x0 0x500000>;
  365. no-map;
  366. };
  367. pil_video_mem: memory@85700000 {
  368. reg = <0x0 0x85700000 0x0 0x500000>;
  369. no-map;
  370. };
  371. pil_cvp_mem: memory@85c00000 {
  372. reg = <0x0 0x85c00000 0x0 0x500000>;
  373. no-map;
  374. };
  375. pil_adsp_mem: memory@86100000 {
  376. reg = <0x0 0x86100000 0x0 0x2100000>;
  377. no-map;
  378. };
  379. pil_slpi_mem: memory@88200000 {
  380. reg = <0x0 0x88200000 0x0 0x1500000>;
  381. no-map;
  382. };
  383. pil_cdsp_mem: memory@89700000 {
  384. reg = <0x0 0x89700000 0x0 0x1e00000>;
  385. no-map;
  386. };
  387. pil_ipa_fw_mem: memory@8b500000 {
  388. reg = <0x0 0x8b500000 0x0 0x10000>;
  389. no-map;
  390. };
  391. pil_ipa_gsi_mem: memory@8b510000 {
  392. reg = <0x0 0x8b510000 0x0 0xa000>;
  393. no-map;
  394. };
  395. pil_gpu_mem: memory@8b51a000 {
  396. reg = <0x0 0x8b51a000 0x0 0x2000>;
  397. no-map;
  398. };
  399. pil_spss_mem: memory@8b600000 {
  400. reg = <0x0 0x8b600000 0x0 0x100000>;
  401. no-map;
  402. };
  403. pil_modem_mem: memory@8b800000 {
  404. reg = <0x0 0x8b800000 0x0 0x10000000>;
  405. no-map;
  406. };
  407. rmtfs_mem: memory@9b800000 {
  408. compatible = "qcom,rmtfs-mem";
  409. reg = <0x0 0x9b800000 0x0 0x280000>;
  410. no-map;
  411. qcom,client-id = <1>;
  412. qcom,vmid = <15>;
  413. };
  414. hyp_reserved_mem: memory@d0000000 {
  415. reg = <0x0 0xd0000000 0x0 0x800000>;
  416. no-map;
  417. };
  418. pil_trustedvm_mem: memory@d0800000 {
  419. reg = <0x0 0xd0800000 0x0 0x76f7000>;
  420. no-map;
  421. };
  422. qrtr_shbuf: memory@d7ef7000 {
  423. reg = <0x0 0xd7ef7000 0x0 0x9000>;
  424. no-map;
  425. };
  426. chan0_shbuf: memory@d7f00000 {
  427. reg = <0x0 0xd7f00000 0x0 0x80000>;
  428. no-map;
  429. };
  430. chan1_shbuf: memory@d7f80000 {
  431. reg = <0x0 0xd7f80000 0x0 0x80000>;
  432. no-map;
  433. };
  434. removed_mem: memory@d8800000 {
  435. reg = <0x0 0xd8800000 0x0 0x6800000>;
  436. no-map;
  437. };
  438. };
  439. smem: qcom,smem {
  440. compatible = "qcom,smem";
  441. memory-region = <&smem_mem>;
  442. hwlocks = <&tcsr_mutex 3>;
  443. };
  444. smp2p-adsp {
  445. compatible = "qcom,smp2p";
  446. qcom,smem = <443>, <429>;
  447. interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
  448. IPCC_MPROC_SIGNAL_SMP2P
  449. IRQ_TYPE_EDGE_RISING>;
  450. mboxes = <&ipcc IPCC_CLIENT_LPASS
  451. IPCC_MPROC_SIGNAL_SMP2P>;
  452. qcom,local-pid = <0>;
  453. qcom,remote-pid = <2>;
  454. smp2p_adsp_out: master-kernel {
  455. qcom,entry-name = "master-kernel";
  456. #qcom,smem-state-cells = <1>;
  457. };
  458. smp2p_adsp_in: slave-kernel {
  459. qcom,entry-name = "slave-kernel";
  460. interrupt-controller;
  461. #interrupt-cells = <2>;
  462. };
  463. };
  464. smp2p-cdsp {
  465. compatible = "qcom,smp2p";
  466. qcom,smem = <94>, <432>;
  467. interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
  468. IPCC_MPROC_SIGNAL_SMP2P
  469. IRQ_TYPE_EDGE_RISING>;
  470. mboxes = <&ipcc IPCC_CLIENT_CDSP
  471. IPCC_MPROC_SIGNAL_SMP2P>;
  472. qcom,local-pid = <0>;
  473. qcom,remote-pid = <5>;
  474. smp2p_cdsp_out: master-kernel {
  475. qcom,entry-name = "master-kernel";
  476. #qcom,smem-state-cells = <1>;
  477. };
  478. smp2p_cdsp_in: slave-kernel {
  479. qcom,entry-name = "slave-kernel";
  480. interrupt-controller;
  481. #interrupt-cells = <2>;
  482. };
  483. };
  484. smp2p-modem {
  485. compatible = "qcom,smp2p";
  486. qcom,smem = <435>, <428>;
  487. interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
  488. IPCC_MPROC_SIGNAL_SMP2P
  489. IRQ_TYPE_EDGE_RISING>;
  490. mboxes = <&ipcc IPCC_CLIENT_MPSS
  491. IPCC_MPROC_SIGNAL_SMP2P>;
  492. qcom,local-pid = <0>;
  493. qcom,remote-pid = <1>;
  494. smp2p_modem_out: master-kernel {
  495. qcom,entry-name = "master-kernel";
  496. #qcom,smem-state-cells = <1>;
  497. };
  498. smp2p_modem_in: slave-kernel {
  499. qcom,entry-name = "slave-kernel";
  500. interrupt-controller;
  501. #interrupt-cells = <2>;
  502. };
  503. ipa_smp2p_out: ipa-ap-to-modem {
  504. qcom,entry-name = "ipa";
  505. #qcom,smem-state-cells = <1>;
  506. };
  507. ipa_smp2p_in: ipa-modem-to-ap {
  508. qcom,entry-name = "ipa";
  509. interrupt-controller;
  510. #interrupt-cells = <2>;
  511. };
  512. };
  513. smp2p-slpi {
  514. compatible = "qcom,smp2p";
  515. qcom,smem = <481>, <430>;
  516. interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
  517. IPCC_MPROC_SIGNAL_SMP2P
  518. IRQ_TYPE_EDGE_RISING>;
  519. mboxes = <&ipcc IPCC_CLIENT_SLPI
  520. IPCC_MPROC_SIGNAL_SMP2P>;
  521. qcom,local-pid = <0>;
  522. qcom,remote-pid = <3>;
  523. smp2p_slpi_out: master-kernel {
  524. qcom,entry-name = "master-kernel";
  525. #qcom,smem-state-cells = <1>;
  526. };
  527. smp2p_slpi_in: slave-kernel {
  528. qcom,entry-name = "slave-kernel";
  529. interrupt-controller;
  530. #interrupt-cells = <2>;
  531. };
  532. };
  533. soc: soc@0 {
  534. #address-cells = <2>;
  535. #size-cells = <2>;
  536. ranges = <0 0 0 0 0x10 0>;
  537. dma-ranges = <0 0 0 0 0x10 0>;
  538. compatible = "simple-bus";
  539. gcc: clock-controller@100000 {
  540. compatible = "qcom,gcc-sm8350";
  541. reg = <0x0 0x00100000 0x0 0x1f0000>;
  542. #clock-cells = <1>;
  543. #reset-cells = <1>;
  544. #power-domain-cells = <1>;
  545. clock-names = "bi_tcxo",
  546. "sleep_clk",
  547. "pcie_0_pipe_clk",
  548. "pcie_1_pipe_clk",
  549. "ufs_card_rx_symbol_0_clk",
  550. "ufs_card_rx_symbol_1_clk",
  551. "ufs_card_tx_symbol_0_clk",
  552. "ufs_phy_rx_symbol_0_clk",
  553. "ufs_phy_rx_symbol_1_clk",
  554. "ufs_phy_tx_symbol_0_clk",
  555. "usb3_phy_wrapper_gcc_usb30_pipe_clk",
  556. "usb3_uni_phy_sec_gcc_usb30_pipe_clk";
  557. clocks = <&rpmhcc RPMH_CXO_CLK>,
  558. <&sleep_clk>,
  559. <0>,
  560. <0>,
  561. <0>,
  562. <0>,
  563. <0>,
  564. <&ufs_phy_rx_symbol_0_clk>,
  565. <&ufs_phy_rx_symbol_1_clk>,
  566. <&ufs_phy_tx_symbol_0_clk>,
  567. <0>,
  568. <0>;
  569. };
  570. ipcc: mailbox@408000 {
  571. compatible = "qcom,sm8350-ipcc", "qcom,ipcc";
  572. reg = <0 0x00408000 0 0x1000>;
  573. interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
  574. interrupt-controller;
  575. #interrupt-cells = <3>;
  576. #mbox-cells = <2>;
  577. };
  578. gpi_dma2: dma-controller@800000 {
  579. compatible = "qcom,sm8350-gpi-dma", "qcom,sm6350-gpi-dma";
  580. reg = <0 0x00800000 0 0x60000>;
  581. interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
  582. <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
  583. <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
  584. <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
  585. <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
  586. <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
  587. <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
  588. <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
  589. <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
  590. <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>,
  591. <GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH>,
  592. <GIC_SPI 599 IRQ_TYPE_LEVEL_HIGH>;
  593. dma-channels = <12>;
  594. dma-channel-mask = <0xff>;
  595. iommus = <&apps_smmu 0x5f6 0x0>;
  596. #dma-cells = <3>;
  597. status = "disabled";
  598. };
  599. qupv3_id_2: geniqup@8c0000 {
  600. compatible = "qcom,geni-se-qup";
  601. reg = <0x0 0x008c0000 0x0 0x6000>;
  602. clock-names = "m-ahb", "s-ahb";
  603. clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
  604. <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
  605. iommus = <&apps_smmu 0x5e3 0x0>;
  606. #address-cells = <2>;
  607. #size-cells = <2>;
  608. ranges;
  609. status = "disabled";
  610. i2c14: i2c@880000 {
  611. compatible = "qcom,geni-i2c";
  612. reg = <0 0x00880000 0 0x4000>;
  613. clock-names = "se";
  614. clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
  615. pinctrl-names = "default";
  616. pinctrl-0 = <&qup_i2c14_default>;
  617. interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
  618. dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>,
  619. <&gpi_dma2 1 0 QCOM_GPI_I2C>;
  620. dma-names = "tx", "rx";
  621. #address-cells = <1>;
  622. #size-cells = <0>;
  623. status = "disabled";
  624. };
  625. spi14: spi@880000 {
  626. compatible = "qcom,geni-spi";
  627. reg = <0 0x00880000 0 0x4000>;
  628. clock-names = "se";
  629. clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
  630. interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
  631. power-domains = <&rpmhpd SM8350_CX>;
  632. operating-points-v2 = <&qup_opp_table_120mhz>;
  633. dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>,
  634. <&gpi_dma2 1 0 QCOM_GPI_SPI>;
  635. dma-names = "tx", "rx";
  636. #address-cells = <1>;
  637. #size-cells = <0>;
  638. status = "disabled";
  639. };
  640. i2c15: i2c@884000 {
  641. compatible = "qcom,geni-i2c";
  642. reg = <0 0x00884000 0 0x4000>;
  643. clock-names = "se";
  644. clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
  645. pinctrl-names = "default";
  646. pinctrl-0 = <&qup_i2c15_default>;
  647. interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
  648. dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>,
  649. <&gpi_dma2 1 1 QCOM_GPI_I2C>;
  650. dma-names = "tx", "rx";
  651. #address-cells = <1>;
  652. #size-cells = <0>;
  653. status = "disabled";
  654. };
  655. spi15: spi@884000 {
  656. compatible = "qcom,geni-spi";
  657. reg = <0 0x00884000 0 0x4000>;
  658. clock-names = "se";
  659. clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
  660. interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
  661. power-domains = <&rpmhpd SM8350_CX>;
  662. operating-points-v2 = <&qup_opp_table_120mhz>;
  663. dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>,
  664. <&gpi_dma2 1 1 QCOM_GPI_SPI>;
  665. dma-names = "tx", "rx";
  666. #address-cells = <1>;
  667. #size-cells = <0>;
  668. status = "disabled";
  669. };
  670. i2c16: i2c@888000 {
  671. compatible = "qcom,geni-i2c";
  672. reg = <0 0x00888000 0 0x4000>;
  673. clock-names = "se";
  674. clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
  675. pinctrl-names = "default";
  676. pinctrl-0 = <&qup_i2c16_default>;
  677. interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
  678. dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>,
  679. <&gpi_dma2 1 2 QCOM_GPI_I2C>;
  680. dma-names = "tx", "rx";
  681. #address-cells = <1>;
  682. #size-cells = <0>;
  683. status = "disabled";
  684. };
  685. spi16: spi@888000 {
  686. compatible = "qcom,geni-spi";
  687. reg = <0 0x00888000 0 0x4000>;
  688. clock-names = "se";
  689. clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
  690. interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
  691. power-domains = <&rpmhpd SM8350_CX>;
  692. operating-points-v2 = <&qup_opp_table_100mhz>;
  693. dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>,
  694. <&gpi_dma2 1 2 QCOM_GPI_SPI>;
  695. dma-names = "tx", "rx";
  696. #address-cells = <1>;
  697. #size-cells = <0>;
  698. status = "disabled";
  699. };
  700. i2c17: i2c@88c000 {
  701. compatible = "qcom,geni-i2c";
  702. reg = <0 0x0088c000 0 0x4000>;
  703. clock-names = "se";
  704. clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
  705. pinctrl-names = "default";
  706. pinctrl-0 = <&qup_i2c17_default>;
  707. interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
  708. dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
  709. <&gpi_dma2 1 3 QCOM_GPI_I2C>;
  710. dma-names = "tx", "rx";
  711. #address-cells = <1>;
  712. #size-cells = <0>;
  713. status = "disabled";
  714. };
  715. spi17: spi@88c000 {
  716. compatible = "qcom,geni-spi";
  717. reg = <0 0x0088c000 0 0x4000>;
  718. clock-names = "se";
  719. clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
  720. interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
  721. power-domains = <&rpmhpd SM8350_CX>;
  722. operating-points-v2 = <&qup_opp_table_100mhz>;
  723. dmas = <&gpi_dma2 0 3 QCOM_GPI_SPI>,
  724. <&gpi_dma2 1 3 QCOM_GPI_SPI>;
  725. dma-names = "tx", "rx";
  726. #address-cells = <1>;
  727. #size-cells = <0>;
  728. status = "disabled";
  729. };
  730. /* QUP no. 18 seems to be strictly SPI/UART-only */
  731. spi18: spi@890000 {
  732. compatible = "qcom,geni-spi";
  733. reg = <0 0x00890000 0 0x4000>;
  734. clock-names = "se";
  735. clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
  736. interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
  737. power-domains = <&rpmhpd SM8350_CX>;
  738. operating-points-v2 = <&qup_opp_table_100mhz>;
  739. dmas = <&gpi_dma2 0 4 QCOM_GPI_SPI>,
  740. <&gpi_dma2 1 4 QCOM_GPI_SPI>;
  741. dma-names = "tx", "rx";
  742. #address-cells = <1>;
  743. #size-cells = <0>;
  744. status = "disabled";
  745. };
  746. uart18: serial@890000 {
  747. compatible = "qcom,geni-uart";
  748. reg = <0 0x00890000 0 0x4000>;
  749. clock-names = "se";
  750. clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
  751. pinctrl-names = "default";
  752. pinctrl-0 = <&qup_uart18_default>;
  753. interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
  754. power-domains = <&rpmhpd SM8350_CX>;
  755. operating-points-v2 = <&qup_opp_table_100mhz>;
  756. status = "disabled";
  757. };
  758. i2c19: i2c@894000 {
  759. compatible = "qcom,geni-i2c";
  760. reg = <0 0x00894000 0 0x4000>;
  761. clock-names = "se";
  762. clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
  763. pinctrl-names = "default";
  764. pinctrl-0 = <&qup_i2c19_default>;
  765. interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
  766. dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>,
  767. <&gpi_dma2 1 5 QCOM_GPI_I2C>;
  768. dma-names = "tx", "rx";
  769. #address-cells = <1>;
  770. #size-cells = <0>;
  771. status = "disabled";
  772. };
  773. spi19: spi@894000 {
  774. compatible = "qcom,geni-spi";
  775. reg = <0 0x00894000 0 0x4000>;
  776. clock-names = "se";
  777. clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
  778. interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
  779. power-domains = <&rpmhpd SM8350_CX>;
  780. operating-points-v2 = <&qup_opp_table_100mhz>;
  781. dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>,
  782. <&gpi_dma2 1 5 QCOM_GPI_SPI>;
  783. dma-names = "tx", "rx";
  784. #address-cells = <1>;
  785. #size-cells = <0>;
  786. status = "disabled";
  787. };
  788. };
  789. gpi_dma0: dma-controller@9800000 {
  790. compatible = "qcom,sm8350-gpi-dma", "qcom,sm6350-gpi-dma";
  791. reg = <0 0x09800000 0 0x60000>;
  792. interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
  793. <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
  794. <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
  795. <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
  796. <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
  797. <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
  798. <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
  799. <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
  800. <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
  801. <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
  802. <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
  803. <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
  804. dma-channels = <12>;
  805. dma-channel-mask = <0x7e>;
  806. iommus = <&apps_smmu 0x5b6 0x0>;
  807. #dma-cells = <3>;
  808. status = "disabled";
  809. };
  810. qupv3_id_0: geniqup@9c0000 {
  811. compatible = "qcom,geni-se-qup";
  812. reg = <0x0 0x009c0000 0x0 0x6000>;
  813. clock-names = "m-ahb", "s-ahb";
  814. clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
  815. <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
  816. iommus = <&apps_smmu 0x5a3 0>;
  817. #address-cells = <2>;
  818. #size-cells = <2>;
  819. ranges;
  820. status = "disabled";
  821. i2c0: i2c@980000 {
  822. compatible = "qcom,geni-i2c";
  823. reg = <0 0x00980000 0 0x4000>;
  824. clock-names = "se";
  825. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  826. pinctrl-names = "default";
  827. pinctrl-0 = <&qup_i2c0_default>;
  828. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  829. dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
  830. <&gpi_dma0 1 0 QCOM_GPI_I2C>;
  831. dma-names = "tx", "rx";
  832. #address-cells = <1>;
  833. #size-cells = <0>;
  834. status = "disabled";
  835. };
  836. spi0: spi@980000 {
  837. compatible = "qcom,geni-spi";
  838. reg = <0 0x00980000 0 0x4000>;
  839. clock-names = "se";
  840. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  841. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  842. power-domains = <&rpmhpd SM8350_CX>;
  843. operating-points-v2 = <&qup_opp_table_100mhz>;
  844. dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
  845. <&gpi_dma0 1 0 QCOM_GPI_SPI>;
  846. dma-names = "tx", "rx";
  847. #address-cells = <1>;
  848. #size-cells = <0>;
  849. status = "disabled";
  850. };
  851. i2c1: i2c@984000 {
  852. compatible = "qcom,geni-i2c";
  853. reg = <0 0x00984000 0 0x4000>;
  854. clock-names = "se";
  855. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  856. pinctrl-names = "default";
  857. pinctrl-0 = <&qup_i2c1_default>;
  858. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  859. dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
  860. <&gpi_dma0 1 1 QCOM_GPI_I2C>;
  861. dma-names = "tx", "rx";
  862. #address-cells = <1>;
  863. #size-cells = <0>;
  864. status = "disabled";
  865. };
  866. spi1: spi@984000 {
  867. compatible = "qcom,geni-spi";
  868. reg = <0 0x00984000 0 0x4000>;
  869. clock-names = "se";
  870. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  871. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  872. power-domains = <&rpmhpd SM8350_CX>;
  873. operating-points-v2 = <&qup_opp_table_100mhz>;
  874. dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
  875. <&gpi_dma0 1 1 QCOM_GPI_SPI>;
  876. dma-names = "tx", "rx";
  877. #address-cells = <1>;
  878. #size-cells = <0>;
  879. status = "disabled";
  880. };
  881. i2c2: i2c@988000 {
  882. compatible = "qcom,geni-i2c";
  883. reg = <0 0x00988000 0 0x4000>;
  884. clock-names = "se";
  885. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  886. pinctrl-names = "default";
  887. pinctrl-0 = <&qup_i2c2_default>;
  888. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  889. dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
  890. <&gpi_dma0 1 2 QCOM_GPI_I2C>;
  891. dma-names = "tx", "rx";
  892. #address-cells = <1>;
  893. #size-cells = <0>;
  894. status = "disabled";
  895. };
  896. spi2: spi@988000 {
  897. compatible = "qcom,geni-spi";
  898. reg = <0 0x00988000 0 0x4000>;
  899. clock-names = "se";
  900. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  901. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  902. power-domains = <&rpmhpd SM8350_CX>;
  903. operating-points-v2 = <&qup_opp_table_100mhz>;
  904. dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
  905. <&gpi_dma0 1 2 QCOM_GPI_SPI>;
  906. dma-names = "tx", "rx";
  907. #address-cells = <1>;
  908. #size-cells = <0>;
  909. status = "disabled";
  910. };
  911. uart2: serial@98c000 {
  912. compatible = "qcom,geni-debug-uart";
  913. reg = <0 0x0098c000 0 0x4000>;
  914. clock-names = "se";
  915. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  916. pinctrl-names = "default";
  917. pinctrl-0 = <&qup_uart3_default_state>;
  918. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  919. power-domains = <&rpmhpd SM8350_CX>;
  920. operating-points-v2 = <&qup_opp_table_100mhz>;
  921. status = "disabled";
  922. };
  923. /* QUP no. 3 seems to be strictly SPI-only */
  924. spi3: spi@98c000 {
  925. compatible = "qcom,geni-spi";
  926. reg = <0 0x0098c000 0 0x4000>;
  927. clock-names = "se";
  928. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  929. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  930. power-domains = <&rpmhpd SM8350_CX>;
  931. operating-points-v2 = <&qup_opp_table_100mhz>;
  932. dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
  933. <&gpi_dma0 1 3 QCOM_GPI_SPI>;
  934. dma-names = "tx", "rx";
  935. #address-cells = <1>;
  936. #size-cells = <0>;
  937. status = "disabled";
  938. };
  939. i2c4: i2c@990000 {
  940. compatible = "qcom,geni-i2c";
  941. reg = <0 0x00990000 0 0x4000>;
  942. clock-names = "se";
  943. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  944. pinctrl-names = "default";
  945. pinctrl-0 = <&qup_i2c4_default>;
  946. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  947. dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
  948. <&gpi_dma0 1 4 QCOM_GPI_I2C>;
  949. dma-names = "tx", "rx";
  950. #address-cells = <1>;
  951. #size-cells = <0>;
  952. status = "disabled";
  953. };
  954. spi4: spi@990000 {
  955. compatible = "qcom,geni-spi";
  956. reg = <0 0x00990000 0 0x4000>;
  957. clock-names = "se";
  958. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  959. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  960. power-domains = <&rpmhpd SM8350_CX>;
  961. operating-points-v2 = <&qup_opp_table_100mhz>;
  962. dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
  963. <&gpi_dma0 1 4 QCOM_GPI_SPI>;
  964. dma-names = "tx", "rx";
  965. #address-cells = <1>;
  966. #size-cells = <0>;
  967. status = "disabled";
  968. };
  969. i2c5: i2c@994000 {
  970. compatible = "qcom,geni-i2c";
  971. reg = <0 0x00994000 0 0x4000>;
  972. clock-names = "se";
  973. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  974. pinctrl-names = "default";
  975. pinctrl-0 = <&qup_i2c5_default>;
  976. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  977. dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
  978. <&gpi_dma0 1 5 QCOM_GPI_I2C>;
  979. dma-names = "tx", "rx";
  980. #address-cells = <1>;
  981. #size-cells = <0>;
  982. status = "disabled";
  983. };
  984. spi5: spi@994000 {
  985. compatible = "qcom,geni-spi";
  986. reg = <0 0x00994000 0 0x4000>;
  987. clock-names = "se";
  988. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  989. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  990. power-domains = <&rpmhpd SM8350_CX>;
  991. operating-points-v2 = <&qup_opp_table_100mhz>;
  992. dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
  993. <&gpi_dma0 1 5 QCOM_GPI_SPI>;
  994. dma-names = "tx", "rx";
  995. #address-cells = <1>;
  996. #size-cells = <0>;
  997. status = "disabled";
  998. };
  999. i2c6: i2c@998000 {
  1000. compatible = "qcom,geni-i2c";
  1001. reg = <0 0x00998000 0 0x4000>;
  1002. clock-names = "se";
  1003. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1004. pinctrl-names = "default";
  1005. pinctrl-0 = <&qup_i2c6_default>;
  1006. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1007. dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
  1008. <&gpi_dma0 1 6 QCOM_GPI_I2C>;
  1009. dma-names = "tx", "rx";
  1010. #address-cells = <1>;
  1011. #size-cells = <0>;
  1012. status = "disabled";
  1013. };
  1014. spi6: spi@998000 {
  1015. compatible = "qcom,geni-spi";
  1016. reg = <0 0x00998000 0 0x4000>;
  1017. clock-names = "se";
  1018. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1019. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1020. power-domains = <&rpmhpd SM8350_CX>;
  1021. operating-points-v2 = <&qup_opp_table_100mhz>;
  1022. dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>,
  1023. <&gpi_dma0 1 6 QCOM_GPI_SPI>;
  1024. dma-names = "tx", "rx";
  1025. #address-cells = <1>;
  1026. #size-cells = <0>;
  1027. status = "disabled";
  1028. };
  1029. uart6: serial@998000 {
  1030. compatible = "qcom,geni-uart";
  1031. reg = <0 0x00998000 0 0x4000>;
  1032. clock-names = "se";
  1033. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1034. pinctrl-names = "default";
  1035. pinctrl-0 = <&qup_uart6_default>;
  1036. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1037. power-domains = <&rpmhpd SM8350_CX>;
  1038. operating-points-v2 = <&qup_opp_table_100mhz>;
  1039. status = "disabled";
  1040. };
  1041. i2c7: i2c@99c000 {
  1042. compatible = "qcom,geni-i2c";
  1043. reg = <0 0x0099c000 0 0x4000>;
  1044. clock-names = "se";
  1045. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  1046. pinctrl-names = "default";
  1047. pinctrl-0 = <&qup_i2c7_default>;
  1048. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  1049. dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>,
  1050. <&gpi_dma0 1 7 QCOM_GPI_I2C>;
  1051. dma-names = "tx", "rx";
  1052. #address-cells = <1>;
  1053. #size-cells = <0>;
  1054. status = "disabled";
  1055. };
  1056. spi7: spi@99c000 {
  1057. compatible = "qcom,geni-spi";
  1058. reg = <0 0x0099c000 0 0x4000>;
  1059. clock-names = "se";
  1060. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  1061. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  1062. power-domains = <&rpmhpd SM8350_CX>;
  1063. operating-points-v2 = <&qup_opp_table_100mhz>;
  1064. dmas = <&gpi_dma0 0 7 QCOM_GPI_SPI>,
  1065. <&gpi_dma0 1 7 QCOM_GPI_SPI>;
  1066. dma-names = "tx", "rx";
  1067. #address-cells = <1>;
  1068. #size-cells = <0>;
  1069. status = "disabled";
  1070. };
  1071. };
  1072. gpi_dma1: dma-controller@a00000 {
  1073. compatible = "qcom,sm8350-gpi-dma", "qcom,sm6350-gpi-dma";
  1074. reg = <0 0x00a00000 0 0x60000>;
  1075. interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
  1076. <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
  1077. <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
  1078. <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
  1079. <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
  1080. <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
  1081. <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
  1082. <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
  1083. <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
  1084. <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
  1085. <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
  1086. <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>;
  1087. dma-channels = <12>;
  1088. dma-channel-mask = <0xff>;
  1089. iommus = <&apps_smmu 0x56 0x0>;
  1090. #dma-cells = <3>;
  1091. status = "disabled";
  1092. };
  1093. qupv3_id_1: geniqup@ac0000 {
  1094. compatible = "qcom,geni-se-qup";
  1095. reg = <0x0 0x00ac0000 0x0 0x6000>;
  1096. clock-names = "m-ahb", "s-ahb";
  1097. clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
  1098. <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
  1099. iommus = <&apps_smmu 0x43 0>;
  1100. #address-cells = <2>;
  1101. #size-cells = <2>;
  1102. ranges;
  1103. status = "disabled";
  1104. i2c8: i2c@a80000 {
  1105. compatible = "qcom,geni-i2c";
  1106. reg = <0 0x00a80000 0 0x4000>;
  1107. clock-names = "se";
  1108. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1109. pinctrl-names = "default";
  1110. pinctrl-0 = <&qup_i2c8_default>;
  1111. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1112. dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
  1113. <&gpi_dma1 1 0 QCOM_GPI_I2C>;
  1114. dma-names = "tx", "rx";
  1115. #address-cells = <1>;
  1116. #size-cells = <0>;
  1117. status = "disabled";
  1118. };
  1119. spi8: spi@a80000 {
  1120. compatible = "qcom,geni-spi";
  1121. reg = <0 0x00a80000 0 0x4000>;
  1122. clock-names = "se";
  1123. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1124. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1125. power-domains = <&rpmhpd SM8350_CX>;
  1126. operating-points-v2 = <&qup_opp_table_120mhz>;
  1127. dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
  1128. <&gpi_dma1 1 0 QCOM_GPI_SPI>;
  1129. dma-names = "tx", "rx";
  1130. #address-cells = <1>;
  1131. #size-cells = <0>;
  1132. status = "disabled";
  1133. };
  1134. i2c9: i2c@a84000 {
  1135. compatible = "qcom,geni-i2c";
  1136. reg = <0 0x00a84000 0 0x4000>;
  1137. clock-names = "se";
  1138. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1139. pinctrl-names = "default";
  1140. pinctrl-0 = <&qup_i2c9_default>;
  1141. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1142. dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
  1143. <&gpi_dma1 1 1 QCOM_GPI_I2C>;
  1144. dma-names = "tx", "rx";
  1145. #address-cells = <1>;
  1146. #size-cells = <0>;
  1147. status = "disabled";
  1148. };
  1149. spi9: spi@a84000 {
  1150. compatible = "qcom,geni-spi";
  1151. reg = <0 0x00a84000 0 0x4000>;
  1152. clock-names = "se";
  1153. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1154. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1155. power-domains = <&rpmhpd SM8350_CX>;
  1156. operating-points-v2 = <&qup_opp_table_100mhz>;
  1157. dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
  1158. <&gpi_dma1 1 1 QCOM_GPI_SPI>;
  1159. dma-names = "tx", "rx";
  1160. #address-cells = <1>;
  1161. #size-cells = <0>;
  1162. status = "disabled";
  1163. };
  1164. i2c10: i2c@a88000 {
  1165. compatible = "qcom,geni-i2c";
  1166. reg = <0 0x00a88000 0 0x4000>;
  1167. clock-names = "se";
  1168. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1169. pinctrl-names = "default";
  1170. pinctrl-0 = <&qup_i2c10_default>;
  1171. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1172. dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
  1173. <&gpi_dma1 1 2 QCOM_GPI_I2C>;
  1174. dma-names = "tx", "rx";
  1175. #address-cells = <1>;
  1176. #size-cells = <0>;
  1177. status = "disabled";
  1178. };
  1179. spi10: spi@a88000 {
  1180. compatible = "qcom,geni-spi";
  1181. reg = <0 0x00a88000 0 0x4000>;
  1182. clock-names = "se";
  1183. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1184. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1185. power-domains = <&rpmhpd SM8350_CX>;
  1186. operating-points-v2 = <&qup_opp_table_100mhz>;
  1187. dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
  1188. <&gpi_dma1 1 2 QCOM_GPI_SPI>;
  1189. dma-names = "tx", "rx";
  1190. #address-cells = <1>;
  1191. #size-cells = <0>;
  1192. status = "disabled";
  1193. };
  1194. i2c11: i2c@a8c000 {
  1195. compatible = "qcom,geni-i2c";
  1196. reg = <0 0x00a8c000 0 0x4000>;
  1197. clock-names = "se";
  1198. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1199. pinctrl-names = "default";
  1200. pinctrl-0 = <&qup_i2c11_default>;
  1201. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1202. dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
  1203. <&gpi_dma1 1 3 QCOM_GPI_I2C>;
  1204. dma-names = "tx", "rx";
  1205. #address-cells = <1>;
  1206. #size-cells = <0>;
  1207. status = "disabled";
  1208. };
  1209. spi11: spi@a8c000 {
  1210. compatible = "qcom,geni-spi";
  1211. reg = <0 0x00a8c000 0 0x4000>;
  1212. clock-names = "se";
  1213. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1214. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1215. power-domains = <&rpmhpd SM8350_CX>;
  1216. operating-points-v2 = <&qup_opp_table_100mhz>;
  1217. dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
  1218. <&gpi_dma1 1 3 QCOM_GPI_SPI>;
  1219. dma-names = "tx", "rx";
  1220. #address-cells = <1>;
  1221. #size-cells = <0>;
  1222. status = "disabled";
  1223. };
  1224. i2c12: i2c@a90000 {
  1225. compatible = "qcom,geni-i2c";
  1226. reg = <0 0x00a90000 0 0x4000>;
  1227. clock-names = "se";
  1228. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1229. pinctrl-names = "default";
  1230. pinctrl-0 = <&qup_i2c12_default>;
  1231. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1232. dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
  1233. <&gpi_dma1 1 4 QCOM_GPI_I2C>;
  1234. dma-names = "tx", "rx";
  1235. #address-cells = <1>;
  1236. #size-cells = <0>;
  1237. status = "disabled";
  1238. };
  1239. spi12: spi@a90000 {
  1240. compatible = "qcom,geni-spi";
  1241. reg = <0 0x00a90000 0 0x4000>;
  1242. clock-names = "se";
  1243. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1244. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1245. power-domains = <&rpmhpd SM8350_CX>;
  1246. operating-points-v2 = <&qup_opp_table_100mhz>;
  1247. dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
  1248. <&gpi_dma1 1 4 QCOM_GPI_SPI>;
  1249. dma-names = "tx", "rx";
  1250. #address-cells = <1>;
  1251. #size-cells = <0>;
  1252. status = "disabled";
  1253. };
  1254. i2c13: i2c@a94000 {
  1255. compatible = "qcom,geni-i2c";
  1256. reg = <0 0x00a94000 0 0x4000>;
  1257. clock-names = "se";
  1258. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1259. pinctrl-names = "default";
  1260. pinctrl-0 = <&qup_i2c13_default>;
  1261. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1262. dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
  1263. <&gpi_dma1 1 5 QCOM_GPI_I2C>;
  1264. dma-names = "tx", "rx";
  1265. #address-cells = <1>;
  1266. #size-cells = <0>;
  1267. status = "disabled";
  1268. };
  1269. spi13: spi@a94000 {
  1270. compatible = "qcom,geni-spi";
  1271. reg = <0 0x00a94000 0 0x4000>;
  1272. clock-names = "se";
  1273. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1274. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1275. power-domains = <&rpmhpd SM8350_CX>;
  1276. operating-points-v2 = <&qup_opp_table_100mhz>;
  1277. dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
  1278. <&gpi_dma1 1 5 QCOM_GPI_SPI>;
  1279. dma-names = "tx", "rx";
  1280. #address-cells = <1>;
  1281. #size-cells = <0>;
  1282. status = "disabled";
  1283. };
  1284. };
  1285. apps_smmu: iommu@15000000 {
  1286. compatible = "qcom,sm8350-smmu-500", "arm,mmu-500";
  1287. reg = <0 0x15000000 0 0x100000>;
  1288. #iommu-cells = <2>;
  1289. #global-interrupts = <2>;
  1290. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
  1291. <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
  1292. <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
  1293. <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
  1294. <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
  1295. <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
  1296. <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
  1297. <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
  1298. <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
  1299. <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
  1300. <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
  1301. <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
  1302. <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
  1303. <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
  1304. <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
  1305. <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  1306. <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
  1307. <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
  1308. <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
  1309. <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
  1310. <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
  1311. <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  1312. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
  1313. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
  1314. <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
  1315. <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
  1316. <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
  1317. <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
  1318. <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
  1319. <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
  1320. <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
  1321. <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
  1322. <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
  1323. <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
  1324. <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
  1325. <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
  1326. <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
  1327. <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
  1328. <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
  1329. <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
  1330. <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
  1331. <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
  1332. <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
  1333. <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
  1334. <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
  1335. <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
  1336. <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
  1337. <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
  1338. <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
  1339. <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
  1340. <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
  1341. <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
  1342. <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
  1343. <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
  1344. <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
  1345. <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
  1346. <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
  1347. <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
  1348. <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
  1349. <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
  1350. <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
  1351. <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
  1352. <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
  1353. <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
  1354. <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
  1355. <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
  1356. <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
  1357. <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
  1358. <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
  1359. <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
  1360. <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
  1361. <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
  1362. <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
  1363. <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
  1364. <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
  1365. <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
  1366. <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
  1367. <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
  1368. <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
  1369. <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
  1370. <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
  1371. <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
  1372. <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>,
  1373. <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
  1374. <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
  1375. <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
  1376. <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
  1377. <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
  1378. <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
  1379. <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
  1380. <GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>,
  1381. <GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>,
  1382. <GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>,
  1383. <GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>,
  1384. <GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>,
  1385. <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>,
  1386. <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>,
  1387. <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>;
  1388. };
  1389. config_noc: interconnect@1500000 {
  1390. compatible = "qcom,sm8350-config-noc";
  1391. reg = <0 0x01500000 0 0xa580>;
  1392. #interconnect-cells = <1>;
  1393. qcom,bcm-voters = <&apps_bcm_voter>;
  1394. };
  1395. mc_virt: interconnect@1580000 {
  1396. compatible = "qcom,sm8350-mc-virt";
  1397. reg = <0 0x01580000 0 0x1000>;
  1398. #interconnect-cells = <1>;
  1399. qcom,bcm-voters = <&apps_bcm_voter>;
  1400. };
  1401. system_noc: interconnect@1680000 {
  1402. compatible = "qcom,sm8350-system-noc";
  1403. reg = <0 0x01680000 0 0x1c200>;
  1404. #interconnect-cells = <1>;
  1405. qcom,bcm-voters = <&apps_bcm_voter>;
  1406. };
  1407. aggre1_noc: interconnect@16e0000 {
  1408. compatible = "qcom,sm8350-aggre1-noc";
  1409. reg = <0 0x016e0000 0 0x1f180>;
  1410. #interconnect-cells = <1>;
  1411. qcom,bcm-voters = <&apps_bcm_voter>;
  1412. };
  1413. aggre2_noc: interconnect@1700000 {
  1414. compatible = "qcom,sm8350-aggre2-noc";
  1415. reg = <0 0x01700000 0 0x33000>;
  1416. #interconnect-cells = <1>;
  1417. qcom,bcm-voters = <&apps_bcm_voter>;
  1418. };
  1419. mmss_noc: interconnect@1740000 {
  1420. compatible = "qcom,sm8350-mmss-noc";
  1421. reg = <0 0x01740000 0 0x1f080>;
  1422. #interconnect-cells = <1>;
  1423. qcom,bcm-voters = <&apps_bcm_voter>;
  1424. };
  1425. lpass_ag_noc: interconnect@3c40000 {
  1426. compatible = "qcom,sm8350-lpass-ag-noc";
  1427. reg = <0 0x03c40000 0 0xf080>;
  1428. #interconnect-cells = <1>;
  1429. qcom,bcm-voters = <&apps_bcm_voter>;
  1430. };
  1431. compute_noc: interconnect@a0c0000{
  1432. compatible = "qcom,sm8350-compute-noc";
  1433. reg = <0 0x0a0c0000 0 0xa180>;
  1434. #interconnect-cells = <1>;
  1435. qcom,bcm-voters = <&apps_bcm_voter>;
  1436. };
  1437. ipa: ipa@1e40000 {
  1438. compatible = "qcom,sm8350-ipa";
  1439. iommus = <&apps_smmu 0x5c0 0x0>,
  1440. <&apps_smmu 0x5c2 0x0>;
  1441. reg = <0 0x1e40000 0 0x8000>,
  1442. <0 0x1e50000 0 0x4b20>,
  1443. <0 0x1e04000 0 0x23000>;
  1444. reg-names = "ipa-reg",
  1445. "ipa-shared",
  1446. "gsi";
  1447. interrupts-extended = <&intc GIC_SPI 655 IRQ_TYPE_EDGE_RISING>,
  1448. <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
  1449. <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  1450. <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
  1451. interrupt-names = "ipa",
  1452. "gsi",
  1453. "ipa-clock-query",
  1454. "ipa-setup-ready";
  1455. clocks = <&rpmhcc RPMH_IPA_CLK>;
  1456. clock-names = "core";
  1457. interconnects = <&aggre2_noc MASTER_IPA &mc_virt SLAVE_EBI1>,
  1458. <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_IPA_CFG>;
  1459. interconnect-names = "memory",
  1460. "config";
  1461. qcom,qmp = <&aoss_qmp>;
  1462. qcom,smem-states = <&ipa_smp2p_out 0>,
  1463. <&ipa_smp2p_out 1>;
  1464. qcom,smem-state-names = "ipa-clock-enabled-valid",
  1465. "ipa-clock-enabled";
  1466. status = "disabled";
  1467. };
  1468. tcsr_mutex: hwlock@1f40000 {
  1469. compatible = "qcom,tcsr-mutex";
  1470. reg = <0x0 0x01f40000 0x0 0x40000>;
  1471. #hwlock-cells = <1>;
  1472. };
  1473. mpss: remoteproc@4080000 {
  1474. compatible = "qcom,sm8350-mpss-pas";
  1475. reg = <0x0 0x04080000 0x0 0x4040>;
  1476. interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
  1477. <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>,
  1478. <&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>,
  1479. <&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>,
  1480. <&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>,
  1481. <&smp2p_modem_in 7 IRQ_TYPE_EDGE_RISING>;
  1482. interrupt-names = "wdog", "fatal", "ready", "handover",
  1483. "stop-ack", "shutdown-ack";
  1484. clocks = <&rpmhcc RPMH_CXO_CLK>;
  1485. clock-names = "xo";
  1486. power-domains = <&rpmhpd SM8350_CX>,
  1487. <&rpmhpd SM8350_MSS>;
  1488. power-domain-names = "cx", "mss";
  1489. interconnects = <&mc_virt MASTER_LLCC &mc_virt SLAVE_EBI1>;
  1490. memory-region = <&pil_modem_mem>;
  1491. qcom,qmp = <&aoss_qmp>;
  1492. qcom,smem-states = <&smp2p_modem_out 0>;
  1493. qcom,smem-state-names = "stop";
  1494. status = "disabled";
  1495. glink-edge {
  1496. interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
  1497. IPCC_MPROC_SIGNAL_GLINK_QMP
  1498. IRQ_TYPE_EDGE_RISING>;
  1499. mboxes = <&ipcc IPCC_CLIENT_MPSS
  1500. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  1501. label = "modem";
  1502. qcom,remote-pid = <1>;
  1503. };
  1504. };
  1505. pdc: interrupt-controller@b220000 {
  1506. compatible = "qcom,sm8350-pdc", "qcom,pdc";
  1507. reg = <0 0x0b220000 0 0x30000>, <0 0x17c000f0 0 0x60>;
  1508. qcom,pdc-ranges = <0 480 40>, <40 140 14>, <54 263 1>, <55 306 4>,
  1509. <59 312 3>, <62 374 2>, <64 434 2>, <66 438 3>,
  1510. <69 86 1>, <70 520 54>, <124 609 31>, <155 63 1>,
  1511. <156 716 12>;
  1512. #interrupt-cells = <2>;
  1513. interrupt-parent = <&intc>;
  1514. interrupt-controller;
  1515. };
  1516. tsens0: thermal-sensor@c263000 {
  1517. compatible = "qcom,sm8350-tsens", "qcom,tsens-v2";
  1518. reg = <0 0x0c263000 0 0x1ff>, /* TM */
  1519. <0 0x0c222000 0 0x8>; /* SROT */
  1520. #qcom,sensors = <15>;
  1521. interrupts-extended = <&pdc 26 IRQ_TYPE_LEVEL_HIGH>,
  1522. <&pdc 28 IRQ_TYPE_LEVEL_HIGH>;
  1523. interrupt-names = "uplow", "critical";
  1524. #thermal-sensor-cells = <1>;
  1525. };
  1526. tsens1: thermal-sensor@c265000 {
  1527. compatible = "qcom,sm8350-tsens", "qcom,tsens-v2";
  1528. reg = <0 0x0c265000 0 0x1ff>, /* TM */
  1529. <0 0x0c223000 0 0x8>; /* SROT */
  1530. #qcom,sensors = <14>;
  1531. interrupts-extended = <&pdc 27 IRQ_TYPE_LEVEL_HIGH>,
  1532. <&pdc 29 IRQ_TYPE_LEVEL_HIGH>;
  1533. interrupt-names = "uplow", "critical";
  1534. #thermal-sensor-cells = <1>;
  1535. };
  1536. aoss_qmp: power-controller@c300000 {
  1537. compatible = "qcom,sm8350-aoss-qmp", "qcom,aoss-qmp";
  1538. reg = <0 0x0c300000 0 0x400>;
  1539. interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP
  1540. IRQ_TYPE_EDGE_RISING>;
  1541. mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
  1542. #clock-cells = <0>;
  1543. };
  1544. sram@c3f0000 {
  1545. compatible = "qcom,rpmh-stats";
  1546. reg = <0 0x0c3f0000 0 0x400>;
  1547. };
  1548. spmi_bus: spmi@c440000 {
  1549. compatible = "qcom,spmi-pmic-arb";
  1550. reg = <0x0 0xc440000 0x0 0x1100>,
  1551. <0x0 0xc600000 0x0 0x2000000>,
  1552. <0x0 0xe600000 0x0 0x100000>,
  1553. <0x0 0xe700000 0x0 0xa0000>,
  1554. <0x0 0xc40a000 0x0 0x26000>;
  1555. reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
  1556. interrupt-names = "periph_irq";
  1557. interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
  1558. qcom,ee = <0>;
  1559. qcom,channel = <0>;
  1560. #address-cells = <2>;
  1561. #size-cells = <0>;
  1562. interrupt-controller;
  1563. #interrupt-cells = <4>;
  1564. };
  1565. tlmm: pinctrl@f100000 {
  1566. compatible = "qcom,sm8350-tlmm";
  1567. reg = <0 0x0f100000 0 0x300000>;
  1568. interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
  1569. gpio-controller;
  1570. #gpio-cells = <2>;
  1571. interrupt-controller;
  1572. #interrupt-cells = <2>;
  1573. gpio-ranges = <&tlmm 0 0 204>;
  1574. wakeup-parent = <&pdc>;
  1575. qup_uart3_default_state: qup-uart3-default-state {
  1576. rx-pins {
  1577. pins = "gpio18";
  1578. function = "qup3";
  1579. };
  1580. tx-pins {
  1581. pins = "gpio19";
  1582. function = "qup3";
  1583. };
  1584. };
  1585. qup_uart6_default: qup-uart6-default-state {
  1586. pins = "gpio30", "gpio31";
  1587. function = "qup6";
  1588. drive-strength = <2>;
  1589. bias-disable;
  1590. };
  1591. qup_uart18_default: qup-uart18-default-state {
  1592. pins = "gpio68", "gpio69";
  1593. function = "qup18";
  1594. drive-strength = <2>;
  1595. bias-disable;
  1596. };
  1597. qup_i2c0_default: qup-i2c0-default-state {
  1598. pins = "gpio4", "gpio5";
  1599. function = "qup0";
  1600. drive-strength = <2>;
  1601. bias-pull-up;
  1602. };
  1603. qup_i2c1_default: qup-i2c1-default-state {
  1604. pins = "gpio8", "gpio9";
  1605. function = "qup1";
  1606. drive-strength = <2>;
  1607. bias-pull-up;
  1608. };
  1609. qup_i2c2_default: qup-i2c2-default-state {
  1610. pins = "gpio12", "gpio13";
  1611. function = "qup2";
  1612. drive-strength = <2>;
  1613. bias-pull-up;
  1614. };
  1615. qup_i2c4_default: qup-i2c4-default-state {
  1616. pins = "gpio20", "gpio21";
  1617. function = "qup4";
  1618. drive-strength = <2>;
  1619. bias-pull-up;
  1620. };
  1621. qup_i2c5_default: qup-i2c5-default-state {
  1622. pins = "gpio24", "gpio25";
  1623. function = "qup5";
  1624. drive-strength = <2>;
  1625. bias-pull-up;
  1626. };
  1627. qup_i2c6_default: qup-i2c6-default-state {
  1628. pins = "gpio28", "gpio29";
  1629. function = "qup6";
  1630. drive-strength = <2>;
  1631. bias-pull-up;
  1632. };
  1633. qup_i2c7_default: qup-i2c7-default-state {
  1634. pins = "gpio32", "gpio33";
  1635. function = "qup7";
  1636. drive-strength = <2>;
  1637. bias-disable;
  1638. };
  1639. qup_i2c8_default: qup-i2c8-default-state {
  1640. pins = "gpio36", "gpio37";
  1641. function = "qup8";
  1642. drive-strength = <2>;
  1643. bias-pull-up;
  1644. };
  1645. qup_i2c9_default: qup-i2c9-default-state {
  1646. pins = "gpio40", "gpio41";
  1647. function = "qup9";
  1648. drive-strength = <2>;
  1649. bias-pull-up;
  1650. };
  1651. qup_i2c10_default: qup-i2c10-default-state {
  1652. pins = "gpio44", "gpio45";
  1653. function = "qup10";
  1654. drive-strength = <2>;
  1655. bias-pull-up;
  1656. };
  1657. qup_i2c11_default: qup-i2c11-default-state {
  1658. pins = "gpio48", "gpio49";
  1659. function = "qup11";
  1660. drive-strength = <2>;
  1661. bias-pull-up;
  1662. };
  1663. qup_i2c12_default: qup-i2c12-default-state {
  1664. pins = "gpio52", "gpio53";
  1665. function = "qup12";
  1666. drive-strength = <2>;
  1667. bias-pull-up;
  1668. };
  1669. qup_i2c13_default: qup-i2c13-default-state {
  1670. pins = "gpio0", "gpio1";
  1671. function = "qup13";
  1672. drive-strength = <2>;
  1673. bias-pull-up;
  1674. };
  1675. qup_i2c14_default: qup-i2c14-default-state {
  1676. pins = "gpio56", "gpio57";
  1677. function = "qup14";
  1678. drive-strength = <2>;
  1679. bias-disable;
  1680. };
  1681. qup_i2c15_default: qup-i2c15-default-state {
  1682. pins = "gpio60", "gpio61";
  1683. function = "qup15";
  1684. drive-strength = <2>;
  1685. bias-disable;
  1686. };
  1687. qup_i2c16_default: qup-i2c16-default-state {
  1688. pins = "gpio64", "gpio65";
  1689. function = "qup16";
  1690. drive-strength = <2>;
  1691. bias-disable;
  1692. };
  1693. qup_i2c17_default: qup-i2c17-default-state {
  1694. pins = "gpio72", "gpio73";
  1695. function = "qup17";
  1696. drive-strength = <2>;
  1697. bias-disable;
  1698. };
  1699. qup_i2c19_default: qup-i2c19-default-state {
  1700. pins = "gpio76", "gpio77";
  1701. function = "qup19";
  1702. drive-strength = <2>;
  1703. bias-disable;
  1704. };
  1705. };
  1706. rng: rng@10d3000 {
  1707. compatible = "qcom,prng-ee";
  1708. reg = <0 0x010d3000 0 0x1000>;
  1709. clocks = <&rpmhcc RPMH_HWKM_CLK>;
  1710. clock-names = "core";
  1711. };
  1712. intc: interrupt-controller@17a00000 {
  1713. compatible = "arm,gic-v3";
  1714. #interrupt-cells = <3>;
  1715. interrupt-controller;
  1716. #redistributor-regions = <1>;
  1717. redistributor-stride = <0 0x20000>;
  1718. reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */
  1719. <0x0 0x17a60000 0x0 0x100000>; /* GICR * 8 */
  1720. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  1721. };
  1722. timer@17c20000 {
  1723. compatible = "arm,armv7-timer-mem";
  1724. #address-cells = <1>;
  1725. #size-cells = <1>;
  1726. ranges = <0 0 0 0x20000000>;
  1727. reg = <0x0 0x17c20000 0x0 0x1000>;
  1728. clock-frequency = <19200000>;
  1729. frame@17c21000 {
  1730. frame-number = <0>;
  1731. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
  1732. <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  1733. reg = <0x17c21000 0x1000>,
  1734. <0x17c22000 0x1000>;
  1735. };
  1736. frame@17c23000 {
  1737. frame-number = <1>;
  1738. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  1739. reg = <0x17c23000 0x1000>;
  1740. status = "disabled";
  1741. };
  1742. frame@17c25000 {
  1743. frame-number = <2>;
  1744. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  1745. reg = <0x17c25000 0x1000>;
  1746. status = "disabled";
  1747. };
  1748. frame@17c27000 {
  1749. frame-number = <3>;
  1750. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  1751. reg = <0x17c27000 0x1000>;
  1752. status = "disabled";
  1753. };
  1754. frame@17c29000 {
  1755. frame-number = <4>;
  1756. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  1757. reg = <0x17c29000 0x1000>;
  1758. status = "disabled";
  1759. };
  1760. frame@17c2b000 {
  1761. frame-number = <5>;
  1762. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  1763. reg = <0x17c2b000 0x1000>;
  1764. status = "disabled";
  1765. };
  1766. frame@17c2d000 {
  1767. frame-number = <6>;
  1768. interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  1769. reg = <0x17c2d000 0x1000>;
  1770. status = "disabled";
  1771. };
  1772. };
  1773. apps_rsc: rsc@18200000 {
  1774. label = "apps_rsc";
  1775. compatible = "qcom,rpmh-rsc";
  1776. reg = <0x0 0x18200000 0x0 0x10000>,
  1777. <0x0 0x18210000 0x0 0x10000>,
  1778. <0x0 0x18220000 0x0 0x10000>;
  1779. reg-names = "drv-0", "drv-1", "drv-2";
  1780. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  1781. <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
  1782. <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  1783. qcom,tcs-offset = <0xd00>;
  1784. qcom,drv-id = <2>;
  1785. qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 3>,
  1786. <WAKE_TCS 3>, <CONTROL_TCS 0>;
  1787. rpmhcc: clock-controller {
  1788. compatible = "qcom,sm8350-rpmh-clk";
  1789. #clock-cells = <1>;
  1790. clock-names = "xo";
  1791. clocks = <&xo_board>;
  1792. };
  1793. rpmhpd: power-controller {
  1794. compatible = "qcom,sm8350-rpmhpd";
  1795. #power-domain-cells = <1>;
  1796. operating-points-v2 = <&rpmhpd_opp_table>;
  1797. rpmhpd_opp_table: opp-table {
  1798. compatible = "operating-points-v2";
  1799. rpmhpd_opp_ret: opp1 {
  1800. opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
  1801. };
  1802. rpmhpd_opp_min_svs: opp2 {
  1803. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  1804. };
  1805. rpmhpd_opp_low_svs: opp3 {
  1806. opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
  1807. };
  1808. rpmhpd_opp_svs: opp4 {
  1809. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  1810. };
  1811. rpmhpd_opp_svs_l1: opp5 {
  1812. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
  1813. };
  1814. rpmhpd_opp_nom: opp6 {
  1815. opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
  1816. };
  1817. rpmhpd_opp_nom_l1: opp7 {
  1818. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
  1819. };
  1820. rpmhpd_opp_nom_l2: opp8 {
  1821. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
  1822. };
  1823. rpmhpd_opp_turbo: opp9 {
  1824. opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
  1825. };
  1826. rpmhpd_opp_turbo_l1: opp10 {
  1827. opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
  1828. };
  1829. };
  1830. };
  1831. apps_bcm_voter: bcm-voter {
  1832. compatible = "qcom,bcm-voter";
  1833. };
  1834. };
  1835. cpufreq_hw: cpufreq@18591000 {
  1836. compatible = "qcom,sm8350-cpufreq-epss", "qcom,cpufreq-epss";
  1837. reg = <0 0x18591000 0 0x1000>,
  1838. <0 0x18592000 0 0x1000>,
  1839. <0 0x18593000 0 0x1000>;
  1840. reg-names = "freq-domain0", "freq-domain1", "freq-domain2";
  1841. interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
  1842. <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
  1843. <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
  1844. interrupt-names = "dcvsh-irq-0",
  1845. "dcvsh-irq-1",
  1846. "dcvsh-irq-2";
  1847. clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>;
  1848. clock-names = "xo", "alternate";
  1849. #freq-domain-cells = <1>;
  1850. };
  1851. ufs_mem_hc: ufshc@1d84000 {
  1852. compatible = "qcom,sm8350-ufshc", "qcom,ufshc",
  1853. "jedec,ufs-2.0";
  1854. reg = <0 0x01d84000 0 0x3000>;
  1855. interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
  1856. phys = <&ufs_mem_phy_lanes>;
  1857. phy-names = "ufsphy";
  1858. lanes-per-direction = <2>;
  1859. #reset-cells = <1>;
  1860. resets = <&gcc GCC_UFS_PHY_BCR>;
  1861. reset-names = "rst";
  1862. power-domains = <&gcc UFS_PHY_GDSC>;
  1863. iommus = <&apps_smmu 0xe0 0x0>;
  1864. clock-names =
  1865. "core_clk",
  1866. "bus_aggr_clk",
  1867. "iface_clk",
  1868. "core_clk_unipro",
  1869. "ref_clk",
  1870. "tx_lane0_sync_clk",
  1871. "rx_lane0_sync_clk",
  1872. "rx_lane1_sync_clk";
  1873. clocks =
  1874. <&gcc GCC_UFS_PHY_AXI_CLK>,
  1875. <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
  1876. <&gcc GCC_UFS_PHY_AHB_CLK>,
  1877. <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
  1878. <&rpmhcc RPMH_CXO_CLK>,
  1879. <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
  1880. <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
  1881. <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
  1882. freq-table-hz =
  1883. <75000000 300000000>,
  1884. <0 0>,
  1885. <0 0>,
  1886. <75000000 300000000>,
  1887. <0 0>,
  1888. <0 0>,
  1889. <0 0>,
  1890. <0 0>;
  1891. status = "disabled";
  1892. };
  1893. ufs_mem_phy: phy@1d87000 {
  1894. compatible = "qcom,sm8350-qmp-ufs-phy";
  1895. reg = <0 0x01d87000 0 0x1c4>;
  1896. #address-cells = <2>;
  1897. #size-cells = <2>;
  1898. ranges;
  1899. clock-names = "ref",
  1900. "ref_aux";
  1901. clocks = <&rpmhcc RPMH_CXO_CLK>,
  1902. <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
  1903. resets = <&ufs_mem_hc 0>;
  1904. reset-names = "ufsphy";
  1905. status = "disabled";
  1906. ufs_mem_phy_lanes: phy@1d87400 {
  1907. reg = <0 0x01d87400 0 0x188>,
  1908. <0 0x01d87600 0 0x200>,
  1909. <0 0x01d87c00 0 0x200>,
  1910. <0 0x01d87800 0 0x188>,
  1911. <0 0x01d87a00 0 0x200>;
  1912. #phy-cells = <0>;
  1913. };
  1914. };
  1915. slpi: remoteproc@5c00000 {
  1916. compatible = "qcom,sm8350-slpi-pas";
  1917. reg = <0 0x05c00000 0 0x4000>;
  1918. interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>,
  1919. <&smp2p_slpi_in 0 IRQ_TYPE_EDGE_RISING>,
  1920. <&smp2p_slpi_in 1 IRQ_TYPE_EDGE_RISING>,
  1921. <&smp2p_slpi_in 2 IRQ_TYPE_EDGE_RISING>,
  1922. <&smp2p_slpi_in 3 IRQ_TYPE_EDGE_RISING>;
  1923. interrupt-names = "wdog", "fatal", "ready",
  1924. "handover", "stop-ack";
  1925. clocks = <&rpmhcc RPMH_CXO_CLK>;
  1926. clock-names = "xo";
  1927. power-domains = <&rpmhpd SM8350_LCX>,
  1928. <&rpmhpd SM8350_LMX>;
  1929. power-domain-names = "lcx", "lmx";
  1930. memory-region = <&pil_slpi_mem>;
  1931. qcom,qmp = <&aoss_qmp>;
  1932. qcom,smem-states = <&smp2p_slpi_out 0>;
  1933. qcom,smem-state-names = "stop";
  1934. status = "disabled";
  1935. glink-edge {
  1936. interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
  1937. IPCC_MPROC_SIGNAL_GLINK_QMP
  1938. IRQ_TYPE_EDGE_RISING>;
  1939. mboxes = <&ipcc IPCC_CLIENT_SLPI
  1940. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  1941. label = "slpi";
  1942. qcom,remote-pid = <3>;
  1943. fastrpc {
  1944. compatible = "qcom,fastrpc";
  1945. qcom,glink-channels = "fastrpcglink-apps-dsp";
  1946. label = "sdsp";
  1947. qcom,non-secure-domain;
  1948. #address-cells = <1>;
  1949. #size-cells = <0>;
  1950. compute-cb@1 {
  1951. compatible = "qcom,fastrpc-compute-cb";
  1952. reg = <1>;
  1953. iommus = <&apps_smmu 0x0541 0x0>;
  1954. };
  1955. compute-cb@2 {
  1956. compatible = "qcom,fastrpc-compute-cb";
  1957. reg = <2>;
  1958. iommus = <&apps_smmu 0x0542 0x0>;
  1959. };
  1960. compute-cb@3 {
  1961. compatible = "qcom,fastrpc-compute-cb";
  1962. reg = <3>;
  1963. iommus = <&apps_smmu 0x0543 0x0>;
  1964. /* note: shared-cb = <4> in downstream */
  1965. };
  1966. };
  1967. };
  1968. };
  1969. cdsp: remoteproc@98900000 {
  1970. compatible = "qcom,sm8350-cdsp-pas";
  1971. reg = <0 0x098900000 0 0x1400000>;
  1972. interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>,
  1973. <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
  1974. <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>,
  1975. <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,
  1976. <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>;
  1977. interrupt-names = "wdog", "fatal", "ready",
  1978. "handover", "stop-ack";
  1979. clocks = <&rpmhcc RPMH_CXO_CLK>;
  1980. clock-names = "xo";
  1981. power-domains = <&rpmhpd SM8350_CX>,
  1982. <&rpmhpd SM8350_MXC>;
  1983. power-domain-names = "cx", "mxc";
  1984. interconnects = <&compute_noc MASTER_CDSP_PROC &mc_virt SLAVE_EBI1>;
  1985. memory-region = <&pil_cdsp_mem>;
  1986. qcom,qmp = <&aoss_qmp>;
  1987. qcom,smem-states = <&smp2p_cdsp_out 0>;
  1988. qcom,smem-state-names = "stop";
  1989. status = "disabled";
  1990. glink-edge {
  1991. interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
  1992. IPCC_MPROC_SIGNAL_GLINK_QMP
  1993. IRQ_TYPE_EDGE_RISING>;
  1994. mboxes = <&ipcc IPCC_CLIENT_CDSP
  1995. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  1996. label = "cdsp";
  1997. qcom,remote-pid = <5>;
  1998. fastrpc {
  1999. compatible = "qcom,fastrpc";
  2000. qcom,glink-channels = "fastrpcglink-apps-dsp";
  2001. label = "cdsp";
  2002. qcom,non-secure-domain;
  2003. #address-cells = <1>;
  2004. #size-cells = <0>;
  2005. compute-cb@1 {
  2006. compatible = "qcom,fastrpc-compute-cb";
  2007. reg = <1>;
  2008. iommus = <&apps_smmu 0x2161 0x0400>,
  2009. <&apps_smmu 0x1181 0x0420>;
  2010. };
  2011. compute-cb@2 {
  2012. compatible = "qcom,fastrpc-compute-cb";
  2013. reg = <2>;
  2014. iommus = <&apps_smmu 0x2162 0x0400>,
  2015. <&apps_smmu 0x1182 0x0420>;
  2016. };
  2017. compute-cb@3 {
  2018. compatible = "qcom,fastrpc-compute-cb";
  2019. reg = <3>;
  2020. iommus = <&apps_smmu 0x2163 0x0400>,
  2021. <&apps_smmu 0x1183 0x0420>;
  2022. };
  2023. compute-cb@4 {
  2024. compatible = "qcom,fastrpc-compute-cb";
  2025. reg = <4>;
  2026. iommus = <&apps_smmu 0x2164 0x0400>,
  2027. <&apps_smmu 0x1184 0x0420>;
  2028. };
  2029. compute-cb@5 {
  2030. compatible = "qcom,fastrpc-compute-cb";
  2031. reg = <5>;
  2032. iommus = <&apps_smmu 0x2165 0x0400>,
  2033. <&apps_smmu 0x1185 0x0420>;
  2034. };
  2035. compute-cb@6 {
  2036. compatible = "qcom,fastrpc-compute-cb";
  2037. reg = <6>;
  2038. iommus = <&apps_smmu 0x2166 0x0400>,
  2039. <&apps_smmu 0x1186 0x0420>;
  2040. };
  2041. compute-cb@7 {
  2042. compatible = "qcom,fastrpc-compute-cb";
  2043. reg = <7>;
  2044. iommus = <&apps_smmu 0x2167 0x0400>,
  2045. <&apps_smmu 0x1187 0x0420>;
  2046. };
  2047. compute-cb@8 {
  2048. compatible = "qcom,fastrpc-compute-cb";
  2049. reg = <8>;
  2050. iommus = <&apps_smmu 0x2168 0x0400>,
  2051. <&apps_smmu 0x1188 0x0420>;
  2052. };
  2053. /* note: secure cb9 in downstream */
  2054. };
  2055. };
  2056. };
  2057. usb_1_hsphy: phy@88e3000 {
  2058. compatible = "qcom,sm8350-usb-hs-phy",
  2059. "qcom,usb-snps-hs-7nm-phy";
  2060. reg = <0 0x088e3000 0 0x400>;
  2061. status = "disabled";
  2062. #phy-cells = <0>;
  2063. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2064. clock-names = "ref";
  2065. resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
  2066. };
  2067. usb_2_hsphy: phy@88e4000 {
  2068. compatible = "qcom,sm8250-usb-hs-phy",
  2069. "qcom,usb-snps-hs-7nm-phy";
  2070. reg = <0 0x088e4000 0 0x400>;
  2071. status = "disabled";
  2072. #phy-cells = <0>;
  2073. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2074. clock-names = "ref";
  2075. resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
  2076. };
  2077. usb_1_qmpphy: phy-wrapper@88e9000 {
  2078. compatible = "qcom,sm8350-qmp-usb3-phy";
  2079. reg = <0 0x088e9000 0 0x200>,
  2080. <0 0x088e8000 0 0x20>;
  2081. status = "disabled";
  2082. #address-cells = <2>;
  2083. #size-cells = <2>;
  2084. ranges;
  2085. clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
  2086. <&rpmhcc RPMH_CXO_CLK>,
  2087. <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
  2088. clock-names = "aux", "ref_clk_src", "com_aux";
  2089. resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
  2090. <&gcc GCC_USB3_PHY_PRIM_BCR>;
  2091. reset-names = "phy", "common";
  2092. usb_1_ssphy: phy@88e9200 {
  2093. reg = <0 0x088e9200 0 0x200>,
  2094. <0 0x088e9400 0 0x200>,
  2095. <0 0x088e9c00 0 0x400>,
  2096. <0 0x088e9600 0 0x200>,
  2097. <0 0x088e9800 0 0x200>,
  2098. <0 0x088e9a00 0 0x100>;
  2099. #phy-cells = <0>;
  2100. #clock-cells = <0>;
  2101. clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
  2102. clock-names = "pipe0";
  2103. clock-output-names = "usb3_phy_pipe_clk_src";
  2104. };
  2105. };
  2106. usb_2_qmpphy: phy-wrapper@88eb000 {
  2107. compatible = "qcom,sm8350-qmp-usb3-uni-phy";
  2108. reg = <0 0x088eb000 0 0x200>;
  2109. status = "disabled";
  2110. #address-cells = <2>;
  2111. #size-cells = <2>;
  2112. ranges;
  2113. clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
  2114. <&rpmhcc RPMH_CXO_CLK>,
  2115. <&gcc GCC_USB3_SEC_CLKREF_EN>,
  2116. <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
  2117. clock-names = "aux", "ref_clk_src", "ref", "com_aux";
  2118. resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
  2119. <&gcc GCC_USB3_PHY_SEC_BCR>;
  2120. reset-names = "phy", "common";
  2121. usb_2_ssphy: phy@88ebe00 {
  2122. reg = <0 0x088ebe00 0 0x200>,
  2123. <0 0x088ec000 0 0x200>,
  2124. <0 0x088eb200 0 0x1100>;
  2125. #phy-cells = <0>;
  2126. #clock-cells = <0>;
  2127. clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
  2128. clock-names = "pipe0";
  2129. clock-output-names = "usb3_uni_phy_pipe_clk_src";
  2130. };
  2131. };
  2132. dc_noc: interconnect@90c0000 {
  2133. compatible = "qcom,sm8350-dc-noc";
  2134. reg = <0 0x090c0000 0 0x4200>;
  2135. #interconnect-cells = <1>;
  2136. qcom,bcm-voters = <&apps_bcm_voter>;
  2137. };
  2138. gem_noc: interconnect@9100000 {
  2139. compatible = "qcom,sm8350-gem-noc";
  2140. reg = <0 0x09100000 0 0xb4000>;
  2141. #interconnect-cells = <1>;
  2142. qcom,bcm-voters = <&apps_bcm_voter>;
  2143. };
  2144. system-cache-controller@9200000 {
  2145. compatible = "qcom,sm8350-llcc";
  2146. reg = <0 0x09200000 0 0x1d0000>, <0 0x09600000 0 0x50000>;
  2147. reg-names = "llcc_base", "llcc_broadcast_base";
  2148. };
  2149. usb_1: usb@a6f8800 {
  2150. compatible = "qcom,sm8350-dwc3", "qcom,dwc3";
  2151. reg = <0 0x0a6f8800 0 0x400>;
  2152. status = "disabled";
  2153. #address-cells = <2>;
  2154. #size-cells = <2>;
  2155. ranges;
  2156. clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
  2157. <&gcc GCC_USB30_PRIM_MASTER_CLK>,
  2158. <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
  2159. <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
  2160. <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
  2161. clock-names = "cfg_noc",
  2162. "core",
  2163. "iface",
  2164. "sleep",
  2165. "mock_utmi";
  2166. assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  2167. <&gcc GCC_USB30_PRIM_MASTER_CLK>;
  2168. assigned-clock-rates = <19200000>, <200000000>;
  2169. interrupts-extended = <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
  2170. <&pdc 17 IRQ_TYPE_LEVEL_HIGH>,
  2171. <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
  2172. <&pdc 14 IRQ_TYPE_EDGE_BOTH>;
  2173. interrupt-names = "hs_phy_irq",
  2174. "ss_phy_irq",
  2175. "dm_hs_phy_irq",
  2176. "dp_hs_phy_irq";
  2177. power-domains = <&gcc USB30_PRIM_GDSC>;
  2178. resets = <&gcc GCC_USB30_PRIM_BCR>;
  2179. usb_1_dwc3: usb@a600000 {
  2180. compatible = "snps,dwc3";
  2181. reg = <0 0x0a600000 0 0xcd00>;
  2182. interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  2183. iommus = <&apps_smmu 0x0 0x0>;
  2184. snps,dis_u2_susphy_quirk;
  2185. snps,dis_enblslpm_quirk;
  2186. phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
  2187. phy-names = "usb2-phy", "usb3-phy";
  2188. };
  2189. };
  2190. usb_2: usb@a8f8800 {
  2191. compatible = "qcom,sm8350-dwc3", "qcom,dwc3";
  2192. reg = <0 0x0a8f8800 0 0x400>;
  2193. status = "disabled";
  2194. #address-cells = <2>;
  2195. #size-cells = <2>;
  2196. ranges;
  2197. clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
  2198. <&gcc GCC_USB30_SEC_MASTER_CLK>,
  2199. <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
  2200. <&gcc GCC_USB30_SEC_SLEEP_CLK>,
  2201. <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
  2202. <&gcc GCC_USB3_SEC_CLKREF_EN>;
  2203. clock-names = "cfg_noc",
  2204. "core",
  2205. "iface",
  2206. "sleep",
  2207. "mock_utmi",
  2208. "xo";
  2209. assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
  2210. <&gcc GCC_USB30_SEC_MASTER_CLK>;
  2211. assigned-clock-rates = <19200000>, <200000000>;
  2212. interrupts-extended = <&intc GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
  2213. <&pdc 16 IRQ_TYPE_LEVEL_HIGH>,
  2214. <&pdc 13 IRQ_TYPE_EDGE_BOTH>,
  2215. <&pdc 12 IRQ_TYPE_EDGE_BOTH>;
  2216. interrupt-names = "hs_phy_irq",
  2217. "ss_phy_irq",
  2218. "dm_hs_phy_irq",
  2219. "dp_hs_phy_irq";
  2220. power-domains = <&gcc USB30_SEC_GDSC>;
  2221. resets = <&gcc GCC_USB30_SEC_BCR>;
  2222. usb_2_dwc3: usb@a800000 {
  2223. compatible = "snps,dwc3";
  2224. reg = <0 0x0a800000 0 0xcd00>;
  2225. interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
  2226. iommus = <&apps_smmu 0x20 0x0>;
  2227. snps,dis_u2_susphy_quirk;
  2228. snps,dis_enblslpm_quirk;
  2229. phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
  2230. phy-names = "usb2-phy", "usb3-phy";
  2231. };
  2232. };
  2233. dispcc: clock-controller@af00000 {
  2234. compatible = "qcom,sm8350-dispcc";
  2235. reg = <0 0x0af00000 0 0x10000>;
  2236. clocks = <&rpmhcc RPMH_CXO_CLK>,
  2237. <0>,
  2238. <0>,
  2239. <0>,
  2240. <0>,
  2241. <0>,
  2242. <0>;
  2243. clock-names = "bi_tcxo",
  2244. "dsi0_phy_pll_out_byteclk",
  2245. "dsi0_phy_pll_out_dsiclk",
  2246. "dsi1_phy_pll_out_byteclk",
  2247. "dsi1_phy_pll_out_dsiclk",
  2248. "dp_phy_pll_link_clk",
  2249. "dp_phy_pll_vco_div_clk";
  2250. #clock-cells = <1>;
  2251. #reset-cells = <1>;
  2252. #power-domain-cells = <1>;
  2253. power-domains = <&rpmhpd SM8350_MMCX>;
  2254. power-domain-names = "mmcx";
  2255. };
  2256. adsp: remoteproc@17300000 {
  2257. compatible = "qcom,sm8350-adsp-pas";
  2258. reg = <0 0x17300000 0 0x100>;
  2259. interrupts-extended = <&pdc 6 IRQ_TYPE_LEVEL_HIGH>,
  2260. <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
  2261. <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
  2262. <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
  2263. <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
  2264. interrupt-names = "wdog", "fatal", "ready",
  2265. "handover", "stop-ack";
  2266. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2267. clock-names = "xo";
  2268. power-domains = <&rpmhpd SM8350_LCX>,
  2269. <&rpmhpd SM8350_LMX>;
  2270. power-domain-names = "lcx", "lmx";
  2271. memory-region = <&pil_adsp_mem>;
  2272. qcom,qmp = <&aoss_qmp>;
  2273. qcom,smem-states = <&smp2p_adsp_out 0>;
  2274. qcom,smem-state-names = "stop";
  2275. status = "disabled";
  2276. glink-edge {
  2277. interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
  2278. IPCC_MPROC_SIGNAL_GLINK_QMP
  2279. IRQ_TYPE_EDGE_RISING>;
  2280. mboxes = <&ipcc IPCC_CLIENT_LPASS
  2281. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  2282. label = "lpass";
  2283. qcom,remote-pid = <2>;
  2284. fastrpc {
  2285. compatible = "qcom,fastrpc";
  2286. qcom,glink-channels = "fastrpcglink-apps-dsp";
  2287. label = "adsp";
  2288. qcom,non-secure-domain;
  2289. #address-cells = <1>;
  2290. #size-cells = <0>;
  2291. compute-cb@3 {
  2292. compatible = "qcom,fastrpc-compute-cb";
  2293. reg = <3>;
  2294. iommus = <&apps_smmu 0x1803 0x0>;
  2295. };
  2296. compute-cb@4 {
  2297. compatible = "qcom,fastrpc-compute-cb";
  2298. reg = <4>;
  2299. iommus = <&apps_smmu 0x1804 0x0>;
  2300. };
  2301. compute-cb@5 {
  2302. compatible = "qcom,fastrpc-compute-cb";
  2303. reg = <5>;
  2304. iommus = <&apps_smmu 0x1805 0x0>;
  2305. };
  2306. };
  2307. };
  2308. };
  2309. };
  2310. thermal_zones: thermal-zones {
  2311. cpu0-thermal {
  2312. polling-delay-passive = <250>;
  2313. polling-delay = <1000>;
  2314. thermal-sensors = <&tsens0 1>;
  2315. trips {
  2316. cpu0_alert0: trip-point0 {
  2317. temperature = <90000>;
  2318. hysteresis = <2000>;
  2319. type = "passive";
  2320. };
  2321. cpu0_alert1: trip-point1 {
  2322. temperature = <95000>;
  2323. hysteresis = <2000>;
  2324. type = "passive";
  2325. };
  2326. cpu0_crit: cpu_crit {
  2327. temperature = <110000>;
  2328. hysteresis = <1000>;
  2329. type = "critical";
  2330. };
  2331. };
  2332. cooling-maps {
  2333. map0 {
  2334. trip = <&cpu0_alert0>;
  2335. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2336. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2337. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2338. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2339. };
  2340. map1 {
  2341. trip = <&cpu0_alert1>;
  2342. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2343. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2344. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2345. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2346. };
  2347. };
  2348. };
  2349. cpu1-thermal {
  2350. polling-delay-passive = <250>;
  2351. polling-delay = <1000>;
  2352. thermal-sensors = <&tsens0 2>;
  2353. trips {
  2354. cpu1_alert0: trip-point0 {
  2355. temperature = <90000>;
  2356. hysteresis = <2000>;
  2357. type = "passive";
  2358. };
  2359. cpu1_alert1: trip-point1 {
  2360. temperature = <95000>;
  2361. hysteresis = <2000>;
  2362. type = "passive";
  2363. };
  2364. cpu1_crit: cpu_crit {
  2365. temperature = <110000>;
  2366. hysteresis = <1000>;
  2367. type = "critical";
  2368. };
  2369. };
  2370. cooling-maps {
  2371. map0 {
  2372. trip = <&cpu1_alert0>;
  2373. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2374. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2375. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2376. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2377. };
  2378. map1 {
  2379. trip = <&cpu1_alert1>;
  2380. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2381. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2382. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2383. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2384. };
  2385. };
  2386. };
  2387. cpu2-thermal {
  2388. polling-delay-passive = <250>;
  2389. polling-delay = <1000>;
  2390. thermal-sensors = <&tsens0 3>;
  2391. trips {
  2392. cpu2_alert0: trip-point0 {
  2393. temperature = <90000>;
  2394. hysteresis = <2000>;
  2395. type = "passive";
  2396. };
  2397. cpu2_alert1: trip-point1 {
  2398. temperature = <95000>;
  2399. hysteresis = <2000>;
  2400. type = "passive";
  2401. };
  2402. cpu2_crit: cpu_crit {
  2403. temperature = <110000>;
  2404. hysteresis = <1000>;
  2405. type = "critical";
  2406. };
  2407. };
  2408. cooling-maps {
  2409. map0 {
  2410. trip = <&cpu2_alert0>;
  2411. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2412. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2413. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2414. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2415. };
  2416. map1 {
  2417. trip = <&cpu2_alert1>;
  2418. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2419. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2420. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2421. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2422. };
  2423. };
  2424. };
  2425. cpu3-thermal {
  2426. polling-delay-passive = <250>;
  2427. polling-delay = <1000>;
  2428. thermal-sensors = <&tsens0 4>;
  2429. trips {
  2430. cpu3_alert0: trip-point0 {
  2431. temperature = <90000>;
  2432. hysteresis = <2000>;
  2433. type = "passive";
  2434. };
  2435. cpu3_alert1: trip-point1 {
  2436. temperature = <95000>;
  2437. hysteresis = <2000>;
  2438. type = "passive";
  2439. };
  2440. cpu3_crit: cpu_crit {
  2441. temperature = <110000>;
  2442. hysteresis = <1000>;
  2443. type = "critical";
  2444. };
  2445. };
  2446. cooling-maps {
  2447. map0 {
  2448. trip = <&cpu3_alert0>;
  2449. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2450. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2451. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2452. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2453. };
  2454. map1 {
  2455. trip = <&cpu3_alert1>;
  2456. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2457. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2458. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2459. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2460. };
  2461. };
  2462. };
  2463. cpu4-top-thermal {
  2464. polling-delay-passive = <250>;
  2465. polling-delay = <1000>;
  2466. thermal-sensors = <&tsens0 7>;
  2467. trips {
  2468. cpu4_top_alert0: trip-point0 {
  2469. temperature = <90000>;
  2470. hysteresis = <2000>;
  2471. type = "passive";
  2472. };
  2473. cpu4_top_alert1: trip-point1 {
  2474. temperature = <95000>;
  2475. hysteresis = <2000>;
  2476. type = "passive";
  2477. };
  2478. cpu4_top_crit: cpu_crit {
  2479. temperature = <110000>;
  2480. hysteresis = <1000>;
  2481. type = "critical";
  2482. };
  2483. };
  2484. cooling-maps {
  2485. map0 {
  2486. trip = <&cpu4_top_alert0>;
  2487. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2488. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2489. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2490. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2491. };
  2492. map1 {
  2493. trip = <&cpu4_top_alert1>;
  2494. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2495. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2496. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2497. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2498. };
  2499. };
  2500. };
  2501. cpu5-top-thermal {
  2502. polling-delay-passive = <250>;
  2503. polling-delay = <1000>;
  2504. thermal-sensors = <&tsens0 8>;
  2505. trips {
  2506. cpu5_top_alert0: trip-point0 {
  2507. temperature = <90000>;
  2508. hysteresis = <2000>;
  2509. type = "passive";
  2510. };
  2511. cpu5_top_alert1: trip-point1 {
  2512. temperature = <95000>;
  2513. hysteresis = <2000>;
  2514. type = "passive";
  2515. };
  2516. cpu5_top_crit: cpu_crit {
  2517. temperature = <110000>;
  2518. hysteresis = <1000>;
  2519. type = "critical";
  2520. };
  2521. };
  2522. cooling-maps {
  2523. map0 {
  2524. trip = <&cpu5_top_alert0>;
  2525. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2526. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2527. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2528. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2529. };
  2530. map1 {
  2531. trip = <&cpu5_top_alert1>;
  2532. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2533. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2534. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2535. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2536. };
  2537. };
  2538. };
  2539. cpu6-top-thermal {
  2540. polling-delay-passive = <250>;
  2541. polling-delay = <1000>;
  2542. thermal-sensors = <&tsens0 9>;
  2543. trips {
  2544. cpu6_top_alert0: trip-point0 {
  2545. temperature = <90000>;
  2546. hysteresis = <2000>;
  2547. type = "passive";
  2548. };
  2549. cpu6_top_alert1: trip-point1 {
  2550. temperature = <95000>;
  2551. hysteresis = <2000>;
  2552. type = "passive";
  2553. };
  2554. cpu6_top_crit: cpu_crit {
  2555. temperature = <110000>;
  2556. hysteresis = <1000>;
  2557. type = "critical";
  2558. };
  2559. };
  2560. cooling-maps {
  2561. map0 {
  2562. trip = <&cpu6_top_alert0>;
  2563. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2564. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2565. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2566. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2567. };
  2568. map1 {
  2569. trip = <&cpu6_top_alert1>;
  2570. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2571. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2572. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2573. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2574. };
  2575. };
  2576. };
  2577. cpu7-top-thermal {
  2578. polling-delay-passive = <250>;
  2579. polling-delay = <1000>;
  2580. thermal-sensors = <&tsens0 10>;
  2581. trips {
  2582. cpu7_top_alert0: trip-point0 {
  2583. temperature = <90000>;
  2584. hysteresis = <2000>;
  2585. type = "passive";
  2586. };
  2587. cpu7_top_alert1: trip-point1 {
  2588. temperature = <95000>;
  2589. hysteresis = <2000>;
  2590. type = "passive";
  2591. };
  2592. cpu7_top_crit: cpu_crit {
  2593. temperature = <110000>;
  2594. hysteresis = <1000>;
  2595. type = "critical";
  2596. };
  2597. };
  2598. cooling-maps {
  2599. map0 {
  2600. trip = <&cpu7_top_alert0>;
  2601. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2602. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2603. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2604. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2605. };
  2606. map1 {
  2607. trip = <&cpu7_top_alert1>;
  2608. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2609. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2610. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2611. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2612. };
  2613. };
  2614. };
  2615. cpu4-bottom-thermal {
  2616. polling-delay-passive = <250>;
  2617. polling-delay = <1000>;
  2618. thermal-sensors = <&tsens0 11>;
  2619. trips {
  2620. cpu4_bottom_alert0: trip-point0 {
  2621. temperature = <90000>;
  2622. hysteresis = <2000>;
  2623. type = "passive";
  2624. };
  2625. cpu4_bottom_alert1: trip-point1 {
  2626. temperature = <95000>;
  2627. hysteresis = <2000>;
  2628. type = "passive";
  2629. };
  2630. cpu4_bottom_crit: cpu_crit {
  2631. temperature = <110000>;
  2632. hysteresis = <1000>;
  2633. type = "critical";
  2634. };
  2635. };
  2636. cooling-maps {
  2637. map0 {
  2638. trip = <&cpu4_bottom_alert0>;
  2639. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2640. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2641. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2642. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2643. };
  2644. map1 {
  2645. trip = <&cpu4_bottom_alert1>;
  2646. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2647. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2648. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2649. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2650. };
  2651. };
  2652. };
  2653. cpu5-bottom-thermal {
  2654. polling-delay-passive = <250>;
  2655. polling-delay = <1000>;
  2656. thermal-sensors = <&tsens0 12>;
  2657. trips {
  2658. cpu5_bottom_alert0: trip-point0 {
  2659. temperature = <90000>;
  2660. hysteresis = <2000>;
  2661. type = "passive";
  2662. };
  2663. cpu5_bottom_alert1: trip-point1 {
  2664. temperature = <95000>;
  2665. hysteresis = <2000>;
  2666. type = "passive";
  2667. };
  2668. cpu5_bottom_crit: cpu_crit {
  2669. temperature = <110000>;
  2670. hysteresis = <1000>;
  2671. type = "critical";
  2672. };
  2673. };
  2674. cooling-maps {
  2675. map0 {
  2676. trip = <&cpu5_bottom_alert0>;
  2677. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2678. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2679. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2680. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2681. };
  2682. map1 {
  2683. trip = <&cpu5_bottom_alert1>;
  2684. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2685. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2686. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2687. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2688. };
  2689. };
  2690. };
  2691. cpu6-bottom-thermal {
  2692. polling-delay-passive = <250>;
  2693. polling-delay = <1000>;
  2694. thermal-sensors = <&tsens0 13>;
  2695. trips {
  2696. cpu6_bottom_alert0: trip-point0 {
  2697. temperature = <90000>;
  2698. hysteresis = <2000>;
  2699. type = "passive";
  2700. };
  2701. cpu6_bottom_alert1: trip-point1 {
  2702. temperature = <95000>;
  2703. hysteresis = <2000>;
  2704. type = "passive";
  2705. };
  2706. cpu6_bottom_crit: cpu_crit {
  2707. temperature = <110000>;
  2708. hysteresis = <1000>;
  2709. type = "critical";
  2710. };
  2711. };
  2712. cooling-maps {
  2713. map0 {
  2714. trip = <&cpu6_bottom_alert0>;
  2715. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2716. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2717. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2718. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2719. };
  2720. map1 {
  2721. trip = <&cpu6_bottom_alert1>;
  2722. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2723. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2724. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2725. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2726. };
  2727. };
  2728. };
  2729. cpu7-bottom-thermal {
  2730. polling-delay-passive = <250>;
  2731. polling-delay = <1000>;
  2732. thermal-sensors = <&tsens0 14>;
  2733. trips {
  2734. cpu7_bottom_alert0: trip-point0 {
  2735. temperature = <90000>;
  2736. hysteresis = <2000>;
  2737. type = "passive";
  2738. };
  2739. cpu7_bottom_alert1: trip-point1 {
  2740. temperature = <95000>;
  2741. hysteresis = <2000>;
  2742. type = "passive";
  2743. };
  2744. cpu7_bottom_crit: cpu_crit {
  2745. temperature = <110000>;
  2746. hysteresis = <1000>;
  2747. type = "critical";
  2748. };
  2749. };
  2750. cooling-maps {
  2751. map0 {
  2752. trip = <&cpu7_bottom_alert0>;
  2753. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2754. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2755. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2756. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2757. };
  2758. map1 {
  2759. trip = <&cpu7_bottom_alert1>;
  2760. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2761. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2762. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  2763. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  2764. };
  2765. };
  2766. };
  2767. aoss0-thermal {
  2768. polling-delay-passive = <250>;
  2769. polling-delay = <1000>;
  2770. thermal-sensors = <&tsens0 0>;
  2771. trips {
  2772. aoss0_alert0: trip-point0 {
  2773. temperature = <90000>;
  2774. hysteresis = <2000>;
  2775. type = "hot";
  2776. };
  2777. };
  2778. };
  2779. cluster0-thermal {
  2780. polling-delay-passive = <250>;
  2781. polling-delay = <1000>;
  2782. thermal-sensors = <&tsens0 5>;
  2783. trips {
  2784. cluster0_alert0: trip-point0 {
  2785. temperature = <90000>;
  2786. hysteresis = <2000>;
  2787. type = "hot";
  2788. };
  2789. cluster0_crit: cluster0_crit {
  2790. temperature = <110000>;
  2791. hysteresis = <2000>;
  2792. type = "critical";
  2793. };
  2794. };
  2795. };
  2796. cluster1-thermal {
  2797. polling-delay-passive = <250>;
  2798. polling-delay = <1000>;
  2799. thermal-sensors = <&tsens0 6>;
  2800. trips {
  2801. cluster1_alert0: trip-point0 {
  2802. temperature = <90000>;
  2803. hysteresis = <2000>;
  2804. type = "hot";
  2805. };
  2806. cluster1_crit: cluster1_crit {
  2807. temperature = <110000>;
  2808. hysteresis = <2000>;
  2809. type = "critical";
  2810. };
  2811. };
  2812. };
  2813. aoss1-thermal {
  2814. polling-delay-passive = <250>;
  2815. polling-delay = <1000>;
  2816. thermal-sensors = <&tsens1 0>;
  2817. trips {
  2818. aoss1_alert0: trip-point0 {
  2819. temperature = <90000>;
  2820. hysteresis = <2000>;
  2821. type = "hot";
  2822. };
  2823. };
  2824. };
  2825. gpu-top-thermal {
  2826. polling-delay-passive = <250>;
  2827. polling-delay = <1000>;
  2828. thermal-sensors = <&tsens1 1>;
  2829. trips {
  2830. gpu1_alert0: trip-point0 {
  2831. temperature = <90000>;
  2832. hysteresis = <1000>;
  2833. type = "hot";
  2834. };
  2835. };
  2836. };
  2837. gpu-bottom-thermal {
  2838. polling-delay-passive = <250>;
  2839. polling-delay = <1000>;
  2840. thermal-sensors = <&tsens1 2>;
  2841. trips {
  2842. gpu2_alert0: trip-point0 {
  2843. temperature = <90000>;
  2844. hysteresis = <1000>;
  2845. type = "hot";
  2846. };
  2847. };
  2848. };
  2849. nspss1-thermal {
  2850. polling-delay-passive = <250>;
  2851. polling-delay = <1000>;
  2852. thermal-sensors = <&tsens1 3>;
  2853. trips {
  2854. nspss1_alert0: trip-point0 {
  2855. temperature = <90000>;
  2856. hysteresis = <1000>;
  2857. type = "hot";
  2858. };
  2859. };
  2860. };
  2861. nspss2-thermal {
  2862. polling-delay-passive = <250>;
  2863. polling-delay = <1000>;
  2864. thermal-sensors = <&tsens1 4>;
  2865. trips {
  2866. nspss2_alert0: trip-point0 {
  2867. temperature = <90000>;
  2868. hysteresis = <1000>;
  2869. type = "hot";
  2870. };
  2871. };
  2872. };
  2873. nspss3-thermal {
  2874. polling-delay-passive = <250>;
  2875. polling-delay = <1000>;
  2876. thermal-sensors = <&tsens1 5>;
  2877. trips {
  2878. nspss3_alert0: trip-point0 {
  2879. temperature = <90000>;
  2880. hysteresis = <1000>;
  2881. type = "hot";
  2882. };
  2883. };
  2884. };
  2885. video-thermal {
  2886. polling-delay-passive = <250>;
  2887. polling-delay = <1000>;
  2888. thermal-sensors = <&tsens1 6>;
  2889. trips {
  2890. video_alert0: trip-point0 {
  2891. temperature = <90000>;
  2892. hysteresis = <2000>;
  2893. type = "hot";
  2894. };
  2895. };
  2896. };
  2897. mem-thermal {
  2898. polling-delay-passive = <250>;
  2899. polling-delay = <1000>;
  2900. thermal-sensors = <&tsens1 7>;
  2901. trips {
  2902. mem_alert0: trip-point0 {
  2903. temperature = <90000>;
  2904. hysteresis = <2000>;
  2905. type = "hot";
  2906. };
  2907. };
  2908. };
  2909. modem1-top-thermal {
  2910. polling-delay-passive = <250>;
  2911. polling-delay = <1000>;
  2912. thermal-sensors = <&tsens1 8>;
  2913. trips {
  2914. modem1_alert0: trip-point0 {
  2915. temperature = <90000>;
  2916. hysteresis = <2000>;
  2917. type = "hot";
  2918. };
  2919. };
  2920. };
  2921. modem2-top-thermal {
  2922. polling-delay-passive = <250>;
  2923. polling-delay = <1000>;
  2924. thermal-sensors = <&tsens1 9>;
  2925. trips {
  2926. modem2_alert0: trip-point0 {
  2927. temperature = <90000>;
  2928. hysteresis = <2000>;
  2929. type = "hot";
  2930. };
  2931. };
  2932. };
  2933. modem3-top-thermal {
  2934. polling-delay-passive = <250>;
  2935. polling-delay = <1000>;
  2936. thermal-sensors = <&tsens1 10>;
  2937. trips {
  2938. modem3_alert0: trip-point0 {
  2939. temperature = <90000>;
  2940. hysteresis = <2000>;
  2941. type = "hot";
  2942. };
  2943. };
  2944. };
  2945. modem4-top-thermal {
  2946. polling-delay-passive = <250>;
  2947. polling-delay = <1000>;
  2948. thermal-sensors = <&tsens1 11>;
  2949. trips {
  2950. modem4_alert0: trip-point0 {
  2951. temperature = <90000>;
  2952. hysteresis = <2000>;
  2953. type = "hot";
  2954. };
  2955. };
  2956. };
  2957. camera-top-thermal {
  2958. polling-delay-passive = <250>;
  2959. polling-delay = <1000>;
  2960. thermal-sensors = <&tsens1 12>;
  2961. trips {
  2962. camera1_alert0: trip-point0 {
  2963. temperature = <90000>;
  2964. hysteresis = <2000>;
  2965. type = "hot";
  2966. };
  2967. };
  2968. };
  2969. cam-bottom-thermal {
  2970. polling-delay-passive = <250>;
  2971. polling-delay = <1000>;
  2972. thermal-sensors = <&tsens1 13>;
  2973. trips {
  2974. camera2_alert0: trip-point0 {
  2975. temperature = <90000>;
  2976. hysteresis = <2000>;
  2977. type = "hot";
  2978. };
  2979. };
  2980. };
  2981. };
  2982. timer {
  2983. compatible = "arm,armv8-timer";
  2984. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  2985. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  2986. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  2987. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
  2988. };
  2989. };