sc7180.dtsi 108 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421
  1. // SPDX-License-Identifier: BSD-3-Clause
  2. /*
  3. * SC7180 SoC device tree source
  4. *
  5. * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
  6. */
  7. #include <dt-bindings/clock/qcom,dispcc-sc7180.h>
  8. #include <dt-bindings/clock/qcom,gcc-sc7180.h>
  9. #include <dt-bindings/clock/qcom,gpucc-sc7180.h>
  10. #include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h>
  11. #include <dt-bindings/clock/qcom,rpmh.h>
  12. #include <dt-bindings/clock/qcom,videocc-sc7180.h>
  13. #include <dt-bindings/interconnect/qcom,osm-l3.h>
  14. #include <dt-bindings/interconnect/qcom,sc7180.h>
  15. #include <dt-bindings/interrupt-controller/arm-gic.h>
  16. #include <dt-bindings/phy/phy-qcom-qusb2.h>
  17. #include <dt-bindings/power/qcom-rpmpd.h>
  18. #include <dt-bindings/reset/qcom,sdm845-aoss.h>
  19. #include <dt-bindings/reset/qcom,sdm845-pdc.h>
  20. #include <dt-bindings/soc/qcom,rpmh-rsc.h>
  21. #include <dt-bindings/thermal/thermal.h>
  22. / {
  23. interrupt-parent = <&intc>;
  24. #address-cells = <2>;
  25. #size-cells = <2>;
  26. chosen { };
  27. aliases {
  28. mmc1 = &sdhc_1;
  29. mmc2 = &sdhc_2;
  30. i2c0 = &i2c0;
  31. i2c1 = &i2c1;
  32. i2c2 = &i2c2;
  33. i2c3 = &i2c3;
  34. i2c4 = &i2c4;
  35. i2c5 = &i2c5;
  36. i2c6 = &i2c6;
  37. i2c7 = &i2c7;
  38. i2c8 = &i2c8;
  39. i2c9 = &i2c9;
  40. i2c10 = &i2c10;
  41. i2c11 = &i2c11;
  42. spi0 = &spi0;
  43. spi1 = &spi1;
  44. spi3 = &spi3;
  45. spi5 = &spi5;
  46. spi6 = &spi6;
  47. spi8 = &spi8;
  48. spi10 = &spi10;
  49. spi11 = &spi11;
  50. };
  51. clocks {
  52. xo_board: xo-board {
  53. compatible = "fixed-clock";
  54. clock-frequency = <38400000>;
  55. #clock-cells = <0>;
  56. };
  57. sleep_clk: sleep-clk {
  58. compatible = "fixed-clock";
  59. clock-frequency = <32764>;
  60. #clock-cells = <0>;
  61. };
  62. };
  63. reserved_memory: reserved-memory {
  64. #address-cells = <2>;
  65. #size-cells = <2>;
  66. ranges;
  67. hyp_mem: memory@80000000 {
  68. reg = <0x0 0x80000000 0x0 0x600000>;
  69. no-map;
  70. };
  71. xbl_mem: memory@80600000 {
  72. reg = <0x0 0x80600000 0x0 0x200000>;
  73. no-map;
  74. };
  75. aop_mem: memory@80800000 {
  76. reg = <0x0 0x80800000 0x0 0x20000>;
  77. no-map;
  78. };
  79. aop_cmd_db_mem: memory@80820000 {
  80. reg = <0x0 0x80820000 0x0 0x20000>;
  81. compatible = "qcom,cmd-db";
  82. no-map;
  83. };
  84. sec_apps_mem: memory@808ff000 {
  85. reg = <0x0 0x808ff000 0x0 0x1000>;
  86. no-map;
  87. };
  88. smem_mem: memory@80900000 {
  89. reg = <0x0 0x80900000 0x0 0x200000>;
  90. no-map;
  91. };
  92. tz_mem: memory@80b00000 {
  93. reg = <0x0 0x80b00000 0x0 0x3900000>;
  94. no-map;
  95. };
  96. ipa_fw_mem: memory@8b700000 {
  97. reg = <0 0x8b700000 0 0x10000>;
  98. no-map;
  99. };
  100. rmtfs_mem: memory@94600000 {
  101. compatible = "qcom,rmtfs-mem";
  102. reg = <0x0 0x94600000 0x0 0x200000>;
  103. no-map;
  104. qcom,client-id = <1>;
  105. qcom,vmid = <15>;
  106. };
  107. };
  108. cpus {
  109. #address-cells = <2>;
  110. #size-cells = <0>;
  111. CPU0: cpu@0 {
  112. device_type = "cpu";
  113. compatible = "qcom,kryo468";
  114. reg = <0x0 0x0>;
  115. enable-method = "psci";
  116. cpu-idle-states = <&LITTLE_CPU_SLEEP_0
  117. &LITTLE_CPU_SLEEP_1
  118. &CLUSTER_SLEEP_0>;
  119. capacity-dmips-mhz = <415>;
  120. dynamic-power-coefficient = <137>;
  121. operating-points-v2 = <&cpu0_opp_table>;
  122. interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
  123. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  124. next-level-cache = <&L2_0>;
  125. #cooling-cells = <2>;
  126. qcom,freq-domain = <&cpufreq_hw 0>;
  127. L2_0: l2-cache {
  128. compatible = "cache";
  129. next-level-cache = <&L3_0>;
  130. L3_0: l3-cache {
  131. compatible = "cache";
  132. };
  133. };
  134. };
  135. CPU1: cpu@100 {
  136. device_type = "cpu";
  137. compatible = "qcom,kryo468";
  138. reg = <0x0 0x100>;
  139. enable-method = "psci";
  140. cpu-idle-states = <&LITTLE_CPU_SLEEP_0
  141. &LITTLE_CPU_SLEEP_1
  142. &CLUSTER_SLEEP_0>;
  143. capacity-dmips-mhz = <415>;
  144. dynamic-power-coefficient = <137>;
  145. next-level-cache = <&L2_100>;
  146. operating-points-v2 = <&cpu0_opp_table>;
  147. interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
  148. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  149. #cooling-cells = <2>;
  150. qcom,freq-domain = <&cpufreq_hw 0>;
  151. L2_100: l2-cache {
  152. compatible = "cache";
  153. next-level-cache = <&L3_0>;
  154. };
  155. };
  156. CPU2: cpu@200 {
  157. device_type = "cpu";
  158. compatible = "qcom,kryo468";
  159. reg = <0x0 0x200>;
  160. enable-method = "psci";
  161. cpu-idle-states = <&LITTLE_CPU_SLEEP_0
  162. &LITTLE_CPU_SLEEP_1
  163. &CLUSTER_SLEEP_0>;
  164. capacity-dmips-mhz = <415>;
  165. dynamic-power-coefficient = <137>;
  166. next-level-cache = <&L2_200>;
  167. operating-points-v2 = <&cpu0_opp_table>;
  168. interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
  169. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  170. #cooling-cells = <2>;
  171. qcom,freq-domain = <&cpufreq_hw 0>;
  172. L2_200: l2-cache {
  173. compatible = "cache";
  174. next-level-cache = <&L3_0>;
  175. };
  176. };
  177. CPU3: cpu@300 {
  178. device_type = "cpu";
  179. compatible = "qcom,kryo468";
  180. reg = <0x0 0x300>;
  181. enable-method = "psci";
  182. cpu-idle-states = <&LITTLE_CPU_SLEEP_0
  183. &LITTLE_CPU_SLEEP_1
  184. &CLUSTER_SLEEP_0>;
  185. capacity-dmips-mhz = <415>;
  186. dynamic-power-coefficient = <137>;
  187. next-level-cache = <&L2_300>;
  188. operating-points-v2 = <&cpu0_opp_table>;
  189. interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
  190. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  191. #cooling-cells = <2>;
  192. qcom,freq-domain = <&cpufreq_hw 0>;
  193. L2_300: l2-cache {
  194. compatible = "cache";
  195. next-level-cache = <&L3_0>;
  196. };
  197. };
  198. CPU4: cpu@400 {
  199. device_type = "cpu";
  200. compatible = "qcom,kryo468";
  201. reg = <0x0 0x400>;
  202. enable-method = "psci";
  203. cpu-idle-states = <&LITTLE_CPU_SLEEP_0
  204. &LITTLE_CPU_SLEEP_1
  205. &CLUSTER_SLEEP_0>;
  206. capacity-dmips-mhz = <415>;
  207. dynamic-power-coefficient = <137>;
  208. next-level-cache = <&L2_400>;
  209. operating-points-v2 = <&cpu0_opp_table>;
  210. interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
  211. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  212. #cooling-cells = <2>;
  213. qcom,freq-domain = <&cpufreq_hw 0>;
  214. L2_400: l2-cache {
  215. compatible = "cache";
  216. next-level-cache = <&L3_0>;
  217. };
  218. };
  219. CPU5: cpu@500 {
  220. device_type = "cpu";
  221. compatible = "qcom,kryo468";
  222. reg = <0x0 0x500>;
  223. enable-method = "psci";
  224. cpu-idle-states = <&LITTLE_CPU_SLEEP_0
  225. &LITTLE_CPU_SLEEP_1
  226. &CLUSTER_SLEEP_0>;
  227. capacity-dmips-mhz = <415>;
  228. dynamic-power-coefficient = <137>;
  229. next-level-cache = <&L2_500>;
  230. operating-points-v2 = <&cpu0_opp_table>;
  231. interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
  232. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  233. #cooling-cells = <2>;
  234. qcom,freq-domain = <&cpufreq_hw 0>;
  235. L2_500: l2-cache {
  236. compatible = "cache";
  237. next-level-cache = <&L3_0>;
  238. };
  239. };
  240. CPU6: cpu@600 {
  241. device_type = "cpu";
  242. compatible = "qcom,kryo468";
  243. reg = <0x0 0x600>;
  244. enable-method = "psci";
  245. cpu-idle-states = <&BIG_CPU_SLEEP_0
  246. &BIG_CPU_SLEEP_1
  247. &CLUSTER_SLEEP_0>;
  248. capacity-dmips-mhz = <1024>;
  249. dynamic-power-coefficient = <480>;
  250. next-level-cache = <&L2_600>;
  251. operating-points-v2 = <&cpu6_opp_table>;
  252. interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
  253. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  254. #cooling-cells = <2>;
  255. qcom,freq-domain = <&cpufreq_hw 1>;
  256. L2_600: l2-cache {
  257. compatible = "cache";
  258. next-level-cache = <&L3_0>;
  259. };
  260. };
  261. CPU7: cpu@700 {
  262. device_type = "cpu";
  263. compatible = "qcom,kryo468";
  264. reg = <0x0 0x700>;
  265. enable-method = "psci";
  266. cpu-idle-states = <&BIG_CPU_SLEEP_0
  267. &BIG_CPU_SLEEP_1
  268. &CLUSTER_SLEEP_0>;
  269. capacity-dmips-mhz = <1024>;
  270. dynamic-power-coefficient = <480>;
  271. next-level-cache = <&L2_700>;
  272. operating-points-v2 = <&cpu6_opp_table>;
  273. interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
  274. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  275. #cooling-cells = <2>;
  276. qcom,freq-domain = <&cpufreq_hw 1>;
  277. L2_700: l2-cache {
  278. compatible = "cache";
  279. next-level-cache = <&L3_0>;
  280. };
  281. };
  282. cpu-map {
  283. cluster0 {
  284. core0 {
  285. cpu = <&CPU0>;
  286. };
  287. core1 {
  288. cpu = <&CPU1>;
  289. };
  290. core2 {
  291. cpu = <&CPU2>;
  292. };
  293. core3 {
  294. cpu = <&CPU3>;
  295. };
  296. core4 {
  297. cpu = <&CPU4>;
  298. };
  299. core5 {
  300. cpu = <&CPU5>;
  301. };
  302. core6 {
  303. cpu = <&CPU6>;
  304. };
  305. core7 {
  306. cpu = <&CPU7>;
  307. };
  308. };
  309. };
  310. idle-states {
  311. entry-method = "psci";
  312. LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
  313. compatible = "arm,idle-state";
  314. idle-state-name = "little-power-down";
  315. arm,psci-suspend-param = <0x40000003>;
  316. entry-latency-us = <549>;
  317. exit-latency-us = <901>;
  318. min-residency-us = <1774>;
  319. local-timer-stop;
  320. };
  321. LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
  322. compatible = "arm,idle-state";
  323. idle-state-name = "little-rail-power-down";
  324. arm,psci-suspend-param = <0x40000004>;
  325. entry-latency-us = <702>;
  326. exit-latency-us = <915>;
  327. min-residency-us = <4001>;
  328. local-timer-stop;
  329. };
  330. BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
  331. compatible = "arm,idle-state";
  332. idle-state-name = "big-power-down";
  333. arm,psci-suspend-param = <0x40000003>;
  334. entry-latency-us = <523>;
  335. exit-latency-us = <1244>;
  336. min-residency-us = <2207>;
  337. local-timer-stop;
  338. };
  339. BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
  340. compatible = "arm,idle-state";
  341. idle-state-name = "big-rail-power-down";
  342. arm,psci-suspend-param = <0x40000004>;
  343. entry-latency-us = <526>;
  344. exit-latency-us = <1854>;
  345. min-residency-us = <5555>;
  346. local-timer-stop;
  347. };
  348. CLUSTER_SLEEP_0: cluster-sleep-0 {
  349. compatible = "arm,idle-state";
  350. idle-state-name = "cluster-power-down";
  351. arm,psci-suspend-param = <0x40003444>;
  352. entry-latency-us = <3263>;
  353. exit-latency-us = <6562>;
  354. min-residency-us = <9926>;
  355. local-timer-stop;
  356. };
  357. };
  358. };
  359. cpu0_opp_table: opp-table-cpu0 {
  360. compatible = "operating-points-v2";
  361. opp-shared;
  362. cpu0_opp1: opp-300000000 {
  363. opp-hz = /bits/ 64 <300000000>;
  364. opp-peak-kBps = <1200000 4800000>;
  365. };
  366. cpu0_opp2: opp-576000000 {
  367. opp-hz = /bits/ 64 <576000000>;
  368. opp-peak-kBps = <1200000 4800000>;
  369. };
  370. cpu0_opp3: opp-768000000 {
  371. opp-hz = /bits/ 64 <768000000>;
  372. opp-peak-kBps = <1200000 4800000>;
  373. };
  374. cpu0_opp4: opp-1017600000 {
  375. opp-hz = /bits/ 64 <1017600000>;
  376. opp-peak-kBps = <1804000 8908800>;
  377. };
  378. cpu0_opp5: opp-1248000000 {
  379. opp-hz = /bits/ 64 <1248000000>;
  380. opp-peak-kBps = <2188000 12902400>;
  381. };
  382. cpu0_opp6: opp-1324800000 {
  383. opp-hz = /bits/ 64 <1324800000>;
  384. opp-peak-kBps = <2188000 12902400>;
  385. };
  386. cpu0_opp7: opp-1516800000 {
  387. opp-hz = /bits/ 64 <1516800000>;
  388. opp-peak-kBps = <3072000 15052800>;
  389. };
  390. cpu0_opp8: opp-1612800000 {
  391. opp-hz = /bits/ 64 <1612800000>;
  392. opp-peak-kBps = <3072000 15052800>;
  393. };
  394. cpu0_opp9: opp-1708800000 {
  395. opp-hz = /bits/ 64 <1708800000>;
  396. opp-peak-kBps = <3072000 15052800>;
  397. };
  398. cpu0_opp10: opp-1804800000 {
  399. opp-hz = /bits/ 64 <1804800000>;
  400. opp-peak-kBps = <4068000 22425600>;
  401. };
  402. };
  403. cpu6_opp_table: opp-table-cpu6 {
  404. compatible = "operating-points-v2";
  405. opp-shared;
  406. cpu6_opp1: opp-300000000 {
  407. opp-hz = /bits/ 64 <300000000>;
  408. opp-peak-kBps = <2188000 8908800>;
  409. };
  410. cpu6_opp2: opp-652800000 {
  411. opp-hz = /bits/ 64 <652800000>;
  412. opp-peak-kBps = <2188000 8908800>;
  413. };
  414. cpu6_opp3: opp-825600000 {
  415. opp-hz = /bits/ 64 <825600000>;
  416. opp-peak-kBps = <2188000 8908800>;
  417. };
  418. cpu6_opp4: opp-979200000 {
  419. opp-hz = /bits/ 64 <979200000>;
  420. opp-peak-kBps = <2188000 8908800>;
  421. };
  422. cpu6_opp5: opp-1113600000 {
  423. opp-hz = /bits/ 64 <1113600000>;
  424. opp-peak-kBps = <2188000 8908800>;
  425. };
  426. cpu6_opp6: opp-1267200000 {
  427. opp-hz = /bits/ 64 <1267200000>;
  428. opp-peak-kBps = <4068000 12902400>;
  429. };
  430. cpu6_opp7: opp-1555200000 {
  431. opp-hz = /bits/ 64 <1555200000>;
  432. opp-peak-kBps = <4068000 15052800>;
  433. };
  434. cpu6_opp8: opp-1708800000 {
  435. opp-hz = /bits/ 64 <1708800000>;
  436. opp-peak-kBps = <6220000 19353600>;
  437. };
  438. cpu6_opp9: opp-1843200000 {
  439. opp-hz = /bits/ 64 <1843200000>;
  440. opp-peak-kBps = <6220000 19353600>;
  441. };
  442. cpu6_opp10: opp-1900800000 {
  443. opp-hz = /bits/ 64 <1900800000>;
  444. opp-peak-kBps = <6220000 22425600>;
  445. };
  446. cpu6_opp11: opp-1996800000 {
  447. opp-hz = /bits/ 64 <1996800000>;
  448. opp-peak-kBps = <6220000 22425600>;
  449. };
  450. cpu6_opp12: opp-2112000000 {
  451. opp-hz = /bits/ 64 <2112000000>;
  452. opp-peak-kBps = <6220000 22425600>;
  453. };
  454. cpu6_opp13: opp-2208000000 {
  455. opp-hz = /bits/ 64 <2208000000>;
  456. opp-peak-kBps = <7216000 22425600>;
  457. };
  458. cpu6_opp14: opp-2323200000 {
  459. opp-hz = /bits/ 64 <2323200000>;
  460. opp-peak-kBps = <7216000 22425600>;
  461. };
  462. cpu6_opp15: opp-2400000000 {
  463. opp-hz = /bits/ 64 <2400000000>;
  464. opp-peak-kBps = <8532000 23347200>;
  465. };
  466. cpu6_opp16: opp-2553600000 {
  467. opp-hz = /bits/ 64 <2553600000>;
  468. opp-peak-kBps = <8532000 23347200>;
  469. };
  470. };
  471. memory@80000000 {
  472. device_type = "memory";
  473. /* We expect the bootloader to fill in the size */
  474. reg = <0 0x80000000 0 0>;
  475. };
  476. pmu {
  477. compatible = "arm,armv8-pmuv3";
  478. interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
  479. };
  480. firmware {
  481. scm {
  482. compatible = "qcom,scm-sc7180", "qcom,scm";
  483. };
  484. };
  485. smem {
  486. compatible = "qcom,smem";
  487. memory-region = <&smem_mem>;
  488. hwlocks = <&tcsr_mutex 3>;
  489. };
  490. smp2p-cdsp {
  491. compatible = "qcom,smp2p";
  492. qcom,smem = <94>, <432>;
  493. interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
  494. mboxes = <&apss_shared 6>;
  495. qcom,local-pid = <0>;
  496. qcom,remote-pid = <5>;
  497. cdsp_smp2p_out: master-kernel {
  498. qcom,entry-name = "master-kernel";
  499. #qcom,smem-state-cells = <1>;
  500. };
  501. cdsp_smp2p_in: slave-kernel {
  502. qcom,entry-name = "slave-kernel";
  503. interrupt-controller;
  504. #interrupt-cells = <2>;
  505. };
  506. };
  507. smp2p-lpass {
  508. compatible = "qcom,smp2p";
  509. qcom,smem = <443>, <429>;
  510. interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
  511. mboxes = <&apss_shared 10>;
  512. qcom,local-pid = <0>;
  513. qcom,remote-pid = <2>;
  514. adsp_smp2p_out: master-kernel {
  515. qcom,entry-name = "master-kernel";
  516. #qcom,smem-state-cells = <1>;
  517. };
  518. adsp_smp2p_in: slave-kernel {
  519. qcom,entry-name = "slave-kernel";
  520. interrupt-controller;
  521. #interrupt-cells = <2>;
  522. };
  523. };
  524. smp2p-mpss {
  525. compatible = "qcom,smp2p";
  526. qcom,smem = <435>, <428>;
  527. interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
  528. mboxes = <&apss_shared 14>;
  529. qcom,local-pid = <0>;
  530. qcom,remote-pid = <1>;
  531. modem_smp2p_out: master-kernel {
  532. qcom,entry-name = "master-kernel";
  533. #qcom,smem-state-cells = <1>;
  534. };
  535. modem_smp2p_in: slave-kernel {
  536. qcom,entry-name = "slave-kernel";
  537. interrupt-controller;
  538. #interrupt-cells = <2>;
  539. };
  540. ipa_smp2p_out: ipa-ap-to-modem {
  541. qcom,entry-name = "ipa";
  542. #qcom,smem-state-cells = <1>;
  543. };
  544. ipa_smp2p_in: ipa-modem-to-ap {
  545. qcom,entry-name = "ipa";
  546. interrupt-controller;
  547. #interrupt-cells = <2>;
  548. };
  549. };
  550. psci {
  551. compatible = "arm,psci-1.0";
  552. method = "smc";
  553. };
  554. soc: soc@0 {
  555. #address-cells = <2>;
  556. #size-cells = <2>;
  557. ranges = <0 0 0 0 0x10 0>;
  558. dma-ranges = <0 0 0 0 0x10 0>;
  559. compatible = "simple-bus";
  560. gcc: clock-controller@100000 {
  561. compatible = "qcom,gcc-sc7180";
  562. reg = <0 0x00100000 0 0x1f0000>;
  563. clocks = <&rpmhcc RPMH_CXO_CLK>,
  564. <&rpmhcc RPMH_CXO_CLK_A>,
  565. <&sleep_clk>;
  566. clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
  567. #clock-cells = <1>;
  568. #reset-cells = <1>;
  569. #power-domain-cells = <1>;
  570. };
  571. qfprom: efuse@784000 {
  572. compatible = "qcom,sc7180-qfprom", "qcom,qfprom";
  573. reg = <0 0x00784000 0 0x7a0>,
  574. <0 0x00780000 0 0x7a0>,
  575. <0 0x00782000 0 0x100>,
  576. <0 0x00786000 0 0x1fff>;
  577. clocks = <&gcc GCC_SEC_CTRL_CLK_SRC>;
  578. clock-names = "core";
  579. #address-cells = <1>;
  580. #size-cells = <1>;
  581. qusb2p_hstx_trim: hstx-trim-primary@25b {
  582. reg = <0x25b 0x1>;
  583. bits = <1 3>;
  584. };
  585. gpu_speed_bin: gpu_speed_bin@1d2 {
  586. reg = <0x1d2 0x2>;
  587. bits = <5 8>;
  588. };
  589. };
  590. sdhc_1: mmc@7c4000 {
  591. compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
  592. reg = <0 0x7c4000 0 0x1000>,
  593. <0 0x07c5000 0 0x1000>;
  594. reg-names = "hc", "cqhci";
  595. iommus = <&apps_smmu 0x60 0x0>;
  596. interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>,
  597. <GIC_SPI 644 IRQ_TYPE_LEVEL_HIGH>;
  598. interrupt-names = "hc_irq", "pwr_irq";
  599. clocks = <&gcc GCC_SDCC1_AHB_CLK>,
  600. <&gcc GCC_SDCC1_APPS_CLK>,
  601. <&rpmhcc RPMH_CXO_CLK>;
  602. clock-names = "iface", "core", "xo";
  603. interconnects = <&aggre1_noc MASTER_EMMC 0 &mc_virt SLAVE_EBI1 0>,
  604. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_EMMC_CFG 0>;
  605. interconnect-names = "sdhc-ddr","cpu-sdhc";
  606. power-domains = <&rpmhpd SC7180_CX>;
  607. operating-points-v2 = <&sdhc1_opp_table>;
  608. bus-width = <8>;
  609. non-removable;
  610. supports-cqe;
  611. mmc-ddr-1_8v;
  612. mmc-hs200-1_8v;
  613. mmc-hs400-1_8v;
  614. mmc-hs400-enhanced-strobe;
  615. status = "disabled";
  616. sdhc1_opp_table: opp-table {
  617. compatible = "operating-points-v2";
  618. opp-100000000 {
  619. opp-hz = /bits/ 64 <100000000>;
  620. required-opps = <&rpmhpd_opp_low_svs>;
  621. opp-peak-kBps = <1800000 600000>;
  622. opp-avg-kBps = <100000 0>;
  623. };
  624. opp-384000000 {
  625. opp-hz = /bits/ 64 <384000000>;
  626. required-opps = <&rpmhpd_opp_nom>;
  627. opp-peak-kBps = <5400000 1600000>;
  628. opp-avg-kBps = <390000 0>;
  629. };
  630. };
  631. };
  632. qup_opp_table: opp-table-qup {
  633. compatible = "operating-points-v2";
  634. opp-75000000 {
  635. opp-hz = /bits/ 64 <75000000>;
  636. required-opps = <&rpmhpd_opp_low_svs>;
  637. };
  638. opp-100000000 {
  639. opp-hz = /bits/ 64 <100000000>;
  640. required-opps = <&rpmhpd_opp_svs>;
  641. };
  642. opp-128000000 {
  643. opp-hz = /bits/ 64 <128000000>;
  644. required-opps = <&rpmhpd_opp_nom>;
  645. };
  646. };
  647. qupv3_id_0: geniqup@8c0000 {
  648. compatible = "qcom,geni-se-qup";
  649. reg = <0 0x008c0000 0 0x6000>;
  650. clock-names = "m-ahb", "s-ahb";
  651. clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
  652. <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
  653. #address-cells = <2>;
  654. #size-cells = <2>;
  655. ranges;
  656. iommus = <&apps_smmu 0x43 0x0>;
  657. status = "disabled";
  658. i2c0: i2c@880000 {
  659. compatible = "qcom,geni-i2c";
  660. reg = <0 0x00880000 0 0x4000>;
  661. clock-names = "se";
  662. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  663. pinctrl-names = "default";
  664. pinctrl-0 = <&qup_i2c0_default>;
  665. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  666. #address-cells = <1>;
  667. #size-cells = <0>;
  668. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  669. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
  670. <&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  671. interconnect-names = "qup-core", "qup-config",
  672. "qup-memory";
  673. power-domains = <&rpmhpd SC7180_CX>;
  674. required-opps = <&rpmhpd_opp_low_svs>;
  675. status = "disabled";
  676. };
  677. spi0: spi@880000 {
  678. compatible = "qcom,geni-spi";
  679. reg = <0 0x00880000 0 0x4000>;
  680. clock-names = "se";
  681. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  682. pinctrl-names = "default";
  683. pinctrl-0 = <&qup_spi0_default>;
  684. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  685. #address-cells = <1>;
  686. #size-cells = <0>;
  687. power-domains = <&rpmhpd SC7180_CX>;
  688. operating-points-v2 = <&qup_opp_table>;
  689. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  690. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
  691. interconnect-names = "qup-core", "qup-config";
  692. status = "disabled";
  693. };
  694. uart0: serial@880000 {
  695. compatible = "qcom,geni-uart";
  696. reg = <0 0x00880000 0 0x4000>;
  697. clock-names = "se";
  698. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  699. pinctrl-names = "default";
  700. pinctrl-0 = <&qup_uart0_default>;
  701. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  702. power-domains = <&rpmhpd SC7180_CX>;
  703. operating-points-v2 = <&qup_opp_table>;
  704. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  705. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
  706. interconnect-names = "qup-core", "qup-config";
  707. status = "disabled";
  708. };
  709. i2c1: i2c@884000 {
  710. compatible = "qcom,geni-i2c";
  711. reg = <0 0x00884000 0 0x4000>;
  712. clock-names = "se";
  713. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  714. pinctrl-names = "default";
  715. pinctrl-0 = <&qup_i2c1_default>;
  716. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  717. #address-cells = <1>;
  718. #size-cells = <0>;
  719. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  720. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
  721. <&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  722. interconnect-names = "qup-core", "qup-config",
  723. "qup-memory";
  724. power-domains = <&rpmhpd SC7180_CX>;
  725. required-opps = <&rpmhpd_opp_low_svs>;
  726. status = "disabled";
  727. };
  728. spi1: spi@884000 {
  729. compatible = "qcom,geni-spi";
  730. reg = <0 0x00884000 0 0x4000>;
  731. clock-names = "se";
  732. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  733. pinctrl-names = "default";
  734. pinctrl-0 = <&qup_spi1_default>;
  735. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  736. #address-cells = <1>;
  737. #size-cells = <0>;
  738. power-domains = <&rpmhpd SC7180_CX>;
  739. operating-points-v2 = <&qup_opp_table>;
  740. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  741. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
  742. interconnect-names = "qup-core", "qup-config";
  743. status = "disabled";
  744. };
  745. uart1: serial@884000 {
  746. compatible = "qcom,geni-uart";
  747. reg = <0 0x00884000 0 0x4000>;
  748. clock-names = "se";
  749. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  750. pinctrl-names = "default";
  751. pinctrl-0 = <&qup_uart1_default>;
  752. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  753. power-domains = <&rpmhpd SC7180_CX>;
  754. operating-points-v2 = <&qup_opp_table>;
  755. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  756. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
  757. interconnect-names = "qup-core", "qup-config";
  758. status = "disabled";
  759. };
  760. i2c2: i2c@888000 {
  761. compatible = "qcom,geni-i2c";
  762. reg = <0 0x00888000 0 0x4000>;
  763. clock-names = "se";
  764. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  765. pinctrl-names = "default";
  766. pinctrl-0 = <&qup_i2c2_default>;
  767. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  768. #address-cells = <1>;
  769. #size-cells = <0>;
  770. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  771. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
  772. <&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  773. interconnect-names = "qup-core", "qup-config",
  774. "qup-memory";
  775. power-domains = <&rpmhpd SC7180_CX>;
  776. required-opps = <&rpmhpd_opp_low_svs>;
  777. status = "disabled";
  778. };
  779. uart2: serial@888000 {
  780. compatible = "qcom,geni-uart";
  781. reg = <0 0x00888000 0 0x4000>;
  782. clock-names = "se";
  783. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  784. pinctrl-names = "default";
  785. pinctrl-0 = <&qup_uart2_default>;
  786. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  787. power-domains = <&rpmhpd SC7180_CX>;
  788. operating-points-v2 = <&qup_opp_table>;
  789. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  790. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
  791. interconnect-names = "qup-core", "qup-config";
  792. status = "disabled";
  793. };
  794. i2c3: i2c@88c000 {
  795. compatible = "qcom,geni-i2c";
  796. reg = <0 0x0088c000 0 0x4000>;
  797. clock-names = "se";
  798. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  799. pinctrl-names = "default";
  800. pinctrl-0 = <&qup_i2c3_default>;
  801. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  802. #address-cells = <1>;
  803. #size-cells = <0>;
  804. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  805. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
  806. <&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  807. interconnect-names = "qup-core", "qup-config",
  808. "qup-memory";
  809. power-domains = <&rpmhpd SC7180_CX>;
  810. required-opps = <&rpmhpd_opp_low_svs>;
  811. status = "disabled";
  812. };
  813. spi3: spi@88c000 {
  814. compatible = "qcom,geni-spi";
  815. reg = <0 0x0088c000 0 0x4000>;
  816. clock-names = "se";
  817. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  818. pinctrl-names = "default";
  819. pinctrl-0 = <&qup_spi3_default>;
  820. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  821. #address-cells = <1>;
  822. #size-cells = <0>;
  823. power-domains = <&rpmhpd SC7180_CX>;
  824. operating-points-v2 = <&qup_opp_table>;
  825. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  826. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
  827. interconnect-names = "qup-core", "qup-config";
  828. status = "disabled";
  829. };
  830. uart3: serial@88c000 {
  831. compatible = "qcom,geni-uart";
  832. reg = <0 0x0088c000 0 0x4000>;
  833. clock-names = "se";
  834. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  835. pinctrl-names = "default";
  836. pinctrl-0 = <&qup_uart3_default>;
  837. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  838. power-domains = <&rpmhpd SC7180_CX>;
  839. operating-points-v2 = <&qup_opp_table>;
  840. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  841. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
  842. interconnect-names = "qup-core", "qup-config";
  843. status = "disabled";
  844. };
  845. i2c4: i2c@890000 {
  846. compatible = "qcom,geni-i2c";
  847. reg = <0 0x00890000 0 0x4000>;
  848. clock-names = "se";
  849. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  850. pinctrl-names = "default";
  851. pinctrl-0 = <&qup_i2c4_default>;
  852. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  853. #address-cells = <1>;
  854. #size-cells = <0>;
  855. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  856. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
  857. <&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  858. interconnect-names = "qup-core", "qup-config",
  859. "qup-memory";
  860. power-domains = <&rpmhpd SC7180_CX>;
  861. required-opps = <&rpmhpd_opp_low_svs>;
  862. status = "disabled";
  863. };
  864. uart4: serial@890000 {
  865. compatible = "qcom,geni-uart";
  866. reg = <0 0x00890000 0 0x4000>;
  867. clock-names = "se";
  868. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  869. pinctrl-names = "default";
  870. pinctrl-0 = <&qup_uart4_default>;
  871. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  872. power-domains = <&rpmhpd SC7180_CX>;
  873. operating-points-v2 = <&qup_opp_table>;
  874. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  875. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
  876. interconnect-names = "qup-core", "qup-config";
  877. status = "disabled";
  878. };
  879. i2c5: i2c@894000 {
  880. compatible = "qcom,geni-i2c";
  881. reg = <0 0x00894000 0 0x4000>;
  882. clock-names = "se";
  883. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  884. pinctrl-names = "default";
  885. pinctrl-0 = <&qup_i2c5_default>;
  886. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  887. #address-cells = <1>;
  888. #size-cells = <0>;
  889. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  890. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
  891. <&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
  892. interconnect-names = "qup-core", "qup-config",
  893. "qup-memory";
  894. power-domains = <&rpmhpd SC7180_CX>;
  895. required-opps = <&rpmhpd_opp_low_svs>;
  896. status = "disabled";
  897. };
  898. spi5: spi@894000 {
  899. compatible = "qcom,geni-spi";
  900. reg = <0 0x00894000 0 0x4000>;
  901. clock-names = "se";
  902. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  903. pinctrl-names = "default";
  904. pinctrl-0 = <&qup_spi5_default>;
  905. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  906. #address-cells = <1>;
  907. #size-cells = <0>;
  908. power-domains = <&rpmhpd SC7180_CX>;
  909. operating-points-v2 = <&qup_opp_table>;
  910. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  911. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
  912. interconnect-names = "qup-core", "qup-config";
  913. status = "disabled";
  914. };
  915. uart5: serial@894000 {
  916. compatible = "qcom,geni-uart";
  917. reg = <0 0x00894000 0 0x4000>;
  918. clock-names = "se";
  919. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  920. pinctrl-names = "default";
  921. pinctrl-0 = <&qup_uart5_default>;
  922. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  923. power-domains = <&rpmhpd SC7180_CX>;
  924. operating-points-v2 = <&qup_opp_table>;
  925. interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
  926. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
  927. interconnect-names = "qup-core", "qup-config";
  928. status = "disabled";
  929. };
  930. };
  931. qupv3_id_1: geniqup@ac0000 {
  932. compatible = "qcom,geni-se-qup";
  933. reg = <0 0x00ac0000 0 0x6000>;
  934. clock-names = "m-ahb", "s-ahb";
  935. clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
  936. <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
  937. #address-cells = <2>;
  938. #size-cells = <2>;
  939. ranges;
  940. iommus = <&apps_smmu 0x4c3 0x0>;
  941. status = "disabled";
  942. i2c6: i2c@a80000 {
  943. compatible = "qcom,geni-i2c";
  944. reg = <0 0x00a80000 0 0x4000>;
  945. clock-names = "se";
  946. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  947. pinctrl-names = "default";
  948. pinctrl-0 = <&qup_i2c6_default>;
  949. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  950. #address-cells = <1>;
  951. #size-cells = <0>;
  952. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  953. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
  954. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  955. interconnect-names = "qup-core", "qup-config",
  956. "qup-memory";
  957. power-domains = <&rpmhpd SC7180_CX>;
  958. required-opps = <&rpmhpd_opp_low_svs>;
  959. status = "disabled";
  960. };
  961. spi6: spi@a80000 {
  962. compatible = "qcom,geni-spi";
  963. reg = <0 0x00a80000 0 0x4000>;
  964. clock-names = "se";
  965. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  966. pinctrl-names = "default";
  967. pinctrl-0 = <&qup_spi6_default>;
  968. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  969. #address-cells = <1>;
  970. #size-cells = <0>;
  971. power-domains = <&rpmhpd SC7180_CX>;
  972. operating-points-v2 = <&qup_opp_table>;
  973. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  974. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
  975. interconnect-names = "qup-core", "qup-config";
  976. status = "disabled";
  977. };
  978. uart6: serial@a80000 {
  979. compatible = "qcom,geni-uart";
  980. reg = <0 0x00a80000 0 0x4000>;
  981. clock-names = "se";
  982. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  983. pinctrl-names = "default";
  984. pinctrl-0 = <&qup_uart6_default>;
  985. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  986. power-domains = <&rpmhpd SC7180_CX>;
  987. operating-points-v2 = <&qup_opp_table>;
  988. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  989. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
  990. interconnect-names = "qup-core", "qup-config";
  991. status = "disabled";
  992. };
  993. i2c7: i2c@a84000 {
  994. compatible = "qcom,geni-i2c";
  995. reg = <0 0x00a84000 0 0x4000>;
  996. clock-names = "se";
  997. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  998. pinctrl-names = "default";
  999. pinctrl-0 = <&qup_i2c7_default>;
  1000. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1001. #address-cells = <1>;
  1002. #size-cells = <0>;
  1003. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1004. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
  1005. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1006. interconnect-names = "qup-core", "qup-config",
  1007. "qup-memory";
  1008. power-domains = <&rpmhpd SC7180_CX>;
  1009. required-opps = <&rpmhpd_opp_low_svs>;
  1010. status = "disabled";
  1011. };
  1012. uart7: serial@a84000 {
  1013. compatible = "qcom,geni-uart";
  1014. reg = <0 0x00a84000 0 0x4000>;
  1015. clock-names = "se";
  1016. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1017. pinctrl-names = "default";
  1018. pinctrl-0 = <&qup_uart7_default>;
  1019. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1020. power-domains = <&rpmhpd SC7180_CX>;
  1021. operating-points-v2 = <&qup_opp_table>;
  1022. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1023. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
  1024. interconnect-names = "qup-core", "qup-config";
  1025. status = "disabled";
  1026. };
  1027. i2c8: i2c@a88000 {
  1028. compatible = "qcom,geni-i2c";
  1029. reg = <0 0x00a88000 0 0x4000>;
  1030. clock-names = "se";
  1031. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1032. pinctrl-names = "default";
  1033. pinctrl-0 = <&qup_i2c8_default>;
  1034. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1035. #address-cells = <1>;
  1036. #size-cells = <0>;
  1037. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1038. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
  1039. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1040. interconnect-names = "qup-core", "qup-config",
  1041. "qup-memory";
  1042. power-domains = <&rpmhpd SC7180_CX>;
  1043. required-opps = <&rpmhpd_opp_low_svs>;
  1044. status = "disabled";
  1045. };
  1046. spi8: spi@a88000 {
  1047. compatible = "qcom,geni-spi";
  1048. reg = <0 0x00a88000 0 0x4000>;
  1049. clock-names = "se";
  1050. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1051. pinctrl-names = "default";
  1052. pinctrl-0 = <&qup_spi8_default>;
  1053. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1054. #address-cells = <1>;
  1055. #size-cells = <0>;
  1056. power-domains = <&rpmhpd SC7180_CX>;
  1057. operating-points-v2 = <&qup_opp_table>;
  1058. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1059. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
  1060. interconnect-names = "qup-core", "qup-config";
  1061. status = "disabled";
  1062. };
  1063. uart8: serial@a88000 {
  1064. compatible = "qcom,geni-debug-uart";
  1065. reg = <0 0x00a88000 0 0x4000>;
  1066. clock-names = "se";
  1067. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1068. pinctrl-names = "default";
  1069. pinctrl-0 = <&qup_uart8_default>;
  1070. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1071. power-domains = <&rpmhpd SC7180_CX>;
  1072. operating-points-v2 = <&qup_opp_table>;
  1073. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1074. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
  1075. interconnect-names = "qup-core", "qup-config";
  1076. status = "disabled";
  1077. };
  1078. i2c9: i2c@a8c000 {
  1079. compatible = "qcom,geni-i2c";
  1080. reg = <0 0x00a8c000 0 0x4000>;
  1081. clock-names = "se";
  1082. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1083. pinctrl-names = "default";
  1084. pinctrl-0 = <&qup_i2c9_default>;
  1085. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1086. #address-cells = <1>;
  1087. #size-cells = <0>;
  1088. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1089. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
  1090. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1091. interconnect-names = "qup-core", "qup-config",
  1092. "qup-memory";
  1093. power-domains = <&rpmhpd SC7180_CX>;
  1094. required-opps = <&rpmhpd_opp_low_svs>;
  1095. status = "disabled";
  1096. };
  1097. uart9: serial@a8c000 {
  1098. compatible = "qcom,geni-uart";
  1099. reg = <0 0x00a8c000 0 0x4000>;
  1100. clock-names = "se";
  1101. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1102. pinctrl-names = "default";
  1103. pinctrl-0 = <&qup_uart9_default>;
  1104. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1105. power-domains = <&rpmhpd SC7180_CX>;
  1106. operating-points-v2 = <&qup_opp_table>;
  1107. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1108. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
  1109. interconnect-names = "qup-core", "qup-config";
  1110. status = "disabled";
  1111. };
  1112. i2c10: i2c@a90000 {
  1113. compatible = "qcom,geni-i2c";
  1114. reg = <0 0x00a90000 0 0x4000>;
  1115. clock-names = "se";
  1116. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1117. pinctrl-names = "default";
  1118. pinctrl-0 = <&qup_i2c10_default>;
  1119. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1120. #address-cells = <1>;
  1121. #size-cells = <0>;
  1122. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1123. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
  1124. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1125. interconnect-names = "qup-core", "qup-config",
  1126. "qup-memory";
  1127. power-domains = <&rpmhpd SC7180_CX>;
  1128. required-opps = <&rpmhpd_opp_low_svs>;
  1129. status = "disabled";
  1130. };
  1131. spi10: spi@a90000 {
  1132. compatible = "qcom,geni-spi";
  1133. reg = <0 0x00a90000 0 0x4000>;
  1134. clock-names = "se";
  1135. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1136. pinctrl-names = "default";
  1137. pinctrl-0 = <&qup_spi10_default>;
  1138. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1139. #address-cells = <1>;
  1140. #size-cells = <0>;
  1141. power-domains = <&rpmhpd SC7180_CX>;
  1142. operating-points-v2 = <&qup_opp_table>;
  1143. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1144. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
  1145. interconnect-names = "qup-core", "qup-config";
  1146. status = "disabled";
  1147. };
  1148. uart10: serial@a90000 {
  1149. compatible = "qcom,geni-uart";
  1150. reg = <0 0x00a90000 0 0x4000>;
  1151. clock-names = "se";
  1152. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1153. pinctrl-names = "default";
  1154. pinctrl-0 = <&qup_uart10_default>;
  1155. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1156. power-domains = <&rpmhpd SC7180_CX>;
  1157. operating-points-v2 = <&qup_opp_table>;
  1158. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1159. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
  1160. interconnect-names = "qup-core", "qup-config";
  1161. status = "disabled";
  1162. };
  1163. i2c11: i2c@a94000 {
  1164. compatible = "qcom,geni-i2c";
  1165. reg = <0 0x00a94000 0 0x4000>;
  1166. clock-names = "se";
  1167. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1168. pinctrl-names = "default";
  1169. pinctrl-0 = <&qup_i2c11_default>;
  1170. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1171. #address-cells = <1>;
  1172. #size-cells = <0>;
  1173. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1174. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
  1175. <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
  1176. interconnect-names = "qup-core", "qup-config",
  1177. "qup-memory";
  1178. power-domains = <&rpmhpd SC7180_CX>;
  1179. required-opps = <&rpmhpd_opp_low_svs>;
  1180. status = "disabled";
  1181. };
  1182. spi11: spi@a94000 {
  1183. compatible = "qcom,geni-spi";
  1184. reg = <0 0x00a94000 0 0x4000>;
  1185. clock-names = "se";
  1186. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1187. pinctrl-names = "default";
  1188. pinctrl-0 = <&qup_spi11_default>;
  1189. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1190. #address-cells = <1>;
  1191. #size-cells = <0>;
  1192. power-domains = <&rpmhpd SC7180_CX>;
  1193. operating-points-v2 = <&qup_opp_table>;
  1194. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1195. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
  1196. interconnect-names = "qup-core", "qup-config";
  1197. status = "disabled";
  1198. };
  1199. uart11: serial@a94000 {
  1200. compatible = "qcom,geni-uart";
  1201. reg = <0 0x00a94000 0 0x4000>;
  1202. clock-names = "se";
  1203. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1204. pinctrl-names = "default";
  1205. pinctrl-0 = <&qup_uart11_default>;
  1206. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1207. power-domains = <&rpmhpd SC7180_CX>;
  1208. operating-points-v2 = <&qup_opp_table>;
  1209. interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
  1210. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
  1211. interconnect-names = "qup-core", "qup-config";
  1212. status = "disabled";
  1213. };
  1214. };
  1215. config_noc: interconnect@1500000 {
  1216. compatible = "qcom,sc7180-config-noc";
  1217. reg = <0 0x01500000 0 0x28000>;
  1218. #interconnect-cells = <2>;
  1219. qcom,bcm-voters = <&apps_bcm_voter>;
  1220. };
  1221. system_noc: interconnect@1620000 {
  1222. compatible = "qcom,sc7180-system-noc";
  1223. reg = <0 0x01620000 0 0x17080>;
  1224. #interconnect-cells = <2>;
  1225. qcom,bcm-voters = <&apps_bcm_voter>;
  1226. };
  1227. mc_virt: interconnect@1638000 {
  1228. compatible = "qcom,sc7180-mc-virt";
  1229. reg = <0 0x01638000 0 0x1000>;
  1230. #interconnect-cells = <2>;
  1231. qcom,bcm-voters = <&apps_bcm_voter>;
  1232. };
  1233. qup_virt: interconnect@1650000 {
  1234. compatible = "qcom,sc7180-qup-virt";
  1235. reg = <0 0x01650000 0 0x1000>;
  1236. #interconnect-cells = <2>;
  1237. qcom,bcm-voters = <&apps_bcm_voter>;
  1238. };
  1239. aggre1_noc: interconnect@16e0000 {
  1240. compatible = "qcom,sc7180-aggre1-noc";
  1241. reg = <0 0x016e0000 0 0x15080>;
  1242. #interconnect-cells = <2>;
  1243. qcom,bcm-voters = <&apps_bcm_voter>;
  1244. };
  1245. aggre2_noc: interconnect@1705000 {
  1246. compatible = "qcom,sc7180-aggre2-noc";
  1247. reg = <0 0x01705000 0 0x9000>;
  1248. #interconnect-cells = <2>;
  1249. qcom,bcm-voters = <&apps_bcm_voter>;
  1250. };
  1251. compute_noc: interconnect@170e000 {
  1252. compatible = "qcom,sc7180-compute-noc";
  1253. reg = <0 0x0170e000 0 0x6000>;
  1254. #interconnect-cells = <2>;
  1255. qcom,bcm-voters = <&apps_bcm_voter>;
  1256. };
  1257. mmss_noc: interconnect@1740000 {
  1258. compatible = "qcom,sc7180-mmss-noc";
  1259. reg = <0 0x01740000 0 0x1c100>;
  1260. #interconnect-cells = <2>;
  1261. qcom,bcm-voters = <&apps_bcm_voter>;
  1262. };
  1263. ipa: ipa@1e40000 {
  1264. compatible = "qcom,sc7180-ipa";
  1265. iommus = <&apps_smmu 0x440 0x0>,
  1266. <&apps_smmu 0x442 0x0>;
  1267. reg = <0 0x1e40000 0 0x7000>,
  1268. <0 0x1e47000 0 0x2000>,
  1269. <0 0x1e04000 0 0x2c000>;
  1270. reg-names = "ipa-reg",
  1271. "ipa-shared",
  1272. "gsi";
  1273. interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>,
  1274. <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
  1275. <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  1276. <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
  1277. interrupt-names = "ipa",
  1278. "gsi",
  1279. "ipa-clock-query",
  1280. "ipa-setup-ready";
  1281. clocks = <&rpmhcc RPMH_IPA_CLK>;
  1282. clock-names = "core";
  1283. interconnects = <&aggre2_noc MASTER_IPA 0 &mc_virt SLAVE_EBI1 0>,
  1284. <&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>,
  1285. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>;
  1286. interconnect-names = "memory",
  1287. "imem",
  1288. "config";
  1289. qcom,qmp = <&aoss_qmp>;
  1290. qcom,smem-states = <&ipa_smp2p_out 0>,
  1291. <&ipa_smp2p_out 1>;
  1292. qcom,smem-state-names = "ipa-clock-enabled-valid",
  1293. "ipa-clock-enabled";
  1294. status = "disabled";
  1295. };
  1296. tcsr_mutex: hwlock@1f40000 {
  1297. compatible = "qcom,tcsr-mutex";
  1298. reg = <0 0x01f40000 0 0x20000>;
  1299. #hwlock-cells = <1>;
  1300. };
  1301. tcsr_regs_1: syscon@1f60000 {
  1302. compatible = "qcom,sc7180-tcsr", "syscon";
  1303. reg = <0 0x01f60000 0 0x20000>;
  1304. };
  1305. tcsr_regs_2: syscon@1fc0000 {
  1306. compatible = "qcom,sc7180-tcsr", "syscon";
  1307. reg = <0 0x01fc0000 0 0x40000>;
  1308. };
  1309. tlmm: pinctrl@3500000 {
  1310. compatible = "qcom,sc7180-pinctrl";
  1311. reg = <0 0x03500000 0 0x300000>,
  1312. <0 0x03900000 0 0x300000>,
  1313. <0 0x03d00000 0 0x300000>;
  1314. reg-names = "west", "north", "south";
  1315. interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
  1316. gpio-controller;
  1317. #gpio-cells = <2>;
  1318. interrupt-controller;
  1319. #interrupt-cells = <2>;
  1320. gpio-ranges = <&tlmm 0 0 120>;
  1321. wakeup-parent = <&pdc>;
  1322. dp_hot_plug_det: dp-hot-plug-det {
  1323. pinmux {
  1324. pins = "gpio117";
  1325. function = "dp_hot";
  1326. };
  1327. };
  1328. qspi_clk: qspi-clk {
  1329. pinmux {
  1330. pins = "gpio63";
  1331. function = "qspi_clk";
  1332. };
  1333. };
  1334. qspi_cs0: qspi-cs0 {
  1335. pinmux {
  1336. pins = "gpio68";
  1337. function = "qspi_cs";
  1338. };
  1339. };
  1340. qspi_cs1: qspi-cs1 {
  1341. pinmux {
  1342. pins = "gpio72";
  1343. function = "qspi_cs";
  1344. };
  1345. };
  1346. qspi_data01: qspi-data01 {
  1347. pinmux-data {
  1348. pins = "gpio64", "gpio65";
  1349. function = "qspi_data";
  1350. };
  1351. };
  1352. qspi_data23: qspi-data23 {
  1353. pinmux-data {
  1354. pins = "gpio66", "gpio67";
  1355. function = "qspi_data";
  1356. };
  1357. };
  1358. qup_i2c0_default: qup-i2c0-default {
  1359. pinmux {
  1360. pins = "gpio34", "gpio35";
  1361. function = "qup00";
  1362. };
  1363. };
  1364. qup_i2c1_default: qup-i2c1-default {
  1365. pinmux {
  1366. pins = "gpio0", "gpio1";
  1367. function = "qup01";
  1368. };
  1369. };
  1370. qup_i2c2_default: qup-i2c2-default {
  1371. pinmux {
  1372. pins = "gpio15", "gpio16";
  1373. function = "qup02_i2c";
  1374. };
  1375. };
  1376. qup_i2c3_default: qup-i2c3-default {
  1377. pinmux {
  1378. pins = "gpio38", "gpio39";
  1379. function = "qup03";
  1380. };
  1381. };
  1382. qup_i2c4_default: qup-i2c4-default {
  1383. pinmux {
  1384. pins = "gpio115", "gpio116";
  1385. function = "qup04_i2c";
  1386. };
  1387. };
  1388. qup_i2c5_default: qup-i2c5-default {
  1389. pinmux {
  1390. pins = "gpio25", "gpio26";
  1391. function = "qup05";
  1392. };
  1393. };
  1394. qup_i2c6_default: qup-i2c6-default {
  1395. pinmux {
  1396. pins = "gpio59", "gpio60";
  1397. function = "qup10";
  1398. };
  1399. };
  1400. qup_i2c7_default: qup-i2c7-default {
  1401. pinmux {
  1402. pins = "gpio6", "gpio7";
  1403. function = "qup11_i2c";
  1404. };
  1405. };
  1406. qup_i2c8_default: qup-i2c8-default {
  1407. pinmux {
  1408. pins = "gpio42", "gpio43";
  1409. function = "qup12";
  1410. };
  1411. };
  1412. qup_i2c9_default: qup-i2c9-default {
  1413. pinmux {
  1414. pins = "gpio46", "gpio47";
  1415. function = "qup13_i2c";
  1416. };
  1417. };
  1418. qup_i2c10_default: qup-i2c10-default {
  1419. pinmux {
  1420. pins = "gpio86", "gpio87";
  1421. function = "qup14";
  1422. };
  1423. };
  1424. qup_i2c11_default: qup-i2c11-default {
  1425. pinmux {
  1426. pins = "gpio53", "gpio54";
  1427. function = "qup15";
  1428. };
  1429. };
  1430. qup_spi0_default: qup-spi0-default {
  1431. pinmux {
  1432. pins = "gpio34", "gpio35",
  1433. "gpio36", "gpio37";
  1434. function = "qup00";
  1435. };
  1436. };
  1437. qup_spi0_cs_gpio: qup-spi0-cs-gpio {
  1438. pinmux {
  1439. pins = "gpio34", "gpio35",
  1440. "gpio36";
  1441. function = "qup00";
  1442. };
  1443. pinmux-cs {
  1444. pins = "gpio37";
  1445. function = "gpio";
  1446. };
  1447. };
  1448. qup_spi1_default: qup-spi1-default {
  1449. pinmux {
  1450. pins = "gpio0", "gpio1",
  1451. "gpio2", "gpio3";
  1452. function = "qup01";
  1453. };
  1454. };
  1455. qup_spi1_cs_gpio: qup-spi1-cs-gpio {
  1456. pinmux {
  1457. pins = "gpio0", "gpio1",
  1458. "gpio2";
  1459. function = "qup01";
  1460. };
  1461. pinmux-cs {
  1462. pins = "gpio3";
  1463. function = "gpio";
  1464. };
  1465. };
  1466. qup_spi3_default: qup-spi3-default {
  1467. pinmux {
  1468. pins = "gpio38", "gpio39",
  1469. "gpio40", "gpio41";
  1470. function = "qup03";
  1471. };
  1472. };
  1473. qup_spi3_cs_gpio: qup-spi3-cs-gpio {
  1474. pinmux {
  1475. pins = "gpio38", "gpio39",
  1476. "gpio40";
  1477. function = "qup03";
  1478. };
  1479. pinmux-cs {
  1480. pins = "gpio41";
  1481. function = "gpio";
  1482. };
  1483. };
  1484. qup_spi5_default: qup-spi5-default {
  1485. pinmux {
  1486. pins = "gpio25", "gpio26",
  1487. "gpio27", "gpio28";
  1488. function = "qup05";
  1489. };
  1490. };
  1491. qup_spi5_cs_gpio: qup-spi5-cs-gpio {
  1492. pinmux {
  1493. pins = "gpio25", "gpio26",
  1494. "gpio27";
  1495. function = "qup05";
  1496. };
  1497. pinmux-cs {
  1498. pins = "gpio28";
  1499. function = "gpio";
  1500. };
  1501. };
  1502. qup_spi6_default: qup-spi6-default {
  1503. pinmux {
  1504. pins = "gpio59", "gpio60",
  1505. "gpio61", "gpio62";
  1506. function = "qup10";
  1507. };
  1508. };
  1509. qup_spi6_cs_gpio: qup-spi6-cs-gpio {
  1510. pinmux {
  1511. pins = "gpio59", "gpio60",
  1512. "gpio61";
  1513. function = "qup10";
  1514. };
  1515. pinmux-cs {
  1516. pins = "gpio62";
  1517. function = "gpio";
  1518. };
  1519. };
  1520. qup_spi8_default: qup-spi8-default {
  1521. pinmux {
  1522. pins = "gpio42", "gpio43",
  1523. "gpio44", "gpio45";
  1524. function = "qup12";
  1525. };
  1526. };
  1527. qup_spi8_cs_gpio: qup-spi8-cs-gpio {
  1528. pinmux {
  1529. pins = "gpio42", "gpio43",
  1530. "gpio44";
  1531. function = "qup12";
  1532. };
  1533. pinmux-cs {
  1534. pins = "gpio45";
  1535. function = "gpio";
  1536. };
  1537. };
  1538. qup_spi10_default: qup-spi10-default {
  1539. pinmux {
  1540. pins = "gpio86", "gpio87",
  1541. "gpio88", "gpio89";
  1542. function = "qup14";
  1543. };
  1544. };
  1545. qup_spi10_cs_gpio: qup-spi10-cs-gpio {
  1546. pinmux {
  1547. pins = "gpio86", "gpio87",
  1548. "gpio88";
  1549. function = "qup14";
  1550. };
  1551. pinmux-cs {
  1552. pins = "gpio89";
  1553. function = "gpio";
  1554. };
  1555. };
  1556. qup_spi11_default: qup-spi11-default {
  1557. pinmux {
  1558. pins = "gpio53", "gpio54",
  1559. "gpio55", "gpio56";
  1560. function = "qup15";
  1561. };
  1562. };
  1563. qup_spi11_cs_gpio: qup-spi11-cs-gpio {
  1564. pinmux {
  1565. pins = "gpio53", "gpio54",
  1566. "gpio55";
  1567. function = "qup15";
  1568. };
  1569. pinmux-cs {
  1570. pins = "gpio56";
  1571. function = "gpio";
  1572. };
  1573. };
  1574. qup_uart0_default: qup-uart0-default {
  1575. pinmux {
  1576. pins = "gpio34", "gpio35",
  1577. "gpio36", "gpio37";
  1578. function = "qup00";
  1579. };
  1580. };
  1581. qup_uart1_default: qup-uart1-default {
  1582. pinmux {
  1583. pins = "gpio0", "gpio1",
  1584. "gpio2", "gpio3";
  1585. function = "qup01";
  1586. };
  1587. };
  1588. qup_uart2_default: qup-uart2-default {
  1589. pinmux {
  1590. pins = "gpio15", "gpio16";
  1591. function = "qup02_uart";
  1592. };
  1593. };
  1594. qup_uart3_default: qup-uart3-default {
  1595. pinmux {
  1596. pins = "gpio38", "gpio39",
  1597. "gpio40", "gpio41";
  1598. function = "qup03";
  1599. };
  1600. };
  1601. qup_uart4_default: qup-uart4-default {
  1602. pinmux {
  1603. pins = "gpio115", "gpio116";
  1604. function = "qup04_uart";
  1605. };
  1606. };
  1607. qup_uart5_default: qup-uart5-default {
  1608. pinmux {
  1609. pins = "gpio25", "gpio26",
  1610. "gpio27", "gpio28";
  1611. function = "qup05";
  1612. };
  1613. };
  1614. qup_uart6_default: qup-uart6-default {
  1615. pinmux {
  1616. pins = "gpio59", "gpio60",
  1617. "gpio61", "gpio62";
  1618. function = "qup10";
  1619. };
  1620. };
  1621. qup_uart7_default: qup-uart7-default {
  1622. pinmux {
  1623. pins = "gpio6", "gpio7";
  1624. function = "qup11_uart";
  1625. };
  1626. };
  1627. qup_uart8_default: qup-uart8-default {
  1628. pinmux {
  1629. pins = "gpio44", "gpio45";
  1630. function = "qup12";
  1631. };
  1632. };
  1633. qup_uart9_default: qup-uart9-default {
  1634. pinmux {
  1635. pins = "gpio46", "gpio47";
  1636. function = "qup13_uart";
  1637. };
  1638. };
  1639. qup_uart10_default: qup-uart10-default {
  1640. pinmux {
  1641. pins = "gpio86", "gpio87",
  1642. "gpio88", "gpio89";
  1643. function = "qup14";
  1644. };
  1645. };
  1646. qup_uart11_default: qup-uart11-default {
  1647. pinmux {
  1648. pins = "gpio53", "gpio54",
  1649. "gpio55", "gpio56";
  1650. function = "qup15";
  1651. };
  1652. };
  1653. sec_mi2s_active: sec-mi2s-active {
  1654. pinmux {
  1655. pins = "gpio49", "gpio50", "gpio51";
  1656. function = "mi2s_1";
  1657. };
  1658. };
  1659. pri_mi2s_active: pri-mi2s-active {
  1660. pinmux {
  1661. pins = "gpio53", "gpio54", "gpio55", "gpio56";
  1662. function = "mi2s_0";
  1663. };
  1664. };
  1665. pri_mi2s_mclk_active: pri-mi2s-mclk-active {
  1666. pinmux {
  1667. pins = "gpio57";
  1668. function = "lpass_ext";
  1669. };
  1670. };
  1671. };
  1672. remoteproc_mpss: remoteproc@4080000 {
  1673. compatible = "qcom,sc7180-mpss-pas";
  1674. reg = <0 0x04080000 0 0x4040>, <0 0x04180000 0 0x48>;
  1675. reg-names = "qdsp6", "rmb";
  1676. interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
  1677. <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  1678. <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
  1679. <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
  1680. <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
  1681. <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
  1682. interrupt-names = "wdog", "fatal", "ready", "handover",
  1683. "stop-ack", "shutdown-ack";
  1684. clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
  1685. <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
  1686. <&gcc GCC_MSS_NAV_AXI_CLK>,
  1687. <&gcc GCC_MSS_SNOC_AXI_CLK>,
  1688. <&gcc GCC_MSS_MFAB_AXIS_CLK>,
  1689. <&rpmhcc RPMH_CXO_CLK>;
  1690. clock-names = "iface", "bus", "nav", "snoc_axi",
  1691. "mnoc_axi", "xo";
  1692. power-domains = <&rpmhpd SC7180_CX>,
  1693. <&rpmhpd SC7180_MX>,
  1694. <&rpmhpd SC7180_MSS>;
  1695. power-domain-names = "cx", "mx", "mss";
  1696. memory-region = <&mpss_mem>;
  1697. qcom,qmp = <&aoss_qmp>;
  1698. qcom,smem-states = <&modem_smp2p_out 0>;
  1699. qcom,smem-state-names = "stop";
  1700. resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
  1701. <&pdc_reset PDC_MODEM_SYNC_RESET>;
  1702. reset-names = "mss_restart", "pdc_reset";
  1703. qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>;
  1704. qcom,spare-regs = <&tcsr_regs_2 0xb3e4>;
  1705. status = "disabled";
  1706. glink-edge {
  1707. interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
  1708. label = "modem";
  1709. qcom,remote-pid = <1>;
  1710. mboxes = <&apss_shared 12>;
  1711. };
  1712. };
  1713. gpu: gpu@5000000 {
  1714. compatible = "qcom,adreno-618.0", "qcom,adreno";
  1715. reg = <0 0x05000000 0 0x40000>, <0 0x0509e000 0 0x1000>,
  1716. <0 0x05061000 0 0x800>;
  1717. reg-names = "kgsl_3d0_reg_memory", "cx_mem", "cx_dbgc";
  1718. interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
  1719. iommus = <&adreno_smmu 0>;
  1720. operating-points-v2 = <&gpu_opp_table>;
  1721. qcom,gmu = <&gmu>;
  1722. #cooling-cells = <2>;
  1723. nvmem-cells = <&gpu_speed_bin>;
  1724. nvmem-cell-names = "speed_bin";
  1725. interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>;
  1726. interconnect-names = "gfx-mem";
  1727. gpu_opp_table: opp-table {
  1728. compatible = "operating-points-v2";
  1729. opp-825000000 {
  1730. opp-hz = /bits/ 64 <825000000>;
  1731. opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
  1732. opp-peak-kBps = <8532000>;
  1733. opp-supported-hw = <0x04>;
  1734. };
  1735. opp-800000000 {
  1736. opp-hz = /bits/ 64 <800000000>;
  1737. opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
  1738. opp-peak-kBps = <8532000>;
  1739. opp-supported-hw = <0x07>;
  1740. };
  1741. opp-650000000 {
  1742. opp-hz = /bits/ 64 <650000000>;
  1743. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
  1744. opp-peak-kBps = <7216000>;
  1745. opp-supported-hw = <0x07>;
  1746. };
  1747. opp-565000000 {
  1748. opp-hz = /bits/ 64 <565000000>;
  1749. opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
  1750. opp-peak-kBps = <5412000>;
  1751. opp-supported-hw = <0x07>;
  1752. };
  1753. opp-430000000 {
  1754. opp-hz = /bits/ 64 <430000000>;
  1755. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
  1756. opp-peak-kBps = <5412000>;
  1757. opp-supported-hw = <0x07>;
  1758. };
  1759. opp-355000000 {
  1760. opp-hz = /bits/ 64 <355000000>;
  1761. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  1762. opp-peak-kBps = <3072000>;
  1763. opp-supported-hw = <0x07>;
  1764. };
  1765. opp-267000000 {
  1766. opp-hz = /bits/ 64 <267000000>;
  1767. opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
  1768. opp-peak-kBps = <3072000>;
  1769. opp-supported-hw = <0x07>;
  1770. };
  1771. opp-180000000 {
  1772. opp-hz = /bits/ 64 <180000000>;
  1773. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  1774. opp-peak-kBps = <1804000>;
  1775. opp-supported-hw = <0x07>;
  1776. };
  1777. };
  1778. };
  1779. adreno_smmu: iommu@5040000 {
  1780. compatible = "qcom,sc7180-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2";
  1781. reg = <0 0x05040000 0 0x10000>;
  1782. #iommu-cells = <1>;
  1783. #global-interrupts = <2>;
  1784. interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
  1785. <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
  1786. <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
  1787. <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
  1788. <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
  1789. <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
  1790. <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
  1791. <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
  1792. <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
  1793. <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
  1794. clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
  1795. <&gcc GCC_GPU_CFG_AHB_CLK>;
  1796. clock-names = "bus", "iface";
  1797. power-domains = <&gpucc CX_GDSC>;
  1798. };
  1799. gmu: gmu@506a000 {
  1800. compatible = "qcom,adreno-gmu-618.0", "qcom,adreno-gmu";
  1801. reg = <0 0x0506a000 0 0x31000>, <0 0x0b290000 0 0x10000>,
  1802. <0 0x0b490000 0 0x10000>;
  1803. reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
  1804. interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
  1805. <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
  1806. interrupt-names = "hfi", "gmu";
  1807. clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
  1808. <&gpucc GPU_CC_CXO_CLK>,
  1809. <&gcc GCC_DDRSS_GPU_AXI_CLK>,
  1810. <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
  1811. clock-names = "gmu", "cxo", "axi", "memnoc";
  1812. power-domains = <&gpucc CX_GDSC>, <&gpucc GX_GDSC>;
  1813. power-domain-names = "cx", "gx";
  1814. iommus = <&adreno_smmu 5>;
  1815. operating-points-v2 = <&gmu_opp_table>;
  1816. gmu_opp_table: opp-table {
  1817. compatible = "operating-points-v2";
  1818. opp-200000000 {
  1819. opp-hz = /bits/ 64 <200000000>;
  1820. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  1821. };
  1822. };
  1823. };
  1824. gpucc: clock-controller@5090000 {
  1825. compatible = "qcom,sc7180-gpucc";
  1826. reg = <0 0x05090000 0 0x9000>;
  1827. clocks = <&rpmhcc RPMH_CXO_CLK>,
  1828. <&gcc GCC_GPU_GPLL0_CLK_SRC>,
  1829. <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
  1830. clock-names = "bi_tcxo",
  1831. "gcc_gpu_gpll0_clk_src",
  1832. "gcc_gpu_gpll0_div_clk_src";
  1833. #clock-cells = <1>;
  1834. #reset-cells = <1>;
  1835. #power-domain-cells = <1>;
  1836. };
  1837. stm@6002000 {
  1838. compatible = "arm,coresight-stm", "arm,primecell";
  1839. reg = <0 0x06002000 0 0x1000>,
  1840. <0 0x16280000 0 0x180000>;
  1841. reg-names = "stm-base", "stm-stimulus-base";
  1842. clocks = <&aoss_qmp>;
  1843. clock-names = "apb_pclk";
  1844. out-ports {
  1845. port {
  1846. stm_out: endpoint {
  1847. remote-endpoint = <&funnel0_in7>;
  1848. };
  1849. };
  1850. };
  1851. };
  1852. funnel@6041000 {
  1853. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  1854. reg = <0 0x06041000 0 0x1000>;
  1855. clocks = <&aoss_qmp>;
  1856. clock-names = "apb_pclk";
  1857. out-ports {
  1858. port {
  1859. funnel0_out: endpoint {
  1860. remote-endpoint = <&merge_funnel_in0>;
  1861. };
  1862. };
  1863. };
  1864. in-ports {
  1865. #address-cells = <1>;
  1866. #size-cells = <0>;
  1867. port@7 {
  1868. reg = <7>;
  1869. funnel0_in7: endpoint {
  1870. remote-endpoint = <&stm_out>;
  1871. };
  1872. };
  1873. };
  1874. };
  1875. funnel@6042000 {
  1876. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  1877. reg = <0 0x06042000 0 0x1000>;
  1878. clocks = <&aoss_qmp>;
  1879. clock-names = "apb_pclk";
  1880. out-ports {
  1881. port {
  1882. funnel1_out: endpoint {
  1883. remote-endpoint = <&merge_funnel_in1>;
  1884. };
  1885. };
  1886. };
  1887. in-ports {
  1888. #address-cells = <1>;
  1889. #size-cells = <0>;
  1890. port@4 {
  1891. reg = <4>;
  1892. funnel1_in4: endpoint {
  1893. remote-endpoint = <&apss_merge_funnel_out>;
  1894. };
  1895. };
  1896. };
  1897. };
  1898. funnel@6045000 {
  1899. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  1900. reg = <0 0x06045000 0 0x1000>;
  1901. clocks = <&aoss_qmp>;
  1902. clock-names = "apb_pclk";
  1903. out-ports {
  1904. port {
  1905. merge_funnel_out: endpoint {
  1906. remote-endpoint = <&swao_funnel_in>;
  1907. };
  1908. };
  1909. };
  1910. in-ports {
  1911. #address-cells = <1>;
  1912. #size-cells = <0>;
  1913. port@0 {
  1914. reg = <0>;
  1915. merge_funnel_in0: endpoint {
  1916. remote-endpoint = <&funnel0_out>;
  1917. };
  1918. };
  1919. port@1 {
  1920. reg = <1>;
  1921. merge_funnel_in1: endpoint {
  1922. remote-endpoint = <&funnel1_out>;
  1923. };
  1924. };
  1925. };
  1926. };
  1927. replicator@6046000 {
  1928. compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
  1929. reg = <0 0x06046000 0 0x1000>;
  1930. clocks = <&aoss_qmp>;
  1931. clock-names = "apb_pclk";
  1932. out-ports {
  1933. port {
  1934. replicator_out: endpoint {
  1935. remote-endpoint = <&etr_in>;
  1936. };
  1937. };
  1938. };
  1939. in-ports {
  1940. port {
  1941. replicator_in: endpoint {
  1942. remote-endpoint = <&swao_replicator_out>;
  1943. };
  1944. };
  1945. };
  1946. };
  1947. etr@6048000 {
  1948. compatible = "arm,coresight-tmc", "arm,primecell";
  1949. reg = <0 0x06048000 0 0x1000>;
  1950. iommus = <&apps_smmu 0x04a0 0x20>;
  1951. clocks = <&aoss_qmp>;
  1952. clock-names = "apb_pclk";
  1953. arm,scatter-gather;
  1954. in-ports {
  1955. port {
  1956. etr_in: endpoint {
  1957. remote-endpoint = <&replicator_out>;
  1958. };
  1959. };
  1960. };
  1961. };
  1962. funnel@6b04000 {
  1963. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  1964. reg = <0 0x06b04000 0 0x1000>;
  1965. clocks = <&aoss_qmp>;
  1966. clock-names = "apb_pclk";
  1967. out-ports {
  1968. port {
  1969. swao_funnel_out: endpoint {
  1970. remote-endpoint = <&etf_in>;
  1971. };
  1972. };
  1973. };
  1974. in-ports {
  1975. #address-cells = <1>;
  1976. #size-cells = <0>;
  1977. port@7 {
  1978. reg = <7>;
  1979. swao_funnel_in: endpoint {
  1980. remote-endpoint = <&merge_funnel_out>;
  1981. };
  1982. };
  1983. };
  1984. };
  1985. etf@6b05000 {
  1986. compatible = "arm,coresight-tmc", "arm,primecell";
  1987. reg = <0 0x06b05000 0 0x1000>;
  1988. clocks = <&aoss_qmp>;
  1989. clock-names = "apb_pclk";
  1990. out-ports {
  1991. port {
  1992. etf_out: endpoint {
  1993. remote-endpoint = <&swao_replicator_in>;
  1994. };
  1995. };
  1996. };
  1997. in-ports {
  1998. port {
  1999. etf_in: endpoint {
  2000. remote-endpoint = <&swao_funnel_out>;
  2001. };
  2002. };
  2003. };
  2004. };
  2005. replicator@6b06000 {
  2006. compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
  2007. reg = <0 0x06b06000 0 0x1000>;
  2008. clocks = <&aoss_qmp>;
  2009. clock-names = "apb_pclk";
  2010. qcom,replicator-loses-context;
  2011. out-ports {
  2012. port {
  2013. swao_replicator_out: endpoint {
  2014. remote-endpoint = <&replicator_in>;
  2015. };
  2016. };
  2017. };
  2018. in-ports {
  2019. port {
  2020. swao_replicator_in: endpoint {
  2021. remote-endpoint = <&etf_out>;
  2022. };
  2023. };
  2024. };
  2025. };
  2026. etm@7040000 {
  2027. compatible = "arm,coresight-etm4x", "arm,primecell";
  2028. reg = <0 0x07040000 0 0x1000>;
  2029. cpu = <&CPU0>;
  2030. clocks = <&aoss_qmp>;
  2031. clock-names = "apb_pclk";
  2032. arm,coresight-loses-context-with-cpu;
  2033. qcom,skip-power-up;
  2034. out-ports {
  2035. port {
  2036. etm0_out: endpoint {
  2037. remote-endpoint = <&apss_funnel_in0>;
  2038. };
  2039. };
  2040. };
  2041. };
  2042. etm@7140000 {
  2043. compatible = "arm,coresight-etm4x", "arm,primecell";
  2044. reg = <0 0x07140000 0 0x1000>;
  2045. cpu = <&CPU1>;
  2046. clocks = <&aoss_qmp>;
  2047. clock-names = "apb_pclk";
  2048. arm,coresight-loses-context-with-cpu;
  2049. qcom,skip-power-up;
  2050. out-ports {
  2051. port {
  2052. etm1_out: endpoint {
  2053. remote-endpoint = <&apss_funnel_in1>;
  2054. };
  2055. };
  2056. };
  2057. };
  2058. etm@7240000 {
  2059. compatible = "arm,coresight-etm4x", "arm,primecell";
  2060. reg = <0 0x07240000 0 0x1000>;
  2061. cpu = <&CPU2>;
  2062. clocks = <&aoss_qmp>;
  2063. clock-names = "apb_pclk";
  2064. arm,coresight-loses-context-with-cpu;
  2065. qcom,skip-power-up;
  2066. out-ports {
  2067. port {
  2068. etm2_out: endpoint {
  2069. remote-endpoint = <&apss_funnel_in2>;
  2070. };
  2071. };
  2072. };
  2073. };
  2074. etm@7340000 {
  2075. compatible = "arm,coresight-etm4x", "arm,primecell";
  2076. reg = <0 0x07340000 0 0x1000>;
  2077. cpu = <&CPU3>;
  2078. clocks = <&aoss_qmp>;
  2079. clock-names = "apb_pclk";
  2080. arm,coresight-loses-context-with-cpu;
  2081. qcom,skip-power-up;
  2082. out-ports {
  2083. port {
  2084. etm3_out: endpoint {
  2085. remote-endpoint = <&apss_funnel_in3>;
  2086. };
  2087. };
  2088. };
  2089. };
  2090. etm@7440000 {
  2091. compatible = "arm,coresight-etm4x", "arm,primecell";
  2092. reg = <0 0x07440000 0 0x1000>;
  2093. cpu = <&CPU4>;
  2094. clocks = <&aoss_qmp>;
  2095. clock-names = "apb_pclk";
  2096. arm,coresight-loses-context-with-cpu;
  2097. qcom,skip-power-up;
  2098. out-ports {
  2099. port {
  2100. etm4_out: endpoint {
  2101. remote-endpoint = <&apss_funnel_in4>;
  2102. };
  2103. };
  2104. };
  2105. };
  2106. etm@7540000 {
  2107. compatible = "arm,coresight-etm4x", "arm,primecell";
  2108. reg = <0 0x07540000 0 0x1000>;
  2109. cpu = <&CPU5>;
  2110. clocks = <&aoss_qmp>;
  2111. clock-names = "apb_pclk";
  2112. arm,coresight-loses-context-with-cpu;
  2113. qcom,skip-power-up;
  2114. out-ports {
  2115. port {
  2116. etm5_out: endpoint {
  2117. remote-endpoint = <&apss_funnel_in5>;
  2118. };
  2119. };
  2120. };
  2121. };
  2122. etm@7640000 {
  2123. compatible = "arm,coresight-etm4x", "arm,primecell";
  2124. reg = <0 0x07640000 0 0x1000>;
  2125. cpu = <&CPU6>;
  2126. clocks = <&aoss_qmp>;
  2127. clock-names = "apb_pclk";
  2128. arm,coresight-loses-context-with-cpu;
  2129. qcom,skip-power-up;
  2130. out-ports {
  2131. port {
  2132. etm6_out: endpoint {
  2133. remote-endpoint = <&apss_funnel_in6>;
  2134. };
  2135. };
  2136. };
  2137. };
  2138. etm@7740000 {
  2139. compatible = "arm,coresight-etm4x", "arm,primecell";
  2140. reg = <0 0x07740000 0 0x1000>;
  2141. cpu = <&CPU7>;
  2142. clocks = <&aoss_qmp>;
  2143. clock-names = "apb_pclk";
  2144. arm,coresight-loses-context-with-cpu;
  2145. qcom,skip-power-up;
  2146. out-ports {
  2147. port {
  2148. etm7_out: endpoint {
  2149. remote-endpoint = <&apss_funnel_in7>;
  2150. };
  2151. };
  2152. };
  2153. };
  2154. funnel@7800000 { /* APSS Funnel */
  2155. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2156. reg = <0 0x07800000 0 0x1000>;
  2157. clocks = <&aoss_qmp>;
  2158. clock-names = "apb_pclk";
  2159. out-ports {
  2160. port {
  2161. apss_funnel_out: endpoint {
  2162. remote-endpoint = <&apss_merge_funnel_in>;
  2163. };
  2164. };
  2165. };
  2166. in-ports {
  2167. #address-cells = <1>;
  2168. #size-cells = <0>;
  2169. port@0 {
  2170. reg = <0>;
  2171. apss_funnel_in0: endpoint {
  2172. remote-endpoint = <&etm0_out>;
  2173. };
  2174. };
  2175. port@1 {
  2176. reg = <1>;
  2177. apss_funnel_in1: endpoint {
  2178. remote-endpoint = <&etm1_out>;
  2179. };
  2180. };
  2181. port@2 {
  2182. reg = <2>;
  2183. apss_funnel_in2: endpoint {
  2184. remote-endpoint = <&etm2_out>;
  2185. };
  2186. };
  2187. port@3 {
  2188. reg = <3>;
  2189. apss_funnel_in3: endpoint {
  2190. remote-endpoint = <&etm3_out>;
  2191. };
  2192. };
  2193. port@4 {
  2194. reg = <4>;
  2195. apss_funnel_in4: endpoint {
  2196. remote-endpoint = <&etm4_out>;
  2197. };
  2198. };
  2199. port@5 {
  2200. reg = <5>;
  2201. apss_funnel_in5: endpoint {
  2202. remote-endpoint = <&etm5_out>;
  2203. };
  2204. };
  2205. port@6 {
  2206. reg = <6>;
  2207. apss_funnel_in6: endpoint {
  2208. remote-endpoint = <&etm6_out>;
  2209. };
  2210. };
  2211. port@7 {
  2212. reg = <7>;
  2213. apss_funnel_in7: endpoint {
  2214. remote-endpoint = <&etm7_out>;
  2215. };
  2216. };
  2217. };
  2218. };
  2219. funnel@7810000 {
  2220. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2221. reg = <0 0x07810000 0 0x1000>;
  2222. clocks = <&aoss_qmp>;
  2223. clock-names = "apb_pclk";
  2224. out-ports {
  2225. port {
  2226. apss_merge_funnel_out: endpoint {
  2227. remote-endpoint = <&funnel1_in4>;
  2228. };
  2229. };
  2230. };
  2231. in-ports {
  2232. port {
  2233. apss_merge_funnel_in: endpoint {
  2234. remote-endpoint = <&apss_funnel_out>;
  2235. };
  2236. };
  2237. };
  2238. };
  2239. sdhc_2: mmc@8804000 {
  2240. compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
  2241. reg = <0 0x08804000 0 0x1000>;
  2242. iommus = <&apps_smmu 0x80 0>;
  2243. interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
  2244. <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
  2245. interrupt-names = "hc_irq", "pwr_irq";
  2246. clocks = <&gcc GCC_SDCC2_AHB_CLK>,
  2247. <&gcc GCC_SDCC2_APPS_CLK>,
  2248. <&rpmhcc RPMH_CXO_CLK>;
  2249. clock-names = "iface", "core", "xo";
  2250. interconnects = <&aggre1_noc MASTER_SDCC_2 0 &mc_virt SLAVE_EBI1 0>,
  2251. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_SDCC_2 0>;
  2252. interconnect-names = "sdhc-ddr","cpu-sdhc";
  2253. power-domains = <&rpmhpd SC7180_CX>;
  2254. operating-points-v2 = <&sdhc2_opp_table>;
  2255. bus-width = <4>;
  2256. status = "disabled";
  2257. sdhc2_opp_table: opp-table {
  2258. compatible = "operating-points-v2";
  2259. opp-100000000 {
  2260. opp-hz = /bits/ 64 <100000000>;
  2261. required-opps = <&rpmhpd_opp_low_svs>;
  2262. opp-peak-kBps = <1800000 600000>;
  2263. opp-avg-kBps = <100000 0>;
  2264. };
  2265. opp-202000000 {
  2266. opp-hz = /bits/ 64 <202000000>;
  2267. required-opps = <&rpmhpd_opp_nom>;
  2268. opp-peak-kBps = <5400000 1600000>;
  2269. opp-avg-kBps = <200000 0>;
  2270. };
  2271. };
  2272. };
  2273. qspi_opp_table: opp-table-qspi {
  2274. compatible = "operating-points-v2";
  2275. opp-75000000 {
  2276. opp-hz = /bits/ 64 <75000000>;
  2277. required-opps = <&rpmhpd_opp_low_svs>;
  2278. };
  2279. opp-150000000 {
  2280. opp-hz = /bits/ 64 <150000000>;
  2281. required-opps = <&rpmhpd_opp_svs>;
  2282. };
  2283. opp-300000000 {
  2284. opp-hz = /bits/ 64 <300000000>;
  2285. required-opps = <&rpmhpd_opp_nom>;
  2286. };
  2287. };
  2288. qspi: spi@88dc000 {
  2289. compatible = "qcom,sc7180-qspi", "qcom,qspi-v1";
  2290. reg = <0 0x088dc000 0 0x600>;
  2291. #address-cells = <1>;
  2292. #size-cells = <0>;
  2293. interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
  2294. clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
  2295. <&gcc GCC_QSPI_CORE_CLK>;
  2296. clock-names = "iface", "core";
  2297. interconnects = <&gem_noc MASTER_APPSS_PROC 0
  2298. &config_noc SLAVE_QSPI_0 0>;
  2299. interconnect-names = "qspi-config";
  2300. power-domains = <&rpmhpd SC7180_CX>;
  2301. operating-points-v2 = <&qspi_opp_table>;
  2302. status = "disabled";
  2303. };
  2304. usb_1_hsphy: phy@88e3000 {
  2305. compatible = "qcom,sc7180-qusb2-phy", "qcom,qusb2-v2-phy";
  2306. reg = <0 0x088e3000 0 0x400>;
  2307. status = "disabled";
  2308. #phy-cells = <0>;
  2309. clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
  2310. <&rpmhcc RPMH_CXO_CLK>;
  2311. clock-names = "cfg_ahb", "ref";
  2312. resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
  2313. nvmem-cells = <&qusb2p_hstx_trim>;
  2314. };
  2315. usb_1_qmpphy: phy-wrapper@88e9000 {
  2316. compatible = "qcom,sc7180-qmp-usb3-dp-phy";
  2317. reg = <0 0x088e9000 0 0x18c>,
  2318. <0 0x088e8000 0 0x3c>,
  2319. <0 0x088ea000 0 0x18c>;
  2320. status = "disabled";
  2321. #address-cells = <2>;
  2322. #size-cells = <2>;
  2323. ranges;
  2324. clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
  2325. <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
  2326. <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
  2327. <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
  2328. clock-names = "aux", "cfg_ahb", "ref", "com_aux";
  2329. resets = <&gcc GCC_USB3_PHY_PRIM_BCR>,
  2330. <&gcc GCC_USB3_DP_PHY_PRIM_BCR>;
  2331. reset-names = "phy", "common";
  2332. usb_1_ssphy: usb3-phy@88e9200 {
  2333. reg = <0 0x088e9200 0 0x128>,
  2334. <0 0x088e9400 0 0x200>,
  2335. <0 0x088e9c00 0 0x218>,
  2336. <0 0x088e9600 0 0x128>,
  2337. <0 0x088e9800 0 0x200>,
  2338. <0 0x088e9a00 0 0x18>;
  2339. #clock-cells = <0>;
  2340. #phy-cells = <0>;
  2341. clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
  2342. clock-names = "pipe0";
  2343. clock-output-names = "usb3_phy_pipe_clk_src";
  2344. };
  2345. dp_phy: dp-phy@88ea200 {
  2346. reg = <0 0x088ea200 0 0x200>,
  2347. <0 0x088ea400 0 0x200>,
  2348. <0 0x088eaa00 0 0x200>,
  2349. <0 0x088ea600 0 0x200>,
  2350. <0 0x088ea800 0 0x200>;
  2351. #clock-cells = <1>;
  2352. #phy-cells = <0>;
  2353. };
  2354. };
  2355. dc_noc: interconnect@9160000 {
  2356. compatible = "qcom,sc7180-dc-noc";
  2357. reg = <0 0x09160000 0 0x03200>;
  2358. #interconnect-cells = <2>;
  2359. qcom,bcm-voters = <&apps_bcm_voter>;
  2360. };
  2361. system-cache-controller@9200000 {
  2362. compatible = "qcom,sc7180-llcc";
  2363. reg = <0 0x09200000 0 0x50000>, <0 0x09600000 0 0x50000>;
  2364. reg-names = "llcc_base", "llcc_broadcast_base";
  2365. interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
  2366. };
  2367. gem_noc: interconnect@9680000 {
  2368. compatible = "qcom,sc7180-gem-noc";
  2369. reg = <0 0x09680000 0 0x3e200>;
  2370. #interconnect-cells = <2>;
  2371. qcom,bcm-voters = <&apps_bcm_voter>;
  2372. };
  2373. npu_noc: interconnect@9990000 {
  2374. compatible = "qcom,sc7180-npu-noc";
  2375. reg = <0 0x09990000 0 0x1600>;
  2376. #interconnect-cells = <2>;
  2377. qcom,bcm-voters = <&apps_bcm_voter>;
  2378. };
  2379. usb_1: usb@a6f8800 {
  2380. compatible = "qcom,sc7180-dwc3", "qcom,dwc3";
  2381. reg = <0 0x0a6f8800 0 0x400>;
  2382. status = "disabled";
  2383. #address-cells = <2>;
  2384. #size-cells = <2>;
  2385. ranges;
  2386. dma-ranges;
  2387. clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
  2388. <&gcc GCC_USB30_PRIM_MASTER_CLK>,
  2389. <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
  2390. <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
  2391. <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
  2392. clock-names = "cfg_noc",
  2393. "core",
  2394. "iface",
  2395. "sleep",
  2396. "mock_utmi";
  2397. assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  2398. <&gcc GCC_USB30_PRIM_MASTER_CLK>;
  2399. assigned-clock-rates = <19200000>, <150000000>;
  2400. interrupts-extended = <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
  2401. <&pdc 6 IRQ_TYPE_LEVEL_HIGH>,
  2402. <&pdc 8 IRQ_TYPE_LEVEL_HIGH>,
  2403. <&pdc 9 IRQ_TYPE_LEVEL_HIGH>;
  2404. interrupt-names = "hs_phy_irq", "ss_phy_irq",
  2405. "dm_hs_phy_irq", "dp_hs_phy_irq";
  2406. power-domains = <&gcc USB30_PRIM_GDSC>;
  2407. resets = <&gcc GCC_USB30_PRIM_BCR>;
  2408. interconnects = <&aggre2_noc MASTER_USB3 0 &mc_virt SLAVE_EBI1 0>,
  2409. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3 0>;
  2410. interconnect-names = "usb-ddr", "apps-usb";
  2411. usb_1_dwc3: usb@a600000 {
  2412. compatible = "snps,dwc3";
  2413. reg = <0 0x0a600000 0 0xe000>;
  2414. interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  2415. iommus = <&apps_smmu 0x540 0>;
  2416. snps,dis_u2_susphy_quirk;
  2417. snps,dis_enblslpm_quirk;
  2418. phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
  2419. phy-names = "usb2-phy", "usb3-phy";
  2420. maximum-speed = "super-speed";
  2421. };
  2422. };
  2423. venus: video-codec@aa00000 {
  2424. compatible = "qcom,sc7180-venus";
  2425. reg = <0 0x0aa00000 0 0xff000>;
  2426. interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
  2427. power-domains = <&videocc VENUS_GDSC>,
  2428. <&videocc VCODEC0_GDSC>,
  2429. <&rpmhpd SC7180_CX>;
  2430. power-domain-names = "venus", "vcodec0", "cx";
  2431. operating-points-v2 = <&venus_opp_table>;
  2432. clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
  2433. <&videocc VIDEO_CC_VENUS_AHB_CLK>,
  2434. <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
  2435. <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
  2436. <&videocc VIDEO_CC_VCODEC0_AXI_CLK>;
  2437. clock-names = "core", "iface", "bus",
  2438. "vcodec0_core", "vcodec0_bus";
  2439. iommus = <&apps_smmu 0x0c00 0x60>;
  2440. memory-region = <&venus_mem>;
  2441. interconnects = <&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI1 0>,
  2442. <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_VENUS_CFG 0>;
  2443. interconnect-names = "video-mem", "cpu-cfg";
  2444. video-decoder {
  2445. compatible = "venus-decoder";
  2446. };
  2447. video-encoder {
  2448. compatible = "venus-encoder";
  2449. };
  2450. venus_opp_table: opp-table {
  2451. compatible = "operating-points-v2";
  2452. opp-150000000 {
  2453. opp-hz = /bits/ 64 <150000000>;
  2454. required-opps = <&rpmhpd_opp_low_svs>;
  2455. };
  2456. opp-270000000 {
  2457. opp-hz = /bits/ 64 <270000000>;
  2458. required-opps = <&rpmhpd_opp_svs>;
  2459. };
  2460. opp-340000000 {
  2461. opp-hz = /bits/ 64 <340000000>;
  2462. required-opps = <&rpmhpd_opp_svs_l1>;
  2463. };
  2464. opp-434000000 {
  2465. opp-hz = /bits/ 64 <434000000>;
  2466. required-opps = <&rpmhpd_opp_nom>;
  2467. };
  2468. opp-500000097 {
  2469. opp-hz = /bits/ 64 <500000097>;
  2470. required-opps = <&rpmhpd_opp_turbo>;
  2471. };
  2472. };
  2473. };
  2474. videocc: clock-controller@ab00000 {
  2475. compatible = "qcom,sc7180-videocc";
  2476. reg = <0 0x0ab00000 0 0x10000>;
  2477. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2478. clock-names = "bi_tcxo";
  2479. #clock-cells = <1>;
  2480. #reset-cells = <1>;
  2481. #power-domain-cells = <1>;
  2482. };
  2483. camnoc_virt: interconnect@ac00000 {
  2484. compatible = "qcom,sc7180-camnoc-virt";
  2485. reg = <0 0x0ac00000 0 0x1000>;
  2486. #interconnect-cells = <2>;
  2487. qcom,bcm-voters = <&apps_bcm_voter>;
  2488. };
  2489. camcc: clock-controller@ad00000 {
  2490. compatible = "qcom,sc7180-camcc";
  2491. reg = <0 0x0ad00000 0 0x10000>;
  2492. clocks = <&rpmhcc RPMH_CXO_CLK>,
  2493. <&gcc GCC_CAMERA_AHB_CLK>,
  2494. <&gcc GCC_CAMERA_XO_CLK>;
  2495. clock-names = "bi_tcxo", "iface", "xo";
  2496. #clock-cells = <1>;
  2497. #reset-cells = <1>;
  2498. #power-domain-cells = <1>;
  2499. };
  2500. mdss: mdss@ae00000 {
  2501. compatible = "qcom,sc7180-mdss";
  2502. reg = <0 0x0ae00000 0 0x1000>;
  2503. reg-names = "mdss";
  2504. power-domains = <&dispcc MDSS_GDSC>;
  2505. clocks = <&gcc GCC_DISP_AHB_CLK>,
  2506. <&dispcc DISP_CC_MDSS_AHB_CLK>,
  2507. <&dispcc DISP_CC_MDSS_MDP_CLK>;
  2508. clock-names = "iface", "ahb", "core";
  2509. interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  2510. interrupt-controller;
  2511. #interrupt-cells = <1>;
  2512. interconnects = <&mmss_noc MASTER_MDP0 0 &mc_virt SLAVE_EBI1 0>;
  2513. interconnect-names = "mdp0-mem";
  2514. iommus = <&apps_smmu 0x800 0x2>;
  2515. #address-cells = <2>;
  2516. #size-cells = <2>;
  2517. ranges;
  2518. status = "disabled";
  2519. mdp: display-controller@ae01000 {
  2520. compatible = "qcom,sc7180-dpu";
  2521. reg = <0 0x0ae01000 0 0x8f000>,
  2522. <0 0x0aeb0000 0 0x2008>;
  2523. reg-names = "mdp", "vbif";
  2524. clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
  2525. <&dispcc DISP_CC_MDSS_AHB_CLK>,
  2526. <&dispcc DISP_CC_MDSS_ROT_CLK>,
  2527. <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
  2528. <&dispcc DISP_CC_MDSS_MDP_CLK>,
  2529. <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
  2530. clock-names = "bus", "iface", "rot", "lut", "core",
  2531. "vsync";
  2532. assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>,
  2533. <&dispcc DISP_CC_MDSS_ROT_CLK>,
  2534. <&dispcc DISP_CC_MDSS_AHB_CLK>;
  2535. assigned-clock-rates = <19200000>,
  2536. <19200000>,
  2537. <19200000>;
  2538. operating-points-v2 = <&mdp_opp_table>;
  2539. power-domains = <&rpmhpd SC7180_CX>;
  2540. interrupt-parent = <&mdss>;
  2541. interrupts = <0>;
  2542. status = "disabled";
  2543. ports {
  2544. #address-cells = <1>;
  2545. #size-cells = <0>;
  2546. port@0 {
  2547. reg = <0>;
  2548. dpu_intf1_out: endpoint {
  2549. remote-endpoint = <&dsi0_in>;
  2550. };
  2551. };
  2552. port@2 {
  2553. reg = <2>;
  2554. dpu_intf0_out: endpoint {
  2555. remote-endpoint = <&dp_in>;
  2556. };
  2557. };
  2558. };
  2559. mdp_opp_table: opp-table {
  2560. compatible = "operating-points-v2";
  2561. opp-200000000 {
  2562. opp-hz = /bits/ 64 <200000000>;
  2563. required-opps = <&rpmhpd_opp_low_svs>;
  2564. };
  2565. opp-300000000 {
  2566. opp-hz = /bits/ 64 <300000000>;
  2567. required-opps = <&rpmhpd_opp_svs>;
  2568. };
  2569. opp-345000000 {
  2570. opp-hz = /bits/ 64 <345000000>;
  2571. required-opps = <&rpmhpd_opp_svs_l1>;
  2572. };
  2573. opp-460000000 {
  2574. opp-hz = /bits/ 64 <460000000>;
  2575. required-opps = <&rpmhpd_opp_nom>;
  2576. };
  2577. };
  2578. };
  2579. dsi0: dsi@ae94000 {
  2580. compatible = "qcom,mdss-dsi-ctrl";
  2581. reg = <0 0x0ae94000 0 0x400>;
  2582. reg-names = "dsi_ctrl";
  2583. interrupt-parent = <&mdss>;
  2584. interrupts = <4>;
  2585. clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
  2586. <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
  2587. <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
  2588. <&dispcc DISP_CC_MDSS_ESC0_CLK>,
  2589. <&dispcc DISP_CC_MDSS_AHB_CLK>,
  2590. <&gcc GCC_DISP_HF_AXI_CLK>;
  2591. clock-names = "byte",
  2592. "byte_intf",
  2593. "pixel",
  2594. "core",
  2595. "iface",
  2596. "bus";
  2597. assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
  2598. assigned-clock-parents = <&dsi_phy 0>, <&dsi_phy 1>;
  2599. operating-points-v2 = <&dsi_opp_table>;
  2600. power-domains = <&rpmhpd SC7180_CX>;
  2601. phys = <&dsi_phy>;
  2602. phy-names = "dsi";
  2603. #address-cells = <1>;
  2604. #size-cells = <0>;
  2605. status = "disabled";
  2606. ports {
  2607. #address-cells = <1>;
  2608. #size-cells = <0>;
  2609. port@0 {
  2610. reg = <0>;
  2611. dsi0_in: endpoint {
  2612. remote-endpoint = <&dpu_intf1_out>;
  2613. };
  2614. };
  2615. port@1 {
  2616. reg = <1>;
  2617. dsi0_out: endpoint {
  2618. };
  2619. };
  2620. };
  2621. dsi_opp_table: opp-table {
  2622. compatible = "operating-points-v2";
  2623. opp-187500000 {
  2624. opp-hz = /bits/ 64 <187500000>;
  2625. required-opps = <&rpmhpd_opp_low_svs>;
  2626. };
  2627. opp-300000000 {
  2628. opp-hz = /bits/ 64 <300000000>;
  2629. required-opps = <&rpmhpd_opp_svs>;
  2630. };
  2631. opp-358000000 {
  2632. opp-hz = /bits/ 64 <358000000>;
  2633. required-opps = <&rpmhpd_opp_svs_l1>;
  2634. };
  2635. };
  2636. };
  2637. dsi_phy: dsi-phy@ae94400 {
  2638. compatible = "qcom,dsi-phy-10nm";
  2639. reg = <0 0x0ae94400 0 0x200>,
  2640. <0 0x0ae94600 0 0x280>,
  2641. <0 0x0ae94a00 0 0x1e0>;
  2642. reg-names = "dsi_phy",
  2643. "dsi_phy_lane",
  2644. "dsi_pll";
  2645. #clock-cells = <1>;
  2646. #phy-cells = <0>;
  2647. clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
  2648. <&rpmhcc RPMH_CXO_CLK>;
  2649. clock-names = "iface", "ref";
  2650. status = "disabled";
  2651. };
  2652. mdss_dp: displayport-controller@ae90000 {
  2653. compatible = "qcom,sc7180-dp";
  2654. status = "disabled";
  2655. reg = <0 0xae90000 0 0x200>,
  2656. <0 0xae90200 0 0x200>,
  2657. <0 0xae90400 0 0xc00>,
  2658. <0 0xae91000 0 0x400>,
  2659. <0 0xae91400 0 0x400>;
  2660. interrupt-parent = <&mdss>;
  2661. interrupts = <12>;
  2662. clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
  2663. <&dispcc DISP_CC_MDSS_DP_AUX_CLK>,
  2664. <&dispcc DISP_CC_MDSS_DP_LINK_CLK>,
  2665. <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>,
  2666. <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>;
  2667. clock-names = "core_iface", "core_aux", "ctrl_link",
  2668. "ctrl_link_iface", "stream_pixel";
  2669. assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
  2670. <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>;
  2671. assigned-clock-parents = <&dp_phy 0>, <&dp_phy 1>;
  2672. phys = <&dp_phy>;
  2673. phy-names = "dp";
  2674. operating-points-v2 = <&dp_opp_table>;
  2675. power-domains = <&rpmhpd SC7180_CX>;
  2676. #sound-dai-cells = <0>;
  2677. ports {
  2678. #address-cells = <1>;
  2679. #size-cells = <0>;
  2680. port@0 {
  2681. reg = <0>;
  2682. dp_in: endpoint {
  2683. remote-endpoint = <&dpu_intf0_out>;
  2684. };
  2685. };
  2686. port@1 {
  2687. reg = <1>;
  2688. dp_out: endpoint { };
  2689. };
  2690. };
  2691. dp_opp_table: opp-table {
  2692. compatible = "operating-points-v2";
  2693. opp-160000000 {
  2694. opp-hz = /bits/ 64 <160000000>;
  2695. required-opps = <&rpmhpd_opp_low_svs>;
  2696. };
  2697. opp-270000000 {
  2698. opp-hz = /bits/ 64 <270000000>;
  2699. required-opps = <&rpmhpd_opp_svs>;
  2700. };
  2701. opp-540000000 {
  2702. opp-hz = /bits/ 64 <540000000>;
  2703. required-opps = <&rpmhpd_opp_svs_l1>;
  2704. };
  2705. opp-810000000 {
  2706. opp-hz = /bits/ 64 <810000000>;
  2707. required-opps = <&rpmhpd_opp_nom>;
  2708. };
  2709. };
  2710. };
  2711. };
  2712. dispcc: clock-controller@af00000 {
  2713. compatible = "qcom,sc7180-dispcc";
  2714. reg = <0 0x0af00000 0 0x200000>;
  2715. clocks = <&rpmhcc RPMH_CXO_CLK>,
  2716. <&gcc GCC_DISP_GPLL0_CLK_SRC>,
  2717. <&dsi_phy 0>,
  2718. <&dsi_phy 1>,
  2719. <&dp_phy 0>,
  2720. <&dp_phy 1>;
  2721. clock-names = "bi_tcxo",
  2722. "gcc_disp_gpll0_clk_src",
  2723. "dsi0_phy_pll_out_byteclk",
  2724. "dsi0_phy_pll_out_dsiclk",
  2725. "dp_phy_pll_link_clk",
  2726. "dp_phy_pll_vco_div_clk";
  2727. #clock-cells = <1>;
  2728. #reset-cells = <1>;
  2729. #power-domain-cells = <1>;
  2730. };
  2731. pdc: interrupt-controller@b220000 {
  2732. compatible = "qcom,sc7180-pdc", "qcom,pdc";
  2733. reg = <0 0x0b220000 0 0x30000>;
  2734. qcom,pdc-ranges = <0 480 94>, <94 609 31>, <125 63 1>;
  2735. #interrupt-cells = <2>;
  2736. interrupt-parent = <&intc>;
  2737. interrupt-controller;
  2738. };
  2739. pdc_reset: reset-controller@b2e0000 {
  2740. compatible = "qcom,sc7180-pdc-global", "qcom,sdm845-pdc-global";
  2741. reg = <0 0x0b2e0000 0 0x20000>;
  2742. #reset-cells = <1>;
  2743. };
  2744. tsens0: thermal-sensor@c263000 {
  2745. compatible = "qcom,sc7180-tsens","qcom,tsens-v2";
  2746. reg = <0 0x0c263000 0 0x1ff>, /* TM */
  2747. <0 0x0c222000 0 0x1ff>; /* SROT */
  2748. #qcom,sensors = <15>;
  2749. interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
  2750. <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
  2751. interrupt-names = "uplow","critical";
  2752. #thermal-sensor-cells = <1>;
  2753. };
  2754. tsens1: thermal-sensor@c265000 {
  2755. compatible = "qcom,sc7180-tsens","qcom,tsens-v2";
  2756. reg = <0 0x0c265000 0 0x1ff>, /* TM */
  2757. <0 0x0c223000 0 0x1ff>; /* SROT */
  2758. #qcom,sensors = <10>;
  2759. interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
  2760. <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
  2761. interrupt-names = "uplow","critical";
  2762. #thermal-sensor-cells = <1>;
  2763. };
  2764. aoss_reset: reset-controller@c2a0000 {
  2765. compatible = "qcom,sc7180-aoss-cc", "qcom,sdm845-aoss-cc";
  2766. reg = <0 0x0c2a0000 0 0x31000>;
  2767. #reset-cells = <1>;
  2768. };
  2769. aoss_qmp: power-controller@c300000 {
  2770. compatible = "qcom,sc7180-aoss-qmp", "qcom,aoss-qmp";
  2771. reg = <0 0x0c300000 0 0x400>;
  2772. interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
  2773. mboxes = <&apss_shared 0>;
  2774. #clock-cells = <0>;
  2775. };
  2776. sram@c3f0000 {
  2777. compatible = "qcom,rpmh-stats";
  2778. reg = <0 0x0c3f0000 0 0x400>;
  2779. };
  2780. spmi_bus: spmi@c440000 {
  2781. compatible = "qcom,spmi-pmic-arb";
  2782. reg = <0 0x0c440000 0 0x1100>,
  2783. <0 0x0c600000 0 0x2000000>,
  2784. <0 0x0e600000 0 0x100000>,
  2785. <0 0x0e700000 0 0xa0000>,
  2786. <0 0x0c40a000 0 0x26000>;
  2787. reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
  2788. interrupt-names = "periph_irq";
  2789. interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
  2790. qcom,ee = <0>;
  2791. qcom,channel = <0>;
  2792. #address-cells = <2>;
  2793. #size-cells = <0>;
  2794. interrupt-controller;
  2795. #interrupt-cells = <4>;
  2796. cell-index = <0>;
  2797. };
  2798. sram@146aa000 {
  2799. compatible = "qcom,sc7180-imem", "syscon", "simple-mfd";
  2800. reg = <0 0x146aa000 0 0x2000>;
  2801. #address-cells = <1>;
  2802. #size-cells = <1>;
  2803. ranges = <0 0 0x146aa000 0x2000>;
  2804. pil-reloc@94c {
  2805. compatible = "qcom,pil-reloc-info";
  2806. reg = <0x94c 0xc8>;
  2807. };
  2808. };
  2809. apps_smmu: iommu@15000000 {
  2810. compatible = "qcom,sc7180-smmu-500", "arm,mmu-500";
  2811. reg = <0 0x15000000 0 0x100000>;
  2812. #iommu-cells = <2>;
  2813. #global-interrupts = <1>;
  2814. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
  2815. <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
  2816. <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
  2817. <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
  2818. <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
  2819. <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
  2820. <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
  2821. <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
  2822. <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
  2823. <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
  2824. <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
  2825. <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
  2826. <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
  2827. <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
  2828. <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
  2829. <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
  2830. <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
  2831. <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  2832. <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
  2833. <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
  2834. <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
  2835. <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
  2836. <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
  2837. <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  2838. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
  2839. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
  2840. <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
  2841. <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
  2842. <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
  2843. <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
  2844. <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
  2845. <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
  2846. <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
  2847. <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
  2848. <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
  2849. <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
  2850. <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
  2851. <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
  2852. <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
  2853. <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
  2854. <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
  2855. <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
  2856. <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
  2857. <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
  2858. <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
  2859. <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
  2860. <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
  2861. <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
  2862. <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
  2863. <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
  2864. <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
  2865. <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
  2866. <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
  2867. <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
  2868. <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
  2869. <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
  2870. <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
  2871. <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
  2872. <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
  2873. <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
  2874. <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
  2875. <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
  2876. <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
  2877. <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
  2878. <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
  2879. <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
  2880. <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
  2881. <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
  2882. <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
  2883. <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
  2884. <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
  2885. <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
  2886. <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
  2887. <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
  2888. <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
  2889. <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
  2890. <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
  2891. <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
  2892. <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>,
  2893. <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>,
  2894. <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>;
  2895. };
  2896. intc: interrupt-controller@17a00000 {
  2897. compatible = "arm,gic-v3";
  2898. #address-cells = <2>;
  2899. #size-cells = <2>;
  2900. ranges;
  2901. #interrupt-cells = <3>;
  2902. interrupt-controller;
  2903. reg = <0 0x17a00000 0 0x10000>, /* GICD */
  2904. <0 0x17a60000 0 0x100000>; /* GICR * 8 */
  2905. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  2906. msi-controller@17a40000 {
  2907. compatible = "arm,gic-v3-its";
  2908. msi-controller;
  2909. #msi-cells = <1>;
  2910. reg = <0 0x17a40000 0 0x20000>;
  2911. status = "disabled";
  2912. };
  2913. };
  2914. apss_shared: mailbox@17c00000 {
  2915. compatible = "qcom,sc7180-apss-shared";
  2916. reg = <0 0x17c00000 0 0x10000>;
  2917. #mbox-cells = <1>;
  2918. };
  2919. watchdog@17c10000 {
  2920. compatible = "qcom,apss-wdt-sc7180", "qcom,kpss-wdt";
  2921. reg = <0 0x17c10000 0 0x1000>;
  2922. clocks = <&sleep_clk>;
  2923. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
  2924. };
  2925. timer@17c20000{
  2926. #address-cells = <1>;
  2927. #size-cells = <1>;
  2928. ranges = <0 0 0 0x20000000>;
  2929. compatible = "arm,armv7-timer-mem";
  2930. reg = <0 0x17c20000 0 0x1000>;
  2931. frame@17c21000 {
  2932. frame-number = <0>;
  2933. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
  2934. <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  2935. reg = <0x17c21000 0x1000>,
  2936. <0x17c22000 0x1000>;
  2937. };
  2938. frame@17c23000 {
  2939. frame-number = <1>;
  2940. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  2941. reg = <0x17c23000 0x1000>;
  2942. status = "disabled";
  2943. };
  2944. frame@17c25000 {
  2945. frame-number = <2>;
  2946. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  2947. reg = <0x17c25000 0x1000>;
  2948. status = "disabled";
  2949. };
  2950. frame@17c27000 {
  2951. frame-number = <3>;
  2952. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  2953. reg = <0x17c27000 0x1000>;
  2954. status = "disabled";
  2955. };
  2956. frame@17c29000 {
  2957. frame-number = <4>;
  2958. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  2959. reg = <0x17c29000 0x1000>;
  2960. status = "disabled";
  2961. };
  2962. frame@17c2b000 {
  2963. frame-number = <5>;
  2964. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  2965. reg = <0x17c2b000 0x1000>;
  2966. status = "disabled";
  2967. };
  2968. frame@17c2d000 {
  2969. frame-number = <6>;
  2970. interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  2971. reg = <0x17c2d000 0x1000>;
  2972. status = "disabled";
  2973. };
  2974. };
  2975. apps_rsc: rsc@18200000 {
  2976. compatible = "qcom,rpmh-rsc";
  2977. reg = <0 0x18200000 0 0x10000>,
  2978. <0 0x18210000 0 0x10000>,
  2979. <0 0x18220000 0 0x10000>;
  2980. reg-names = "drv-0", "drv-1", "drv-2";
  2981. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  2982. <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
  2983. <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  2984. qcom,tcs-offset = <0xd00>;
  2985. qcom,drv-id = <2>;
  2986. qcom,tcs-config = <ACTIVE_TCS 2>,
  2987. <SLEEP_TCS 3>,
  2988. <WAKE_TCS 3>,
  2989. <CONTROL_TCS 1>;
  2990. rpmhcc: clock-controller {
  2991. compatible = "qcom,sc7180-rpmh-clk";
  2992. clocks = <&xo_board>;
  2993. clock-names = "xo";
  2994. #clock-cells = <1>;
  2995. };
  2996. rpmhpd: power-controller {
  2997. compatible = "qcom,sc7180-rpmhpd";
  2998. #power-domain-cells = <1>;
  2999. operating-points-v2 = <&rpmhpd_opp_table>;
  3000. rpmhpd_opp_table: opp-table {
  3001. compatible = "operating-points-v2";
  3002. rpmhpd_opp_ret: opp1 {
  3003. opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
  3004. };
  3005. rpmhpd_opp_min_svs: opp2 {
  3006. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  3007. };
  3008. rpmhpd_opp_low_svs: opp3 {
  3009. opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
  3010. };
  3011. rpmhpd_opp_svs: opp4 {
  3012. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  3013. };
  3014. rpmhpd_opp_svs_l1: opp5 {
  3015. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
  3016. };
  3017. rpmhpd_opp_svs_l2: opp6 {
  3018. opp-level = <224>;
  3019. };
  3020. rpmhpd_opp_nom: opp7 {
  3021. opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
  3022. };
  3023. rpmhpd_opp_nom_l1: opp8 {
  3024. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
  3025. };
  3026. rpmhpd_opp_nom_l2: opp9 {
  3027. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
  3028. };
  3029. rpmhpd_opp_turbo: opp10 {
  3030. opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
  3031. };
  3032. rpmhpd_opp_turbo_l1: opp11 {
  3033. opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
  3034. };
  3035. };
  3036. };
  3037. apps_bcm_voter: bcm-voter {
  3038. compatible = "qcom,bcm-voter";
  3039. };
  3040. };
  3041. osm_l3: interconnect@18321000 {
  3042. compatible = "qcom,sc7180-osm-l3";
  3043. reg = <0 0x18321000 0 0x1400>;
  3044. clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
  3045. clock-names = "xo", "alternate";
  3046. #interconnect-cells = <1>;
  3047. };
  3048. cpufreq_hw: cpufreq@18323000 {
  3049. compatible = "qcom,cpufreq-hw";
  3050. reg = <0 0x18323000 0 0x1400>, <0 0x18325800 0 0x1400>;
  3051. reg-names = "freq-domain0", "freq-domain1";
  3052. clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
  3053. clock-names = "xo", "alternate";
  3054. #freq-domain-cells = <1>;
  3055. };
  3056. wifi: wifi@18800000 {
  3057. compatible = "qcom,wcn3990-wifi";
  3058. reg = <0 0x18800000 0 0x800000>;
  3059. reg-names = "membase";
  3060. iommus = <&apps_smmu 0xc0 0x1>;
  3061. interrupts =
  3062. <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH /* CE0 */ >,
  3063. <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH /* CE1 */ >,
  3064. <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH /* CE2 */ >,
  3065. <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH /* CE3 */ >,
  3066. <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH /* CE4 */ >,
  3067. <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH /* CE5 */ >,
  3068. <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH /* CE6 */ >,
  3069. <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH /* CE7 */ >,
  3070. <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH /* CE8 */ >,
  3071. <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH /* CE9 */ >,
  3072. <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH /* CE10 */>,
  3073. <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH /* CE11 */>;
  3074. memory-region = <&wlan_mem>;
  3075. qcom,msa-fixed-perm;
  3076. status = "disabled";
  3077. };
  3078. lpasscc: clock-controller@62d00000 {
  3079. compatible = "qcom,sc7180-lpasscorecc";
  3080. reg = <0 0x62d00000 0 0x50000>,
  3081. <0 0x62780000 0 0x30000>;
  3082. reg-names = "lpass_core_cc", "lpass_audio_cc";
  3083. clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>,
  3084. <&rpmhcc RPMH_CXO_CLK>;
  3085. clock-names = "iface", "bi_tcxo";
  3086. power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;
  3087. #clock-cells = <1>;
  3088. #power-domain-cells = <1>;
  3089. };
  3090. lpass_cpu: lpass@62d87000 {
  3091. compatible = "qcom,sc7180-lpass-cpu";
  3092. reg = <0 0x62d87000 0 0x68000>, <0 0x62f00000 0 0x29000>;
  3093. reg-names = "lpass-hdmiif", "lpass-lpaif";
  3094. iommus = <&apps_smmu 0x1020 0>,
  3095. <&apps_smmu 0x1021 0>,
  3096. <&apps_smmu 0x1032 0>;
  3097. power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;
  3098. status = "disabled";
  3099. clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>,
  3100. <&lpasscc LPASS_AUDIO_CORE_CORE_CLK>,
  3101. <&lpasscc LPASS_AUDIO_CORE_EXT_MCLK0_CLK>,
  3102. <&lpasscc LPASS_AUDIO_CORE_SYSNOC_MPORT_CORE_CLK>,
  3103. <&lpasscc LPASS_AUDIO_CORE_LPAIF_PRI_IBIT_CLK>,
  3104. <&lpasscc LPASS_AUDIO_CORE_LPAIF_SEC_IBIT_CLK>;
  3105. clock-names = "pcnoc-sway-clk", "audio-core",
  3106. "mclk0", "pcnoc-mport-clk",
  3107. "mi2s-bit-clk0", "mi2s-bit-clk1";
  3108. #sound-dai-cells = <1>;
  3109. #address-cells = <1>;
  3110. #size-cells = <0>;
  3111. interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
  3112. <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
  3113. interrupt-names = "lpass-irq-lpaif", "lpass-irq-hdmi";
  3114. };
  3115. lpass_hm: clock-controller@63000000 {
  3116. compatible = "qcom,sc7180-lpasshm";
  3117. reg = <0 0x63000000 0 0x28>;
  3118. clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>,
  3119. <&rpmhcc RPMH_CXO_CLK>;
  3120. clock-names = "iface", "bi_tcxo";
  3121. #clock-cells = <1>;
  3122. #power-domain-cells = <1>;
  3123. };
  3124. };
  3125. thermal-zones {
  3126. cpu0_thermal: cpu0-thermal {
  3127. polling-delay-passive = <250>;
  3128. polling-delay = <0>;
  3129. thermal-sensors = <&tsens0 1>;
  3130. sustainable-power = <1052>;
  3131. trips {
  3132. cpu0_alert0: trip-point0 {
  3133. temperature = <90000>;
  3134. hysteresis = <2000>;
  3135. type = "passive";
  3136. };
  3137. cpu0_alert1: trip-point1 {
  3138. temperature = <95000>;
  3139. hysteresis = <2000>;
  3140. type = "passive";
  3141. };
  3142. cpu0_crit: cpu_crit {
  3143. temperature = <110000>;
  3144. hysteresis = <1000>;
  3145. type = "critical";
  3146. };
  3147. };
  3148. cooling-maps {
  3149. map0 {
  3150. trip = <&cpu0_alert0>;
  3151. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3152. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3153. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3154. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3155. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3156. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3157. };
  3158. map1 {
  3159. trip = <&cpu0_alert1>;
  3160. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3161. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3162. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3163. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3164. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3165. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3166. };
  3167. };
  3168. };
  3169. cpu1_thermal: cpu1-thermal {
  3170. polling-delay-passive = <250>;
  3171. polling-delay = <0>;
  3172. thermal-sensors = <&tsens0 2>;
  3173. sustainable-power = <1052>;
  3174. trips {
  3175. cpu1_alert0: trip-point0 {
  3176. temperature = <90000>;
  3177. hysteresis = <2000>;
  3178. type = "passive";
  3179. };
  3180. cpu1_alert1: trip-point1 {
  3181. temperature = <95000>;
  3182. hysteresis = <2000>;
  3183. type = "passive";
  3184. };
  3185. cpu1_crit: cpu_crit {
  3186. temperature = <110000>;
  3187. hysteresis = <1000>;
  3188. type = "critical";
  3189. };
  3190. };
  3191. cooling-maps {
  3192. map0 {
  3193. trip = <&cpu1_alert0>;
  3194. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3195. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3196. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3197. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3198. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3199. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3200. };
  3201. map1 {
  3202. trip = <&cpu1_alert1>;
  3203. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3204. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3205. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3206. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3207. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3208. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3209. };
  3210. };
  3211. };
  3212. cpu2_thermal: cpu2-thermal {
  3213. polling-delay-passive = <250>;
  3214. polling-delay = <0>;
  3215. thermal-sensors = <&tsens0 3>;
  3216. sustainable-power = <1052>;
  3217. trips {
  3218. cpu2_alert0: trip-point0 {
  3219. temperature = <90000>;
  3220. hysteresis = <2000>;
  3221. type = "passive";
  3222. };
  3223. cpu2_alert1: trip-point1 {
  3224. temperature = <95000>;
  3225. hysteresis = <2000>;
  3226. type = "passive";
  3227. };
  3228. cpu2_crit: cpu_crit {
  3229. temperature = <110000>;
  3230. hysteresis = <1000>;
  3231. type = "critical";
  3232. };
  3233. };
  3234. cooling-maps {
  3235. map0 {
  3236. trip = <&cpu2_alert0>;
  3237. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3238. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3239. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3240. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3241. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3242. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3243. };
  3244. map1 {
  3245. trip = <&cpu2_alert1>;
  3246. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3247. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3248. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3249. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3250. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3251. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3252. };
  3253. };
  3254. };
  3255. cpu3_thermal: cpu3-thermal {
  3256. polling-delay-passive = <250>;
  3257. polling-delay = <0>;
  3258. thermal-sensors = <&tsens0 4>;
  3259. sustainable-power = <1052>;
  3260. trips {
  3261. cpu3_alert0: trip-point0 {
  3262. temperature = <90000>;
  3263. hysteresis = <2000>;
  3264. type = "passive";
  3265. };
  3266. cpu3_alert1: trip-point1 {
  3267. temperature = <95000>;
  3268. hysteresis = <2000>;
  3269. type = "passive";
  3270. };
  3271. cpu3_crit: cpu_crit {
  3272. temperature = <110000>;
  3273. hysteresis = <1000>;
  3274. type = "critical";
  3275. };
  3276. };
  3277. cooling-maps {
  3278. map0 {
  3279. trip = <&cpu3_alert0>;
  3280. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3281. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3282. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3283. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3284. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3285. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3286. };
  3287. map1 {
  3288. trip = <&cpu3_alert1>;
  3289. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3290. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3291. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3292. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3293. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3294. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3295. };
  3296. };
  3297. };
  3298. cpu4_thermal: cpu4-thermal {
  3299. polling-delay-passive = <250>;
  3300. polling-delay = <0>;
  3301. thermal-sensors = <&tsens0 5>;
  3302. sustainable-power = <1052>;
  3303. trips {
  3304. cpu4_alert0: trip-point0 {
  3305. temperature = <90000>;
  3306. hysteresis = <2000>;
  3307. type = "passive";
  3308. };
  3309. cpu4_alert1: trip-point1 {
  3310. temperature = <95000>;
  3311. hysteresis = <2000>;
  3312. type = "passive";
  3313. };
  3314. cpu4_crit: cpu_crit {
  3315. temperature = <110000>;
  3316. hysteresis = <1000>;
  3317. type = "critical";
  3318. };
  3319. };
  3320. cooling-maps {
  3321. map0 {
  3322. trip = <&cpu4_alert0>;
  3323. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3324. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3325. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3326. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3327. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3328. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3329. };
  3330. map1 {
  3331. trip = <&cpu4_alert1>;
  3332. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3333. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3334. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3335. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3336. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3337. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3338. };
  3339. };
  3340. };
  3341. cpu5_thermal: cpu5-thermal {
  3342. polling-delay-passive = <250>;
  3343. polling-delay = <0>;
  3344. thermal-sensors = <&tsens0 6>;
  3345. sustainable-power = <1052>;
  3346. trips {
  3347. cpu5_alert0: trip-point0 {
  3348. temperature = <90000>;
  3349. hysteresis = <2000>;
  3350. type = "passive";
  3351. };
  3352. cpu5_alert1: trip-point1 {
  3353. temperature = <95000>;
  3354. hysteresis = <2000>;
  3355. type = "passive";
  3356. };
  3357. cpu5_crit: cpu_crit {
  3358. temperature = <110000>;
  3359. hysteresis = <1000>;
  3360. type = "critical";
  3361. };
  3362. };
  3363. cooling-maps {
  3364. map0 {
  3365. trip = <&cpu5_alert0>;
  3366. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3367. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3368. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3369. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3370. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3371. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3372. };
  3373. map1 {
  3374. trip = <&cpu5_alert1>;
  3375. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3376. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3377. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3378. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3379. <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3380. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3381. };
  3382. };
  3383. };
  3384. cpu6_thermal: cpu6-thermal {
  3385. polling-delay-passive = <250>;
  3386. polling-delay = <0>;
  3387. thermal-sensors = <&tsens0 9>;
  3388. sustainable-power = <1425>;
  3389. trips {
  3390. cpu6_alert0: trip-point0 {
  3391. temperature = <90000>;
  3392. hysteresis = <2000>;
  3393. type = "passive";
  3394. };
  3395. cpu6_alert1: trip-point1 {
  3396. temperature = <95000>;
  3397. hysteresis = <2000>;
  3398. type = "passive";
  3399. };
  3400. cpu6_crit: cpu_crit {
  3401. temperature = <110000>;
  3402. hysteresis = <1000>;
  3403. type = "critical";
  3404. };
  3405. };
  3406. cooling-maps {
  3407. map0 {
  3408. trip = <&cpu6_alert0>;
  3409. cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3410. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3411. };
  3412. map1 {
  3413. trip = <&cpu6_alert1>;
  3414. cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3415. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3416. };
  3417. };
  3418. };
  3419. cpu7_thermal: cpu7-thermal {
  3420. polling-delay-passive = <250>;
  3421. polling-delay = <0>;
  3422. thermal-sensors = <&tsens0 10>;
  3423. sustainable-power = <1425>;
  3424. trips {
  3425. cpu7_alert0: trip-point0 {
  3426. temperature = <90000>;
  3427. hysteresis = <2000>;
  3428. type = "passive";
  3429. };
  3430. cpu7_alert1: trip-point1 {
  3431. temperature = <95000>;
  3432. hysteresis = <2000>;
  3433. type = "passive";
  3434. };
  3435. cpu7_crit: cpu_crit {
  3436. temperature = <110000>;
  3437. hysteresis = <1000>;
  3438. type = "critical";
  3439. };
  3440. };
  3441. cooling-maps {
  3442. map0 {
  3443. trip = <&cpu7_alert0>;
  3444. cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3445. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3446. };
  3447. map1 {
  3448. trip = <&cpu7_alert1>;
  3449. cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3450. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3451. };
  3452. };
  3453. };
  3454. cpu8_thermal: cpu8-thermal {
  3455. polling-delay-passive = <250>;
  3456. polling-delay = <0>;
  3457. thermal-sensors = <&tsens0 11>;
  3458. sustainable-power = <1425>;
  3459. trips {
  3460. cpu8_alert0: trip-point0 {
  3461. temperature = <90000>;
  3462. hysteresis = <2000>;
  3463. type = "passive";
  3464. };
  3465. cpu8_alert1: trip-point1 {
  3466. temperature = <95000>;
  3467. hysteresis = <2000>;
  3468. type = "passive";
  3469. };
  3470. cpu8_crit: cpu_crit {
  3471. temperature = <110000>;
  3472. hysteresis = <1000>;
  3473. type = "critical";
  3474. };
  3475. };
  3476. cooling-maps {
  3477. map0 {
  3478. trip = <&cpu8_alert0>;
  3479. cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3480. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3481. };
  3482. map1 {
  3483. trip = <&cpu8_alert1>;
  3484. cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3485. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3486. };
  3487. };
  3488. };
  3489. cpu9_thermal: cpu9-thermal {
  3490. polling-delay-passive = <250>;
  3491. polling-delay = <0>;
  3492. thermal-sensors = <&tsens0 12>;
  3493. sustainable-power = <1425>;
  3494. trips {
  3495. cpu9_alert0: trip-point0 {
  3496. temperature = <90000>;
  3497. hysteresis = <2000>;
  3498. type = "passive";
  3499. };
  3500. cpu9_alert1: trip-point1 {
  3501. temperature = <95000>;
  3502. hysteresis = <2000>;
  3503. type = "passive";
  3504. };
  3505. cpu9_crit: cpu_crit {
  3506. temperature = <110000>;
  3507. hysteresis = <1000>;
  3508. type = "critical";
  3509. };
  3510. };
  3511. cooling-maps {
  3512. map0 {
  3513. trip = <&cpu9_alert0>;
  3514. cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3515. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3516. };
  3517. map1 {
  3518. trip = <&cpu9_alert1>;
  3519. cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3520. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3521. };
  3522. };
  3523. };
  3524. aoss0-thermal {
  3525. polling-delay-passive = <250>;
  3526. polling-delay = <0>;
  3527. thermal-sensors = <&tsens0 0>;
  3528. trips {
  3529. aoss0_alert0: trip-point0 {
  3530. temperature = <90000>;
  3531. hysteresis = <2000>;
  3532. type = "hot";
  3533. };
  3534. aoss0_crit: aoss0_crit {
  3535. temperature = <110000>;
  3536. hysteresis = <2000>;
  3537. type = "critical";
  3538. };
  3539. };
  3540. };
  3541. cpuss0-thermal {
  3542. polling-delay-passive = <250>;
  3543. polling-delay = <0>;
  3544. thermal-sensors = <&tsens0 7>;
  3545. trips {
  3546. cpuss0_alert0: trip-point0 {
  3547. temperature = <90000>;
  3548. hysteresis = <2000>;
  3549. type = "hot";
  3550. };
  3551. cpuss0_crit: cluster0_crit {
  3552. temperature = <110000>;
  3553. hysteresis = <2000>;
  3554. type = "critical";
  3555. };
  3556. };
  3557. };
  3558. cpuss1-thermal {
  3559. polling-delay-passive = <250>;
  3560. polling-delay = <0>;
  3561. thermal-sensors = <&tsens0 8>;
  3562. trips {
  3563. cpuss1_alert0: trip-point0 {
  3564. temperature = <90000>;
  3565. hysteresis = <2000>;
  3566. type = "hot";
  3567. };
  3568. cpuss1_crit: cluster0_crit {
  3569. temperature = <110000>;
  3570. hysteresis = <2000>;
  3571. type = "critical";
  3572. };
  3573. };
  3574. };
  3575. gpuss0-thermal {
  3576. polling-delay-passive = <250>;
  3577. polling-delay = <0>;
  3578. thermal-sensors = <&tsens0 13>;
  3579. trips {
  3580. gpuss0_alert0: trip-point0 {
  3581. temperature = <95000>;
  3582. hysteresis = <2000>;
  3583. type = "passive";
  3584. };
  3585. gpuss0_crit: gpuss0_crit {
  3586. temperature = <110000>;
  3587. hysteresis = <2000>;
  3588. type = "critical";
  3589. };
  3590. };
  3591. cooling-maps {
  3592. map0 {
  3593. trip = <&gpuss0_alert0>;
  3594. cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3595. };
  3596. };
  3597. };
  3598. gpuss1-thermal {
  3599. polling-delay-passive = <250>;
  3600. polling-delay = <0>;
  3601. thermal-sensors = <&tsens0 14>;
  3602. trips {
  3603. gpuss1_alert0: trip-point0 {
  3604. temperature = <95000>;
  3605. hysteresis = <2000>;
  3606. type = "passive";
  3607. };
  3608. gpuss1_crit: gpuss1_crit {
  3609. temperature = <110000>;
  3610. hysteresis = <2000>;
  3611. type = "critical";
  3612. };
  3613. };
  3614. cooling-maps {
  3615. map0 {
  3616. trip = <&gpuss1_alert0>;
  3617. cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3618. };
  3619. };
  3620. };
  3621. aoss1-thermal {
  3622. polling-delay-passive = <250>;
  3623. polling-delay = <0>;
  3624. thermal-sensors = <&tsens1 0>;
  3625. trips {
  3626. aoss1_alert0: trip-point0 {
  3627. temperature = <90000>;
  3628. hysteresis = <2000>;
  3629. type = "hot";
  3630. };
  3631. aoss1_crit: aoss1_crit {
  3632. temperature = <110000>;
  3633. hysteresis = <2000>;
  3634. type = "critical";
  3635. };
  3636. };
  3637. };
  3638. cwlan-thermal {
  3639. polling-delay-passive = <250>;
  3640. polling-delay = <0>;
  3641. thermal-sensors = <&tsens1 1>;
  3642. trips {
  3643. cwlan_alert0: trip-point0 {
  3644. temperature = <90000>;
  3645. hysteresis = <2000>;
  3646. type = "hot";
  3647. };
  3648. cwlan_crit: cwlan_crit {
  3649. temperature = <110000>;
  3650. hysteresis = <2000>;
  3651. type = "critical";
  3652. };
  3653. };
  3654. };
  3655. audio-thermal {
  3656. polling-delay-passive = <250>;
  3657. polling-delay = <0>;
  3658. thermal-sensors = <&tsens1 2>;
  3659. trips {
  3660. audio_alert0: trip-point0 {
  3661. temperature = <90000>;
  3662. hysteresis = <2000>;
  3663. type = "hot";
  3664. };
  3665. audio_crit: audio_crit {
  3666. temperature = <110000>;
  3667. hysteresis = <2000>;
  3668. type = "critical";
  3669. };
  3670. };
  3671. };
  3672. ddr-thermal {
  3673. polling-delay-passive = <250>;
  3674. polling-delay = <0>;
  3675. thermal-sensors = <&tsens1 3>;
  3676. trips {
  3677. ddr_alert0: trip-point0 {
  3678. temperature = <90000>;
  3679. hysteresis = <2000>;
  3680. type = "hot";
  3681. };
  3682. ddr_crit: ddr_crit {
  3683. temperature = <110000>;
  3684. hysteresis = <2000>;
  3685. type = "critical";
  3686. };
  3687. };
  3688. };
  3689. q6-hvx-thermal {
  3690. polling-delay-passive = <250>;
  3691. polling-delay = <0>;
  3692. thermal-sensors = <&tsens1 4>;
  3693. trips {
  3694. q6_hvx_alert0: trip-point0 {
  3695. temperature = <90000>;
  3696. hysteresis = <2000>;
  3697. type = "hot";
  3698. };
  3699. q6_hvx_crit: q6_hvx_crit {
  3700. temperature = <110000>;
  3701. hysteresis = <2000>;
  3702. type = "critical";
  3703. };
  3704. };
  3705. };
  3706. camera-thermal {
  3707. polling-delay-passive = <250>;
  3708. polling-delay = <0>;
  3709. thermal-sensors = <&tsens1 5>;
  3710. trips {
  3711. camera_alert0: trip-point0 {
  3712. temperature = <90000>;
  3713. hysteresis = <2000>;
  3714. type = "hot";
  3715. };
  3716. camera_crit: camera_crit {
  3717. temperature = <110000>;
  3718. hysteresis = <2000>;
  3719. type = "critical";
  3720. };
  3721. };
  3722. };
  3723. mdm-core-thermal {
  3724. polling-delay-passive = <250>;
  3725. polling-delay = <0>;
  3726. thermal-sensors = <&tsens1 6>;
  3727. trips {
  3728. mdm_alert0: trip-point0 {
  3729. temperature = <90000>;
  3730. hysteresis = <2000>;
  3731. type = "hot";
  3732. };
  3733. mdm_crit: mdm_crit {
  3734. temperature = <110000>;
  3735. hysteresis = <2000>;
  3736. type = "critical";
  3737. };
  3738. };
  3739. };
  3740. mdm-dsp-thermal {
  3741. polling-delay-passive = <250>;
  3742. polling-delay = <0>;
  3743. thermal-sensors = <&tsens1 7>;
  3744. trips {
  3745. mdm_dsp_alert0: trip-point0 {
  3746. temperature = <90000>;
  3747. hysteresis = <2000>;
  3748. type = "hot";
  3749. };
  3750. mdm_dsp_crit: mdm_dsp_crit {
  3751. temperature = <110000>;
  3752. hysteresis = <2000>;
  3753. type = "critical";
  3754. };
  3755. };
  3756. };
  3757. npu-thermal {
  3758. polling-delay-passive = <250>;
  3759. polling-delay = <0>;
  3760. thermal-sensors = <&tsens1 8>;
  3761. trips {
  3762. npu_alert0: trip-point0 {
  3763. temperature = <90000>;
  3764. hysteresis = <2000>;
  3765. type = "hot";
  3766. };
  3767. npu_crit: npu_crit {
  3768. temperature = <110000>;
  3769. hysteresis = <2000>;
  3770. type = "critical";
  3771. };
  3772. };
  3773. };
  3774. video-thermal {
  3775. polling-delay-passive = <250>;
  3776. polling-delay = <0>;
  3777. thermal-sensors = <&tsens1 9>;
  3778. trips {
  3779. video_alert0: trip-point0 {
  3780. temperature = <90000>;
  3781. hysteresis = <2000>;
  3782. type = "hot";
  3783. };
  3784. video_crit: video_crit {
  3785. temperature = <110000>;
  3786. hysteresis = <2000>;
  3787. type = "critical";
  3788. };
  3789. };
  3790. };
  3791. };
  3792. timer {
  3793. compatible = "arm,armv8-timer";
  3794. interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
  3795. <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
  3796. <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
  3797. <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
  3798. };
  3799. };