sm8450.dtsi 105 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119
  1. // SPDX-License-Identifier: BSD-3-Clause
  2. /*
  3. * Copyright (c) 2021, Linaro Limited
  4. */
  5. #include <dt-bindings/interrupt-controller/arm-gic.h>
  6. #include <dt-bindings/clock/qcom,gcc-sm8450.h>
  7. #include <dt-bindings/clock/qcom,rpmh.h>
  8. #include <dt-bindings/clock/qcom,sm8450-camcc.h>
  9. #include <dt-bindings/dma/qcom-gpi.h>
  10. #include <dt-bindings/gpio/gpio.h>
  11. #include <dt-bindings/mailbox/qcom-ipcc.h>
  12. #include <dt-bindings/power/qcom-rpmpd.h>
  13. #include <dt-bindings/interconnect/qcom,sm8450.h>
  14. #include <dt-bindings/soc/qcom,rpmh-rsc.h>
  15. #include <dt-bindings/thermal/thermal.h>
  16. / {
  17. interrupt-parent = <&intc>;
  18. #address-cells = <2>;
  19. #size-cells = <2>;
  20. chosen { };
  21. clocks {
  22. xo_board: xo-board {
  23. compatible = "fixed-clock";
  24. #clock-cells = <0>;
  25. clock-frequency = <76800000>;
  26. };
  27. sleep_clk: sleep-clk {
  28. compatible = "fixed-clock";
  29. #clock-cells = <0>;
  30. clock-frequency = <32000>;
  31. };
  32. };
  33. cpus {
  34. #address-cells = <2>;
  35. #size-cells = <0>;
  36. CPU0: cpu@0 {
  37. device_type = "cpu";
  38. compatible = "qcom,kryo780";
  39. reg = <0x0 0x0>;
  40. enable-method = "psci";
  41. next-level-cache = <&L2_0>;
  42. power-domains = <&CPU_PD0>;
  43. power-domain-names = "psci";
  44. qcom,freq-domain = <&cpufreq_hw 0>;
  45. #cooling-cells = <2>;
  46. L2_0: l2-cache {
  47. compatible = "cache";
  48. next-level-cache = <&L3_0>;
  49. L3_0: l3-cache {
  50. compatible = "cache";
  51. };
  52. };
  53. };
  54. CPU1: cpu@100 {
  55. device_type = "cpu";
  56. compatible = "qcom,kryo780";
  57. reg = <0x0 0x100>;
  58. enable-method = "psci";
  59. next-level-cache = <&L2_100>;
  60. power-domains = <&CPU_PD1>;
  61. power-domain-names = "psci";
  62. qcom,freq-domain = <&cpufreq_hw 0>;
  63. #cooling-cells = <2>;
  64. L2_100: l2-cache {
  65. compatible = "cache";
  66. next-level-cache = <&L3_0>;
  67. };
  68. };
  69. CPU2: cpu@200 {
  70. device_type = "cpu";
  71. compatible = "qcom,kryo780";
  72. reg = <0x0 0x200>;
  73. enable-method = "psci";
  74. next-level-cache = <&L2_200>;
  75. power-domains = <&CPU_PD2>;
  76. power-domain-names = "psci";
  77. qcom,freq-domain = <&cpufreq_hw 0>;
  78. #cooling-cells = <2>;
  79. L2_200: l2-cache {
  80. compatible = "cache";
  81. next-level-cache = <&L3_0>;
  82. };
  83. };
  84. CPU3: cpu@300 {
  85. device_type = "cpu";
  86. compatible = "qcom,kryo780";
  87. reg = <0x0 0x300>;
  88. enable-method = "psci";
  89. next-level-cache = <&L2_300>;
  90. power-domains = <&CPU_PD3>;
  91. power-domain-names = "psci";
  92. qcom,freq-domain = <&cpufreq_hw 0>;
  93. #cooling-cells = <2>;
  94. L2_300: l2-cache {
  95. compatible = "cache";
  96. next-level-cache = <&L3_0>;
  97. };
  98. };
  99. CPU4: cpu@400 {
  100. device_type = "cpu";
  101. compatible = "qcom,kryo780";
  102. reg = <0x0 0x400>;
  103. enable-method = "psci";
  104. next-level-cache = <&L2_400>;
  105. power-domains = <&CPU_PD4>;
  106. power-domain-names = "psci";
  107. qcom,freq-domain = <&cpufreq_hw 1>;
  108. #cooling-cells = <2>;
  109. L2_400: l2-cache {
  110. compatible = "cache";
  111. next-level-cache = <&L3_0>;
  112. };
  113. };
  114. CPU5: cpu@500 {
  115. device_type = "cpu";
  116. compatible = "qcom,kryo780";
  117. reg = <0x0 0x500>;
  118. enable-method = "psci";
  119. next-level-cache = <&L2_500>;
  120. power-domains = <&CPU_PD5>;
  121. power-domain-names = "psci";
  122. qcom,freq-domain = <&cpufreq_hw 1>;
  123. #cooling-cells = <2>;
  124. L2_500: l2-cache {
  125. compatible = "cache";
  126. next-level-cache = <&L3_0>;
  127. };
  128. };
  129. CPU6: cpu@600 {
  130. device_type = "cpu";
  131. compatible = "qcom,kryo780";
  132. reg = <0x0 0x600>;
  133. enable-method = "psci";
  134. next-level-cache = <&L2_600>;
  135. power-domains = <&CPU_PD6>;
  136. power-domain-names = "psci";
  137. qcom,freq-domain = <&cpufreq_hw 1>;
  138. #cooling-cells = <2>;
  139. L2_600: l2-cache {
  140. compatible = "cache";
  141. next-level-cache = <&L3_0>;
  142. };
  143. };
  144. CPU7: cpu@700 {
  145. device_type = "cpu";
  146. compatible = "qcom,kryo780";
  147. reg = <0x0 0x700>;
  148. enable-method = "psci";
  149. next-level-cache = <&L2_700>;
  150. power-domains = <&CPU_PD7>;
  151. power-domain-names = "psci";
  152. qcom,freq-domain = <&cpufreq_hw 2>;
  153. #cooling-cells = <2>;
  154. L2_700: l2-cache {
  155. compatible = "cache";
  156. next-level-cache = <&L3_0>;
  157. };
  158. };
  159. cpu-map {
  160. cluster0 {
  161. core0 {
  162. cpu = <&CPU0>;
  163. };
  164. core1 {
  165. cpu = <&CPU1>;
  166. };
  167. core2 {
  168. cpu = <&CPU2>;
  169. };
  170. core3 {
  171. cpu = <&CPU3>;
  172. };
  173. core4 {
  174. cpu = <&CPU4>;
  175. };
  176. core5 {
  177. cpu = <&CPU5>;
  178. };
  179. core6 {
  180. cpu = <&CPU6>;
  181. };
  182. core7 {
  183. cpu = <&CPU7>;
  184. };
  185. };
  186. };
  187. idle-states {
  188. entry-method = "psci";
  189. LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
  190. compatible = "arm,idle-state";
  191. idle-state-name = "silver-rail-power-collapse";
  192. arm,psci-suspend-param = <0x40000004>;
  193. entry-latency-us = <800>;
  194. exit-latency-us = <750>;
  195. min-residency-us = <4090>;
  196. local-timer-stop;
  197. };
  198. BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
  199. compatible = "arm,idle-state";
  200. idle-state-name = "gold-rail-power-collapse";
  201. arm,psci-suspend-param = <0x40000004>;
  202. entry-latency-us = <600>;
  203. exit-latency-us = <1550>;
  204. min-residency-us = <4791>;
  205. local-timer-stop;
  206. };
  207. };
  208. domain-idle-states {
  209. CLUSTER_SLEEP_0: cluster-sleep-0 {
  210. compatible = "domain-idle-state";
  211. idle-state-name = "cluster-l3-off";
  212. arm,psci-suspend-param = <0x41000044>;
  213. entry-latency-us = <1050>;
  214. exit-latency-us = <2500>;
  215. min-residency-us = <5309>;
  216. local-timer-stop;
  217. };
  218. CLUSTER_SLEEP_1: cluster-sleep-1 {
  219. compatible = "domain-idle-state";
  220. idle-state-name = "cluster-power-collapse";
  221. arm,psci-suspend-param = <0x4100c344>;
  222. entry-latency-us = <2700>;
  223. exit-latency-us = <3500>;
  224. min-residency-us = <13959>;
  225. local-timer-stop;
  226. };
  227. };
  228. };
  229. firmware {
  230. scm: scm {
  231. compatible = "qcom,scm-sm8450", "qcom,scm";
  232. interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>;
  233. #reset-cells = <1>;
  234. };
  235. };
  236. clk_virt: interconnect-0 {
  237. compatible = "qcom,sm8450-clk-virt";
  238. #interconnect-cells = <2>;
  239. qcom,bcm-voters = <&apps_bcm_voter>;
  240. };
  241. mc_virt: interconnect-1 {
  242. compatible = "qcom,sm8450-mc-virt";
  243. #interconnect-cells = <2>;
  244. qcom,bcm-voters = <&apps_bcm_voter>;
  245. };
  246. memory@a0000000 {
  247. device_type = "memory";
  248. /* We expect the bootloader to fill in the size */
  249. reg = <0x0 0xa0000000 0x0 0x0>;
  250. };
  251. pmu {
  252. compatible = "arm,armv8-pmuv3";
  253. interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
  254. };
  255. psci {
  256. compatible = "arm,psci-1.0";
  257. method = "smc";
  258. CPU_PD0: cpu0 {
  259. #power-domain-cells = <0>;
  260. power-domains = <&CLUSTER_PD>;
  261. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  262. };
  263. CPU_PD1: cpu1 {
  264. #power-domain-cells = <0>;
  265. power-domains = <&CLUSTER_PD>;
  266. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  267. };
  268. CPU_PD2: cpu2 {
  269. #power-domain-cells = <0>;
  270. power-domains = <&CLUSTER_PD>;
  271. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  272. };
  273. CPU_PD3: cpu3 {
  274. #power-domain-cells = <0>;
  275. power-domains = <&CLUSTER_PD>;
  276. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  277. };
  278. CPU_PD4: cpu4 {
  279. #power-domain-cells = <0>;
  280. power-domains = <&CLUSTER_PD>;
  281. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  282. };
  283. CPU_PD5: cpu5 {
  284. #power-domain-cells = <0>;
  285. power-domains = <&CLUSTER_PD>;
  286. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  287. };
  288. CPU_PD6: cpu6 {
  289. #power-domain-cells = <0>;
  290. power-domains = <&CLUSTER_PD>;
  291. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  292. };
  293. CPU_PD7: cpu7 {
  294. #power-domain-cells = <0>;
  295. power-domains = <&CLUSTER_PD>;
  296. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  297. };
  298. CLUSTER_PD: cpu-cluster0 {
  299. #power-domain-cells = <0>;
  300. domain-idle-states = <&CLUSTER_SLEEP_0>, <&CLUSTER_SLEEP_1>;
  301. };
  302. };
  303. qup_opp_table_100mhz: opp-table-qup {
  304. compatible = "operating-points-v2";
  305. opp-50000000 {
  306. opp-hz = /bits/ 64 <50000000>;
  307. required-opps = <&rpmhpd_opp_min_svs>;
  308. };
  309. opp-75000000 {
  310. opp-hz = /bits/ 64 <75000000>;
  311. required-opps = <&rpmhpd_opp_low_svs>;
  312. };
  313. opp-100000000 {
  314. opp-hz = /bits/ 64 <100000000>;
  315. required-opps = <&rpmhpd_opp_svs>;
  316. };
  317. };
  318. reserved_memory: reserved-memory {
  319. #address-cells = <2>;
  320. #size-cells = <2>;
  321. ranges;
  322. hyp_mem: memory@80000000 {
  323. reg = <0x0 0x80000000 0x0 0x600000>;
  324. no-map;
  325. };
  326. xbl_dt_log_mem: memory@80600000 {
  327. reg = <0x0 0x80600000 0x0 0x40000>;
  328. no-map;
  329. };
  330. xbl_ramdump_mem: memory@80640000 {
  331. reg = <0x0 0x80640000 0x0 0x180000>;
  332. no-map;
  333. };
  334. xbl_sc_mem: memory@807c0000 {
  335. reg = <0x0 0x807c0000 0x0 0x40000>;
  336. no-map;
  337. };
  338. aop_image_mem: memory@80800000 {
  339. reg = <0x0 0x80800000 0x0 0x60000>;
  340. no-map;
  341. };
  342. aop_cmd_db_mem: memory@80860000 {
  343. compatible = "qcom,cmd-db";
  344. reg = <0x0 0x80860000 0x0 0x20000>;
  345. no-map;
  346. };
  347. aop_config_mem: memory@80880000 {
  348. reg = <0x0 0x80880000 0x0 0x20000>;
  349. no-map;
  350. };
  351. tme_crash_dump_mem: memory@808a0000 {
  352. reg = <0x0 0x808a0000 0x0 0x40000>;
  353. no-map;
  354. };
  355. tme_log_mem: memory@808e0000 {
  356. reg = <0x0 0x808e0000 0x0 0x4000>;
  357. no-map;
  358. };
  359. uefi_log_mem: memory@808e4000 {
  360. reg = <0x0 0x808e4000 0x0 0x10000>;
  361. no-map;
  362. };
  363. /* secdata region can be reused by apps */
  364. smem: memory@80900000 {
  365. compatible = "qcom,smem";
  366. reg = <0x0 0x80900000 0x0 0x200000>;
  367. hwlocks = <&tcsr_mutex 3>;
  368. no-map;
  369. };
  370. cpucp_fw_mem: memory@80b00000 {
  371. reg = <0x0 0x80b00000 0x0 0x100000>;
  372. no-map;
  373. };
  374. cdsp_secure_heap: memory@80c00000 {
  375. reg = <0x0 0x80c00000 0x0 0x4600000>;
  376. no-map;
  377. };
  378. video_mem: memory@85700000 {
  379. reg = <0x0 0x85700000 0x0 0x700000>;
  380. no-map;
  381. };
  382. adsp_mem: memory@85e00000 {
  383. reg = <0x0 0x85e00000 0x0 0x2100000>;
  384. no-map;
  385. };
  386. slpi_mem: memory@88000000 {
  387. reg = <0x0 0x88000000 0x0 0x1900000>;
  388. no-map;
  389. };
  390. cdsp_mem: memory@89900000 {
  391. reg = <0x0 0x89900000 0x0 0x2000000>;
  392. no-map;
  393. };
  394. ipa_fw_mem: memory@8b900000 {
  395. reg = <0x0 0x8b900000 0x0 0x10000>;
  396. no-map;
  397. };
  398. ipa_gsi_mem: memory@8b910000 {
  399. reg = <0x0 0x8b910000 0x0 0xa000>;
  400. no-map;
  401. };
  402. gpu_micro_code_mem: memory@8b91a000 {
  403. reg = <0x0 0x8b91a000 0x0 0x2000>;
  404. no-map;
  405. };
  406. spss_region_mem: memory@8ba00000 {
  407. reg = <0x0 0x8ba00000 0x0 0x180000>;
  408. no-map;
  409. };
  410. /* First part of the "SPU secure shared memory" region */
  411. spu_tz_shared_mem: memory@8bb80000 {
  412. reg = <0x0 0x8bb80000 0x0 0x60000>;
  413. no-map;
  414. };
  415. /* Second part of the "SPU secure shared memory" region */
  416. spu_modem_shared_mem: memory@8bbe0000 {
  417. reg = <0x0 0x8bbe0000 0x0 0x20000>;
  418. no-map;
  419. };
  420. mpss_mem: memory@8bc00000 {
  421. reg = <0x0 0x8bc00000 0x0 0x13200000>;
  422. no-map;
  423. };
  424. cvp_mem: memory@9ee00000 {
  425. reg = <0x0 0x9ee00000 0x0 0x700000>;
  426. no-map;
  427. };
  428. camera_mem: memory@9f500000 {
  429. reg = <0x0 0x9f500000 0x0 0x800000>;
  430. no-map;
  431. };
  432. rmtfs_mem: memory@9fd00000 {
  433. compatible = "qcom,rmtfs-mem";
  434. reg = <0x0 0x9fd00000 0x0 0x280000>;
  435. no-map;
  436. qcom,client-id = <1>;
  437. qcom,vmid = <15>;
  438. };
  439. xbl_sc_mem2: memory@a6e00000 {
  440. reg = <0x0 0xa6e00000 0x0 0x40000>;
  441. no-map;
  442. };
  443. global_sync_mem: memory@a6f00000 {
  444. reg = <0x0 0xa6f00000 0x0 0x100000>;
  445. no-map;
  446. };
  447. /* uefi region can be reused by APPS */
  448. /* Linux kernel image is loaded at 0xa0000000 */
  449. oem_vm_mem: memory@bb000000 {
  450. reg = <0x0 0xbb000000 0x0 0x5000000>;
  451. no-map;
  452. };
  453. mte_mem: memory@c0000000 {
  454. reg = <0x0 0xc0000000 0x0 0x20000000>;
  455. no-map;
  456. };
  457. qheebsp_reserved_mem: memory@e0000000 {
  458. reg = <0x0 0xe0000000 0x0 0x600000>;
  459. no-map;
  460. };
  461. cpusys_vm_mem: memory@e0600000 {
  462. reg = <0x0 0xe0600000 0x0 0x400000>;
  463. no-map;
  464. };
  465. hyp_reserved_mem: memory@e0a00000 {
  466. reg = <0x0 0xe0a00000 0x0 0x100000>;
  467. no-map;
  468. };
  469. trust_ui_vm_mem: memory@e0b00000 {
  470. reg = <0x0 0xe0b00000 0x0 0x4af3000>;
  471. no-map;
  472. };
  473. trust_ui_vm_qrtr: memory@e55f3000 {
  474. reg = <0x0 0xe55f3000 0x0 0x9000>;
  475. no-map;
  476. };
  477. trust_ui_vm_vblk0_ring: memory@e55fc000 {
  478. reg = <0x0 0xe55fc000 0x0 0x4000>;
  479. no-map;
  480. };
  481. trust_ui_vm_swiotlb: memory@e5600000 {
  482. reg = <0x0 0xe5600000 0x0 0x100000>;
  483. no-map;
  484. };
  485. tz_stat_mem: memory@e8800000 {
  486. reg = <0x0 0xe8800000 0x0 0x100000>;
  487. no-map;
  488. };
  489. tags_mem: memory@e8900000 {
  490. reg = <0x0 0xe8900000 0x0 0x1200000>;
  491. no-map;
  492. };
  493. qtee_mem: memory@e9b00000 {
  494. reg = <0x0 0xe9b00000 0x0 0x500000>;
  495. no-map;
  496. };
  497. trusted_apps_mem: memory@ea000000 {
  498. reg = <0x0 0xea000000 0x0 0x3900000>;
  499. no-map;
  500. };
  501. trusted_apps_ext_mem: memory@ed900000 {
  502. reg = <0x0 0xed900000 0x0 0x3b00000>;
  503. no-map;
  504. };
  505. };
  506. smp2p-adsp {
  507. compatible = "qcom,smp2p";
  508. qcom,smem = <443>, <429>;
  509. interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
  510. IPCC_MPROC_SIGNAL_SMP2P
  511. IRQ_TYPE_EDGE_RISING>;
  512. mboxes = <&ipcc IPCC_CLIENT_LPASS
  513. IPCC_MPROC_SIGNAL_SMP2P>;
  514. qcom,local-pid = <0>;
  515. qcom,remote-pid = <2>;
  516. smp2p_adsp_out: master-kernel {
  517. qcom,entry-name = "master-kernel";
  518. #qcom,smem-state-cells = <1>;
  519. };
  520. smp2p_adsp_in: slave-kernel {
  521. qcom,entry-name = "slave-kernel";
  522. interrupt-controller;
  523. #interrupt-cells = <2>;
  524. };
  525. };
  526. smp2p-cdsp {
  527. compatible = "qcom,smp2p";
  528. qcom,smem = <94>, <432>;
  529. interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
  530. IPCC_MPROC_SIGNAL_SMP2P
  531. IRQ_TYPE_EDGE_RISING>;
  532. mboxes = <&ipcc IPCC_CLIENT_CDSP
  533. IPCC_MPROC_SIGNAL_SMP2P>;
  534. qcom,local-pid = <0>;
  535. qcom,remote-pid = <5>;
  536. smp2p_cdsp_out: master-kernel {
  537. qcom,entry-name = "master-kernel";
  538. #qcom,smem-state-cells = <1>;
  539. };
  540. smp2p_cdsp_in: slave-kernel {
  541. qcom,entry-name = "slave-kernel";
  542. interrupt-controller;
  543. #interrupt-cells = <2>;
  544. };
  545. };
  546. smp2p-modem {
  547. compatible = "qcom,smp2p";
  548. qcom,smem = <435>, <428>;
  549. interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
  550. IPCC_MPROC_SIGNAL_SMP2P
  551. IRQ_TYPE_EDGE_RISING>;
  552. mboxes = <&ipcc IPCC_CLIENT_MPSS
  553. IPCC_MPROC_SIGNAL_SMP2P>;
  554. qcom,local-pid = <0>;
  555. qcom,remote-pid = <1>;
  556. smp2p_modem_out: master-kernel {
  557. qcom,entry-name = "master-kernel";
  558. #qcom,smem-state-cells = <1>;
  559. };
  560. smp2p_modem_in: slave-kernel {
  561. qcom,entry-name = "slave-kernel";
  562. interrupt-controller;
  563. #interrupt-cells = <2>;
  564. };
  565. ipa_smp2p_out: ipa-ap-to-modem {
  566. qcom,entry-name = "ipa";
  567. #qcom,smem-state-cells = <1>;
  568. };
  569. ipa_smp2p_in: ipa-modem-to-ap {
  570. qcom,entry-name = "ipa";
  571. interrupt-controller;
  572. #interrupt-cells = <2>;
  573. };
  574. };
  575. smp2p-slpi {
  576. compatible = "qcom,smp2p";
  577. qcom,smem = <481>, <430>;
  578. interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
  579. IPCC_MPROC_SIGNAL_SMP2P
  580. IRQ_TYPE_EDGE_RISING>;
  581. mboxes = <&ipcc IPCC_CLIENT_SLPI
  582. IPCC_MPROC_SIGNAL_SMP2P>;
  583. qcom,local-pid = <0>;
  584. qcom,remote-pid = <3>;
  585. smp2p_slpi_out: master-kernel {
  586. qcom,entry-name = "master-kernel";
  587. #qcom,smem-state-cells = <1>;
  588. };
  589. smp2p_slpi_in: slave-kernel {
  590. qcom,entry-name = "slave-kernel";
  591. interrupt-controller;
  592. #interrupt-cells = <2>;
  593. };
  594. };
  595. soc: soc@0 {
  596. #address-cells = <2>;
  597. #size-cells = <2>;
  598. ranges = <0 0 0 0 0x10 0>;
  599. dma-ranges = <0 0 0 0 0x10 0>;
  600. compatible = "simple-bus";
  601. gcc: clock-controller@100000 {
  602. compatible = "qcom,gcc-sm8450";
  603. reg = <0x0 0x00100000 0x0 0x1f4200>;
  604. #clock-cells = <1>;
  605. #reset-cells = <1>;
  606. #power-domain-cells = <1>;
  607. clocks = <&rpmhcc RPMH_CXO_CLK>,
  608. <&pcie0_lane>,
  609. <&pcie1_lane>,
  610. <&sleep_clk>;
  611. clock-names = "bi_tcxo",
  612. "pcie_0_pipe_clk",
  613. "pcie_1_pipe_clk",
  614. "sleep_clk";
  615. };
  616. gpi_dma2: dma-controller@800000 {
  617. compatible = "qcom,sm8450-gpi-dma";
  618. #dma-cells = <3>;
  619. reg = <0 0x800000 0 0x60000>;
  620. interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
  621. <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
  622. <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
  623. <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
  624. <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
  625. <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
  626. <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
  627. <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
  628. <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
  629. <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>,
  630. <GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH>,
  631. <GIC_SPI 599 IRQ_TYPE_LEVEL_HIGH>;
  632. dma-channels = <12>;
  633. dma-channel-mask = <0x7e>;
  634. iommus = <&apps_smmu 0x496 0x0>;
  635. status = "disabled";
  636. };
  637. qupv3_id_2: geniqup@8c0000 {
  638. compatible = "qcom,geni-se-qup";
  639. reg = <0x0 0x008c0000 0x0 0x2000>;
  640. clock-names = "m-ahb", "s-ahb";
  641. clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
  642. <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
  643. iommus = <&apps_smmu 0x483 0x0>;
  644. #address-cells = <2>;
  645. #size-cells = <2>;
  646. ranges;
  647. status = "disabled";
  648. i2c15: i2c@880000 {
  649. compatible = "qcom,geni-i2c";
  650. reg = <0x0 0x00880000 0x0 0x4000>;
  651. clock-names = "se";
  652. clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
  653. pinctrl-names = "default";
  654. pinctrl-0 = <&qup_i2c15_data_clk>;
  655. interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
  656. #address-cells = <1>;
  657. #size-cells = <0>;
  658. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  659. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  660. <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
  661. interconnect-names = "qup-core", "qup-config", "qup-memory";
  662. dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>,
  663. <&gpi_dma2 1 0 QCOM_GPI_I2C>;
  664. dma-names = "tx", "rx";
  665. status = "disabled";
  666. };
  667. spi15: spi@880000 {
  668. compatible = "qcom,geni-spi";
  669. reg = <0x0 0x00880000 0x0 0x4000>;
  670. clock-names = "se";
  671. clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
  672. interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
  673. pinctrl-names = "default";
  674. pinctrl-0 = <&qup_spi15_data_clk>, <&qup_spi15_cs>;
  675. spi-max-frequency = <50000000>;
  676. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  677. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
  678. interconnect-names = "qup-core", "qup-config";
  679. dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>,
  680. <&gpi_dma2 1 0 QCOM_GPI_SPI>;
  681. dma-names = "tx", "rx";
  682. #address-cells = <1>;
  683. #size-cells = <0>;
  684. status = "disabled";
  685. };
  686. i2c16: i2c@884000 {
  687. compatible = "qcom,geni-i2c";
  688. reg = <0x0 0x00884000 0x0 0x4000>;
  689. clock-names = "se";
  690. clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
  691. pinctrl-names = "default";
  692. pinctrl-0 = <&qup_i2c16_data_clk>;
  693. interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
  694. #address-cells = <1>;
  695. #size-cells = <0>;
  696. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  697. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  698. <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
  699. interconnect-names = "qup-core", "qup-config", "qup-memory";
  700. dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>,
  701. <&gpi_dma2 1 1 QCOM_GPI_I2C>;
  702. dma-names = "tx", "rx";
  703. status = "disabled";
  704. };
  705. spi16: spi@884000 {
  706. compatible = "qcom,geni-spi";
  707. reg = <0x0 0x00884000 0x0 0x4000>;
  708. clock-names = "se";
  709. clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
  710. interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
  711. pinctrl-names = "default";
  712. pinctrl-0 = <&qup_spi16_data_clk>, <&qup_spi16_cs>;
  713. spi-max-frequency = <50000000>;
  714. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  715. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
  716. interconnect-names = "qup-core", "qup-config";
  717. dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>,
  718. <&gpi_dma2 1 1 QCOM_GPI_SPI>;
  719. dma-names = "tx", "rx";
  720. #address-cells = <1>;
  721. #size-cells = <0>;
  722. status = "disabled";
  723. };
  724. i2c17: i2c@888000 {
  725. compatible = "qcom,geni-i2c";
  726. reg = <0x0 0x00888000 0x0 0x4000>;
  727. clock-names = "se";
  728. clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
  729. pinctrl-names = "default";
  730. pinctrl-0 = <&qup_i2c17_data_clk>;
  731. interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
  732. #address-cells = <1>;
  733. #size-cells = <0>;
  734. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  735. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  736. <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
  737. interconnect-names = "qup-core", "qup-config", "qup-memory";
  738. dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>,
  739. <&gpi_dma2 1 2 QCOM_GPI_I2C>;
  740. dma-names = "tx", "rx";
  741. status = "disabled";
  742. };
  743. spi17: spi@888000 {
  744. compatible = "qcom,geni-spi";
  745. reg = <0x0 0x00888000 0x0 0x4000>;
  746. clock-names = "se";
  747. clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
  748. interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
  749. pinctrl-names = "default";
  750. pinctrl-0 = <&qup_spi17_data_clk>, <&qup_spi17_cs>;
  751. spi-max-frequency = <50000000>;
  752. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  753. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
  754. interconnect-names = "qup-core", "qup-config";
  755. dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>,
  756. <&gpi_dma2 1 2 QCOM_GPI_SPI>;
  757. dma-names = "tx", "rx";
  758. #address-cells = <1>;
  759. #size-cells = <0>;
  760. status = "disabled";
  761. };
  762. i2c18: i2c@88c000 {
  763. compatible = "qcom,geni-i2c";
  764. reg = <0x0 0x0088c000 0x0 0x4000>;
  765. clock-names = "se";
  766. clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
  767. pinctrl-names = "default";
  768. pinctrl-0 = <&qup_i2c18_data_clk>;
  769. interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
  770. #address-cells = <1>;
  771. #size-cells = <0>;
  772. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  773. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  774. <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
  775. interconnect-names = "qup-core", "qup-config", "qup-memory";
  776. dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
  777. <&gpi_dma2 1 3 QCOM_GPI_I2C>;
  778. dma-names = "tx", "rx";
  779. status = "disabled";
  780. };
  781. spi18: spi@88c000 {
  782. compatible = "qcom,geni-spi";
  783. reg = <0 0x0088c000 0 0x4000>;
  784. clock-names = "se";
  785. clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
  786. interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
  787. pinctrl-names = "default";
  788. pinctrl-0 = <&qup_spi18_data_clk>, <&qup_spi18_cs>;
  789. spi-max-frequency = <50000000>;
  790. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  791. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
  792. interconnect-names = "qup-core", "qup-config";
  793. dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
  794. <&gpi_dma2 1 3 QCOM_GPI_I2C>;
  795. dma-names = "tx", "rx";
  796. #address-cells = <1>;
  797. #size-cells = <0>;
  798. status = "disabled";
  799. };
  800. i2c19: i2c@890000 {
  801. compatible = "qcom,geni-i2c";
  802. reg = <0x0 0x00890000 0x0 0x4000>;
  803. clock-names = "se";
  804. clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
  805. pinctrl-names = "default";
  806. pinctrl-0 = <&qup_i2c19_data_clk>;
  807. interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
  808. #address-cells = <1>;
  809. #size-cells = <0>;
  810. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  811. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  812. <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
  813. interconnect-names = "qup-core", "qup-config", "qup-memory";
  814. dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
  815. <&gpi_dma2 1 4 QCOM_GPI_I2C>;
  816. dma-names = "tx", "rx";
  817. status = "disabled";
  818. };
  819. spi19: spi@890000 {
  820. compatible = "qcom,geni-spi";
  821. reg = <0 0x00890000 0 0x4000>;
  822. clock-names = "se";
  823. clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
  824. interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
  825. pinctrl-names = "default";
  826. pinctrl-0 = <&qup_spi19_data_clk>, <&qup_spi19_cs>;
  827. spi-max-frequency = <50000000>;
  828. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  829. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
  830. interconnect-names = "qup-core", "qup-config";
  831. dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
  832. <&gpi_dma2 1 4 QCOM_GPI_I2C>;
  833. dma-names = "tx", "rx";
  834. #address-cells = <1>;
  835. #size-cells = <0>;
  836. status = "disabled";
  837. };
  838. i2c20: i2c@894000 {
  839. compatible = "qcom,geni-i2c";
  840. reg = <0x0 0x00894000 0x0 0x4000>;
  841. clock-names = "se";
  842. clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
  843. pinctrl-names = "default";
  844. pinctrl-0 = <&qup_i2c20_data_clk>;
  845. interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
  846. #address-cells = <1>;
  847. #size-cells = <0>;
  848. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  849. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  850. <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
  851. interconnect-names = "qup-core", "qup-config", "qup-memory";
  852. dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>,
  853. <&gpi_dma2 1 5 QCOM_GPI_I2C>;
  854. dma-names = "tx", "rx";
  855. status = "disabled";
  856. };
  857. uart20: serial@894000 {
  858. compatible = "qcom,geni-uart";
  859. reg = <0 0x00894000 0 0x4000>;
  860. clock-names = "se";
  861. clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
  862. pinctrl-names = "default";
  863. pinctrl-0 = <&qup_uart20_default>;
  864. interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
  865. status = "disabled";
  866. };
  867. spi20: spi@894000 {
  868. compatible = "qcom,geni-spi";
  869. reg = <0 0x00894000 0 0x4000>;
  870. clock-names = "se";
  871. clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
  872. interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
  873. pinctrl-names = "default";
  874. pinctrl-0 = <&qup_spi20_data_clk>, <&qup_spi20_cs>;
  875. spi-max-frequency = <50000000>;
  876. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  877. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
  878. interconnect-names = "qup-core", "qup-config";
  879. dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>,
  880. <&gpi_dma2 1 5 QCOM_GPI_SPI>;
  881. dma-names = "tx", "rx";
  882. #address-cells = <1>;
  883. #size-cells = <0>;
  884. status = "disabled";
  885. };
  886. i2c21: i2c@898000 {
  887. compatible = "qcom,geni-i2c";
  888. reg = <0x0 0x00898000 0x0 0x4000>;
  889. clock-names = "se";
  890. clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>;
  891. pinctrl-names = "default";
  892. pinctrl-0 = <&qup_i2c21_data_clk>;
  893. interrupts = <GIC_SPI 579 IRQ_TYPE_LEVEL_HIGH>;
  894. #address-cells = <1>;
  895. #size-cells = <0>;
  896. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  897. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  898. <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
  899. interconnect-names = "qup-core", "qup-config", "qup-memory";
  900. dmas = <&gpi_dma2 0 6 QCOM_GPI_I2C>,
  901. <&gpi_dma2 1 6 QCOM_GPI_I2C>;
  902. dma-names = "tx", "rx";
  903. status = "disabled";
  904. };
  905. spi21: spi@898000 {
  906. compatible = "qcom,geni-spi";
  907. reg = <0 0x00898000 0 0x4000>;
  908. clock-names = "se";
  909. clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>;
  910. interrupts = <GIC_SPI 579 IRQ_TYPE_LEVEL_HIGH>;
  911. pinctrl-names = "default";
  912. pinctrl-0 = <&qup_spi21_data_clk>, <&qup_spi21_cs>;
  913. spi-max-frequency = <50000000>;
  914. interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
  915. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
  916. interconnect-names = "qup-core", "qup-config";
  917. dmas = <&gpi_dma2 0 6 QCOM_GPI_SPI>,
  918. <&gpi_dma2 1 6 QCOM_GPI_SPI>;
  919. dma-names = "tx", "rx";
  920. #address-cells = <1>;
  921. #size-cells = <0>;
  922. status = "disabled";
  923. };
  924. };
  925. gpi_dma0: dma-controller@900000 {
  926. compatible = "qcom,sm8450-gpi-dma";
  927. #dma-cells = <3>;
  928. reg = <0 0x900000 0 0x60000>;
  929. interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
  930. <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
  931. <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
  932. <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
  933. <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
  934. <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
  935. <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
  936. <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
  937. <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
  938. <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
  939. <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
  940. <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
  941. dma-channels = <12>;
  942. dma-channel-mask = <0x7e>;
  943. iommus = <&apps_smmu 0x5b6 0x0>;
  944. status = "disabled";
  945. };
  946. qupv3_id_0: geniqup@9c0000 {
  947. compatible = "qcom,geni-se-qup";
  948. reg = <0x0 0x009c0000 0x0 0x2000>;
  949. clock-names = "m-ahb", "s-ahb";
  950. clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
  951. <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
  952. iommus = <&apps_smmu 0x5a3 0x0>;
  953. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>;
  954. interconnect-names = "qup-core";
  955. #address-cells = <2>;
  956. #size-cells = <2>;
  957. ranges;
  958. status = "disabled";
  959. i2c0: i2c@980000 {
  960. compatible = "qcom,geni-i2c";
  961. reg = <0x0 0x00980000 0x0 0x4000>;
  962. clock-names = "se";
  963. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  964. pinctrl-names = "default";
  965. pinctrl-0 = <&qup_i2c0_data_clk>;
  966. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  967. #address-cells = <1>;
  968. #size-cells = <0>;
  969. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  970. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  971. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  972. interconnect-names = "qup-core", "qup-config", "qup-memory";
  973. dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
  974. <&gpi_dma0 1 0 QCOM_GPI_I2C>;
  975. dma-names = "tx", "rx";
  976. status = "disabled";
  977. };
  978. spi0: spi@980000 {
  979. compatible = "qcom,geni-spi";
  980. reg = <0x0 0x00980000 0x0 0x4000>;
  981. clock-names = "se";
  982. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  983. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  984. pinctrl-names = "default";
  985. pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs>;
  986. power-domains = <&rpmhpd SM8450_CX>;
  987. operating-points-v2 = <&qup_opp_table_100mhz>;
  988. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  989. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  990. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  991. interconnect-names = "qup-core", "qup-config", "qup-memory";
  992. dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
  993. <&gpi_dma0 1 0 QCOM_GPI_SPI>;
  994. dma-names = "tx", "rx";
  995. #address-cells = <1>;
  996. #size-cells = <0>;
  997. status = "disabled";
  998. };
  999. i2c1: i2c@984000 {
  1000. compatible = "qcom,geni-i2c";
  1001. reg = <0x0 0x00984000 0x0 0x4000>;
  1002. clock-names = "se";
  1003. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  1004. pinctrl-names = "default";
  1005. pinctrl-0 = <&qup_i2c1_data_clk>;
  1006. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  1007. #address-cells = <1>;
  1008. #size-cells = <0>;
  1009. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1010. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1011. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1012. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1013. dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
  1014. <&gpi_dma0 1 1 QCOM_GPI_I2C>;
  1015. dma-names = "tx", "rx";
  1016. status = "disabled";
  1017. };
  1018. spi1: spi@984000 {
  1019. compatible = "qcom,geni-spi";
  1020. reg = <0x0 0x00984000 0x0 0x4000>;
  1021. clock-names = "se";
  1022. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  1023. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  1024. pinctrl-names = "default";
  1025. pinctrl-0 = <&qup_spi1_data_clk>, <&qup_spi1_cs>;
  1026. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1027. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1028. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1029. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1030. dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
  1031. <&gpi_dma0 1 1 QCOM_GPI_SPI>;
  1032. dma-names = "tx", "rx";
  1033. #address-cells = <1>;
  1034. #size-cells = <0>;
  1035. status = "disabled";
  1036. };
  1037. i2c2: i2c@988000 {
  1038. compatible = "qcom,geni-i2c";
  1039. reg = <0x0 0x00988000 0x0 0x4000>;
  1040. clock-names = "se";
  1041. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  1042. pinctrl-names = "default";
  1043. pinctrl-0 = <&qup_i2c2_data_clk>;
  1044. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  1045. #address-cells = <1>;
  1046. #size-cells = <0>;
  1047. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1048. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1049. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1050. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1051. dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
  1052. <&gpi_dma0 1 2 QCOM_GPI_I2C>;
  1053. dma-names = "tx", "rx";
  1054. status = "disabled";
  1055. };
  1056. spi2: spi@988000 {
  1057. compatible = "qcom,geni-spi";
  1058. reg = <0x0 0x00988000 0x0 0x4000>;
  1059. clock-names = "se";
  1060. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  1061. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  1062. pinctrl-names = "default";
  1063. pinctrl-0 = <&qup_spi2_data_clk>, <&qup_spi2_cs>;
  1064. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1065. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1066. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1067. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1068. dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
  1069. <&gpi_dma0 1 2 QCOM_GPI_SPI>;
  1070. dma-names = "tx", "rx";
  1071. #address-cells = <1>;
  1072. #size-cells = <0>;
  1073. status = "disabled";
  1074. };
  1075. i2c3: i2c@98c000 {
  1076. compatible = "qcom,geni-i2c";
  1077. reg = <0x0 0x0098c000 0x0 0x4000>;
  1078. clock-names = "se";
  1079. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  1080. pinctrl-names = "default";
  1081. pinctrl-0 = <&qup_i2c3_data_clk>;
  1082. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  1083. #address-cells = <1>;
  1084. #size-cells = <0>;
  1085. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1086. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1087. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1088. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1089. dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
  1090. <&gpi_dma0 1 3 QCOM_GPI_I2C>;
  1091. dma-names = "tx", "rx";
  1092. status = "disabled";
  1093. };
  1094. spi3: spi@98c000 {
  1095. compatible = "qcom,geni-spi";
  1096. reg = <0x0 0x0098c000 0x0 0x4000>;
  1097. clock-names = "se";
  1098. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  1099. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  1100. pinctrl-names = "default";
  1101. pinctrl-0 = <&qup_spi3_data_clk>, <&qup_spi3_cs>;
  1102. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1103. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1104. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1105. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1106. dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
  1107. <&gpi_dma0 1 3 QCOM_GPI_SPI>;
  1108. dma-names = "tx", "rx";
  1109. #address-cells = <1>;
  1110. #size-cells = <0>;
  1111. status = "disabled";
  1112. };
  1113. i2c4: i2c@990000 {
  1114. compatible = "qcom,geni-i2c";
  1115. reg = <0x0 0x00990000 0x0 0x4000>;
  1116. clock-names = "se";
  1117. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  1118. pinctrl-names = "default";
  1119. pinctrl-0 = <&qup_i2c4_data_clk>;
  1120. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  1121. #address-cells = <1>;
  1122. #size-cells = <0>;
  1123. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1124. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1125. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1126. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1127. dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
  1128. <&gpi_dma0 1 4 QCOM_GPI_I2C>;
  1129. dma-names = "tx", "rx";
  1130. status = "disabled";
  1131. };
  1132. spi4: spi@990000 {
  1133. compatible = "qcom,geni-spi";
  1134. reg = <0x0 0x00990000 0x0 0x4000>;
  1135. clock-names = "se";
  1136. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  1137. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  1138. pinctrl-names = "default";
  1139. pinctrl-0 = <&qup_spi4_data_clk>, <&qup_spi4_cs>;
  1140. power-domains = <&rpmhpd SM8450_CX>;
  1141. operating-points-v2 = <&qup_opp_table_100mhz>;
  1142. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1143. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1144. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1145. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1146. dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
  1147. <&gpi_dma0 1 4 QCOM_GPI_SPI>;
  1148. dma-names = "tx", "rx";
  1149. #address-cells = <1>;
  1150. #size-cells = <0>;
  1151. status = "disabled";
  1152. };
  1153. i2c5: i2c@994000 {
  1154. compatible = "qcom,geni-i2c";
  1155. reg = <0x0 0x00994000 0x0 0x4000>;
  1156. clock-names = "se";
  1157. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  1158. pinctrl-names = "default";
  1159. pinctrl-0 = <&qup_i2c5_data_clk>;
  1160. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  1161. #address-cells = <1>;
  1162. #size-cells = <0>;
  1163. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1164. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1165. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1166. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1167. dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
  1168. <&gpi_dma0 1 5 QCOM_GPI_I2C>;
  1169. dma-names = "tx", "rx";
  1170. status = "disabled";
  1171. };
  1172. spi5: spi@994000 {
  1173. compatible = "qcom,geni-spi";
  1174. reg = <0x0 0x00994000 0x0 0x4000>;
  1175. clock-names = "se";
  1176. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  1177. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  1178. pinctrl-names = "default";
  1179. pinctrl-0 = <&qup_spi5_data_clk>, <&qup_spi5_cs>;
  1180. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1181. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1182. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1183. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1184. dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
  1185. <&gpi_dma0 1 5 QCOM_GPI_SPI>;
  1186. dma-names = "tx", "rx";
  1187. #address-cells = <1>;
  1188. #size-cells = <0>;
  1189. status = "disabled";
  1190. };
  1191. i2c6: i2c@998000 {
  1192. compatible = "qcom,geni-i2c";
  1193. reg = <0x0 0x998000 0x0 0x4000>;
  1194. clock-names = "se";
  1195. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1196. pinctrl-names = "default";
  1197. pinctrl-0 = <&qup_i2c6_data_clk>;
  1198. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1199. #address-cells = <1>;
  1200. #size-cells = <0>;
  1201. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1202. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1203. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1204. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1205. dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
  1206. <&gpi_dma0 1 6 QCOM_GPI_I2C>;
  1207. dma-names = "tx", "rx";
  1208. status = "disabled";
  1209. };
  1210. spi6: spi@998000 {
  1211. compatible = "qcom,geni-spi";
  1212. reg = <0x0 0x998000 0x0 0x4000>;
  1213. clock-names = "se";
  1214. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1215. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1216. pinctrl-names = "default";
  1217. pinctrl-0 = <&qup_spi6_data_clk>, <&qup_spi6_cs>;
  1218. interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
  1219. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1220. <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  1221. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1222. dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>,
  1223. <&gpi_dma0 1 6 QCOM_GPI_SPI>;
  1224. dma-names = "tx", "rx";
  1225. #address-cells = <1>;
  1226. #size-cells = <0>;
  1227. status = "disabled";
  1228. };
  1229. uart7: serial@99c000 {
  1230. compatible = "qcom,geni-debug-uart";
  1231. reg = <0 0x0099c000 0 0x4000>;
  1232. clock-names = "se";
  1233. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  1234. pinctrl-names = "default";
  1235. pinctrl-0 = <&qup_uart7_tx>, <&qup_uart7_rx>;
  1236. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  1237. status = "disabled";
  1238. };
  1239. };
  1240. gpi_dma1: dma-controller@a00000 {
  1241. compatible = "qcom,sm8450-gpi-dma";
  1242. #dma-cells = <3>;
  1243. reg = <0 0xa00000 0 0x60000>;
  1244. interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
  1245. <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
  1246. <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
  1247. <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
  1248. <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
  1249. <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
  1250. <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
  1251. <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
  1252. <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
  1253. <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
  1254. <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
  1255. <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>;
  1256. dma-channels = <12>;
  1257. dma-channel-mask = <0x7e>;
  1258. iommus = <&apps_smmu 0x56 0x0>;
  1259. status = "disabled";
  1260. };
  1261. qupv3_id_1: geniqup@ac0000 {
  1262. compatible = "qcom,geni-se-qup";
  1263. reg = <0x0 0x00ac0000 0x0 0x6000>;
  1264. clock-names = "m-ahb", "s-ahb";
  1265. clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
  1266. <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
  1267. iommus = <&apps_smmu 0x43 0x0>;
  1268. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>;
  1269. interconnect-names = "qup-core";
  1270. #address-cells = <2>;
  1271. #size-cells = <2>;
  1272. ranges;
  1273. status = "disabled";
  1274. i2c8: i2c@a80000 {
  1275. compatible = "qcom,geni-i2c";
  1276. reg = <0x0 0x00a80000 0x0 0x4000>;
  1277. clock-names = "se";
  1278. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1279. pinctrl-names = "default";
  1280. pinctrl-0 = <&qup_i2c8_data_clk>;
  1281. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1282. #address-cells = <1>;
  1283. #size-cells = <0>;
  1284. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1285. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1286. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1287. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1288. dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
  1289. <&gpi_dma1 1 0 QCOM_GPI_I2C>;
  1290. dma-names = "tx", "rx";
  1291. status = "disabled";
  1292. };
  1293. spi8: spi@a80000 {
  1294. compatible = "qcom,geni-spi";
  1295. reg = <0x0 0x00a80000 0x0 0x4000>;
  1296. clock-names = "se";
  1297. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1298. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1299. pinctrl-names = "default";
  1300. pinctrl-0 = <&qup_spi8_data_clk>, <&qup_spi8_cs>;
  1301. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1302. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1303. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1304. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1305. dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
  1306. <&gpi_dma1 1 0 QCOM_GPI_SPI>;
  1307. dma-names = "tx", "rx";
  1308. #address-cells = <1>;
  1309. #size-cells = <0>;
  1310. status = "disabled";
  1311. };
  1312. i2c9: i2c@a84000 {
  1313. compatible = "qcom,geni-i2c";
  1314. reg = <0x0 0x00a84000 0x0 0x4000>;
  1315. clock-names = "se";
  1316. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1317. pinctrl-names = "default";
  1318. pinctrl-0 = <&qup_i2c9_data_clk>;
  1319. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1320. #address-cells = <1>;
  1321. #size-cells = <0>;
  1322. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1323. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1324. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1325. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1326. dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
  1327. <&gpi_dma1 1 1 QCOM_GPI_I2C>;
  1328. dma-names = "tx", "rx";
  1329. status = "disabled";
  1330. };
  1331. spi9: spi@a84000 {
  1332. compatible = "qcom,geni-spi";
  1333. reg = <0x0 0x00a84000 0x0 0x4000>;
  1334. clock-names = "se";
  1335. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1336. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1337. pinctrl-names = "default";
  1338. pinctrl-0 = <&qup_spi9_data_clk>, <&qup_spi9_cs>;
  1339. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1340. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1341. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1342. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1343. dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
  1344. <&gpi_dma1 1 1 QCOM_GPI_SPI>;
  1345. dma-names = "tx", "rx";
  1346. #address-cells = <1>;
  1347. #size-cells = <0>;
  1348. status = "disabled";
  1349. };
  1350. i2c10: i2c@a88000 {
  1351. compatible = "qcom,geni-i2c";
  1352. reg = <0x0 0x00a88000 0x0 0x4000>;
  1353. clock-names = "se";
  1354. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1355. pinctrl-names = "default";
  1356. pinctrl-0 = <&qup_i2c10_data_clk>;
  1357. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1358. #address-cells = <1>;
  1359. #size-cells = <0>;
  1360. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1361. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1362. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1363. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1364. dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
  1365. <&gpi_dma1 1 2 QCOM_GPI_I2C>;
  1366. dma-names = "tx", "rx";
  1367. status = "disabled";
  1368. };
  1369. spi10: spi@a88000 {
  1370. compatible = "qcom,geni-spi";
  1371. reg = <0x0 0x00a88000 0x0 0x4000>;
  1372. clock-names = "se";
  1373. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1374. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1375. pinctrl-names = "default";
  1376. pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs>;
  1377. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1378. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1379. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1380. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1381. dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
  1382. <&gpi_dma1 1 2 QCOM_GPI_SPI>;
  1383. dma-names = "tx", "rx";
  1384. #address-cells = <1>;
  1385. #size-cells = <0>;
  1386. status = "disabled";
  1387. };
  1388. i2c11: i2c@a8c000 {
  1389. compatible = "qcom,geni-i2c";
  1390. reg = <0x0 0x00a8c000 0x0 0x4000>;
  1391. clock-names = "se";
  1392. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1393. pinctrl-names = "default";
  1394. pinctrl-0 = <&qup_i2c11_data_clk>;
  1395. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1396. #address-cells = <1>;
  1397. #size-cells = <0>;
  1398. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1399. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1400. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1401. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1402. dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
  1403. <&gpi_dma1 1 3 QCOM_GPI_I2C>;
  1404. dma-names = "tx", "rx";
  1405. status = "disabled";
  1406. };
  1407. spi11: spi@a8c000 {
  1408. compatible = "qcom,geni-spi";
  1409. reg = <0x0 0x00a8c000 0x0 0x4000>;
  1410. clock-names = "se";
  1411. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1412. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1413. pinctrl-names = "default";
  1414. pinctrl-0 = <&qup_spi11_data_clk>, <&qup_spi11_cs>;
  1415. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1416. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1417. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1418. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1419. dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
  1420. <&gpi_dma1 1 3 QCOM_GPI_SPI>;
  1421. dma-names = "tx", "rx";
  1422. #address-cells = <1>;
  1423. #size-cells = <0>;
  1424. status = "disabled";
  1425. };
  1426. i2c12: i2c@a90000 {
  1427. compatible = "qcom,geni-i2c";
  1428. reg = <0x0 0x00a90000 0x0 0x4000>;
  1429. clock-names = "se";
  1430. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1431. pinctrl-names = "default";
  1432. pinctrl-0 = <&qup_i2c12_data_clk>;
  1433. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1434. #address-cells = <1>;
  1435. #size-cells = <0>;
  1436. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1437. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1438. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1439. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1440. dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
  1441. <&gpi_dma1 1 4 QCOM_GPI_I2C>;
  1442. dma-names = "tx", "rx";
  1443. status = "disabled";
  1444. };
  1445. spi12: spi@a90000 {
  1446. compatible = "qcom,geni-spi";
  1447. reg = <0x0 0x00a90000 0x0 0x4000>;
  1448. clock-names = "se";
  1449. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1450. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1451. pinctrl-names = "default";
  1452. pinctrl-0 = <&qup_spi12_data_clk>, <&qup_spi12_cs>;
  1453. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1454. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1455. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1456. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1457. dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
  1458. <&gpi_dma1 1 4 QCOM_GPI_SPI>;
  1459. dma-names = "tx", "rx";
  1460. #address-cells = <1>;
  1461. #size-cells = <0>;
  1462. status = "disabled";
  1463. };
  1464. i2c13: i2c@a94000 {
  1465. compatible = "qcom,geni-i2c";
  1466. reg = <0 0x00a94000 0 0x4000>;
  1467. clock-names = "se";
  1468. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1469. pinctrl-names = "default";
  1470. pinctrl-0 = <&qup_i2c13_data_clk>;
  1471. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1472. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1473. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1474. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1475. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1476. dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
  1477. <&gpi_dma1 1 5 QCOM_GPI_I2C>;
  1478. dma-names = "tx", "rx";
  1479. #address-cells = <1>;
  1480. #size-cells = <0>;
  1481. status = "disabled";
  1482. };
  1483. spi13: spi@a94000 {
  1484. compatible = "qcom,geni-spi";
  1485. reg = <0x0 0x00a94000 0x0 0x4000>;
  1486. clock-names = "se";
  1487. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1488. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1489. pinctrl-names = "default";
  1490. pinctrl-0 = <&qup_spi13_data_clk>, <&qup_spi13_cs>;
  1491. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1492. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1493. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1494. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1495. dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
  1496. <&gpi_dma1 1 5 QCOM_GPI_SPI>;
  1497. dma-names = "tx", "rx";
  1498. #address-cells = <1>;
  1499. #size-cells = <0>;
  1500. status = "disabled";
  1501. };
  1502. i2c14: i2c@a98000 {
  1503. compatible = "qcom,geni-i2c";
  1504. reg = <0 0x00a98000 0 0x4000>;
  1505. clock-names = "se";
  1506. clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
  1507. pinctrl-names = "default";
  1508. pinctrl-0 = <&qup_i2c14_data_clk>;
  1509. interrupts = <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>;
  1510. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1511. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1512. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1513. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1514. dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>,
  1515. <&gpi_dma1 1 6 QCOM_GPI_I2C>;
  1516. dma-names = "tx", "rx";
  1517. #address-cells = <1>;
  1518. #size-cells = <0>;
  1519. status = "disabled";
  1520. };
  1521. spi14: spi@a98000 {
  1522. compatible = "qcom,geni-spi";
  1523. reg = <0x0 0x00a98000 0x0 0x4000>;
  1524. clock-names = "se";
  1525. clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
  1526. interrupts = <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>;
  1527. pinctrl-names = "default";
  1528. pinctrl-0 = <&qup_spi14_data_clk>, <&qup_spi14_cs>;
  1529. interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
  1530. <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
  1531. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1532. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1533. dmas = <&gpi_dma1 0 6 QCOM_GPI_SPI>,
  1534. <&gpi_dma1 1 6 QCOM_GPI_SPI>;
  1535. dma-names = "tx", "rx";
  1536. #address-cells = <1>;
  1537. #size-cells = <0>;
  1538. status = "disabled";
  1539. };
  1540. };
  1541. pcie0: pci@1c00000 {
  1542. compatible = "qcom,pcie-sm8450-pcie0";
  1543. reg = <0 0x01c00000 0 0x3000>,
  1544. <0 0x60000000 0 0xf1d>,
  1545. <0 0x60000f20 0 0xa8>,
  1546. <0 0x60001000 0 0x1000>,
  1547. <0 0x60100000 0 0x100000>;
  1548. reg-names = "parf", "dbi", "elbi", "atu", "config";
  1549. device_type = "pci";
  1550. linux,pci-domain = <0>;
  1551. bus-range = <0x00 0xff>;
  1552. num-lanes = <1>;
  1553. #address-cells = <3>;
  1554. #size-cells = <2>;
  1555. ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
  1556. <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
  1557. interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
  1558. interrupt-names = "msi";
  1559. #interrupt-cells = <1>;
  1560. interrupt-map-mask = <0 0 0 0x7>;
  1561. interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  1562. <0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  1563. <0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  1564. <0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  1565. clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
  1566. <&gcc GCC_PCIE_0_PIPE_CLK_SRC>,
  1567. <&pcie0_lane>,
  1568. <&rpmhcc RPMH_CXO_CLK>,
  1569. <&gcc GCC_PCIE_0_AUX_CLK>,
  1570. <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
  1571. <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
  1572. <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
  1573. <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
  1574. <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>,
  1575. <&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>,
  1576. <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>;
  1577. clock-names = "pipe",
  1578. "pipe_mux",
  1579. "phy_pipe",
  1580. "ref",
  1581. "aux",
  1582. "cfg",
  1583. "bus_master",
  1584. "bus_slave",
  1585. "slave_q2a",
  1586. "ddrss_sf_tbu",
  1587. "aggre0",
  1588. "aggre1";
  1589. iommus = <&apps_smmu 0x1c00 0x7f>;
  1590. iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
  1591. <0x100 &apps_smmu 0x1c01 0x1>;
  1592. resets = <&gcc GCC_PCIE_0_BCR>;
  1593. reset-names = "pci";
  1594. power-domains = <&gcc PCIE_0_GDSC>;
  1595. power-domain-names = "gdsc";
  1596. phys = <&pcie0_lane>;
  1597. phy-names = "pciephy";
  1598. perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
  1599. wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
  1600. pinctrl-names = "default";
  1601. pinctrl-0 = <&pcie0_default_state>;
  1602. status = "disabled";
  1603. };
  1604. pcie0_phy: phy@1c06000 {
  1605. compatible = "qcom,sm8450-qmp-gen3x1-pcie-phy";
  1606. reg = <0 0x01c06000 0 0x200>;
  1607. #address-cells = <2>;
  1608. #size-cells = <2>;
  1609. ranges;
  1610. clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
  1611. <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
  1612. <&gcc GCC_PCIE_0_CLKREF_EN>,
  1613. <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>;
  1614. clock-names = "aux", "cfg_ahb", "ref", "refgen";
  1615. resets = <&gcc GCC_PCIE_0_PHY_BCR>;
  1616. reset-names = "phy";
  1617. assigned-clocks = <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>;
  1618. assigned-clock-rates = <100000000>;
  1619. status = "disabled";
  1620. pcie0_lane: phy@1c06200 {
  1621. reg = <0 0x1c06e00 0 0x200>, /* tx */
  1622. <0 0x1c07000 0 0x200>, /* rx */
  1623. <0 0x1c06200 0 0x200>, /* pcs */
  1624. <0 0x1c06600 0 0x200>; /* pcs_pcie */
  1625. clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
  1626. clock-names = "pipe0";
  1627. #clock-cells = <0>;
  1628. #phy-cells = <0>;
  1629. clock-output-names = "pcie_0_pipe_clk";
  1630. };
  1631. };
  1632. pcie1: pci@1c08000 {
  1633. compatible = "qcom,pcie-sm8450-pcie1";
  1634. reg = <0 0x01c08000 0 0x3000>,
  1635. <0 0x40000000 0 0xf1d>,
  1636. <0 0x40000f20 0 0xa8>,
  1637. <0 0x40001000 0 0x1000>,
  1638. <0 0x40100000 0 0x100000>;
  1639. reg-names = "parf", "dbi", "elbi", "atu", "config";
  1640. device_type = "pci";
  1641. linux,pci-domain = <1>;
  1642. bus-range = <0x00 0xff>;
  1643. num-lanes = <2>;
  1644. #address-cells = <3>;
  1645. #size-cells = <2>;
  1646. ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
  1647. <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
  1648. interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
  1649. interrupt-names = "msi";
  1650. #interrupt-cells = <1>;
  1651. interrupt-map-mask = <0 0 0 0x7>;
  1652. interrupt-map = <0 0 0 1 &intc 0 0 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  1653. <0 0 0 2 &intc 0 0 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  1654. <0 0 0 3 &intc 0 0 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  1655. <0 0 0 4 &intc 0 0 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  1656. clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
  1657. <&gcc GCC_PCIE_1_PIPE_CLK_SRC>,
  1658. <&pcie1_lane>,
  1659. <&rpmhcc RPMH_CXO_CLK>,
  1660. <&gcc GCC_PCIE_1_AUX_CLK>,
  1661. <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
  1662. <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
  1663. <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
  1664. <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
  1665. <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>,
  1666. <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>;
  1667. clock-names = "pipe",
  1668. "pipe_mux",
  1669. "phy_pipe",
  1670. "ref",
  1671. "aux",
  1672. "cfg",
  1673. "bus_master",
  1674. "bus_slave",
  1675. "slave_q2a",
  1676. "ddrss_sf_tbu",
  1677. "aggre1";
  1678. iommus = <&apps_smmu 0x1c80 0x7f>;
  1679. iommu-map = <0x0 &apps_smmu 0x1c80 0x1>,
  1680. <0x100 &apps_smmu 0x1c81 0x1>;
  1681. resets = <&gcc GCC_PCIE_1_BCR>;
  1682. reset-names = "pci";
  1683. power-domains = <&gcc PCIE_1_GDSC>;
  1684. power-domain-names = "gdsc";
  1685. phys = <&pcie1_lane>;
  1686. phy-names = "pciephy";
  1687. perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
  1688. wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
  1689. pinctrl-names = "default";
  1690. pinctrl-0 = <&pcie1_default_state>;
  1691. status = "disabled";
  1692. };
  1693. pcie1_phy: phy@1c0f000 {
  1694. compatible = "qcom,sm8450-qmp-gen4x2-pcie-phy";
  1695. reg = <0 0x01c0f000 0 0x200>;
  1696. #address-cells = <2>;
  1697. #size-cells = <2>;
  1698. ranges;
  1699. clocks = <&gcc GCC_PCIE_1_PHY_AUX_CLK>,
  1700. <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
  1701. <&gcc GCC_PCIE_1_CLKREF_EN>,
  1702. <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>;
  1703. clock-names = "aux", "cfg_ahb", "ref", "refgen";
  1704. resets = <&gcc GCC_PCIE_1_PHY_BCR>;
  1705. reset-names = "phy";
  1706. assigned-clocks = <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>;
  1707. assigned-clock-rates = <100000000>;
  1708. status = "disabled";
  1709. pcie1_lane: phy@1c0e000 {
  1710. reg = <0 0x1c0e000 0 0x200>, /* tx */
  1711. <0 0x1c0e200 0 0x300>, /* rx */
  1712. <0 0x1c0f200 0 0x200>, /* pcs */
  1713. <0 0x1c0e800 0 0x200>, /* tx */
  1714. <0 0x1c0ea00 0 0x300>, /* rx */
  1715. <0 0x1c0f400 0 0xc00>; /* pcs_pcie */
  1716. clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
  1717. clock-names = "pipe0";
  1718. #clock-cells = <0>;
  1719. #phy-cells = <0>;
  1720. clock-output-names = "pcie_1_pipe_clk";
  1721. };
  1722. };
  1723. config_noc: interconnect@1500000 {
  1724. compatible = "qcom,sm8450-config-noc";
  1725. reg = <0 0x01500000 0 0x1c000>;
  1726. #interconnect-cells = <2>;
  1727. qcom,bcm-voters = <&apps_bcm_voter>;
  1728. };
  1729. system_noc: interconnect@1680000 {
  1730. compatible = "qcom,sm8450-system-noc";
  1731. reg = <0 0x01680000 0 0x1e200>;
  1732. #interconnect-cells = <2>;
  1733. qcom,bcm-voters = <&apps_bcm_voter>;
  1734. };
  1735. pcie_noc: interconnect@16c0000 {
  1736. compatible = "qcom,sm8450-pcie-anoc";
  1737. reg = <0 0x016c0000 0 0xe280>;
  1738. #interconnect-cells = <2>;
  1739. qcom,bcm-voters = <&apps_bcm_voter>;
  1740. };
  1741. aggre1_noc: interconnect@16e0000 {
  1742. compatible = "qcom,sm8450-aggre1-noc";
  1743. reg = <0 0x016e0000 0 0x1c080>;
  1744. #interconnect-cells = <2>;
  1745. clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
  1746. <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>;
  1747. qcom,bcm-voters = <&apps_bcm_voter>;
  1748. };
  1749. aggre2_noc: interconnect@1700000 {
  1750. compatible = "qcom,sm8450-aggre2-noc";
  1751. reg = <0 0x01700000 0 0x31080>;
  1752. #interconnect-cells = <2>;
  1753. qcom,bcm-voters = <&apps_bcm_voter>;
  1754. clocks = <&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>,
  1755. <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>,
  1756. <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
  1757. <&rpmhcc RPMH_IPA_CLK>;
  1758. };
  1759. mmss_noc: interconnect@1740000 {
  1760. compatible = "qcom,sm8450-mmss-noc";
  1761. reg = <0 0x01740000 0 0x1f080>;
  1762. #interconnect-cells = <2>;
  1763. qcom,bcm-voters = <&apps_bcm_voter>;
  1764. };
  1765. tcsr_mutex: hwlock@1f40000 {
  1766. compatible = "qcom,tcsr-mutex";
  1767. reg = <0x0 0x01f40000 0x0 0x40000>;
  1768. #hwlock-cells = <1>;
  1769. };
  1770. usb_1_hsphy: phy@88e3000 {
  1771. compatible = "qcom,sm8450-usb-hs-phy",
  1772. "qcom,usb-snps-hs-7nm-phy";
  1773. reg = <0 0x088e3000 0 0x400>;
  1774. status = "disabled";
  1775. #phy-cells = <0>;
  1776. clocks = <&rpmhcc RPMH_CXO_CLK>;
  1777. clock-names = "ref";
  1778. resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
  1779. };
  1780. usb_1_qmpphy: phy-wrapper@88e9000 {
  1781. compatible = "qcom,sm8450-qmp-usb3-phy";
  1782. reg = <0 0x088e9000 0 0x200>,
  1783. <0 0x088e8000 0 0x20>;
  1784. status = "disabled";
  1785. #address-cells = <2>;
  1786. #size-cells = <2>;
  1787. ranges;
  1788. clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
  1789. <&rpmhcc RPMH_CXO_CLK>,
  1790. <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
  1791. clock-names = "aux", "ref_clk_src", "com_aux";
  1792. resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
  1793. <&gcc GCC_USB3_PHY_PRIM_BCR>;
  1794. reset-names = "phy", "common";
  1795. usb_1_ssphy: phy@88e9200 {
  1796. reg = <0 0x088e9200 0 0x200>,
  1797. <0 0x088e9400 0 0x200>,
  1798. <0 0x088e9c00 0 0x400>,
  1799. <0 0x088e9600 0 0x200>,
  1800. <0 0x088e9800 0 0x200>,
  1801. <0 0x088e9a00 0 0x100>;
  1802. #phy-cells = <0>;
  1803. #clock-cells = <0>;
  1804. clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
  1805. clock-names = "pipe0";
  1806. clock-output-names = "usb3_phy_pipe_clk_src";
  1807. };
  1808. };
  1809. remoteproc_slpi: remoteproc@2400000 {
  1810. compatible = "qcom,sm8450-slpi-pas";
  1811. reg = <0 0x02400000 0 0x4000>;
  1812. interrupts-extended = <&pdc 9 IRQ_TYPE_EDGE_RISING>,
  1813. <&smp2p_slpi_in 0 IRQ_TYPE_EDGE_RISING>,
  1814. <&smp2p_slpi_in 1 IRQ_TYPE_EDGE_RISING>,
  1815. <&smp2p_slpi_in 2 IRQ_TYPE_EDGE_RISING>,
  1816. <&smp2p_slpi_in 3 IRQ_TYPE_EDGE_RISING>;
  1817. interrupt-names = "wdog", "fatal", "ready",
  1818. "handover", "stop-ack";
  1819. clocks = <&rpmhcc RPMH_CXO_CLK>;
  1820. clock-names = "xo";
  1821. power-domains = <&rpmhpd SM8450_LCX>,
  1822. <&rpmhpd SM8450_LMX>;
  1823. power-domain-names = "lcx", "lmx";
  1824. memory-region = <&slpi_mem>;
  1825. qcom,qmp = <&aoss_qmp>;
  1826. qcom,smem-states = <&smp2p_slpi_out 0>;
  1827. qcom,smem-state-names = "stop";
  1828. status = "disabled";
  1829. glink-edge {
  1830. interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
  1831. IPCC_MPROC_SIGNAL_GLINK_QMP
  1832. IRQ_TYPE_EDGE_RISING>;
  1833. mboxes = <&ipcc IPCC_CLIENT_SLPI
  1834. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  1835. label = "slpi";
  1836. qcom,remote-pid = <3>;
  1837. fastrpc {
  1838. compatible = "qcom,fastrpc";
  1839. qcom,glink-channels = "fastrpcglink-apps-dsp";
  1840. label = "sdsp";
  1841. #address-cells = <1>;
  1842. #size-cells = <0>;
  1843. compute-cb@1 {
  1844. compatible = "qcom,fastrpc-compute-cb";
  1845. reg = <1>;
  1846. iommus = <&apps_smmu 0x0541 0x0>;
  1847. };
  1848. compute-cb@2 {
  1849. compatible = "qcom,fastrpc-compute-cb";
  1850. reg = <2>;
  1851. iommus = <&apps_smmu 0x0542 0x0>;
  1852. };
  1853. compute-cb@3 {
  1854. compatible = "qcom,fastrpc-compute-cb";
  1855. reg = <3>;
  1856. iommus = <&apps_smmu 0x0543 0x0>;
  1857. /* note: shared-cb = <4> in downstream */
  1858. };
  1859. };
  1860. };
  1861. };
  1862. remoteproc_adsp: remoteproc@30000000 {
  1863. compatible = "qcom,sm8450-adsp-pas";
  1864. reg = <0 0x030000000 0 0x100>;
  1865. interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
  1866. <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
  1867. <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
  1868. <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
  1869. <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
  1870. interrupt-names = "wdog", "fatal", "ready",
  1871. "handover", "stop-ack";
  1872. clocks = <&rpmhcc RPMH_CXO_CLK>;
  1873. clock-names = "xo";
  1874. power-domains = <&rpmhpd SM8450_LCX>,
  1875. <&rpmhpd SM8450_LMX>;
  1876. power-domain-names = "lcx", "lmx";
  1877. memory-region = <&adsp_mem>;
  1878. qcom,qmp = <&aoss_qmp>;
  1879. qcom,smem-states = <&smp2p_adsp_out 0>;
  1880. qcom,smem-state-names = "stop";
  1881. status = "disabled";
  1882. remoteproc_adsp_glink: glink-edge {
  1883. interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
  1884. IPCC_MPROC_SIGNAL_GLINK_QMP
  1885. IRQ_TYPE_EDGE_RISING>;
  1886. mboxes = <&ipcc IPCC_CLIENT_LPASS
  1887. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  1888. label = "lpass";
  1889. qcom,remote-pid = <2>;
  1890. fastrpc {
  1891. compatible = "qcom,fastrpc";
  1892. qcom,glink-channels = "fastrpcglink-apps-dsp";
  1893. label = "adsp";
  1894. #address-cells = <1>;
  1895. #size-cells = <0>;
  1896. compute-cb@3 {
  1897. compatible = "qcom,fastrpc-compute-cb";
  1898. reg = <3>;
  1899. iommus = <&apps_smmu 0x1803 0x0>;
  1900. };
  1901. compute-cb@4 {
  1902. compatible = "qcom,fastrpc-compute-cb";
  1903. reg = <4>;
  1904. iommus = <&apps_smmu 0x1804 0x0>;
  1905. };
  1906. compute-cb@5 {
  1907. compatible = "qcom,fastrpc-compute-cb";
  1908. reg = <5>;
  1909. iommus = <&apps_smmu 0x1805 0x0>;
  1910. };
  1911. };
  1912. };
  1913. };
  1914. remoteproc_cdsp: remoteproc@32300000 {
  1915. compatible = "qcom,sm8450-cdsp-pas";
  1916. reg = <0 0x032300000 0 0x1400000>;
  1917. interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
  1918. <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
  1919. <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>,
  1920. <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,
  1921. <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>;
  1922. interrupt-names = "wdog", "fatal", "ready",
  1923. "handover", "stop-ack";
  1924. clocks = <&rpmhcc RPMH_CXO_CLK>;
  1925. clock-names = "xo";
  1926. power-domains = <&rpmhpd SM8450_CX>,
  1927. <&rpmhpd SM8450_MXC>;
  1928. power-domain-names = "cx", "mxc";
  1929. memory-region = <&cdsp_mem>;
  1930. qcom,qmp = <&aoss_qmp>;
  1931. qcom,smem-states = <&smp2p_cdsp_out 0>;
  1932. qcom,smem-state-names = "stop";
  1933. status = "disabled";
  1934. glink-edge {
  1935. interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
  1936. IPCC_MPROC_SIGNAL_GLINK_QMP
  1937. IRQ_TYPE_EDGE_RISING>;
  1938. mboxes = <&ipcc IPCC_CLIENT_CDSP
  1939. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  1940. label = "cdsp";
  1941. qcom,remote-pid = <5>;
  1942. fastrpc {
  1943. compatible = "qcom,fastrpc";
  1944. qcom,glink-channels = "fastrpcglink-apps-dsp";
  1945. label = "cdsp";
  1946. #address-cells = <1>;
  1947. #size-cells = <0>;
  1948. compute-cb@1 {
  1949. compatible = "qcom,fastrpc-compute-cb";
  1950. reg = <1>;
  1951. iommus = <&apps_smmu 0x2161 0x0400>,
  1952. <&apps_smmu 0x1021 0x1420>;
  1953. };
  1954. compute-cb@2 {
  1955. compatible = "qcom,fastrpc-compute-cb";
  1956. reg = <2>;
  1957. iommus = <&apps_smmu 0x2162 0x0400>,
  1958. <&apps_smmu 0x1022 0x1420>;
  1959. };
  1960. compute-cb@3 {
  1961. compatible = "qcom,fastrpc-compute-cb";
  1962. reg = <3>;
  1963. iommus = <&apps_smmu 0x2163 0x0400>,
  1964. <&apps_smmu 0x1023 0x1420>;
  1965. };
  1966. compute-cb@4 {
  1967. compatible = "qcom,fastrpc-compute-cb";
  1968. reg = <4>;
  1969. iommus = <&apps_smmu 0x2164 0x0400>,
  1970. <&apps_smmu 0x1024 0x1420>;
  1971. };
  1972. compute-cb@5 {
  1973. compatible = "qcom,fastrpc-compute-cb";
  1974. reg = <5>;
  1975. iommus = <&apps_smmu 0x2165 0x0400>,
  1976. <&apps_smmu 0x1025 0x1420>;
  1977. };
  1978. compute-cb@6 {
  1979. compatible = "qcom,fastrpc-compute-cb";
  1980. reg = <6>;
  1981. iommus = <&apps_smmu 0x2166 0x0400>,
  1982. <&apps_smmu 0x1026 0x1420>;
  1983. };
  1984. compute-cb@7 {
  1985. compatible = "qcom,fastrpc-compute-cb";
  1986. reg = <7>;
  1987. iommus = <&apps_smmu 0x2167 0x0400>,
  1988. <&apps_smmu 0x1027 0x1420>;
  1989. };
  1990. compute-cb@8 {
  1991. compatible = "qcom,fastrpc-compute-cb";
  1992. reg = <8>;
  1993. iommus = <&apps_smmu 0x2168 0x0400>,
  1994. <&apps_smmu 0x1028 0x1420>;
  1995. };
  1996. /* note: secure cb9 in downstream */
  1997. };
  1998. };
  1999. };
  2000. remoteproc_mpss: remoteproc@4080000 {
  2001. compatible = "qcom,sm8450-mpss-pas";
  2002. reg = <0x0 0x04080000 0x0 0x4040>;
  2003. interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>,
  2004. <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>,
  2005. <&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>,
  2006. <&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>,
  2007. <&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>,
  2008. <&smp2p_modem_in 7 IRQ_TYPE_EDGE_RISING>;
  2009. interrupt-names = "wdog", "fatal", "ready", "handover",
  2010. "stop-ack", "shutdown-ack";
  2011. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2012. clock-names = "xo";
  2013. power-domains = <&rpmhpd 0>,
  2014. <&rpmhpd 12>;
  2015. power-domain-names = "cx", "mss";
  2016. memory-region = <&mpss_mem>;
  2017. qcom,qmp = <&aoss_qmp>;
  2018. qcom,smem-states = <&smp2p_modem_out 0>;
  2019. qcom,smem-state-names = "stop";
  2020. status = "disabled";
  2021. glink-edge {
  2022. interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
  2023. IPCC_MPROC_SIGNAL_GLINK_QMP
  2024. IRQ_TYPE_EDGE_RISING>;
  2025. mboxes = <&ipcc IPCC_CLIENT_MPSS
  2026. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  2027. label = "modem";
  2028. qcom,remote-pid = <1>;
  2029. };
  2030. };
  2031. camcc: clock-controller@ade0000 {
  2032. compatible = "qcom,sm8450-camcc";
  2033. reg = <0 0x0ade0000 0 0x20000>;
  2034. clocks = <&gcc GCC_CAMERA_AHB_CLK>,
  2035. <&rpmhcc RPMH_CXO_CLK>,
  2036. <&rpmhcc RPMH_CXO_CLK_A>,
  2037. <&sleep_clk>;
  2038. power-domains = <&rpmhpd SM8450_MMCX>;
  2039. required-opps = <&rpmhpd_opp_low_svs>;
  2040. #clock-cells = <1>;
  2041. #reset-cells = <1>;
  2042. #power-domain-cells = <1>;
  2043. status = "disabled";
  2044. };
  2045. pdc: interrupt-controller@b220000 {
  2046. compatible = "qcom,sm8450-pdc", "qcom,pdc";
  2047. reg = <0 0x0b220000 0 0x30000>, <0 0x174000f0 0 0x64>;
  2048. qcom,pdc-ranges = <0 480 12>, <14 494 24>, <40 520 54>,
  2049. <94 609 31>, <125 63 1>, <126 716 12>;
  2050. #interrupt-cells = <2>;
  2051. interrupt-parent = <&intc>;
  2052. interrupt-controller;
  2053. };
  2054. tsens0: thermal-sensor@c263000 {
  2055. compatible = "qcom,sm8450-tsens", "qcom,tsens-v2";
  2056. reg = <0 0x0c263000 0 0x1000>, /* TM */
  2057. <0 0x0c222000 0 0x1000>; /* SROT */
  2058. #qcom,sensors = <16>;
  2059. interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
  2060. <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
  2061. interrupt-names = "uplow", "critical";
  2062. #thermal-sensor-cells = <1>;
  2063. };
  2064. tsens1: thermal-sensor@c265000 {
  2065. compatible = "qcom,sm8450-tsens", "qcom,tsens-v2";
  2066. reg = <0 0x0c265000 0 0x1000>, /* TM */
  2067. <0 0x0c223000 0 0x1000>; /* SROT */
  2068. #qcom,sensors = <16>;
  2069. interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
  2070. <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
  2071. interrupt-names = "uplow", "critical";
  2072. #thermal-sensor-cells = <1>;
  2073. };
  2074. aoss_qmp: power-controller@c300000 {
  2075. compatible = "qcom,sm8450-aoss-qmp", "qcom,aoss-qmp";
  2076. reg = <0 0x0c300000 0 0x400>;
  2077. interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP
  2078. IRQ_TYPE_EDGE_RISING>;
  2079. mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
  2080. #clock-cells = <0>;
  2081. };
  2082. ipcc: mailbox@ed18000 {
  2083. compatible = "qcom,sm8450-ipcc", "qcom,ipcc";
  2084. reg = <0 0x0ed18000 0 0x1000>;
  2085. interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
  2086. interrupt-controller;
  2087. #interrupt-cells = <3>;
  2088. #mbox-cells = <2>;
  2089. };
  2090. tlmm: pinctrl@f100000 {
  2091. compatible = "qcom,sm8450-tlmm";
  2092. reg = <0 0x0f100000 0 0x300000>;
  2093. interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
  2094. gpio-controller;
  2095. #gpio-cells = <2>;
  2096. interrupt-controller;
  2097. #interrupt-cells = <2>;
  2098. gpio-ranges = <&tlmm 0 0 211>;
  2099. wakeup-parent = <&pdc>;
  2100. sdc2_sleep_state: sdc2-sleep-state {
  2101. clk-pins {
  2102. pins = "sdc2_clk";
  2103. drive-strength = <2>;
  2104. bias-disable;
  2105. };
  2106. cmd-pins {
  2107. pins = "sdc2_cmd";
  2108. drive-strength = <2>;
  2109. bias-pull-up;
  2110. };
  2111. data-pins {
  2112. pins = "sdc2_data";
  2113. drive-strength = <2>;
  2114. bias-pull-up;
  2115. };
  2116. };
  2117. pcie0_default_state: pcie0-default-state {
  2118. perst-pins {
  2119. pins = "gpio94";
  2120. function = "gpio";
  2121. drive-strength = <2>;
  2122. bias-pull-down;
  2123. };
  2124. clkreq-pins {
  2125. pins = "gpio95";
  2126. function = "pcie0_clkreqn";
  2127. drive-strength = <2>;
  2128. bias-pull-up;
  2129. };
  2130. wake-pins {
  2131. pins = "gpio96";
  2132. function = "gpio";
  2133. drive-strength = <2>;
  2134. bias-pull-up;
  2135. };
  2136. };
  2137. pcie1_default_state: pcie1-default-state {
  2138. perst-pins {
  2139. pins = "gpio97";
  2140. function = "gpio";
  2141. drive-strength = <2>;
  2142. bias-pull-down;
  2143. };
  2144. clkreq-pins {
  2145. pins = "gpio98";
  2146. function = "pcie1_clkreqn";
  2147. drive-strength = <2>;
  2148. bias-pull-up;
  2149. };
  2150. wake-pins {
  2151. pins = "gpio99";
  2152. function = "gpio";
  2153. drive-strength = <2>;
  2154. bias-pull-up;
  2155. };
  2156. };
  2157. qup_i2c0_data_clk: qup-i2c0-data-clk-state {
  2158. pins = "gpio0", "gpio1";
  2159. function = "qup0";
  2160. };
  2161. qup_i2c1_data_clk: qup-i2c1-data-clk-state {
  2162. pins = "gpio4", "gpio5";
  2163. function = "qup1";
  2164. };
  2165. qup_i2c2_data_clk: qup-i2c2-data-clk-state {
  2166. pins = "gpio8", "gpio9";
  2167. function = "qup2";
  2168. };
  2169. qup_i2c3_data_clk: qup-i2c3-data-clk-state {
  2170. pins = "gpio12", "gpio13";
  2171. function = "qup3";
  2172. };
  2173. qup_i2c4_data_clk: qup-i2c4-data-clk-state {
  2174. pins = "gpio16", "gpio17";
  2175. function = "qup4";
  2176. };
  2177. qup_i2c5_data_clk: qup-i2c5-data-clk-state {
  2178. pins = "gpio206", "gpio207";
  2179. function = "qup5";
  2180. };
  2181. qup_i2c6_data_clk: qup-i2c6-data-clk-state {
  2182. pins = "gpio20", "gpio21";
  2183. function = "qup6";
  2184. };
  2185. qup_i2c8_data_clk: qup-i2c8-data-clk-state {
  2186. pins = "gpio28", "gpio29";
  2187. function = "qup8";
  2188. };
  2189. qup_i2c9_data_clk: qup-i2c9-data-clk-state {
  2190. pins = "gpio32", "gpio33";
  2191. function = "qup9";
  2192. };
  2193. qup_i2c10_data_clk: qup-i2c10-data-clk-state {
  2194. pins = "gpio36", "gpio37";
  2195. function = "qup10";
  2196. };
  2197. qup_i2c11_data_clk: qup-i2c11-data-clk-state {
  2198. pins = "gpio40", "gpio41";
  2199. function = "qup11";
  2200. };
  2201. qup_i2c12_data_clk: qup-i2c12-data-clk-state {
  2202. pins = "gpio44", "gpio45";
  2203. function = "qup12";
  2204. };
  2205. qup_i2c13_data_clk: qup-i2c13-data-clk-state {
  2206. pins = "gpio48", "gpio49";
  2207. function = "qup13";
  2208. drive-strength = <2>;
  2209. bias-pull-up;
  2210. };
  2211. qup_i2c14_data_clk: qup-i2c14-data-clk-state {
  2212. pins = "gpio52", "gpio53";
  2213. function = "qup14";
  2214. drive-strength = <2>;
  2215. bias-pull-up;
  2216. };
  2217. qup_i2c15_data_clk: qup-i2c15-data-clk-state {
  2218. pins = "gpio56", "gpio57";
  2219. function = "qup15";
  2220. };
  2221. qup_i2c16_data_clk: qup-i2c16-data-clk-state {
  2222. pins = "gpio60", "gpio61";
  2223. function = "qup16";
  2224. };
  2225. qup_i2c17_data_clk: qup-i2c17-data-clk-state {
  2226. pins = "gpio64", "gpio65";
  2227. function = "qup17";
  2228. };
  2229. qup_i2c18_data_clk: qup-i2c18-data-clk-state {
  2230. pins = "gpio68", "gpio69";
  2231. function = "qup18";
  2232. };
  2233. qup_i2c19_data_clk: qup-i2c19-data-clk-state {
  2234. pins = "gpio72", "gpio73";
  2235. function = "qup19";
  2236. };
  2237. qup_i2c20_data_clk: qup-i2c20-data-clk-state {
  2238. pins = "gpio76", "gpio77";
  2239. function = "qup20";
  2240. };
  2241. qup_i2c21_data_clk: qup-i2c21-data-clk-state {
  2242. pins = "gpio80", "gpio81";
  2243. function = "qup21";
  2244. };
  2245. qup_spi0_cs: qup-spi0-cs-state {
  2246. pins = "gpio3";
  2247. function = "qup0";
  2248. };
  2249. qup_spi0_data_clk: qup-spi0-data-clk-state {
  2250. pins = "gpio0", "gpio1", "gpio2";
  2251. function = "qup0";
  2252. };
  2253. qup_spi1_cs: qup-spi1-cs-state {
  2254. pins = "gpio7";
  2255. function = "qup1";
  2256. };
  2257. qup_spi1_data_clk: qup-spi1-data-clk-state {
  2258. pins = "gpio4", "gpio5", "gpio6";
  2259. function = "qup1";
  2260. };
  2261. qup_spi2_cs: qup-spi2-cs-state {
  2262. pins = "gpio11";
  2263. function = "qup2";
  2264. };
  2265. qup_spi2_data_clk: qup-spi2-data-clk-state {
  2266. pins = "gpio8", "gpio9", "gpio10";
  2267. function = "qup2";
  2268. };
  2269. qup_spi3_cs: qup-spi3-cs-state {
  2270. pins = "gpio15";
  2271. function = "qup3";
  2272. };
  2273. qup_spi3_data_clk: qup-spi3-data-clk-state {
  2274. pins = "gpio12", "gpio13", "gpio14";
  2275. function = "qup3";
  2276. };
  2277. qup_spi4_cs: qup-spi4-cs-state {
  2278. pins = "gpio19";
  2279. function = "qup4";
  2280. drive-strength = <6>;
  2281. bias-disable;
  2282. };
  2283. qup_spi4_data_clk: qup-spi4-data-clk-state {
  2284. pins = "gpio16", "gpio17", "gpio18";
  2285. function = "qup4";
  2286. };
  2287. qup_spi5_cs: qup-spi5-cs-state {
  2288. pins = "gpio85";
  2289. function = "qup5";
  2290. };
  2291. qup_spi5_data_clk: qup-spi5-data-clk-state {
  2292. pins = "gpio206", "gpio207", "gpio84";
  2293. function = "qup5";
  2294. };
  2295. qup_spi6_cs: qup-spi6-cs-state {
  2296. pins = "gpio23";
  2297. function = "qup6";
  2298. };
  2299. qup_spi6_data_clk: qup-spi6-data-clk-state {
  2300. pins = "gpio20", "gpio21", "gpio22";
  2301. function = "qup6";
  2302. };
  2303. qup_spi8_cs: qup-spi8-cs-state {
  2304. pins = "gpio31";
  2305. function = "qup8";
  2306. };
  2307. qup_spi8_data_clk: qup-spi8-data-clk-state {
  2308. pins = "gpio28", "gpio29", "gpio30";
  2309. function = "qup8";
  2310. };
  2311. qup_spi9_cs: qup-spi9-cs-state {
  2312. pins = "gpio35";
  2313. function = "qup9";
  2314. };
  2315. qup_spi9_data_clk: qup-spi9-data-clk-state {
  2316. pins = "gpio32", "gpio33", "gpio34";
  2317. function = "qup9";
  2318. };
  2319. qup_spi10_cs: qup-spi10-cs-state {
  2320. pins = "gpio39";
  2321. function = "qup10";
  2322. };
  2323. qup_spi10_data_clk: qup-spi10-data-clk-state {
  2324. pins = "gpio36", "gpio37", "gpio38";
  2325. function = "qup10";
  2326. };
  2327. qup_spi11_cs: qup-spi11-cs-state {
  2328. pins = "gpio43";
  2329. function = "qup11";
  2330. };
  2331. qup_spi11_data_clk: qup-spi11-data-clk-state {
  2332. pins = "gpio40", "gpio41", "gpio42";
  2333. function = "qup11";
  2334. };
  2335. qup_spi12_cs: qup-spi12-cs-state {
  2336. pins = "gpio47";
  2337. function = "qup12";
  2338. };
  2339. qup_spi12_data_clk: qup-spi12-data-clk-state {
  2340. pins = "gpio44", "gpio45", "gpio46";
  2341. function = "qup12";
  2342. };
  2343. qup_spi13_cs: qup-spi13-cs-state {
  2344. pins = "gpio51";
  2345. function = "qup13";
  2346. };
  2347. qup_spi13_data_clk: qup-spi13-data-clk-state {
  2348. pins = "gpio48", "gpio49", "gpio50";
  2349. function = "qup13";
  2350. };
  2351. qup_spi14_cs: qup-spi14-cs-state {
  2352. pins = "gpio55";
  2353. function = "qup14";
  2354. };
  2355. qup_spi14_data_clk: qup-spi14-data-clk-state {
  2356. pins = "gpio52", "gpio53", "gpio54";
  2357. function = "qup14";
  2358. };
  2359. qup_spi15_cs: qup-spi15-cs-state {
  2360. pins = "gpio59";
  2361. function = "qup15";
  2362. };
  2363. qup_spi15_data_clk: qup-spi15-data-clk-state {
  2364. pins = "gpio56", "gpio57", "gpio58";
  2365. function = "qup15";
  2366. };
  2367. qup_spi16_cs: qup-spi16-cs-state {
  2368. pins = "gpio63";
  2369. function = "qup16";
  2370. };
  2371. qup_spi16_data_clk: qup-spi16-data-clk-state {
  2372. pins = "gpio60", "gpio61", "gpio62";
  2373. function = "qup16";
  2374. };
  2375. qup_spi17_cs: qup-spi17-cs-state {
  2376. pins = "gpio67";
  2377. function = "qup17";
  2378. };
  2379. qup_spi17_data_clk: qup-spi17-data-clk-state {
  2380. pins = "gpio64", "gpio65", "gpio66";
  2381. function = "qup17";
  2382. };
  2383. qup_spi18_cs: qup-spi18-cs-state {
  2384. pins = "gpio71";
  2385. function = "qup18";
  2386. drive-strength = <6>;
  2387. bias-disable;
  2388. };
  2389. qup_spi18_data_clk: qup-spi18-data-clk-state {
  2390. pins = "gpio68", "gpio69", "gpio70";
  2391. function = "qup18";
  2392. drive-strength = <6>;
  2393. bias-disable;
  2394. };
  2395. qup_spi19_cs: qup-spi19-cs-state {
  2396. pins = "gpio75";
  2397. function = "qup19";
  2398. drive-strength = <6>;
  2399. bias-disable;
  2400. };
  2401. qup_spi19_data_clk: qup-spi19-data-clk-state {
  2402. pins = "gpio72", "gpio73", "gpio74";
  2403. function = "qup19";
  2404. drive-strength = <6>;
  2405. bias-disable;
  2406. };
  2407. qup_spi20_cs: qup-spi20-cs-state {
  2408. pins = "gpio79";
  2409. function = "qup20";
  2410. };
  2411. qup_spi20_data_clk: qup-spi20-data-clk-state {
  2412. pins = "gpio76", "gpio77", "gpio78";
  2413. function = "qup20";
  2414. };
  2415. qup_spi21_cs: qup-spi21-cs-state {
  2416. pins = "gpio83";
  2417. function = "qup21";
  2418. };
  2419. qup_spi21_data_clk: qup-spi21-data-clk-state {
  2420. pins = "gpio80", "gpio81", "gpio82";
  2421. function = "qup21";
  2422. };
  2423. qup_uart7_rx: qup-uart7-rx-state {
  2424. pins = "gpio26";
  2425. function = "qup7";
  2426. drive-strength = <2>;
  2427. bias-disable;
  2428. };
  2429. qup_uart7_tx: qup-uart7-tx-state {
  2430. pins = "gpio27";
  2431. function = "qup7";
  2432. drive-strength = <2>;
  2433. bias-disable;
  2434. };
  2435. qup_uart20_default: qup-uart20-default-state {
  2436. pins = "gpio76", "gpio77", "gpio78", "gpio79";
  2437. function = "qup20";
  2438. };
  2439. };
  2440. apps_smmu: iommu@15000000 {
  2441. compatible = "qcom,sm8450-smmu-500", "arm,mmu-500";
  2442. reg = <0 0x15000000 0 0x100000>;
  2443. #iommu-cells = <2>;
  2444. #global-interrupts = <1>;
  2445. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
  2446. <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
  2447. <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
  2448. <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
  2449. <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
  2450. <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
  2451. <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
  2452. <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
  2453. <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
  2454. <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
  2455. <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
  2456. <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
  2457. <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
  2458. <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
  2459. <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  2460. <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
  2461. <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
  2462. <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
  2463. <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
  2464. <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
  2465. <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  2466. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
  2467. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
  2468. <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
  2469. <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
  2470. <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
  2471. <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
  2472. <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
  2473. <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
  2474. <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
  2475. <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
  2476. <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
  2477. <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
  2478. <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
  2479. <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
  2480. <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
  2481. <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
  2482. <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
  2483. <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
  2484. <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
  2485. <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
  2486. <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
  2487. <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
  2488. <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
  2489. <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
  2490. <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
  2491. <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
  2492. <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
  2493. <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
  2494. <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
  2495. <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
  2496. <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
  2497. <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
  2498. <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
  2499. <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
  2500. <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
  2501. <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
  2502. <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
  2503. <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
  2504. <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
  2505. <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
  2506. <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
  2507. <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
  2508. <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
  2509. <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
  2510. <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
  2511. <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
  2512. <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
  2513. <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
  2514. <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
  2515. <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
  2516. <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
  2517. <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
  2518. <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
  2519. <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
  2520. <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
  2521. <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
  2522. <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
  2523. <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
  2524. <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
  2525. <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
  2526. <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
  2527. <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
  2528. <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>,
  2529. <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
  2530. <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>,
  2531. <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
  2532. <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
  2533. <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
  2534. <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
  2535. <GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>,
  2536. <GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>,
  2537. <GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>,
  2538. <GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>,
  2539. <GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>,
  2540. <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>,
  2541. <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
  2542. };
  2543. intc: interrupt-controller@17100000 {
  2544. compatible = "arm,gic-v3";
  2545. #interrupt-cells = <3>;
  2546. interrupt-controller;
  2547. #redistributor-regions = <1>;
  2548. redistributor-stride = <0x0 0x40000>;
  2549. reg = <0x0 0x17100000 0x0 0x10000>, /* GICD */
  2550. <0x0 0x17180000 0x0 0x200000>; /* GICR * 8 */
  2551. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  2552. #address-cells = <2>;
  2553. #size-cells = <2>;
  2554. ranges;
  2555. gic_its: msi-controller@17140000 {
  2556. compatible = "arm,gic-v3-its";
  2557. reg = <0x0 0x17140000 0x0 0x20000>;
  2558. msi-controller;
  2559. #msi-cells = <1>;
  2560. };
  2561. };
  2562. timer@17420000 {
  2563. compatible = "arm,armv7-timer-mem";
  2564. #address-cells = <1>;
  2565. #size-cells = <1>;
  2566. ranges = <0 0 0 0x20000000>;
  2567. reg = <0x0 0x17420000 0x0 0x1000>;
  2568. clock-frequency = <19200000>;
  2569. frame@17421000 {
  2570. frame-number = <0>;
  2571. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
  2572. <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  2573. reg = <0x17421000 0x1000>,
  2574. <0x17422000 0x1000>;
  2575. };
  2576. frame@17423000 {
  2577. frame-number = <1>;
  2578. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  2579. reg = <0x17423000 0x1000>;
  2580. status = "disabled";
  2581. };
  2582. frame@17425000 {
  2583. frame-number = <2>;
  2584. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  2585. reg = <0x17425000 0x1000>;
  2586. status = "disabled";
  2587. };
  2588. frame@17427000 {
  2589. frame-number = <3>;
  2590. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  2591. reg = <0x17427000 0x1000>;
  2592. status = "disabled";
  2593. };
  2594. frame@17429000 {
  2595. frame-number = <4>;
  2596. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  2597. reg = <0x17429000 0x1000>;
  2598. status = "disabled";
  2599. };
  2600. frame@1742b000 {
  2601. frame-number = <5>;
  2602. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  2603. reg = <0x1742b000 0x1000>;
  2604. status = "disabled";
  2605. };
  2606. frame@1742d000 {
  2607. frame-number = <6>;
  2608. interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  2609. reg = <0x1742d000 0x1000>;
  2610. status = "disabled";
  2611. };
  2612. };
  2613. apps_rsc: rsc@17a00000 {
  2614. label = "apps_rsc";
  2615. compatible = "qcom,rpmh-rsc";
  2616. reg = <0x0 0x17a00000 0x0 0x10000>,
  2617. <0x0 0x17a10000 0x0 0x10000>,
  2618. <0x0 0x17a20000 0x0 0x10000>,
  2619. <0x0 0x17a30000 0x0 0x10000>;
  2620. reg-names = "drv-0", "drv-1", "drv-2", "drv-3";
  2621. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  2622. <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
  2623. <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  2624. qcom,tcs-offset = <0xd00>;
  2625. qcom,drv-id = <2>;
  2626. qcom,tcs-config = <ACTIVE_TCS 3>, <SLEEP_TCS 2>,
  2627. <WAKE_TCS 2>, <CONTROL_TCS 0>;
  2628. apps_bcm_voter: bcm-voter {
  2629. compatible = "qcom,bcm-voter";
  2630. };
  2631. rpmhcc: clock-controller {
  2632. compatible = "qcom,sm8450-rpmh-clk";
  2633. #clock-cells = <1>;
  2634. clock-names = "xo";
  2635. clocks = <&xo_board>;
  2636. };
  2637. rpmhpd: power-controller {
  2638. compatible = "qcom,sm8450-rpmhpd";
  2639. #power-domain-cells = <1>;
  2640. operating-points-v2 = <&rpmhpd_opp_table>;
  2641. rpmhpd_opp_table: opp-table {
  2642. compatible = "operating-points-v2";
  2643. rpmhpd_opp_ret: opp1 {
  2644. opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
  2645. };
  2646. rpmhpd_opp_min_svs: opp2 {
  2647. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  2648. };
  2649. rpmhpd_opp_low_svs: opp3 {
  2650. opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
  2651. };
  2652. rpmhpd_opp_svs: opp4 {
  2653. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  2654. };
  2655. rpmhpd_opp_svs_l1: opp5 {
  2656. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
  2657. };
  2658. rpmhpd_opp_nom: opp6 {
  2659. opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
  2660. };
  2661. rpmhpd_opp_nom_l1: opp7 {
  2662. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
  2663. };
  2664. rpmhpd_opp_nom_l2: opp8 {
  2665. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
  2666. };
  2667. rpmhpd_opp_turbo: opp9 {
  2668. opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
  2669. };
  2670. rpmhpd_opp_turbo_l1: opp10 {
  2671. opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
  2672. };
  2673. };
  2674. };
  2675. };
  2676. cpufreq_hw: cpufreq@17d91000 {
  2677. compatible = "qcom,sm8450-cpufreq-epss", "qcom,cpufreq-epss";
  2678. reg = <0 0x17d91000 0 0x1000>,
  2679. <0 0x17d92000 0 0x1000>,
  2680. <0 0x17d93000 0 0x1000>;
  2681. reg-names = "freq-domain0", "freq-domain1", "freq-domain2";
  2682. clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>;
  2683. clock-names = "xo", "alternate";
  2684. interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
  2685. <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
  2686. <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
  2687. interrupt-names = "dcvsh-irq-0", "dcvsh-irq-1", "dcvsh-irq-2";
  2688. #freq-domain-cells = <1>;
  2689. };
  2690. gem_noc: interconnect@19100000 {
  2691. compatible = "qcom,sm8450-gem-noc";
  2692. reg = <0 0x19100000 0 0xbb800>;
  2693. #interconnect-cells = <2>;
  2694. qcom,bcm-voters = <&apps_bcm_voter>;
  2695. };
  2696. system-cache-controller@19200000 {
  2697. compatible = "qcom,sm8450-llcc";
  2698. reg = <0 0x19200000 0 0x580000>, <0 0x19a00000 0 0x80000>;
  2699. reg-names = "llcc_base", "llcc_broadcast_base";
  2700. interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
  2701. };
  2702. ufs_mem_hc: ufshc@1d84000 {
  2703. compatible = "qcom,sm8450-ufshc", "qcom,ufshc",
  2704. "jedec,ufs-2.0";
  2705. reg = <0 0x01d84000 0 0x3000>,
  2706. <0 0x01d88000 0 0x8000>;
  2707. reg-names = "std", "ice";
  2708. interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
  2709. phys = <&ufs_mem_phy_lanes>;
  2710. phy-names = "ufsphy";
  2711. lanes-per-direction = <2>;
  2712. #reset-cells = <1>;
  2713. resets = <&gcc GCC_UFS_PHY_BCR>;
  2714. reset-names = "rst";
  2715. power-domains = <&gcc UFS_PHY_GDSC>;
  2716. iommus = <&apps_smmu 0xe0 0x0>;
  2717. dma-coherent;
  2718. interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>,
  2719. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>;
  2720. interconnect-names = "ufs-ddr", "cpu-ufs";
  2721. clock-names =
  2722. "core_clk",
  2723. "bus_aggr_clk",
  2724. "iface_clk",
  2725. "core_clk_unipro",
  2726. "ref_clk",
  2727. "tx_lane0_sync_clk",
  2728. "rx_lane0_sync_clk",
  2729. "rx_lane1_sync_clk",
  2730. "ice_core_clk";
  2731. clocks =
  2732. <&gcc GCC_UFS_PHY_AXI_CLK>,
  2733. <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
  2734. <&gcc GCC_UFS_PHY_AHB_CLK>,
  2735. <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
  2736. <&rpmhcc RPMH_CXO_CLK>,
  2737. <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
  2738. <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
  2739. <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>,
  2740. <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
  2741. freq-table-hz =
  2742. <75000000 300000000>,
  2743. <0 0>,
  2744. <0 0>,
  2745. <75000000 300000000>,
  2746. <75000000 300000000>,
  2747. <0 0>,
  2748. <0 0>,
  2749. <0 0>,
  2750. <75000000 300000000>;
  2751. status = "disabled";
  2752. };
  2753. ufs_mem_phy: phy@1d87000 {
  2754. compatible = "qcom,sm8450-qmp-ufs-phy";
  2755. reg = <0 0x01d87000 0 0x1c4>;
  2756. #address-cells = <2>;
  2757. #size-cells = <2>;
  2758. ranges;
  2759. clock-names = "ref", "ref_aux", "qref";
  2760. clocks = <&rpmhcc RPMH_CXO_CLK>,
  2761. <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
  2762. <&gcc GCC_UFS_0_CLKREF_EN>;
  2763. resets = <&ufs_mem_hc 0>;
  2764. reset-names = "ufsphy";
  2765. status = "disabled";
  2766. ufs_mem_phy_lanes: phy@1d87400 {
  2767. reg = <0 0x01d87400 0 0x188>,
  2768. <0 0x01d87600 0 0x200>,
  2769. <0 0x01d87c00 0 0x200>,
  2770. <0 0x01d87800 0 0x188>,
  2771. <0 0x01d87a00 0 0x200>;
  2772. #phy-cells = <0>;
  2773. };
  2774. };
  2775. sdhc_2: sdhci@8804000 {
  2776. compatible = "qcom,sm8450-sdhci", "qcom,sdhci-msm-v5";
  2777. reg = <0 0x08804000 0 0x1000>;
  2778. interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
  2779. <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
  2780. interrupt-names = "hc_irq", "pwr_irq";
  2781. clocks = <&gcc GCC_SDCC2_AHB_CLK>,
  2782. <&gcc GCC_SDCC2_APPS_CLK>,
  2783. <&rpmhcc RPMH_CXO_CLK>;
  2784. clock-names = "iface", "core", "xo";
  2785. resets = <&gcc GCC_SDCC2_BCR>;
  2786. interconnects = <&aggre2_noc MASTER_SDCC_2 0 &mc_virt SLAVE_EBI1 0>,
  2787. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_SDCC_2 0>;
  2788. interconnect-names = "sdhc-ddr","cpu-sdhc";
  2789. iommus = <&apps_smmu 0x4a0 0x0>;
  2790. power-domains = <&rpmhpd SM8450_CX>;
  2791. operating-points-v2 = <&sdhc2_opp_table>;
  2792. bus-width = <4>;
  2793. dma-coherent;
  2794. /* Forbid SDR104/SDR50 - broken hw! */
  2795. sdhci-caps-mask = <0x3 0x0>;
  2796. status = "disabled";
  2797. sdhc2_opp_table: opp-table {
  2798. compatible = "operating-points-v2";
  2799. opp-100000000 {
  2800. opp-hz = /bits/ 64 <100000000>;
  2801. required-opps = <&rpmhpd_opp_low_svs>;
  2802. };
  2803. opp-202000000 {
  2804. opp-hz = /bits/ 64 <202000000>;
  2805. required-opps = <&rpmhpd_opp_svs_l1>;
  2806. };
  2807. };
  2808. };
  2809. usb_1: usb@a6f8800 {
  2810. compatible = "qcom,sm8450-dwc3", "qcom,dwc3";
  2811. reg = <0 0x0a6f8800 0 0x400>;
  2812. status = "disabled";
  2813. #address-cells = <2>;
  2814. #size-cells = <2>;
  2815. ranges;
  2816. clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
  2817. <&gcc GCC_USB30_PRIM_MASTER_CLK>,
  2818. <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
  2819. <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
  2820. <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  2821. <&gcc GCC_USB3_0_CLKREF_EN>;
  2822. clock-names = "cfg_noc",
  2823. "core",
  2824. "iface",
  2825. "sleep",
  2826. "mock_utmi",
  2827. "xo";
  2828. assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  2829. <&gcc GCC_USB30_PRIM_MASTER_CLK>;
  2830. assigned-clock-rates = <19200000>, <200000000>;
  2831. interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
  2832. <&pdc 17 IRQ_TYPE_LEVEL_HIGH>,
  2833. <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
  2834. <&pdc 14 IRQ_TYPE_EDGE_BOTH>;
  2835. interrupt-names = "hs_phy_irq",
  2836. "ss_phy_irq",
  2837. "dm_hs_phy_irq",
  2838. "dp_hs_phy_irq";
  2839. power-domains = <&gcc USB30_PRIM_GDSC>;
  2840. resets = <&gcc GCC_USB30_PRIM_BCR>;
  2841. usb_1_dwc3: usb@a600000 {
  2842. compatible = "snps,dwc3";
  2843. reg = <0 0x0a600000 0 0xcd00>;
  2844. interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  2845. iommus = <&apps_smmu 0x0 0x0>;
  2846. snps,dis_u2_susphy_quirk;
  2847. snps,dis_enblslpm_quirk;
  2848. phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
  2849. phy-names = "usb2-phy", "usb3-phy";
  2850. };
  2851. };
  2852. nsp_noc: interconnect@320c0000 {
  2853. compatible = "qcom,sm8450-nsp-noc";
  2854. reg = <0 0x320c0000 0 0x10000>;
  2855. #interconnect-cells = <2>;
  2856. qcom,bcm-voters = <&apps_bcm_voter>;
  2857. };
  2858. lpass_ag_noc: interconnect@3c40000 {
  2859. compatible = "qcom,sm8450-lpass-ag-noc";
  2860. reg = <0 0x3c40000 0 0x17200>;
  2861. #interconnect-cells = <2>;
  2862. qcom,bcm-voters = <&apps_bcm_voter>;
  2863. };
  2864. };
  2865. thermal-zones {
  2866. aoss0-thermal {
  2867. polling-delay-passive = <0>;
  2868. polling-delay = <0>;
  2869. thermal-sensors = <&tsens0 0>;
  2870. trips {
  2871. thermal-engine-config {
  2872. temperature = <125000>;
  2873. hysteresis = <1000>;
  2874. type = "passive";
  2875. };
  2876. reset-mon-cfg {
  2877. temperature = <115000>;
  2878. hysteresis = <5000>;
  2879. type = "passive";
  2880. };
  2881. };
  2882. };
  2883. cpuss0-thermal {
  2884. polling-delay-passive = <0>;
  2885. polling-delay = <0>;
  2886. thermal-sensors = <&tsens0 1>;
  2887. trips {
  2888. thermal-engine-config {
  2889. temperature = <125000>;
  2890. hysteresis = <1000>;
  2891. type = "passive";
  2892. };
  2893. reset-mon-cfg {
  2894. temperature = <115000>;
  2895. hysteresis = <5000>;
  2896. type = "passive";
  2897. };
  2898. };
  2899. };
  2900. cpuss1-thermal {
  2901. polling-delay-passive = <0>;
  2902. polling-delay = <0>;
  2903. thermal-sensors = <&tsens0 2>;
  2904. trips {
  2905. thermal-engine-config {
  2906. temperature = <125000>;
  2907. hysteresis = <1000>;
  2908. type = "passive";
  2909. };
  2910. reset-mon-cfg {
  2911. temperature = <115000>;
  2912. hysteresis = <5000>;
  2913. type = "passive";
  2914. };
  2915. };
  2916. };
  2917. cpuss3-thermal {
  2918. polling-delay-passive = <0>;
  2919. polling-delay = <0>;
  2920. thermal-sensors = <&tsens0 3>;
  2921. trips {
  2922. thermal-engine-config {
  2923. temperature = <125000>;
  2924. hysteresis = <1000>;
  2925. type = "passive";
  2926. };
  2927. reset-mon-cfg {
  2928. temperature = <115000>;
  2929. hysteresis = <5000>;
  2930. type = "passive";
  2931. };
  2932. };
  2933. };
  2934. cpuss4-thermal {
  2935. polling-delay-passive = <0>;
  2936. polling-delay = <0>;
  2937. thermal-sensors = <&tsens0 4>;
  2938. trips {
  2939. thermal-engine-config {
  2940. temperature = <125000>;
  2941. hysteresis = <1000>;
  2942. type = "passive";
  2943. };
  2944. reset-mon-cfg {
  2945. temperature = <115000>;
  2946. hysteresis = <5000>;
  2947. type = "passive";
  2948. };
  2949. };
  2950. };
  2951. cpu4-top-thermal {
  2952. polling-delay-passive = <0>;
  2953. polling-delay = <0>;
  2954. thermal-sensors = <&tsens0 5>;
  2955. trips {
  2956. cpu4_top_alert0: trip-point0 {
  2957. temperature = <90000>;
  2958. hysteresis = <2000>;
  2959. type = "passive";
  2960. };
  2961. cpu4_top_alert1: trip-point1 {
  2962. temperature = <95000>;
  2963. hysteresis = <2000>;
  2964. type = "passive";
  2965. };
  2966. cpu4_top_crit: cpu_crit {
  2967. temperature = <110000>;
  2968. hysteresis = <1000>;
  2969. type = "critical";
  2970. };
  2971. };
  2972. };
  2973. cpu4-bottom-thermal {
  2974. polling-delay-passive = <0>;
  2975. polling-delay = <0>;
  2976. thermal-sensors = <&tsens0 6>;
  2977. trips {
  2978. cpu4_bottom_alert0: trip-point0 {
  2979. temperature = <90000>;
  2980. hysteresis = <2000>;
  2981. type = "passive";
  2982. };
  2983. cpu4_bottom_alert1: trip-point1 {
  2984. temperature = <95000>;
  2985. hysteresis = <2000>;
  2986. type = "passive";
  2987. };
  2988. cpu4_bottom_crit: cpu_crit {
  2989. temperature = <110000>;
  2990. hysteresis = <1000>;
  2991. type = "critical";
  2992. };
  2993. };
  2994. };
  2995. cpu5-top-thermal {
  2996. polling-delay-passive = <0>;
  2997. polling-delay = <0>;
  2998. thermal-sensors = <&tsens0 7>;
  2999. trips {
  3000. cpu5_top_alert0: trip-point0 {
  3001. temperature = <90000>;
  3002. hysteresis = <2000>;
  3003. type = "passive";
  3004. };
  3005. cpu5_top_alert1: trip-point1 {
  3006. temperature = <95000>;
  3007. hysteresis = <2000>;
  3008. type = "passive";
  3009. };
  3010. cpu5_top_crit: cpu_crit {
  3011. temperature = <110000>;
  3012. hysteresis = <1000>;
  3013. type = "critical";
  3014. };
  3015. };
  3016. };
  3017. cpu5-bottom-thermal {
  3018. polling-delay-passive = <0>;
  3019. polling-delay = <0>;
  3020. thermal-sensors = <&tsens0 8>;
  3021. trips {
  3022. cpu5_bottom_alert0: trip-point0 {
  3023. temperature = <90000>;
  3024. hysteresis = <2000>;
  3025. type = "passive";
  3026. };
  3027. cpu5_bottom_alert1: trip-point1 {
  3028. temperature = <95000>;
  3029. hysteresis = <2000>;
  3030. type = "passive";
  3031. };
  3032. cpu5_bottom_crit: cpu_crit {
  3033. temperature = <110000>;
  3034. hysteresis = <1000>;
  3035. type = "critical";
  3036. };
  3037. };
  3038. };
  3039. cpu6-top-thermal {
  3040. polling-delay-passive = <0>;
  3041. polling-delay = <0>;
  3042. thermal-sensors = <&tsens0 9>;
  3043. trips {
  3044. cpu6_top_alert0: trip-point0 {
  3045. temperature = <90000>;
  3046. hysteresis = <2000>;
  3047. type = "passive";
  3048. };
  3049. cpu6_top_alert1: trip-point1 {
  3050. temperature = <95000>;
  3051. hysteresis = <2000>;
  3052. type = "passive";
  3053. };
  3054. cpu6_top_crit: cpu_crit {
  3055. temperature = <110000>;
  3056. hysteresis = <1000>;
  3057. type = "critical";
  3058. };
  3059. };
  3060. };
  3061. cpu6-bottom-thermal {
  3062. polling-delay-passive = <0>;
  3063. polling-delay = <0>;
  3064. thermal-sensors = <&tsens0 10>;
  3065. trips {
  3066. cpu6_bottom_alert0: trip-point0 {
  3067. temperature = <90000>;
  3068. hysteresis = <2000>;
  3069. type = "passive";
  3070. };
  3071. cpu6_bottom_alert1: trip-point1 {
  3072. temperature = <95000>;
  3073. hysteresis = <2000>;
  3074. type = "passive";
  3075. };
  3076. cpu6_bottom_crit: cpu_crit {
  3077. temperature = <110000>;
  3078. hysteresis = <1000>;
  3079. type = "critical";
  3080. };
  3081. };
  3082. };
  3083. cpu7-top-thermal {
  3084. polling-delay-passive = <0>;
  3085. polling-delay = <0>;
  3086. thermal-sensors = <&tsens0 11>;
  3087. trips {
  3088. cpu7_top_alert0: trip-point0 {
  3089. temperature = <90000>;
  3090. hysteresis = <2000>;
  3091. type = "passive";
  3092. };
  3093. cpu7_top_alert1: trip-point1 {
  3094. temperature = <95000>;
  3095. hysteresis = <2000>;
  3096. type = "passive";
  3097. };
  3098. cpu7_top_crit: cpu_crit {
  3099. temperature = <110000>;
  3100. hysteresis = <1000>;
  3101. type = "critical";
  3102. };
  3103. };
  3104. };
  3105. cpu7-middle-thermal {
  3106. polling-delay-passive = <0>;
  3107. polling-delay = <0>;
  3108. thermal-sensors = <&tsens0 12>;
  3109. trips {
  3110. cpu7_middle_alert0: trip-point0 {
  3111. temperature = <90000>;
  3112. hysteresis = <2000>;
  3113. type = "passive";
  3114. };
  3115. cpu7_middle_alert1: trip-point1 {
  3116. temperature = <95000>;
  3117. hysteresis = <2000>;
  3118. type = "passive";
  3119. };
  3120. cpu7_middle_crit: cpu_crit {
  3121. temperature = <110000>;
  3122. hysteresis = <1000>;
  3123. type = "critical";
  3124. };
  3125. };
  3126. };
  3127. cpu7-bottom-thermal {
  3128. polling-delay-passive = <0>;
  3129. polling-delay = <0>;
  3130. thermal-sensors = <&tsens0 13>;
  3131. trips {
  3132. cpu7_bottom_alert0: trip-point0 {
  3133. temperature = <90000>;
  3134. hysteresis = <2000>;
  3135. type = "passive";
  3136. };
  3137. cpu7_bottom_alert1: trip-point1 {
  3138. temperature = <95000>;
  3139. hysteresis = <2000>;
  3140. type = "passive";
  3141. };
  3142. cpu7_bottom_crit: cpu_crit {
  3143. temperature = <110000>;
  3144. hysteresis = <1000>;
  3145. type = "critical";
  3146. };
  3147. };
  3148. };
  3149. gpu-top-thermal {
  3150. polling-delay-passive = <10>;
  3151. polling-delay = <0>;
  3152. thermal-sensors = <&tsens0 14>;
  3153. trips {
  3154. thermal-engine-config {
  3155. temperature = <125000>;
  3156. hysteresis = <1000>;
  3157. type = "passive";
  3158. };
  3159. thermal-hal-config {
  3160. temperature = <125000>;
  3161. hysteresis = <1000>;
  3162. type = "passive";
  3163. };
  3164. reset-mon-cfg {
  3165. temperature = <115000>;
  3166. hysteresis = <5000>;
  3167. type = "passive";
  3168. };
  3169. gpu0_tj_cfg: tj_cfg {
  3170. temperature = <95000>;
  3171. hysteresis = <5000>;
  3172. type = "passive";
  3173. };
  3174. };
  3175. };
  3176. gpu-bottom-thermal {
  3177. polling-delay-passive = <10>;
  3178. polling-delay = <0>;
  3179. thermal-sensors = <&tsens0 15>;
  3180. trips {
  3181. thermal-engine-config {
  3182. temperature = <125000>;
  3183. hysteresis = <1000>;
  3184. type = "passive";
  3185. };
  3186. thermal-hal-config {
  3187. temperature = <125000>;
  3188. hysteresis = <1000>;
  3189. type = "passive";
  3190. };
  3191. reset-mon-cfg {
  3192. temperature = <115000>;
  3193. hysteresis = <5000>;
  3194. type = "passive";
  3195. };
  3196. gpu1_tj_cfg: tj_cfg {
  3197. temperature = <95000>;
  3198. hysteresis = <5000>;
  3199. type = "passive";
  3200. };
  3201. };
  3202. };
  3203. aoss1-thermal {
  3204. polling-delay-passive = <0>;
  3205. polling-delay = <0>;
  3206. thermal-sensors = <&tsens1 0>;
  3207. trips {
  3208. thermal-engine-config {
  3209. temperature = <125000>;
  3210. hysteresis = <1000>;
  3211. type = "passive";
  3212. };
  3213. reset-mon-cfg {
  3214. temperature = <115000>;
  3215. hysteresis = <5000>;
  3216. type = "passive";
  3217. };
  3218. };
  3219. };
  3220. cpu0-thermal {
  3221. polling-delay-passive = <0>;
  3222. polling-delay = <0>;
  3223. thermal-sensors = <&tsens1 1>;
  3224. trips {
  3225. cpu0_alert0: trip-point0 {
  3226. temperature = <90000>;
  3227. hysteresis = <2000>;
  3228. type = "passive";
  3229. };
  3230. cpu0_alert1: trip-point1 {
  3231. temperature = <95000>;
  3232. hysteresis = <2000>;
  3233. type = "passive";
  3234. };
  3235. cpu0_crit: cpu_crit {
  3236. temperature = <110000>;
  3237. hysteresis = <1000>;
  3238. type = "critical";
  3239. };
  3240. };
  3241. };
  3242. cpu1-thermal {
  3243. polling-delay-passive = <0>;
  3244. polling-delay = <0>;
  3245. thermal-sensors = <&tsens1 2>;
  3246. trips {
  3247. cpu1_alert0: trip-point0 {
  3248. temperature = <90000>;
  3249. hysteresis = <2000>;
  3250. type = "passive";
  3251. };
  3252. cpu1_alert1: trip-point1 {
  3253. temperature = <95000>;
  3254. hysteresis = <2000>;
  3255. type = "passive";
  3256. };
  3257. cpu1_crit: cpu_crit {
  3258. temperature = <110000>;
  3259. hysteresis = <1000>;
  3260. type = "critical";
  3261. };
  3262. };
  3263. };
  3264. cpu2-thermal {
  3265. polling-delay-passive = <0>;
  3266. polling-delay = <0>;
  3267. thermal-sensors = <&tsens1 3>;
  3268. trips {
  3269. cpu2_alert0: trip-point0 {
  3270. temperature = <90000>;
  3271. hysteresis = <2000>;
  3272. type = "passive";
  3273. };
  3274. cpu2_alert1: trip-point1 {
  3275. temperature = <95000>;
  3276. hysteresis = <2000>;
  3277. type = "passive";
  3278. };
  3279. cpu2_crit: cpu_crit {
  3280. temperature = <110000>;
  3281. hysteresis = <1000>;
  3282. type = "critical";
  3283. };
  3284. };
  3285. };
  3286. cpu3-thermal {
  3287. polling-delay-passive = <0>;
  3288. polling-delay = <0>;
  3289. thermal-sensors = <&tsens1 4>;
  3290. trips {
  3291. cpu3_alert0: trip-point0 {
  3292. temperature = <90000>;
  3293. hysteresis = <2000>;
  3294. type = "passive";
  3295. };
  3296. cpu3_alert1: trip-point1 {
  3297. temperature = <95000>;
  3298. hysteresis = <2000>;
  3299. type = "passive";
  3300. };
  3301. cpu3_crit: cpu_crit {
  3302. temperature = <110000>;
  3303. hysteresis = <1000>;
  3304. type = "critical";
  3305. };
  3306. };
  3307. };
  3308. cdsp0-thermal {
  3309. polling-delay-passive = <10>;
  3310. polling-delay = <0>;
  3311. thermal-sensors = <&tsens1 5>;
  3312. trips {
  3313. thermal-engine-config {
  3314. temperature = <125000>;
  3315. hysteresis = <1000>;
  3316. type = "passive";
  3317. };
  3318. thermal-hal-config {
  3319. temperature = <125000>;
  3320. hysteresis = <1000>;
  3321. type = "passive";
  3322. };
  3323. reset-mon-cfg {
  3324. temperature = <115000>;
  3325. hysteresis = <5000>;
  3326. type = "passive";
  3327. };
  3328. cdsp_0_config: junction-config {
  3329. temperature = <95000>;
  3330. hysteresis = <5000>;
  3331. type = "passive";
  3332. };
  3333. };
  3334. };
  3335. cdsp1-thermal {
  3336. polling-delay-passive = <10>;
  3337. polling-delay = <0>;
  3338. thermal-sensors = <&tsens1 6>;
  3339. trips {
  3340. thermal-engine-config {
  3341. temperature = <125000>;
  3342. hysteresis = <1000>;
  3343. type = "passive";
  3344. };
  3345. thermal-hal-config {
  3346. temperature = <125000>;
  3347. hysteresis = <1000>;
  3348. type = "passive";
  3349. };
  3350. reset-mon-cfg {
  3351. temperature = <115000>;
  3352. hysteresis = <5000>;
  3353. type = "passive";
  3354. };
  3355. cdsp_1_config: junction-config {
  3356. temperature = <95000>;
  3357. hysteresis = <5000>;
  3358. type = "passive";
  3359. };
  3360. };
  3361. };
  3362. cdsp2-thermal {
  3363. polling-delay-passive = <10>;
  3364. polling-delay = <0>;
  3365. thermal-sensors = <&tsens1 7>;
  3366. trips {
  3367. thermal-engine-config {
  3368. temperature = <125000>;
  3369. hysteresis = <1000>;
  3370. type = "passive";
  3371. };
  3372. thermal-hal-config {
  3373. temperature = <125000>;
  3374. hysteresis = <1000>;
  3375. type = "passive";
  3376. };
  3377. reset-mon-cfg {
  3378. temperature = <115000>;
  3379. hysteresis = <5000>;
  3380. type = "passive";
  3381. };
  3382. cdsp_2_config: junction-config {
  3383. temperature = <95000>;
  3384. hysteresis = <5000>;
  3385. type = "passive";
  3386. };
  3387. };
  3388. };
  3389. video-thermal {
  3390. polling-delay-passive = <0>;
  3391. polling-delay = <0>;
  3392. thermal-sensors = <&tsens1 8>;
  3393. trips {
  3394. thermal-engine-config {
  3395. temperature = <125000>;
  3396. hysteresis = <1000>;
  3397. type = "passive";
  3398. };
  3399. reset-mon-cfg {
  3400. temperature = <115000>;
  3401. hysteresis = <5000>;
  3402. type = "passive";
  3403. };
  3404. };
  3405. };
  3406. mem-thermal {
  3407. polling-delay-passive = <10>;
  3408. polling-delay = <0>;
  3409. thermal-sensors = <&tsens1 9>;
  3410. trips {
  3411. thermal-engine-config {
  3412. temperature = <125000>;
  3413. hysteresis = <1000>;
  3414. type = "passive";
  3415. };
  3416. ddr_config0: ddr0-config {
  3417. temperature = <90000>;
  3418. hysteresis = <5000>;
  3419. type = "passive";
  3420. };
  3421. reset-mon-cfg {
  3422. temperature = <115000>;
  3423. hysteresis = <5000>;
  3424. type = "passive";
  3425. };
  3426. };
  3427. };
  3428. modem0-thermal {
  3429. polling-delay-passive = <0>;
  3430. polling-delay = <0>;
  3431. thermal-sensors = <&tsens1 10>;
  3432. trips {
  3433. thermal-engine-config {
  3434. temperature = <125000>;
  3435. hysteresis = <1000>;
  3436. type = "passive";
  3437. };
  3438. mdmss0_config0: mdmss0-config0 {
  3439. temperature = <102000>;
  3440. hysteresis = <3000>;
  3441. type = "passive";
  3442. };
  3443. mdmss0_config1: mdmss0-config1 {
  3444. temperature = <105000>;
  3445. hysteresis = <3000>;
  3446. type = "passive";
  3447. };
  3448. reset-mon-cfg {
  3449. temperature = <115000>;
  3450. hysteresis = <5000>;
  3451. type = "passive";
  3452. };
  3453. };
  3454. };
  3455. modem1-thermal {
  3456. polling-delay-passive = <0>;
  3457. polling-delay = <0>;
  3458. thermal-sensors = <&tsens1 11>;
  3459. trips {
  3460. thermal-engine-config {
  3461. temperature = <125000>;
  3462. hysteresis = <1000>;
  3463. type = "passive";
  3464. };
  3465. mdmss1_config0: mdmss1-config0 {
  3466. temperature = <102000>;
  3467. hysteresis = <3000>;
  3468. type = "passive";
  3469. };
  3470. mdmss1_config1: mdmss1-config1 {
  3471. temperature = <105000>;
  3472. hysteresis = <3000>;
  3473. type = "passive";
  3474. };
  3475. reset-mon-cfg {
  3476. temperature = <115000>;
  3477. hysteresis = <5000>;
  3478. type = "passive";
  3479. };
  3480. };
  3481. };
  3482. modem2-thermal {
  3483. polling-delay-passive = <0>;
  3484. polling-delay = <0>;
  3485. thermal-sensors = <&tsens1 12>;
  3486. trips {
  3487. thermal-engine-config {
  3488. temperature = <125000>;
  3489. hysteresis = <1000>;
  3490. type = "passive";
  3491. };
  3492. mdmss2_config0: mdmss2-config0 {
  3493. temperature = <102000>;
  3494. hysteresis = <3000>;
  3495. type = "passive";
  3496. };
  3497. mdmss2_config1: mdmss2-config1 {
  3498. temperature = <105000>;
  3499. hysteresis = <3000>;
  3500. type = "passive";
  3501. };
  3502. reset-mon-cfg {
  3503. temperature = <115000>;
  3504. hysteresis = <5000>;
  3505. type = "passive";
  3506. };
  3507. };
  3508. };
  3509. modem3-thermal {
  3510. polling-delay-passive = <0>;
  3511. polling-delay = <0>;
  3512. thermal-sensors = <&tsens1 13>;
  3513. trips {
  3514. thermal-engine-config {
  3515. temperature = <125000>;
  3516. hysteresis = <1000>;
  3517. type = "passive";
  3518. };
  3519. mdmss3_config0: mdmss3-config0 {
  3520. temperature = <102000>;
  3521. hysteresis = <3000>;
  3522. type = "passive";
  3523. };
  3524. mdmss3_config1: mdmss3-config1 {
  3525. temperature = <105000>;
  3526. hysteresis = <3000>;
  3527. type = "passive";
  3528. };
  3529. reset-mon-cfg {
  3530. temperature = <115000>;
  3531. hysteresis = <5000>;
  3532. type = "passive";
  3533. };
  3534. };
  3535. };
  3536. camera0-thermal {
  3537. polling-delay-passive = <0>;
  3538. polling-delay = <0>;
  3539. thermal-sensors = <&tsens1 14>;
  3540. trips {
  3541. thermal-engine-config {
  3542. temperature = <125000>;
  3543. hysteresis = <1000>;
  3544. type = "passive";
  3545. };
  3546. reset-mon-cfg {
  3547. temperature = <115000>;
  3548. hysteresis = <5000>;
  3549. type = "passive";
  3550. };
  3551. };
  3552. };
  3553. camera1-thermal {
  3554. polling-delay-passive = <0>;
  3555. polling-delay = <0>;
  3556. thermal-sensors = <&tsens1 15>;
  3557. trips {
  3558. thermal-engine-config {
  3559. temperature = <125000>;
  3560. hysteresis = <1000>;
  3561. type = "passive";
  3562. };
  3563. reset-mon-cfg {
  3564. temperature = <115000>;
  3565. hysteresis = <5000>;
  3566. type = "passive";
  3567. };
  3568. };
  3569. };
  3570. };
  3571. timer {
  3572. compatible = "arm,armv8-timer";
  3573. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  3574. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  3575. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  3576. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
  3577. clock-frequency = <19200000>;
  3578. };
  3579. };