sm8150.dtsi 116 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946
  1. // SPDX-License-Identifier: BSD-3-Clause
  2. /*
  3. * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2019, Linaro Limited
  5. */
  6. #include <dt-bindings/dma/qcom-gpi.h>
  7. #include <dt-bindings/interrupt-controller/arm-gic.h>
  8. #include <dt-bindings/power/qcom-rpmpd.h>
  9. #include <dt-bindings/soc/qcom,rpmh-rsc.h>
  10. #include <dt-bindings/clock/qcom,rpmh.h>
  11. #include <dt-bindings/clock/qcom,gcc-sm8150.h>
  12. #include <dt-bindings/clock/qcom,gpucc-sm8150.h>
  13. #include <dt-bindings/interconnect/qcom,osm-l3.h>
  14. #include <dt-bindings/interconnect/qcom,sm8150.h>
  15. #include <dt-bindings/thermal/thermal.h>
  16. / {
  17. interrupt-parent = <&intc>;
  18. #address-cells = <2>;
  19. #size-cells = <2>;
  20. chosen { };
  21. clocks {
  22. xo_board: xo-board {
  23. compatible = "fixed-clock";
  24. #clock-cells = <0>;
  25. clock-frequency = <38400000>;
  26. clock-output-names = "xo_board";
  27. };
  28. sleep_clk: sleep-clk {
  29. compatible = "fixed-clock";
  30. #clock-cells = <0>;
  31. clock-frequency = <32764>;
  32. clock-output-names = "sleep_clk";
  33. };
  34. };
  35. cpus {
  36. #address-cells = <2>;
  37. #size-cells = <0>;
  38. CPU0: cpu@0 {
  39. device_type = "cpu";
  40. compatible = "qcom,kryo485";
  41. reg = <0x0 0x0>;
  42. enable-method = "psci";
  43. capacity-dmips-mhz = <488>;
  44. dynamic-power-coefficient = <232>;
  45. next-level-cache = <&L2_0>;
  46. qcom,freq-domain = <&cpufreq_hw 0>;
  47. operating-points-v2 = <&cpu0_opp_table>;
  48. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  49. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  50. power-domains = <&CPU_PD0>;
  51. power-domain-names = "psci";
  52. #cooling-cells = <2>;
  53. L2_0: l2-cache {
  54. compatible = "cache";
  55. next-level-cache = <&L3_0>;
  56. L3_0: l3-cache {
  57. compatible = "cache";
  58. };
  59. };
  60. };
  61. CPU1: cpu@100 {
  62. device_type = "cpu";
  63. compatible = "qcom,kryo485";
  64. reg = <0x0 0x100>;
  65. enable-method = "psci";
  66. capacity-dmips-mhz = <488>;
  67. dynamic-power-coefficient = <232>;
  68. next-level-cache = <&L2_100>;
  69. qcom,freq-domain = <&cpufreq_hw 0>;
  70. operating-points-v2 = <&cpu0_opp_table>;
  71. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  72. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  73. power-domains = <&CPU_PD1>;
  74. power-domain-names = "psci";
  75. #cooling-cells = <2>;
  76. L2_100: l2-cache {
  77. compatible = "cache";
  78. next-level-cache = <&L3_0>;
  79. };
  80. };
  81. CPU2: cpu@200 {
  82. device_type = "cpu";
  83. compatible = "qcom,kryo485";
  84. reg = <0x0 0x200>;
  85. enable-method = "psci";
  86. capacity-dmips-mhz = <488>;
  87. dynamic-power-coefficient = <232>;
  88. next-level-cache = <&L2_200>;
  89. qcom,freq-domain = <&cpufreq_hw 0>;
  90. operating-points-v2 = <&cpu0_opp_table>;
  91. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  92. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  93. power-domains = <&CPU_PD2>;
  94. power-domain-names = "psci";
  95. #cooling-cells = <2>;
  96. L2_200: l2-cache {
  97. compatible = "cache";
  98. next-level-cache = <&L3_0>;
  99. };
  100. };
  101. CPU3: cpu@300 {
  102. device_type = "cpu";
  103. compatible = "qcom,kryo485";
  104. reg = <0x0 0x300>;
  105. enable-method = "psci";
  106. capacity-dmips-mhz = <488>;
  107. dynamic-power-coefficient = <232>;
  108. next-level-cache = <&L2_300>;
  109. qcom,freq-domain = <&cpufreq_hw 0>;
  110. operating-points-v2 = <&cpu0_opp_table>;
  111. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  112. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  113. power-domains = <&CPU_PD3>;
  114. power-domain-names = "psci";
  115. #cooling-cells = <2>;
  116. L2_300: l2-cache {
  117. compatible = "cache";
  118. next-level-cache = <&L3_0>;
  119. };
  120. };
  121. CPU4: cpu@400 {
  122. device_type = "cpu";
  123. compatible = "qcom,kryo485";
  124. reg = <0x0 0x400>;
  125. enable-method = "psci";
  126. capacity-dmips-mhz = <1024>;
  127. dynamic-power-coefficient = <369>;
  128. next-level-cache = <&L2_400>;
  129. qcom,freq-domain = <&cpufreq_hw 1>;
  130. operating-points-v2 = <&cpu4_opp_table>;
  131. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  132. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  133. power-domains = <&CPU_PD4>;
  134. power-domain-names = "psci";
  135. #cooling-cells = <2>;
  136. L2_400: l2-cache {
  137. compatible = "cache";
  138. next-level-cache = <&L3_0>;
  139. };
  140. };
  141. CPU5: cpu@500 {
  142. device_type = "cpu";
  143. compatible = "qcom,kryo485";
  144. reg = <0x0 0x500>;
  145. enable-method = "psci";
  146. capacity-dmips-mhz = <1024>;
  147. dynamic-power-coefficient = <369>;
  148. next-level-cache = <&L2_500>;
  149. qcom,freq-domain = <&cpufreq_hw 1>;
  150. operating-points-v2 = <&cpu4_opp_table>;
  151. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  152. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  153. power-domains = <&CPU_PD5>;
  154. power-domain-names = "psci";
  155. #cooling-cells = <2>;
  156. L2_500: l2-cache {
  157. compatible = "cache";
  158. next-level-cache = <&L3_0>;
  159. };
  160. };
  161. CPU6: cpu@600 {
  162. device_type = "cpu";
  163. compatible = "qcom,kryo485";
  164. reg = <0x0 0x600>;
  165. enable-method = "psci";
  166. capacity-dmips-mhz = <1024>;
  167. dynamic-power-coefficient = <369>;
  168. next-level-cache = <&L2_600>;
  169. qcom,freq-domain = <&cpufreq_hw 1>;
  170. operating-points-v2 = <&cpu4_opp_table>;
  171. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  172. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  173. power-domains = <&CPU_PD6>;
  174. power-domain-names = "psci";
  175. #cooling-cells = <2>;
  176. L2_600: l2-cache {
  177. compatible = "cache";
  178. next-level-cache = <&L3_0>;
  179. };
  180. };
  181. CPU7: cpu@700 {
  182. device_type = "cpu";
  183. compatible = "qcom,kryo485";
  184. reg = <0x0 0x700>;
  185. enable-method = "psci";
  186. capacity-dmips-mhz = <1024>;
  187. dynamic-power-coefficient = <421>;
  188. next-level-cache = <&L2_700>;
  189. qcom,freq-domain = <&cpufreq_hw 2>;
  190. operating-points-v2 = <&cpu7_opp_table>;
  191. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  192. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  193. power-domains = <&CPU_PD7>;
  194. power-domain-names = "psci";
  195. #cooling-cells = <2>;
  196. L2_700: l2-cache {
  197. compatible = "cache";
  198. next-level-cache = <&L3_0>;
  199. };
  200. };
  201. cpu-map {
  202. cluster0 {
  203. core0 {
  204. cpu = <&CPU0>;
  205. };
  206. core1 {
  207. cpu = <&CPU1>;
  208. };
  209. core2 {
  210. cpu = <&CPU2>;
  211. };
  212. core3 {
  213. cpu = <&CPU3>;
  214. };
  215. core4 {
  216. cpu = <&CPU4>;
  217. };
  218. core5 {
  219. cpu = <&CPU5>;
  220. };
  221. core6 {
  222. cpu = <&CPU6>;
  223. };
  224. core7 {
  225. cpu = <&CPU7>;
  226. };
  227. };
  228. };
  229. idle-states {
  230. entry-method = "psci";
  231. LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
  232. compatible = "arm,idle-state";
  233. idle-state-name = "little-rail-power-collapse";
  234. arm,psci-suspend-param = <0x40000004>;
  235. entry-latency-us = <355>;
  236. exit-latency-us = <909>;
  237. min-residency-us = <3934>;
  238. local-timer-stop;
  239. };
  240. BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
  241. compatible = "arm,idle-state";
  242. idle-state-name = "big-rail-power-collapse";
  243. arm,psci-suspend-param = <0x40000004>;
  244. entry-latency-us = <241>;
  245. exit-latency-us = <1461>;
  246. min-residency-us = <4488>;
  247. local-timer-stop;
  248. };
  249. };
  250. domain-idle-states {
  251. CLUSTER_SLEEP_0: cluster-sleep-0 {
  252. compatible = "domain-idle-state";
  253. idle-state-name = "cluster-power-collapse";
  254. arm,psci-suspend-param = <0x4100c244>;
  255. entry-latency-us = <3263>;
  256. exit-latency-us = <6562>;
  257. min-residency-us = <9987>;
  258. local-timer-stop;
  259. };
  260. };
  261. };
  262. cpu0_opp_table: opp-table-cpu0 {
  263. compatible = "operating-points-v2";
  264. opp-shared;
  265. cpu0_opp1: opp-300000000 {
  266. opp-hz = /bits/ 64 <300000000>;
  267. opp-peak-kBps = <800000 9600000>;
  268. };
  269. cpu0_opp2: opp-403200000 {
  270. opp-hz = /bits/ 64 <403200000>;
  271. opp-peak-kBps = <800000 9600000>;
  272. };
  273. cpu0_opp3: opp-499200000 {
  274. opp-hz = /bits/ 64 <499200000>;
  275. opp-peak-kBps = <800000 12902400>;
  276. };
  277. cpu0_opp4: opp-576000000 {
  278. opp-hz = /bits/ 64 <576000000>;
  279. opp-peak-kBps = <800000 12902400>;
  280. };
  281. cpu0_opp5: opp-672000000 {
  282. opp-hz = /bits/ 64 <672000000>;
  283. opp-peak-kBps = <800000 15974400>;
  284. };
  285. cpu0_opp6: opp-768000000 {
  286. opp-hz = /bits/ 64 <768000000>;
  287. opp-peak-kBps = <1804000 19660800>;
  288. };
  289. cpu0_opp7: opp-844800000 {
  290. opp-hz = /bits/ 64 <844800000>;
  291. opp-peak-kBps = <1804000 19660800>;
  292. };
  293. cpu0_opp8: opp-940800000 {
  294. opp-hz = /bits/ 64 <940800000>;
  295. opp-peak-kBps = <1804000 22732800>;
  296. };
  297. cpu0_opp9: opp-1036800000 {
  298. opp-hz = /bits/ 64 <1036800000>;
  299. opp-peak-kBps = <1804000 22732800>;
  300. };
  301. cpu0_opp10: opp-1113600000 {
  302. opp-hz = /bits/ 64 <1113600000>;
  303. opp-peak-kBps = <2188000 25804800>;
  304. };
  305. cpu0_opp11: opp-1209600000 {
  306. opp-hz = /bits/ 64 <1209600000>;
  307. opp-peak-kBps = <2188000 31948800>;
  308. };
  309. cpu0_opp12: opp-1305600000 {
  310. opp-hz = /bits/ 64 <1305600000>;
  311. opp-peak-kBps = <3072000 31948800>;
  312. };
  313. cpu0_opp13: opp-1382400000 {
  314. opp-hz = /bits/ 64 <1382400000>;
  315. opp-peak-kBps = <3072000 31948800>;
  316. };
  317. cpu0_opp14: opp-1478400000 {
  318. opp-hz = /bits/ 64 <1478400000>;
  319. opp-peak-kBps = <3072000 31948800>;
  320. };
  321. cpu0_opp15: opp-1555200000 {
  322. opp-hz = /bits/ 64 <1555200000>;
  323. opp-peak-kBps = <3072000 40550400>;
  324. };
  325. cpu0_opp16: opp-1632000000 {
  326. opp-hz = /bits/ 64 <1632000000>;
  327. opp-peak-kBps = <3072000 40550400>;
  328. };
  329. cpu0_opp17: opp-1708800000 {
  330. opp-hz = /bits/ 64 <1708800000>;
  331. opp-peak-kBps = <3072000 43008000>;
  332. };
  333. cpu0_opp18: opp-1785600000 {
  334. opp-hz = /bits/ 64 <1785600000>;
  335. opp-peak-kBps = <3072000 43008000>;
  336. };
  337. };
  338. cpu4_opp_table: opp-table-cpu4 {
  339. compatible = "operating-points-v2";
  340. opp-shared;
  341. cpu4_opp1: opp-710400000 {
  342. opp-hz = /bits/ 64 <710400000>;
  343. opp-peak-kBps = <1804000 15974400>;
  344. };
  345. cpu4_opp2: opp-825600000 {
  346. opp-hz = /bits/ 64 <825600000>;
  347. opp-peak-kBps = <2188000 19660800>;
  348. };
  349. cpu4_opp3: opp-940800000 {
  350. opp-hz = /bits/ 64 <940800000>;
  351. opp-peak-kBps = <2188000 22732800>;
  352. };
  353. cpu4_opp4: opp-1056000000 {
  354. opp-hz = /bits/ 64 <1056000000>;
  355. opp-peak-kBps = <3072000 25804800>;
  356. };
  357. cpu4_opp5: opp-1171200000 {
  358. opp-hz = /bits/ 64 <1171200000>;
  359. opp-peak-kBps = <3072000 31948800>;
  360. };
  361. cpu4_opp6: opp-1286400000 {
  362. opp-hz = /bits/ 64 <1286400000>;
  363. opp-peak-kBps = <4068000 31948800>;
  364. };
  365. cpu4_opp7: opp-1401600000 {
  366. opp-hz = /bits/ 64 <1401600000>;
  367. opp-peak-kBps = <4068000 31948800>;
  368. };
  369. cpu4_opp8: opp-1497600000 {
  370. opp-hz = /bits/ 64 <1497600000>;
  371. opp-peak-kBps = <4068000 40550400>;
  372. };
  373. cpu4_opp9: opp-1612800000 {
  374. opp-hz = /bits/ 64 <1612800000>;
  375. opp-peak-kBps = <4068000 40550400>;
  376. };
  377. cpu4_opp10: opp-1708800000 {
  378. opp-hz = /bits/ 64 <1708800000>;
  379. opp-peak-kBps = <4068000 43008000>;
  380. };
  381. cpu4_opp11: opp-1804800000 {
  382. opp-hz = /bits/ 64 <1804800000>;
  383. opp-peak-kBps = <6220000 43008000>;
  384. };
  385. cpu4_opp12: opp-1920000000 {
  386. opp-hz = /bits/ 64 <1920000000>;
  387. opp-peak-kBps = <6220000 49152000>;
  388. };
  389. cpu4_opp13: opp-2016000000 {
  390. opp-hz = /bits/ 64 <2016000000>;
  391. opp-peak-kBps = <7216000 49152000>;
  392. };
  393. cpu4_opp14: opp-2131200000 {
  394. opp-hz = /bits/ 64 <2131200000>;
  395. opp-peak-kBps = <8368000 49152000>;
  396. };
  397. cpu4_opp15: opp-2227200000 {
  398. opp-hz = /bits/ 64 <2227200000>;
  399. opp-peak-kBps = <8368000 51609600>;
  400. };
  401. cpu4_opp16: opp-2323200000 {
  402. opp-hz = /bits/ 64 <2323200000>;
  403. opp-peak-kBps = <8368000 51609600>;
  404. };
  405. cpu4_opp17: opp-2419200000 {
  406. opp-hz = /bits/ 64 <2419200000>;
  407. opp-peak-kBps = <8368000 51609600>;
  408. };
  409. };
  410. cpu7_opp_table: opp-table-cpu7 {
  411. compatible = "operating-points-v2";
  412. opp-shared;
  413. cpu7_opp1: opp-825600000 {
  414. opp-hz = /bits/ 64 <825600000>;
  415. opp-peak-kBps = <2188000 19660800>;
  416. };
  417. cpu7_opp2: opp-940800000 {
  418. opp-hz = /bits/ 64 <940800000>;
  419. opp-peak-kBps = <2188000 22732800>;
  420. };
  421. cpu7_opp3: opp-1056000000 {
  422. opp-hz = /bits/ 64 <1056000000>;
  423. opp-peak-kBps = <3072000 25804800>;
  424. };
  425. cpu7_opp4: opp-1171200000 {
  426. opp-hz = /bits/ 64 <1171200000>;
  427. opp-peak-kBps = <3072000 31948800>;
  428. };
  429. cpu7_opp5: opp-1286400000 {
  430. opp-hz = /bits/ 64 <1286400000>;
  431. opp-peak-kBps = <4068000 31948800>;
  432. };
  433. cpu7_opp6: opp-1401600000 {
  434. opp-hz = /bits/ 64 <1401600000>;
  435. opp-peak-kBps = <4068000 31948800>;
  436. };
  437. cpu7_opp7: opp-1497600000 {
  438. opp-hz = /bits/ 64 <1497600000>;
  439. opp-peak-kBps = <4068000 40550400>;
  440. };
  441. cpu7_opp8: opp-1612800000 {
  442. opp-hz = /bits/ 64 <1612800000>;
  443. opp-peak-kBps = <4068000 40550400>;
  444. };
  445. cpu7_opp9: opp-1708800000 {
  446. opp-hz = /bits/ 64 <1708800000>;
  447. opp-peak-kBps = <4068000 43008000>;
  448. };
  449. cpu7_opp10: opp-1804800000 {
  450. opp-hz = /bits/ 64 <1804800000>;
  451. opp-peak-kBps = <6220000 43008000>;
  452. };
  453. cpu7_opp11: opp-1920000000 {
  454. opp-hz = /bits/ 64 <1920000000>;
  455. opp-peak-kBps = <6220000 49152000>;
  456. };
  457. cpu7_opp12: opp-2016000000 {
  458. opp-hz = /bits/ 64 <2016000000>;
  459. opp-peak-kBps = <7216000 49152000>;
  460. };
  461. cpu7_opp13: opp-2131200000 {
  462. opp-hz = /bits/ 64 <2131200000>;
  463. opp-peak-kBps = <8368000 49152000>;
  464. };
  465. cpu7_opp14: opp-2227200000 {
  466. opp-hz = /bits/ 64 <2227200000>;
  467. opp-peak-kBps = <8368000 51609600>;
  468. };
  469. cpu7_opp15: opp-2323200000 {
  470. opp-hz = /bits/ 64 <2323200000>;
  471. opp-peak-kBps = <8368000 51609600>;
  472. };
  473. cpu7_opp16: opp-2419200000 {
  474. opp-hz = /bits/ 64 <2419200000>;
  475. opp-peak-kBps = <8368000 51609600>;
  476. };
  477. cpu7_opp17: opp-2534400000 {
  478. opp-hz = /bits/ 64 <2534400000>;
  479. opp-peak-kBps = <8368000 51609600>;
  480. };
  481. cpu7_opp18: opp-2649600000 {
  482. opp-hz = /bits/ 64 <2649600000>;
  483. opp-peak-kBps = <8368000 51609600>;
  484. };
  485. cpu7_opp19: opp-2745600000 {
  486. opp-hz = /bits/ 64 <2745600000>;
  487. opp-peak-kBps = <8368000 51609600>;
  488. };
  489. cpu7_opp20: opp-2841600000 {
  490. opp-hz = /bits/ 64 <2841600000>;
  491. opp-peak-kBps = <8368000 51609600>;
  492. };
  493. };
  494. firmware {
  495. scm: scm {
  496. compatible = "qcom,scm-sm8150", "qcom,scm";
  497. #reset-cells = <1>;
  498. };
  499. };
  500. memory@80000000 {
  501. device_type = "memory";
  502. /* We expect the bootloader to fill in the size */
  503. reg = <0x0 0x80000000 0x0 0x0>;
  504. };
  505. pmu {
  506. compatible = "arm,armv8-pmuv3";
  507. interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
  508. };
  509. psci {
  510. compatible = "arm,psci-1.0";
  511. method = "smc";
  512. CPU_PD0: cpu0 {
  513. #power-domain-cells = <0>;
  514. power-domains = <&CLUSTER_PD>;
  515. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  516. };
  517. CPU_PD1: cpu1 {
  518. #power-domain-cells = <0>;
  519. power-domains = <&CLUSTER_PD>;
  520. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  521. };
  522. CPU_PD2: cpu2 {
  523. #power-domain-cells = <0>;
  524. power-domains = <&CLUSTER_PD>;
  525. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  526. };
  527. CPU_PD3: cpu3 {
  528. #power-domain-cells = <0>;
  529. power-domains = <&CLUSTER_PD>;
  530. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  531. };
  532. CPU_PD4: cpu4 {
  533. #power-domain-cells = <0>;
  534. power-domains = <&CLUSTER_PD>;
  535. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  536. };
  537. CPU_PD5: cpu5 {
  538. #power-domain-cells = <0>;
  539. power-domains = <&CLUSTER_PD>;
  540. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  541. };
  542. CPU_PD6: cpu6 {
  543. #power-domain-cells = <0>;
  544. power-domains = <&CLUSTER_PD>;
  545. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  546. };
  547. CPU_PD7: cpu7 {
  548. #power-domain-cells = <0>;
  549. power-domains = <&CLUSTER_PD>;
  550. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  551. };
  552. CLUSTER_PD: cpu-cluster0 {
  553. #power-domain-cells = <0>;
  554. domain-idle-states = <&CLUSTER_SLEEP_0>;
  555. };
  556. };
  557. reserved-memory {
  558. #address-cells = <2>;
  559. #size-cells = <2>;
  560. ranges;
  561. hyp_mem: memory@85700000 {
  562. reg = <0x0 0x85700000 0x0 0x600000>;
  563. no-map;
  564. };
  565. xbl_mem: memory@85d00000 {
  566. reg = <0x0 0x85d00000 0x0 0x140000>;
  567. no-map;
  568. };
  569. aop_mem: memory@85f00000 {
  570. reg = <0x0 0x85f00000 0x0 0x20000>;
  571. no-map;
  572. };
  573. aop_cmd_db: memory@85f20000 {
  574. compatible = "qcom,cmd-db";
  575. reg = <0x0 0x85f20000 0x0 0x20000>;
  576. no-map;
  577. };
  578. smem_mem: memory@86000000 {
  579. reg = <0x0 0x86000000 0x0 0x200000>;
  580. no-map;
  581. };
  582. tz_mem: memory@86200000 {
  583. reg = <0x0 0x86200000 0x0 0x3900000>;
  584. no-map;
  585. };
  586. rmtfs_mem: memory@89b00000 {
  587. compatible = "qcom,rmtfs-mem";
  588. reg = <0x0 0x89b00000 0x0 0x200000>;
  589. no-map;
  590. qcom,client-id = <1>;
  591. qcom,vmid = <15>;
  592. };
  593. camera_mem: memory@8b700000 {
  594. reg = <0x0 0x8b700000 0x0 0x500000>;
  595. no-map;
  596. };
  597. wlan_mem: memory@8bc00000 {
  598. reg = <0x0 0x8bc00000 0x0 0x180000>;
  599. no-map;
  600. };
  601. npu_mem: memory@8bd80000 {
  602. reg = <0x0 0x8bd80000 0x0 0x80000>;
  603. no-map;
  604. };
  605. adsp_mem: memory@8be00000 {
  606. reg = <0x0 0x8be00000 0x0 0x1a00000>;
  607. no-map;
  608. };
  609. mpss_mem: memory@8d800000 {
  610. reg = <0x0 0x8d800000 0x0 0x9600000>;
  611. no-map;
  612. };
  613. venus_mem: memory@96e00000 {
  614. reg = <0x0 0x96e00000 0x0 0x500000>;
  615. no-map;
  616. };
  617. slpi_mem: memory@97300000 {
  618. reg = <0x0 0x97300000 0x0 0x1400000>;
  619. no-map;
  620. };
  621. ipa_fw_mem: memory@98700000 {
  622. reg = <0x0 0x98700000 0x0 0x10000>;
  623. no-map;
  624. };
  625. ipa_gsi_mem: memory@98710000 {
  626. reg = <0x0 0x98710000 0x0 0x5000>;
  627. no-map;
  628. };
  629. gpu_mem: memory@98715000 {
  630. reg = <0x0 0x98715000 0x0 0x2000>;
  631. no-map;
  632. };
  633. spss_mem: memory@98800000 {
  634. reg = <0x0 0x98800000 0x0 0x100000>;
  635. no-map;
  636. };
  637. cdsp_mem: memory@98900000 {
  638. reg = <0x0 0x98900000 0x0 0x1400000>;
  639. no-map;
  640. };
  641. qseecom_mem: memory@9e400000 {
  642. reg = <0x0 0x9e400000 0x0 0x1400000>;
  643. no-map;
  644. };
  645. };
  646. smem {
  647. compatible = "qcom,smem";
  648. memory-region = <&smem_mem>;
  649. hwlocks = <&tcsr_mutex 3>;
  650. };
  651. smp2p-cdsp {
  652. compatible = "qcom,smp2p";
  653. qcom,smem = <94>, <432>;
  654. interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
  655. mboxes = <&apss_shared 6>;
  656. qcom,local-pid = <0>;
  657. qcom,remote-pid = <5>;
  658. cdsp_smp2p_out: master-kernel {
  659. qcom,entry-name = "master-kernel";
  660. #qcom,smem-state-cells = <1>;
  661. };
  662. cdsp_smp2p_in: slave-kernel {
  663. qcom,entry-name = "slave-kernel";
  664. interrupt-controller;
  665. #interrupt-cells = <2>;
  666. };
  667. };
  668. smp2p-lpass {
  669. compatible = "qcom,smp2p";
  670. qcom,smem = <443>, <429>;
  671. interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
  672. mboxes = <&apss_shared 10>;
  673. qcom,local-pid = <0>;
  674. qcom,remote-pid = <2>;
  675. adsp_smp2p_out: master-kernel {
  676. qcom,entry-name = "master-kernel";
  677. #qcom,smem-state-cells = <1>;
  678. };
  679. adsp_smp2p_in: slave-kernel {
  680. qcom,entry-name = "slave-kernel";
  681. interrupt-controller;
  682. #interrupt-cells = <2>;
  683. };
  684. };
  685. smp2p-mpss {
  686. compatible = "qcom,smp2p";
  687. qcom,smem = <435>, <428>;
  688. interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
  689. mboxes = <&apss_shared 14>;
  690. qcom,local-pid = <0>;
  691. qcom,remote-pid = <1>;
  692. modem_smp2p_out: master-kernel {
  693. qcom,entry-name = "master-kernel";
  694. #qcom,smem-state-cells = <1>;
  695. };
  696. modem_smp2p_in: slave-kernel {
  697. qcom,entry-name = "slave-kernel";
  698. interrupt-controller;
  699. #interrupt-cells = <2>;
  700. };
  701. };
  702. smp2p-slpi {
  703. compatible = "qcom,smp2p";
  704. qcom,smem = <481>, <430>;
  705. interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
  706. mboxes = <&apss_shared 26>;
  707. qcom,local-pid = <0>;
  708. qcom,remote-pid = <3>;
  709. slpi_smp2p_out: master-kernel {
  710. qcom,entry-name = "master-kernel";
  711. #qcom,smem-state-cells = <1>;
  712. };
  713. slpi_smp2p_in: slave-kernel {
  714. qcom,entry-name = "slave-kernel";
  715. interrupt-controller;
  716. #interrupt-cells = <2>;
  717. };
  718. };
  719. soc: soc@0 {
  720. #address-cells = <2>;
  721. #size-cells = <2>;
  722. ranges = <0 0 0 0 0x10 0>;
  723. dma-ranges = <0 0 0 0 0x10 0>;
  724. compatible = "simple-bus";
  725. gcc: clock-controller@100000 {
  726. compatible = "qcom,gcc-sm8150";
  727. reg = <0x0 0x00100000 0x0 0x1f0000>;
  728. #clock-cells = <1>;
  729. #reset-cells = <1>;
  730. #power-domain-cells = <1>;
  731. clock-names = "bi_tcxo",
  732. "sleep_clk";
  733. clocks = <&rpmhcc RPMH_CXO_CLK>,
  734. <&sleep_clk>;
  735. };
  736. gpi_dma0: dma-controller@800000 {
  737. compatible = "qcom,sm8150-gpi-dma";
  738. reg = <0 0x800000 0 0x60000>;
  739. interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
  740. <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
  741. <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
  742. <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
  743. <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
  744. <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
  745. <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
  746. <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
  747. <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
  748. <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
  749. <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
  750. <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
  751. <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
  752. dma-channels = <13>;
  753. dma-channel-mask = <0xfa>;
  754. iommus = <&apps_smmu 0x00d6 0x0>;
  755. #dma-cells = <3>;
  756. status = "disabled";
  757. };
  758. ethernet: ethernet@20000 {
  759. compatible = "qcom,sm8150-ethqos";
  760. reg = <0x0 0x00020000 0x0 0x10000>,
  761. <0x0 0x00036000 0x0 0x100>;
  762. reg-names = "stmmaceth", "rgmii";
  763. clock-names = "stmmaceth", "pclk", "ptp_ref", "rgmii";
  764. clocks = <&gcc GCC_EMAC_AXI_CLK>,
  765. <&gcc GCC_EMAC_SLV_AHB_CLK>,
  766. <&gcc GCC_EMAC_PTP_CLK>,
  767. <&gcc GCC_EMAC_RGMII_CLK>;
  768. interrupts = <GIC_SPI 689 IRQ_TYPE_LEVEL_HIGH>,
  769. <GIC_SPI 699 IRQ_TYPE_LEVEL_HIGH>;
  770. interrupt-names = "macirq", "eth_lpi";
  771. power-domains = <&gcc EMAC_GDSC>;
  772. resets = <&gcc GCC_EMAC_BCR>;
  773. iommus = <&apps_smmu 0x3C0 0x0>;
  774. snps,tso;
  775. rx-fifo-depth = <4096>;
  776. tx-fifo-depth = <4096>;
  777. status = "disabled";
  778. };
  779. qupv3_id_0: geniqup@8c0000 {
  780. compatible = "qcom,geni-se-qup";
  781. reg = <0x0 0x008c0000 0x0 0x6000>;
  782. clock-names = "m-ahb", "s-ahb";
  783. clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
  784. <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
  785. iommus = <&apps_smmu 0xc3 0x0>;
  786. #address-cells = <2>;
  787. #size-cells = <2>;
  788. ranges;
  789. status = "disabled";
  790. i2c0: i2c@880000 {
  791. compatible = "qcom,geni-i2c";
  792. reg = <0 0x00880000 0 0x4000>;
  793. clock-names = "se";
  794. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  795. dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
  796. <&gpi_dma0 1 0 QCOM_GPI_I2C>;
  797. dma-names = "tx", "rx";
  798. pinctrl-names = "default";
  799. pinctrl-0 = <&qup_i2c0_default>;
  800. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  801. #address-cells = <1>;
  802. #size-cells = <0>;
  803. status = "disabled";
  804. };
  805. spi0: spi@880000 {
  806. compatible = "qcom,geni-spi";
  807. reg = <0 0x880000 0 0x4000>;
  808. reg-names = "se";
  809. clock-names = "se";
  810. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  811. dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
  812. <&gpi_dma0 1 0 QCOM_GPI_SPI>;
  813. dma-names = "tx", "rx";
  814. pinctrl-names = "default";
  815. pinctrl-0 = <&qup_spi0_default>;
  816. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  817. spi-max-frequency = <50000000>;
  818. #address-cells = <1>;
  819. #size-cells = <0>;
  820. status = "disabled";
  821. };
  822. i2c1: i2c@884000 {
  823. compatible = "qcom,geni-i2c";
  824. reg = <0 0x00884000 0 0x4000>;
  825. clock-names = "se";
  826. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  827. dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
  828. <&gpi_dma0 1 1 QCOM_GPI_I2C>;
  829. dma-names = "tx", "rx";
  830. pinctrl-names = "default";
  831. pinctrl-0 = <&qup_i2c1_default>;
  832. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  833. #address-cells = <1>;
  834. #size-cells = <0>;
  835. status = "disabled";
  836. };
  837. spi1: spi@884000 {
  838. compatible = "qcom,geni-spi";
  839. reg = <0 0x884000 0 0x4000>;
  840. reg-names = "se";
  841. clock-names = "se";
  842. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  843. dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
  844. <&gpi_dma0 1 1 QCOM_GPI_SPI>;
  845. dma-names = "tx", "rx";
  846. pinctrl-names = "default";
  847. pinctrl-0 = <&qup_spi1_default>;
  848. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  849. spi-max-frequency = <50000000>;
  850. #address-cells = <1>;
  851. #size-cells = <0>;
  852. status = "disabled";
  853. };
  854. i2c2: i2c@888000 {
  855. compatible = "qcom,geni-i2c";
  856. reg = <0 0x00888000 0 0x4000>;
  857. clock-names = "se";
  858. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  859. dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
  860. <&gpi_dma0 1 2 QCOM_GPI_I2C>;
  861. dma-names = "tx", "rx";
  862. pinctrl-names = "default";
  863. pinctrl-0 = <&qup_i2c2_default>;
  864. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  865. #address-cells = <1>;
  866. #size-cells = <0>;
  867. status = "disabled";
  868. };
  869. spi2: spi@888000 {
  870. compatible = "qcom,geni-spi";
  871. reg = <0 0x888000 0 0x4000>;
  872. reg-names = "se";
  873. clock-names = "se";
  874. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  875. dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
  876. <&gpi_dma0 1 2 QCOM_GPI_SPI>;
  877. dma-names = "tx", "rx";
  878. pinctrl-names = "default";
  879. pinctrl-0 = <&qup_spi2_default>;
  880. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  881. spi-max-frequency = <50000000>;
  882. #address-cells = <1>;
  883. #size-cells = <0>;
  884. status = "disabled";
  885. };
  886. i2c3: i2c@88c000 {
  887. compatible = "qcom,geni-i2c";
  888. reg = <0 0x0088c000 0 0x4000>;
  889. clock-names = "se";
  890. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  891. dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
  892. <&gpi_dma0 1 3 QCOM_GPI_I2C>;
  893. dma-names = "tx", "rx";
  894. pinctrl-names = "default";
  895. pinctrl-0 = <&qup_i2c3_default>;
  896. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  897. #address-cells = <1>;
  898. #size-cells = <0>;
  899. status = "disabled";
  900. };
  901. spi3: spi@88c000 {
  902. compatible = "qcom,geni-spi";
  903. reg = <0 0x88c000 0 0x4000>;
  904. reg-names = "se";
  905. clock-names = "se";
  906. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  907. dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
  908. <&gpi_dma0 1 3 QCOM_GPI_SPI>;
  909. dma-names = "tx", "rx";
  910. pinctrl-names = "default";
  911. pinctrl-0 = <&qup_spi3_default>;
  912. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  913. spi-max-frequency = <50000000>;
  914. #address-cells = <1>;
  915. #size-cells = <0>;
  916. status = "disabled";
  917. };
  918. i2c4: i2c@890000 {
  919. compatible = "qcom,geni-i2c";
  920. reg = <0 0x00890000 0 0x4000>;
  921. clock-names = "se";
  922. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  923. dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
  924. <&gpi_dma0 1 4 QCOM_GPI_I2C>;
  925. dma-names = "tx", "rx";
  926. pinctrl-names = "default";
  927. pinctrl-0 = <&qup_i2c4_default>;
  928. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  929. #address-cells = <1>;
  930. #size-cells = <0>;
  931. status = "disabled";
  932. };
  933. spi4: spi@890000 {
  934. compatible = "qcom,geni-spi";
  935. reg = <0 0x890000 0 0x4000>;
  936. reg-names = "se";
  937. clock-names = "se";
  938. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  939. dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
  940. <&gpi_dma0 1 4 QCOM_GPI_SPI>;
  941. dma-names = "tx", "rx";
  942. pinctrl-names = "default";
  943. pinctrl-0 = <&qup_spi4_default>;
  944. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  945. spi-max-frequency = <50000000>;
  946. #address-cells = <1>;
  947. #size-cells = <0>;
  948. status = "disabled";
  949. };
  950. i2c5: i2c@894000 {
  951. compatible = "qcom,geni-i2c";
  952. reg = <0 0x00894000 0 0x4000>;
  953. clock-names = "se";
  954. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  955. dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
  956. <&gpi_dma0 1 5 QCOM_GPI_I2C>;
  957. dma-names = "tx", "rx";
  958. pinctrl-names = "default";
  959. pinctrl-0 = <&qup_i2c5_default>;
  960. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  961. #address-cells = <1>;
  962. #size-cells = <0>;
  963. status = "disabled";
  964. };
  965. spi5: spi@894000 {
  966. compatible = "qcom,geni-spi";
  967. reg = <0 0x894000 0 0x4000>;
  968. reg-names = "se";
  969. clock-names = "se";
  970. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  971. dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
  972. <&gpi_dma0 1 5 QCOM_GPI_SPI>;
  973. dma-names = "tx", "rx";
  974. pinctrl-names = "default";
  975. pinctrl-0 = <&qup_spi5_default>;
  976. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  977. spi-max-frequency = <50000000>;
  978. #address-cells = <1>;
  979. #size-cells = <0>;
  980. status = "disabled";
  981. };
  982. i2c6: i2c@898000 {
  983. compatible = "qcom,geni-i2c";
  984. reg = <0 0x00898000 0 0x4000>;
  985. clock-names = "se";
  986. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  987. dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
  988. <&gpi_dma0 1 6 QCOM_GPI_I2C>;
  989. dma-names = "tx", "rx";
  990. pinctrl-names = "default";
  991. pinctrl-0 = <&qup_i2c6_default>;
  992. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  993. #address-cells = <1>;
  994. #size-cells = <0>;
  995. status = "disabled";
  996. };
  997. spi6: spi@898000 {
  998. compatible = "qcom,geni-spi";
  999. reg = <0 0x898000 0 0x4000>;
  1000. reg-names = "se";
  1001. clock-names = "se";
  1002. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1003. dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>,
  1004. <&gpi_dma0 1 6 QCOM_GPI_SPI>;
  1005. dma-names = "tx", "rx";
  1006. pinctrl-names = "default";
  1007. pinctrl-0 = <&qup_spi6_default>;
  1008. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1009. spi-max-frequency = <50000000>;
  1010. #address-cells = <1>;
  1011. #size-cells = <0>;
  1012. status = "disabled";
  1013. };
  1014. i2c7: i2c@89c000 {
  1015. compatible = "qcom,geni-i2c";
  1016. reg = <0 0x0089c000 0 0x4000>;
  1017. clock-names = "se";
  1018. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  1019. dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>,
  1020. <&gpi_dma0 1 7 QCOM_GPI_I2C>;
  1021. dma-names = "tx", "rx";
  1022. pinctrl-names = "default";
  1023. pinctrl-0 = <&qup_i2c7_default>;
  1024. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  1025. #address-cells = <1>;
  1026. #size-cells = <0>;
  1027. status = "disabled";
  1028. };
  1029. spi7: spi@89c000 {
  1030. compatible = "qcom,geni-spi";
  1031. reg = <0 0x89c000 0 0x4000>;
  1032. reg-names = "se";
  1033. clock-names = "se";
  1034. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  1035. dmas = <&gpi_dma0 0 7 QCOM_GPI_SPI>,
  1036. <&gpi_dma0 1 7 QCOM_GPI_SPI>;
  1037. dma-names = "tx", "rx";
  1038. pinctrl-names = "default";
  1039. pinctrl-0 = <&qup_spi7_default>;
  1040. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  1041. spi-max-frequency = <50000000>;
  1042. #address-cells = <1>;
  1043. #size-cells = <0>;
  1044. status = "disabled";
  1045. };
  1046. };
  1047. gpi_dma1: dma-controller@a00000 {
  1048. compatible = "qcom,sm8150-gpi-dma";
  1049. reg = <0 0xa00000 0 0x60000>;
  1050. interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
  1051. <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
  1052. <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
  1053. <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
  1054. <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
  1055. <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
  1056. <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
  1057. <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
  1058. <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
  1059. <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
  1060. <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
  1061. <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>,
  1062. <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
  1063. dma-channels = <13>;
  1064. dma-channel-mask = <0xfa>;
  1065. iommus = <&apps_smmu 0x0616 0x0>;
  1066. #dma-cells = <3>;
  1067. status = "disabled";
  1068. };
  1069. qupv3_id_1: geniqup@ac0000 {
  1070. compatible = "qcom,geni-se-qup";
  1071. reg = <0x0 0x00ac0000 0x0 0x6000>;
  1072. clock-names = "m-ahb", "s-ahb";
  1073. clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
  1074. <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
  1075. iommus = <&apps_smmu 0x603 0x0>;
  1076. #address-cells = <2>;
  1077. #size-cells = <2>;
  1078. ranges;
  1079. status = "disabled";
  1080. i2c8: i2c@a80000 {
  1081. compatible = "qcom,geni-i2c";
  1082. reg = <0 0x00a80000 0 0x4000>;
  1083. clock-names = "se";
  1084. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1085. dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
  1086. <&gpi_dma1 1 0 QCOM_GPI_I2C>;
  1087. dma-names = "tx", "rx";
  1088. pinctrl-names = "default";
  1089. pinctrl-0 = <&qup_i2c8_default>;
  1090. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1091. #address-cells = <1>;
  1092. #size-cells = <0>;
  1093. status = "disabled";
  1094. };
  1095. spi8: spi@a80000 {
  1096. compatible = "qcom,geni-spi";
  1097. reg = <0 0xa80000 0 0x4000>;
  1098. reg-names = "se";
  1099. clock-names = "se";
  1100. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1101. dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
  1102. <&gpi_dma1 1 0 QCOM_GPI_SPI>;
  1103. dma-names = "tx", "rx";
  1104. pinctrl-names = "default";
  1105. pinctrl-0 = <&qup_spi8_default>;
  1106. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1107. spi-max-frequency = <50000000>;
  1108. #address-cells = <1>;
  1109. #size-cells = <0>;
  1110. status = "disabled";
  1111. };
  1112. i2c9: i2c@a84000 {
  1113. compatible = "qcom,geni-i2c";
  1114. reg = <0 0x00a84000 0 0x4000>;
  1115. clock-names = "se";
  1116. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1117. dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
  1118. <&gpi_dma1 1 1 QCOM_GPI_I2C>;
  1119. dma-names = "tx", "rx";
  1120. pinctrl-names = "default";
  1121. pinctrl-0 = <&qup_i2c9_default>;
  1122. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1123. #address-cells = <1>;
  1124. #size-cells = <0>;
  1125. status = "disabled";
  1126. };
  1127. spi9: spi@a84000 {
  1128. compatible = "qcom,geni-spi";
  1129. reg = <0 0xa84000 0 0x4000>;
  1130. reg-names = "se";
  1131. clock-names = "se";
  1132. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1133. dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
  1134. <&gpi_dma1 1 1 QCOM_GPI_SPI>;
  1135. dma-names = "tx", "rx";
  1136. pinctrl-names = "default";
  1137. pinctrl-0 = <&qup_spi9_default>;
  1138. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1139. spi-max-frequency = <50000000>;
  1140. #address-cells = <1>;
  1141. #size-cells = <0>;
  1142. status = "disabled";
  1143. };
  1144. i2c10: i2c@a88000 {
  1145. compatible = "qcom,geni-i2c";
  1146. reg = <0 0x00a88000 0 0x4000>;
  1147. clock-names = "se";
  1148. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1149. dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
  1150. <&gpi_dma1 1 2 QCOM_GPI_I2C>;
  1151. dma-names = "tx", "rx";
  1152. pinctrl-names = "default";
  1153. pinctrl-0 = <&qup_i2c10_default>;
  1154. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1155. #address-cells = <1>;
  1156. #size-cells = <0>;
  1157. status = "disabled";
  1158. };
  1159. spi10: spi@a88000 {
  1160. compatible = "qcom,geni-spi";
  1161. reg = <0 0xa88000 0 0x4000>;
  1162. reg-names = "se";
  1163. clock-names = "se";
  1164. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1165. dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
  1166. <&gpi_dma1 1 2 QCOM_GPI_SPI>;
  1167. dma-names = "tx", "rx";
  1168. pinctrl-names = "default";
  1169. pinctrl-0 = <&qup_spi10_default>;
  1170. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1171. spi-max-frequency = <50000000>;
  1172. #address-cells = <1>;
  1173. #size-cells = <0>;
  1174. status = "disabled";
  1175. };
  1176. i2c11: i2c@a8c000 {
  1177. compatible = "qcom,geni-i2c";
  1178. reg = <0 0x00a8c000 0 0x4000>;
  1179. clock-names = "se";
  1180. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1181. dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
  1182. <&gpi_dma1 1 3 QCOM_GPI_I2C>;
  1183. dma-names = "tx", "rx";
  1184. pinctrl-names = "default";
  1185. pinctrl-0 = <&qup_i2c11_default>;
  1186. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1187. #address-cells = <1>;
  1188. #size-cells = <0>;
  1189. status = "disabled";
  1190. };
  1191. spi11: spi@a8c000 {
  1192. compatible = "qcom,geni-spi";
  1193. reg = <0 0xa8c000 0 0x4000>;
  1194. reg-names = "se";
  1195. clock-names = "se";
  1196. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1197. dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
  1198. <&gpi_dma1 1 3 QCOM_GPI_SPI>;
  1199. dma-names = "tx", "rx";
  1200. pinctrl-names = "default";
  1201. pinctrl-0 = <&qup_spi11_default>;
  1202. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1203. spi-max-frequency = <50000000>;
  1204. #address-cells = <1>;
  1205. #size-cells = <0>;
  1206. status = "disabled";
  1207. };
  1208. uart2: serial@a90000 {
  1209. compatible = "qcom,geni-debug-uart";
  1210. reg = <0x0 0x00a90000 0x0 0x4000>;
  1211. clock-names = "se";
  1212. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1213. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1214. status = "disabled";
  1215. };
  1216. i2c12: i2c@a90000 {
  1217. compatible = "qcom,geni-i2c";
  1218. reg = <0 0x00a90000 0 0x4000>;
  1219. clock-names = "se";
  1220. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1221. dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
  1222. <&gpi_dma1 1 4 QCOM_GPI_I2C>;
  1223. dma-names = "tx", "rx";
  1224. pinctrl-names = "default";
  1225. pinctrl-0 = <&qup_i2c12_default>;
  1226. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1227. #address-cells = <1>;
  1228. #size-cells = <0>;
  1229. status = "disabled";
  1230. };
  1231. spi12: spi@a90000 {
  1232. compatible = "qcom,geni-spi";
  1233. reg = <0 0xa90000 0 0x4000>;
  1234. reg-names = "se";
  1235. clock-names = "se";
  1236. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1237. dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
  1238. <&gpi_dma1 1 4 QCOM_GPI_SPI>;
  1239. dma-names = "tx", "rx";
  1240. pinctrl-names = "default";
  1241. pinctrl-0 = <&qup_spi12_default>;
  1242. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1243. spi-max-frequency = <50000000>;
  1244. #address-cells = <1>;
  1245. #size-cells = <0>;
  1246. status = "disabled";
  1247. };
  1248. i2c16: i2c@94000 {
  1249. compatible = "qcom,geni-i2c";
  1250. reg = <0 0x0094000 0 0x4000>;
  1251. clock-names = "se";
  1252. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1253. dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>,
  1254. <&gpi_dma2 1 5 QCOM_GPI_I2C>;
  1255. dma-names = "tx", "rx";
  1256. pinctrl-names = "default";
  1257. pinctrl-0 = <&qup_i2c16_default>;
  1258. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1259. #address-cells = <1>;
  1260. #size-cells = <0>;
  1261. status = "disabled";
  1262. };
  1263. spi16: spi@a94000 {
  1264. compatible = "qcom,geni-spi";
  1265. reg = <0 0xa94000 0 0x4000>;
  1266. reg-names = "se";
  1267. clock-names = "se";
  1268. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1269. dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>,
  1270. <&gpi_dma2 1 5 QCOM_GPI_SPI>;
  1271. dma-names = "tx", "rx";
  1272. pinctrl-names = "default";
  1273. pinctrl-0 = <&qup_spi16_default>;
  1274. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1275. spi-max-frequency = <50000000>;
  1276. #address-cells = <1>;
  1277. #size-cells = <0>;
  1278. status = "disabled";
  1279. };
  1280. };
  1281. gpi_dma2: dma-controller@c00000 {
  1282. compatible = "qcom,sm8150-gpi-dma";
  1283. reg = <0 0xc00000 0 0x60000>;
  1284. interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
  1285. <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
  1286. <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
  1287. <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
  1288. <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
  1289. <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
  1290. <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
  1291. <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
  1292. <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
  1293. <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>,
  1294. <GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH>,
  1295. <GIC_SPI 599 IRQ_TYPE_LEVEL_HIGH>,
  1296. <GIC_SPI 600 IRQ_TYPE_LEVEL_HIGH>;
  1297. dma-channels = <13>;
  1298. dma-channel-mask = <0xfa>;
  1299. iommus = <&apps_smmu 0x07b6 0x0>;
  1300. #dma-cells = <3>;
  1301. status = "disabled";
  1302. };
  1303. qupv3_id_2: geniqup@cc0000 {
  1304. compatible = "qcom,geni-se-qup";
  1305. reg = <0x0 0x00cc0000 0x0 0x6000>;
  1306. clock-names = "m-ahb", "s-ahb";
  1307. clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
  1308. <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
  1309. iommus = <&apps_smmu 0x7a3 0x0>;
  1310. #address-cells = <2>;
  1311. #size-cells = <2>;
  1312. ranges;
  1313. status = "disabled";
  1314. i2c17: i2c@c80000 {
  1315. compatible = "qcom,geni-i2c";
  1316. reg = <0 0x00c80000 0 0x4000>;
  1317. clock-names = "se";
  1318. clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
  1319. dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>,
  1320. <&gpi_dma2 1 0 QCOM_GPI_I2C>;
  1321. dma-names = "tx", "rx";
  1322. pinctrl-names = "default";
  1323. pinctrl-0 = <&qup_i2c17_default>;
  1324. interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
  1325. #address-cells = <1>;
  1326. #size-cells = <0>;
  1327. status = "disabled";
  1328. };
  1329. spi17: spi@c80000 {
  1330. compatible = "qcom,geni-spi";
  1331. reg = <0 0xc80000 0 0x4000>;
  1332. reg-names = "se";
  1333. clock-names = "se";
  1334. clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
  1335. dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>,
  1336. <&gpi_dma2 1 0 QCOM_GPI_SPI>;
  1337. dma-names = "tx", "rx";
  1338. pinctrl-names = "default";
  1339. pinctrl-0 = <&qup_spi17_default>;
  1340. interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
  1341. spi-max-frequency = <50000000>;
  1342. #address-cells = <1>;
  1343. #size-cells = <0>;
  1344. status = "disabled";
  1345. };
  1346. i2c18: i2c@c84000 {
  1347. compatible = "qcom,geni-i2c";
  1348. reg = <0 0x00c84000 0 0x4000>;
  1349. clock-names = "se";
  1350. clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
  1351. dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>,
  1352. <&gpi_dma2 1 1 QCOM_GPI_I2C>;
  1353. dma-names = "tx", "rx";
  1354. pinctrl-names = "default";
  1355. pinctrl-0 = <&qup_i2c18_default>;
  1356. interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
  1357. #address-cells = <1>;
  1358. #size-cells = <0>;
  1359. status = "disabled";
  1360. };
  1361. spi18: spi@c84000 {
  1362. compatible = "qcom,geni-spi";
  1363. reg = <0 0xc84000 0 0x4000>;
  1364. reg-names = "se";
  1365. clock-names = "se";
  1366. clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
  1367. dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>,
  1368. <&gpi_dma2 1 1 QCOM_GPI_SPI>;
  1369. dma-names = "tx", "rx";
  1370. pinctrl-names = "default";
  1371. pinctrl-0 = <&qup_spi18_default>;
  1372. interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
  1373. spi-max-frequency = <50000000>;
  1374. #address-cells = <1>;
  1375. #size-cells = <0>;
  1376. status = "disabled";
  1377. };
  1378. i2c19: i2c@c88000 {
  1379. compatible = "qcom,geni-i2c";
  1380. reg = <0 0x00c88000 0 0x4000>;
  1381. clock-names = "se";
  1382. clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
  1383. dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>,
  1384. <&gpi_dma2 1 2 QCOM_GPI_I2C>;
  1385. dma-names = "tx", "rx";
  1386. pinctrl-names = "default";
  1387. pinctrl-0 = <&qup_i2c19_default>;
  1388. interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
  1389. #address-cells = <1>;
  1390. #size-cells = <0>;
  1391. status = "disabled";
  1392. };
  1393. spi19: spi@c88000 {
  1394. compatible = "qcom,geni-spi";
  1395. reg = <0 0xc88000 0 0x4000>;
  1396. reg-names = "se";
  1397. clock-names = "se";
  1398. clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
  1399. dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>,
  1400. <&gpi_dma2 1 2 QCOM_GPI_SPI>;
  1401. dma-names = "tx", "rx";
  1402. pinctrl-names = "default";
  1403. pinctrl-0 = <&qup_spi19_default>;
  1404. interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
  1405. spi-max-frequency = <50000000>;
  1406. #address-cells = <1>;
  1407. #size-cells = <0>;
  1408. status = "disabled";
  1409. };
  1410. i2c13: i2c@c8c000 {
  1411. compatible = "qcom,geni-i2c";
  1412. reg = <0 0x00c8c000 0 0x4000>;
  1413. clock-names = "se";
  1414. clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
  1415. dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
  1416. <&gpi_dma2 1 3 QCOM_GPI_I2C>;
  1417. dma-names = "tx", "rx";
  1418. pinctrl-names = "default";
  1419. pinctrl-0 = <&qup_i2c13_default>;
  1420. interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
  1421. #address-cells = <1>;
  1422. #size-cells = <0>;
  1423. status = "disabled";
  1424. };
  1425. spi13: spi@c8c000 {
  1426. compatible = "qcom,geni-spi";
  1427. reg = <0 0xc8c000 0 0x4000>;
  1428. reg-names = "se";
  1429. clock-names = "se";
  1430. clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
  1431. dmas = <&gpi_dma2 0 3 QCOM_GPI_SPI>,
  1432. <&gpi_dma2 1 3 QCOM_GPI_SPI>;
  1433. dma-names = "tx", "rx";
  1434. pinctrl-names = "default";
  1435. pinctrl-0 = <&qup_spi13_default>;
  1436. interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
  1437. spi-max-frequency = <50000000>;
  1438. #address-cells = <1>;
  1439. #size-cells = <0>;
  1440. status = "disabled";
  1441. };
  1442. i2c14: i2c@c90000 {
  1443. compatible = "qcom,geni-i2c";
  1444. reg = <0 0x00c90000 0 0x4000>;
  1445. clock-names = "se";
  1446. clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
  1447. dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
  1448. <&gpi_dma2 1 4 QCOM_GPI_I2C>;
  1449. dma-names = "tx", "rx";
  1450. pinctrl-names = "default";
  1451. pinctrl-0 = <&qup_i2c14_default>;
  1452. interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
  1453. #address-cells = <1>;
  1454. #size-cells = <0>;
  1455. status = "disabled";
  1456. };
  1457. spi14: spi@c90000 {
  1458. compatible = "qcom,geni-spi";
  1459. reg = <0 0xc90000 0 0x4000>;
  1460. reg-names = "se";
  1461. clock-names = "se";
  1462. clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
  1463. dmas = <&gpi_dma2 0 4 QCOM_GPI_SPI>,
  1464. <&gpi_dma2 1 4 QCOM_GPI_SPI>;
  1465. dma-names = "tx", "rx";
  1466. pinctrl-names = "default";
  1467. pinctrl-0 = <&qup_spi14_default>;
  1468. interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
  1469. spi-max-frequency = <50000000>;
  1470. #address-cells = <1>;
  1471. #size-cells = <0>;
  1472. status = "disabled";
  1473. };
  1474. i2c15: i2c@c94000 {
  1475. compatible = "qcom,geni-i2c";
  1476. reg = <0 0x00c94000 0 0x4000>;
  1477. clock-names = "se";
  1478. clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
  1479. dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>,
  1480. <&gpi_dma2 1 5 QCOM_GPI_I2C>;
  1481. dma-names = "tx", "rx";
  1482. pinctrl-names = "default";
  1483. pinctrl-0 = <&qup_i2c15_default>;
  1484. interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
  1485. #address-cells = <1>;
  1486. #size-cells = <0>;
  1487. status = "disabled";
  1488. };
  1489. spi15: spi@c94000 {
  1490. compatible = "qcom,geni-spi";
  1491. reg = <0 0xc94000 0 0x4000>;
  1492. reg-names = "se";
  1493. clock-names = "se";
  1494. clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
  1495. dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>,
  1496. <&gpi_dma2 1 5 QCOM_GPI_SPI>;
  1497. dma-names = "tx", "rx";
  1498. pinctrl-names = "default";
  1499. pinctrl-0 = <&qup_spi15_default>;
  1500. interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
  1501. spi-max-frequency = <50000000>;
  1502. #address-cells = <1>;
  1503. #size-cells = <0>;
  1504. status = "disabled";
  1505. };
  1506. };
  1507. config_noc: interconnect@1500000 {
  1508. compatible = "qcom,sm8150-config-noc";
  1509. reg = <0 0x01500000 0 0x7400>;
  1510. #interconnect-cells = <1>;
  1511. qcom,bcm-voters = <&apps_bcm_voter>;
  1512. };
  1513. system_noc: interconnect@1620000 {
  1514. compatible = "qcom,sm8150-system-noc";
  1515. reg = <0 0x01620000 0 0x19400>;
  1516. #interconnect-cells = <1>;
  1517. qcom,bcm-voters = <&apps_bcm_voter>;
  1518. };
  1519. mc_virt: interconnect@163a000 {
  1520. compatible = "qcom,sm8150-mc-virt";
  1521. reg = <0 0x0163a000 0 0x1000>;
  1522. #interconnect-cells = <1>;
  1523. qcom,bcm-voters = <&apps_bcm_voter>;
  1524. };
  1525. aggre1_noc: interconnect@16e0000 {
  1526. compatible = "qcom,sm8150-aggre1-noc";
  1527. reg = <0 0x016e0000 0 0xd080>;
  1528. #interconnect-cells = <1>;
  1529. qcom,bcm-voters = <&apps_bcm_voter>;
  1530. };
  1531. aggre2_noc: interconnect@1700000 {
  1532. compatible = "qcom,sm8150-aggre2-noc";
  1533. reg = <0 0x01700000 0 0x20000>;
  1534. #interconnect-cells = <1>;
  1535. qcom,bcm-voters = <&apps_bcm_voter>;
  1536. };
  1537. compute_noc: interconnect@1720000 {
  1538. compatible = "qcom,sm8150-compute-noc";
  1539. reg = <0 0x01720000 0 0x7000>;
  1540. #interconnect-cells = <1>;
  1541. qcom,bcm-voters = <&apps_bcm_voter>;
  1542. };
  1543. mmss_noc: interconnect@1740000 {
  1544. compatible = "qcom,sm8150-mmss-noc";
  1545. reg = <0 0x01740000 0 0x1c100>;
  1546. #interconnect-cells = <1>;
  1547. qcom,bcm-voters = <&apps_bcm_voter>;
  1548. };
  1549. system-cache-controller@9200000 {
  1550. compatible = "qcom,sm8150-llcc";
  1551. reg = <0 0x09200000 0 0x200000>, <0 0x09600000 0 0x50000>;
  1552. reg-names = "llcc_base", "llcc_broadcast_base";
  1553. interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
  1554. };
  1555. pcie0: pci@1c00000 {
  1556. compatible = "qcom,pcie-sm8150", "snps,dw-pcie";
  1557. reg = <0 0x01c00000 0 0x3000>,
  1558. <0 0x60000000 0 0xf1d>,
  1559. <0 0x60000f20 0 0xa8>,
  1560. <0 0x60001000 0 0x1000>,
  1561. <0 0x60100000 0 0x100000>;
  1562. reg-names = "parf", "dbi", "elbi", "atu", "config";
  1563. device_type = "pci";
  1564. linux,pci-domain = <0>;
  1565. bus-range = <0x00 0xff>;
  1566. num-lanes = <1>;
  1567. #address-cells = <3>;
  1568. #size-cells = <2>;
  1569. ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
  1570. <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
  1571. interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
  1572. interrupt-names = "msi";
  1573. #interrupt-cells = <1>;
  1574. interrupt-map-mask = <0 0 0 0x7>;
  1575. interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  1576. <0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  1577. <0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  1578. <0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  1579. clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
  1580. <&gcc GCC_PCIE_0_AUX_CLK>,
  1581. <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
  1582. <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
  1583. <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
  1584. <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
  1585. <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
  1586. clock-names = "pipe",
  1587. "aux",
  1588. "cfg",
  1589. "bus_master",
  1590. "bus_slave",
  1591. "slave_q2a",
  1592. "tbu";
  1593. iommus = <&apps_smmu 0x1d80 0x3f>;
  1594. iommu-map = <0x0 &apps_smmu 0x1d80 0x1>,
  1595. <0x100 &apps_smmu 0x1d81 0x1>;
  1596. resets = <&gcc GCC_PCIE_0_BCR>;
  1597. reset-names = "pci";
  1598. power-domains = <&gcc PCIE_0_GDSC>;
  1599. phys = <&pcie0_lane>;
  1600. phy-names = "pciephy";
  1601. perst-gpio = <&tlmm 35 GPIO_ACTIVE_HIGH>;
  1602. enable-gpio = <&tlmm 37 GPIO_ACTIVE_HIGH>;
  1603. pinctrl-names = "default";
  1604. pinctrl-0 = <&pcie0_default_state>;
  1605. status = "disabled";
  1606. };
  1607. pcie0_phy: phy@1c06000 {
  1608. compatible = "qcom,sm8150-qmp-gen3x1-pcie-phy";
  1609. reg = <0 0x01c06000 0 0x1c0>;
  1610. #address-cells = <2>;
  1611. #size-cells = <2>;
  1612. ranges;
  1613. clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
  1614. <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
  1615. <&gcc GCC_PCIE_0_CLKREF_CLK>,
  1616. <&gcc GCC_PCIE0_PHY_REFGEN_CLK>;
  1617. clock-names = "aux",
  1618. "cfg_ahb",
  1619. "ref",
  1620. "refgen";
  1621. resets = <&gcc GCC_PCIE_0_PHY_BCR>;
  1622. reset-names = "phy";
  1623. assigned-clocks = <&gcc GCC_PCIE0_PHY_REFGEN_CLK>;
  1624. assigned-clock-rates = <100000000>;
  1625. status = "disabled";
  1626. pcie0_lane: phy@1c06200 {
  1627. reg = <0 0x1c06200 0 0x170>, /* tx */
  1628. <0 0x1c06400 0 0x200>, /* rx */
  1629. <0 0x1c06800 0 0x1f0>, /* pcs */
  1630. <0 0x1c06c00 0 0xf4>; /* "pcs_lane" same as pcs_misc? */
  1631. clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
  1632. clock-names = "pipe0";
  1633. #phy-cells = <0>;
  1634. clock-output-names = "pcie_0_pipe_clk";
  1635. };
  1636. };
  1637. pcie1: pci@1c08000 {
  1638. compatible = "qcom,pcie-sm8150", "snps,dw-pcie";
  1639. reg = <0 0x01c08000 0 0x3000>,
  1640. <0 0x40000000 0 0xf1d>,
  1641. <0 0x40000f20 0 0xa8>,
  1642. <0 0x40001000 0 0x1000>,
  1643. <0 0x40100000 0 0x100000>;
  1644. reg-names = "parf", "dbi", "elbi", "atu", "config";
  1645. device_type = "pci";
  1646. linux,pci-domain = <1>;
  1647. bus-range = <0x00 0xff>;
  1648. num-lanes = <2>;
  1649. #address-cells = <3>;
  1650. #size-cells = <2>;
  1651. ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
  1652. <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
  1653. interrupts = <GIC_SPI 307 IRQ_TYPE_EDGE_RISING>;
  1654. interrupt-names = "msi";
  1655. #interrupt-cells = <1>;
  1656. interrupt-map-mask = <0 0 0 0x7>;
  1657. interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  1658. <0 0 0 2 &intc 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  1659. <0 0 0 3 &intc 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  1660. <0 0 0 4 &intc 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  1661. clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
  1662. <&gcc GCC_PCIE_1_AUX_CLK>,
  1663. <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
  1664. <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
  1665. <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
  1666. <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
  1667. <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
  1668. clock-names = "pipe",
  1669. "aux",
  1670. "cfg",
  1671. "bus_master",
  1672. "bus_slave",
  1673. "slave_q2a",
  1674. "tbu";
  1675. assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
  1676. assigned-clock-rates = <19200000>;
  1677. iommus = <&apps_smmu 0x1e00 0x3f>;
  1678. iommu-map = <0x0 &apps_smmu 0x1e00 0x1>,
  1679. <0x100 &apps_smmu 0x1e01 0x1>;
  1680. resets = <&gcc GCC_PCIE_1_BCR>;
  1681. reset-names = "pci";
  1682. power-domains = <&gcc PCIE_1_GDSC>;
  1683. phys = <&pcie1_lane>;
  1684. phy-names = "pciephy";
  1685. perst-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>;
  1686. enable-gpio = <&tlmm 104 GPIO_ACTIVE_HIGH>;
  1687. pinctrl-names = "default";
  1688. pinctrl-0 = <&pcie1_default_state>;
  1689. status = "disabled";
  1690. };
  1691. pcie1_phy: phy@1c0e000 {
  1692. compatible = "qcom,sm8150-qmp-gen3x2-pcie-phy";
  1693. reg = <0 0x01c0e000 0 0x1c0>;
  1694. #address-cells = <2>;
  1695. #size-cells = <2>;
  1696. ranges;
  1697. clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
  1698. <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
  1699. <&gcc GCC_PCIE_1_CLKREF_CLK>,
  1700. <&gcc GCC_PCIE1_PHY_REFGEN_CLK>;
  1701. clock-names = "aux",
  1702. "cfg_ahb",
  1703. "ref",
  1704. "refgen";
  1705. resets = <&gcc GCC_PCIE_1_PHY_BCR>;
  1706. reset-names = "phy";
  1707. assigned-clocks = <&gcc GCC_PCIE1_PHY_REFGEN_CLK>;
  1708. assigned-clock-rates = <100000000>;
  1709. status = "disabled";
  1710. pcie1_lane: phy@1c0e200 {
  1711. reg = <0 0x1c0e200 0 0x170>, /* tx0 */
  1712. <0 0x1c0e400 0 0x200>, /* rx0 */
  1713. <0 0x1c0ea00 0 0x1f0>, /* pcs */
  1714. <0 0x1c0e600 0 0x170>, /* tx1 */
  1715. <0 0x1c0e800 0 0x200>, /* rx1 */
  1716. <0 0x1c0ee00 0 0xf4>; /* "pcs_com" same as pcs_misc? */
  1717. clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
  1718. clock-names = "pipe0";
  1719. #phy-cells = <0>;
  1720. clock-output-names = "pcie_1_pipe_clk";
  1721. };
  1722. };
  1723. ufs_mem_hc: ufshc@1d84000 {
  1724. compatible = "qcom,sm8150-ufshc", "qcom,ufshc",
  1725. "jedec,ufs-2.0";
  1726. reg = <0 0x01d84000 0 0x2500>,
  1727. <0 0x01d90000 0 0x8000>;
  1728. reg-names = "std", "ice";
  1729. interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
  1730. phys = <&ufs_mem_phy_lanes>;
  1731. phy-names = "ufsphy";
  1732. lanes-per-direction = <2>;
  1733. #reset-cells = <1>;
  1734. resets = <&gcc GCC_UFS_PHY_BCR>;
  1735. reset-names = "rst";
  1736. iommus = <&apps_smmu 0x300 0>;
  1737. clock-names =
  1738. "core_clk",
  1739. "bus_aggr_clk",
  1740. "iface_clk",
  1741. "core_clk_unipro",
  1742. "ref_clk",
  1743. "tx_lane0_sync_clk",
  1744. "rx_lane0_sync_clk",
  1745. "rx_lane1_sync_clk",
  1746. "ice_core_clk";
  1747. clocks =
  1748. <&gcc GCC_UFS_PHY_AXI_CLK>,
  1749. <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
  1750. <&gcc GCC_UFS_PHY_AHB_CLK>,
  1751. <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
  1752. <&rpmhcc RPMH_CXO_CLK>,
  1753. <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
  1754. <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
  1755. <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>,
  1756. <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
  1757. freq-table-hz =
  1758. <37500000 300000000>,
  1759. <0 0>,
  1760. <0 0>,
  1761. <37500000 300000000>,
  1762. <0 0>,
  1763. <0 0>,
  1764. <0 0>,
  1765. <0 0>,
  1766. <0 300000000>;
  1767. status = "disabled";
  1768. };
  1769. ufs_mem_phy: phy@1d87000 {
  1770. compatible = "qcom,sm8150-qmp-ufs-phy";
  1771. reg = <0 0x01d87000 0 0x1c0>;
  1772. #address-cells = <2>;
  1773. #size-cells = <2>;
  1774. ranges;
  1775. clock-names = "ref",
  1776. "ref_aux";
  1777. clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
  1778. <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
  1779. power-domains = <&gcc UFS_PHY_GDSC>;
  1780. resets = <&ufs_mem_hc 0>;
  1781. reset-names = "ufsphy";
  1782. status = "disabled";
  1783. ufs_mem_phy_lanes: phy@1d87400 {
  1784. reg = <0 0x01d87400 0 0x16c>,
  1785. <0 0x01d87600 0 0x200>,
  1786. <0 0x01d87c00 0 0x200>,
  1787. <0 0x01d87800 0 0x16c>,
  1788. <0 0x01d87a00 0 0x200>;
  1789. #phy-cells = <0>;
  1790. };
  1791. };
  1792. ipa_virt: interconnect@1e00000 {
  1793. compatible = "qcom,sm8150-ipa-virt";
  1794. reg = <0 0x01e00000 0 0x1000>;
  1795. #interconnect-cells = <1>;
  1796. qcom,bcm-voters = <&apps_bcm_voter>;
  1797. };
  1798. tcsr_mutex: hwlock@1f40000 {
  1799. compatible = "qcom,tcsr-mutex";
  1800. reg = <0x0 0x01f40000 0x0 0x20000>;
  1801. #hwlock-cells = <1>;
  1802. };
  1803. tcsr_regs_1: syscon@1f60000 {
  1804. compatible = "qcom,sm8150-tcsr", "syscon";
  1805. reg = <0x0 0x01f60000 0x0 0x20000>;
  1806. };
  1807. remoteproc_slpi: remoteproc@2400000 {
  1808. compatible = "qcom,sm8150-slpi-pas";
  1809. reg = <0x0 0x02400000 0x0 0x4040>;
  1810. interrupts-extended = <&intc GIC_SPI 494 IRQ_TYPE_EDGE_RISING>,
  1811. <&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  1812. <&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
  1813. <&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
  1814. <&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
  1815. interrupt-names = "wdog", "fatal", "ready",
  1816. "handover", "stop-ack";
  1817. clocks = <&rpmhcc RPMH_CXO_CLK>;
  1818. clock-names = "xo";
  1819. power-domains = <&rpmhpd 3>,
  1820. <&rpmhpd 2>;
  1821. power-domain-names = "lcx", "lmx";
  1822. memory-region = <&slpi_mem>;
  1823. qcom,qmp = <&aoss_qmp>;
  1824. qcom,smem-states = <&slpi_smp2p_out 0>;
  1825. qcom,smem-state-names = "stop";
  1826. status = "disabled";
  1827. glink-edge {
  1828. interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>;
  1829. label = "dsps";
  1830. qcom,remote-pid = <3>;
  1831. mboxes = <&apss_shared 24>;
  1832. fastrpc {
  1833. compatible = "qcom,fastrpc";
  1834. qcom,glink-channels = "fastrpcglink-apps-dsp";
  1835. label = "sdsp";
  1836. qcom,non-secure-domain;
  1837. #address-cells = <1>;
  1838. #size-cells = <0>;
  1839. compute-cb@1 {
  1840. compatible = "qcom,fastrpc-compute-cb";
  1841. reg = <1>;
  1842. iommus = <&apps_smmu 0x05a1 0x0>;
  1843. };
  1844. compute-cb@2 {
  1845. compatible = "qcom,fastrpc-compute-cb";
  1846. reg = <2>;
  1847. iommus = <&apps_smmu 0x05a2 0x0>;
  1848. };
  1849. compute-cb@3 {
  1850. compatible = "qcom,fastrpc-compute-cb";
  1851. reg = <3>;
  1852. iommus = <&apps_smmu 0x05a3 0x0>;
  1853. /* note: shared-cb = <4> in downstream */
  1854. };
  1855. };
  1856. };
  1857. };
  1858. gpu: gpu@2c00000 {
  1859. /*
  1860. * note: the amd,imageon compatible makes it possible
  1861. * to use the drm/msm driver without the display node,
  1862. * make sure to remove it when display node is added
  1863. */
  1864. compatible = "qcom,adreno-640.1",
  1865. "qcom,adreno",
  1866. "amd,imageon";
  1867. reg = <0 0x02c00000 0 0x40000>;
  1868. reg-names = "kgsl_3d0_reg_memory";
  1869. interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
  1870. iommus = <&adreno_smmu 0 0x401>;
  1871. operating-points-v2 = <&gpu_opp_table>;
  1872. qcom,gmu = <&gmu>;
  1873. status = "disabled";
  1874. zap-shader {
  1875. memory-region = <&gpu_mem>;
  1876. };
  1877. /* note: downstream checks gpu binning for 675 Mhz */
  1878. gpu_opp_table: opp-table {
  1879. compatible = "operating-points-v2";
  1880. opp-675000000 {
  1881. opp-hz = /bits/ 64 <675000000>;
  1882. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
  1883. };
  1884. opp-585000000 {
  1885. opp-hz = /bits/ 64 <585000000>;
  1886. opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
  1887. };
  1888. opp-499200000 {
  1889. opp-hz = /bits/ 64 <499200000>;
  1890. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
  1891. };
  1892. opp-427000000 {
  1893. opp-hz = /bits/ 64 <427000000>;
  1894. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
  1895. };
  1896. opp-345000000 {
  1897. opp-hz = /bits/ 64 <345000000>;
  1898. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  1899. };
  1900. opp-257000000 {
  1901. opp-hz = /bits/ 64 <257000000>;
  1902. opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
  1903. };
  1904. };
  1905. };
  1906. gmu: gmu@2c6a000 {
  1907. compatible = "qcom,adreno-gmu-640.1", "qcom,adreno-gmu";
  1908. reg = <0 0x02c6a000 0 0x30000>,
  1909. <0 0x0b290000 0 0x10000>,
  1910. <0 0x0b490000 0 0x10000>;
  1911. reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
  1912. interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
  1913. <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
  1914. interrupt-names = "hfi", "gmu";
  1915. clocks = <&gpucc GPU_CC_AHB_CLK>,
  1916. <&gpucc GPU_CC_CX_GMU_CLK>,
  1917. <&gpucc GPU_CC_CXO_CLK>,
  1918. <&gcc GCC_DDRSS_GPU_AXI_CLK>,
  1919. <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
  1920. clock-names = "ahb", "gmu", "cxo", "axi", "memnoc";
  1921. power-domains = <&gpucc GPU_CX_GDSC>,
  1922. <&gpucc GPU_GX_GDSC>;
  1923. power-domain-names = "cx", "gx";
  1924. iommus = <&adreno_smmu 5 0x400>;
  1925. operating-points-v2 = <&gmu_opp_table>;
  1926. status = "disabled";
  1927. gmu_opp_table: opp-table {
  1928. compatible = "operating-points-v2";
  1929. opp-200000000 {
  1930. opp-hz = /bits/ 64 <200000000>;
  1931. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  1932. };
  1933. };
  1934. };
  1935. gpucc: clock-controller@2c90000 {
  1936. compatible = "qcom,sm8150-gpucc";
  1937. reg = <0 0x02c90000 0 0x9000>;
  1938. clocks = <&rpmhcc RPMH_CXO_CLK>,
  1939. <&gcc GCC_GPU_GPLL0_CLK_SRC>,
  1940. <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
  1941. clock-names = "bi_tcxo",
  1942. "gcc_gpu_gpll0_clk_src",
  1943. "gcc_gpu_gpll0_div_clk_src";
  1944. #clock-cells = <1>;
  1945. #reset-cells = <1>;
  1946. #power-domain-cells = <1>;
  1947. };
  1948. adreno_smmu: iommu@2ca0000 {
  1949. compatible = "qcom,sm8150-smmu-500", "arm,mmu-500";
  1950. reg = <0 0x02ca0000 0 0x10000>;
  1951. #iommu-cells = <2>;
  1952. #global-interrupts = <1>;
  1953. interrupts = <GIC_SPI 674 IRQ_TYPE_LEVEL_HIGH>,
  1954. <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH>,
  1955. <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH>,
  1956. <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH>,
  1957. <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH>,
  1958. <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH>,
  1959. <GIC_SPI 686 IRQ_TYPE_LEVEL_HIGH>,
  1960. <GIC_SPI 687 IRQ_TYPE_LEVEL_HIGH>,
  1961. <GIC_SPI 688 IRQ_TYPE_LEVEL_HIGH>;
  1962. clocks = <&gpucc GPU_CC_AHB_CLK>,
  1963. <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
  1964. <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>;
  1965. clock-names = "ahb", "bus", "iface";
  1966. power-domains = <&gpucc GPU_CX_GDSC>;
  1967. };
  1968. tlmm: pinctrl@3100000 {
  1969. compatible = "qcom,sm8150-pinctrl";
  1970. reg = <0x0 0x03100000 0x0 0x300000>,
  1971. <0x0 0x03500000 0x0 0x300000>,
  1972. <0x0 0x03900000 0x0 0x300000>,
  1973. <0x0 0x03D00000 0x0 0x300000>;
  1974. reg-names = "west", "east", "north", "south";
  1975. interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
  1976. gpio-ranges = <&tlmm 0 0 176>;
  1977. gpio-controller;
  1978. #gpio-cells = <2>;
  1979. interrupt-controller;
  1980. #interrupt-cells = <2>;
  1981. wakeup-parent = <&pdc>;
  1982. qup_i2c0_default: qup-i2c0-default {
  1983. mux {
  1984. pins = "gpio0", "gpio1";
  1985. function = "qup0";
  1986. };
  1987. config {
  1988. pins = "gpio0", "gpio1";
  1989. drive-strength = <0x02>;
  1990. bias-disable;
  1991. };
  1992. };
  1993. qup_spi0_default: qup-spi0-default {
  1994. pins = "gpio0", "gpio1", "gpio2", "gpio3";
  1995. function = "qup0";
  1996. drive-strength = <6>;
  1997. bias-disable;
  1998. };
  1999. qup_i2c1_default: qup-i2c1-default {
  2000. mux {
  2001. pins = "gpio114", "gpio115";
  2002. function = "qup1";
  2003. };
  2004. config {
  2005. pins = "gpio114", "gpio115";
  2006. drive-strength = <0x02>;
  2007. bias-disable;
  2008. };
  2009. };
  2010. qup_spi1_default: qup-spi1-default {
  2011. pins = "gpio114", "gpio115", "gpio116", "gpio117";
  2012. function = "qup1";
  2013. drive-strength = <6>;
  2014. bias-disable;
  2015. };
  2016. qup_i2c2_default: qup-i2c2-default {
  2017. mux {
  2018. pins = "gpio126", "gpio127";
  2019. function = "qup2";
  2020. };
  2021. config {
  2022. pins = "gpio126", "gpio127";
  2023. drive-strength = <0x02>;
  2024. bias-disable;
  2025. };
  2026. };
  2027. qup_spi2_default: qup-spi2-default {
  2028. pins = "gpio126", "gpio127", "gpio128", "gpio129";
  2029. function = "qup2";
  2030. drive-strength = <6>;
  2031. bias-disable;
  2032. };
  2033. qup_i2c3_default: qup-i2c3-default {
  2034. mux {
  2035. pins = "gpio144", "gpio145";
  2036. function = "qup3";
  2037. };
  2038. config {
  2039. pins = "gpio144", "gpio145";
  2040. drive-strength = <0x02>;
  2041. bias-disable;
  2042. };
  2043. };
  2044. qup_spi3_default: qup-spi3-default {
  2045. pins = "gpio144", "gpio145", "gpio146", "gpio147";
  2046. function = "qup3";
  2047. drive-strength = <6>;
  2048. bias-disable;
  2049. };
  2050. qup_i2c4_default: qup-i2c4-default {
  2051. mux {
  2052. pins = "gpio51", "gpio52";
  2053. function = "qup4";
  2054. };
  2055. config {
  2056. pins = "gpio51", "gpio52";
  2057. drive-strength = <0x02>;
  2058. bias-disable;
  2059. };
  2060. };
  2061. qup_spi4_default: qup-spi4-default {
  2062. pins = "gpio51", "gpio52", "gpio53", "gpio54";
  2063. function = "qup4";
  2064. drive-strength = <6>;
  2065. bias-disable;
  2066. };
  2067. qup_i2c5_default: qup-i2c5-default {
  2068. mux {
  2069. pins = "gpio121", "gpio122";
  2070. function = "qup5";
  2071. };
  2072. config {
  2073. pins = "gpio121", "gpio122";
  2074. drive-strength = <0x02>;
  2075. bias-disable;
  2076. };
  2077. };
  2078. qup_spi5_default: qup-spi5-default {
  2079. pins = "gpio119", "gpio120", "gpio121", "gpio122";
  2080. function = "qup5";
  2081. drive-strength = <6>;
  2082. bias-disable;
  2083. };
  2084. qup_i2c6_default: qup-i2c6-default {
  2085. mux {
  2086. pins = "gpio6", "gpio7";
  2087. function = "qup6";
  2088. };
  2089. config {
  2090. pins = "gpio6", "gpio7";
  2091. drive-strength = <0x02>;
  2092. bias-disable;
  2093. };
  2094. };
  2095. qup_spi6_default: qup-spi6_default {
  2096. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  2097. function = "qup6";
  2098. drive-strength = <6>;
  2099. bias-disable;
  2100. };
  2101. qup_i2c7_default: qup-i2c7-default {
  2102. mux {
  2103. pins = "gpio98", "gpio99";
  2104. function = "qup7";
  2105. };
  2106. config {
  2107. pins = "gpio98", "gpio99";
  2108. drive-strength = <0x02>;
  2109. bias-disable;
  2110. };
  2111. };
  2112. qup_spi7_default: qup-spi7_default {
  2113. pins = "gpio98", "gpio99", "gpio100", "gpio101";
  2114. function = "qup7";
  2115. drive-strength = <6>;
  2116. bias-disable;
  2117. };
  2118. qup_i2c8_default: qup-i2c8-default {
  2119. mux {
  2120. pins = "gpio88", "gpio89";
  2121. function = "qup8";
  2122. };
  2123. config {
  2124. pins = "gpio88", "gpio89";
  2125. drive-strength = <0x02>;
  2126. bias-disable;
  2127. };
  2128. };
  2129. qup_spi8_default: qup-spi8-default {
  2130. pins = "gpio88", "gpio89", "gpio90", "gpio91";
  2131. function = "qup8";
  2132. drive-strength = <6>;
  2133. bias-disable;
  2134. };
  2135. qup_i2c9_default: qup-i2c9-default {
  2136. mux {
  2137. pins = "gpio39", "gpio40";
  2138. function = "qup9";
  2139. };
  2140. config {
  2141. pins = "gpio39", "gpio40";
  2142. drive-strength = <0x02>;
  2143. bias-disable;
  2144. };
  2145. };
  2146. qup_spi9_default: qup-spi9-default {
  2147. pins = "gpio39", "gpio40", "gpio41", "gpio42";
  2148. function = "qup9";
  2149. drive-strength = <6>;
  2150. bias-disable;
  2151. };
  2152. qup_i2c10_default: qup-i2c10-default {
  2153. mux {
  2154. pins = "gpio9", "gpio10";
  2155. function = "qup10";
  2156. };
  2157. config {
  2158. pins = "gpio9", "gpio10";
  2159. drive-strength = <0x02>;
  2160. bias-disable;
  2161. };
  2162. };
  2163. qup_spi10_default: qup-spi10-default {
  2164. pins = "gpio9", "gpio10", "gpio11", "gpio12";
  2165. function = "qup10";
  2166. drive-strength = <6>;
  2167. bias-disable;
  2168. };
  2169. qup_i2c11_default: qup-i2c11-default {
  2170. mux {
  2171. pins = "gpio94", "gpio95";
  2172. function = "qup11";
  2173. };
  2174. config {
  2175. pins = "gpio94", "gpio95";
  2176. drive-strength = <0x02>;
  2177. bias-disable;
  2178. };
  2179. };
  2180. qup_spi11_default: qup-spi11-default {
  2181. pins = "gpio92", "gpio93", "gpio94", "gpio95";
  2182. function = "qup11";
  2183. drive-strength = <6>;
  2184. bias-disable;
  2185. };
  2186. qup_i2c12_default: qup-i2c12-default {
  2187. mux {
  2188. pins = "gpio83", "gpio84";
  2189. function = "qup12";
  2190. };
  2191. config {
  2192. pins = "gpio83", "gpio84";
  2193. drive-strength = <0x02>;
  2194. bias-disable;
  2195. };
  2196. };
  2197. qup_spi12_default: qup-spi12-default {
  2198. pins = "gpio83", "gpio84", "gpio85", "gpio86";
  2199. function = "qup12";
  2200. drive-strength = <6>;
  2201. bias-disable;
  2202. };
  2203. qup_i2c13_default: qup-i2c13-default {
  2204. mux {
  2205. pins = "gpio43", "gpio44";
  2206. function = "qup13";
  2207. };
  2208. config {
  2209. pins = "gpio43", "gpio44";
  2210. drive-strength = <0x02>;
  2211. bias-disable;
  2212. };
  2213. };
  2214. qup_spi13_default: qup-spi13-default {
  2215. pins = "gpio43", "gpio44", "gpio45", "gpio46";
  2216. function = "qup13";
  2217. drive-strength = <6>;
  2218. bias-disable;
  2219. };
  2220. qup_i2c14_default: qup-i2c14-default {
  2221. mux {
  2222. pins = "gpio47", "gpio48";
  2223. function = "qup14";
  2224. };
  2225. config {
  2226. pins = "gpio47", "gpio48";
  2227. drive-strength = <0x02>;
  2228. bias-disable;
  2229. };
  2230. };
  2231. qup_spi14_default: qup-spi14-default {
  2232. pins = "gpio47", "gpio48", "gpio49", "gpio50";
  2233. function = "qup14";
  2234. drive-strength = <6>;
  2235. bias-disable;
  2236. };
  2237. qup_i2c15_default: qup-i2c15-default {
  2238. mux {
  2239. pins = "gpio27", "gpio28";
  2240. function = "qup15";
  2241. };
  2242. config {
  2243. pins = "gpio27", "gpio28";
  2244. drive-strength = <0x02>;
  2245. bias-disable;
  2246. };
  2247. };
  2248. qup_spi15_default: qup-spi15-default {
  2249. pins = "gpio27", "gpio28", "gpio29", "gpio30";
  2250. function = "qup15";
  2251. drive-strength = <6>;
  2252. bias-disable;
  2253. };
  2254. qup_i2c16_default: qup-i2c16-default {
  2255. mux {
  2256. pins = "gpio86", "gpio85";
  2257. function = "qup16";
  2258. };
  2259. config {
  2260. pins = "gpio86", "gpio85";
  2261. drive-strength = <0x02>;
  2262. bias-disable;
  2263. };
  2264. };
  2265. qup_spi16_default: qup-spi16-default {
  2266. pins = "gpio83", "gpio84", "gpio85", "gpio86";
  2267. function = "qup16";
  2268. drive-strength = <6>;
  2269. bias-disable;
  2270. };
  2271. qup_i2c17_default: qup-i2c17-default {
  2272. mux {
  2273. pins = "gpio55", "gpio56";
  2274. function = "qup17";
  2275. };
  2276. config {
  2277. pins = "gpio55", "gpio56";
  2278. drive-strength = <0x02>;
  2279. bias-disable;
  2280. };
  2281. };
  2282. qup_spi17_default: qup-spi17-default {
  2283. pins = "gpio55", "gpio56", "gpio57", "gpio58";
  2284. function = "qup17";
  2285. drive-strength = <6>;
  2286. bias-disable;
  2287. };
  2288. qup_i2c18_default: qup-i2c18-default {
  2289. mux {
  2290. pins = "gpio23", "gpio24";
  2291. function = "qup18";
  2292. };
  2293. config {
  2294. pins = "gpio23", "gpio24";
  2295. drive-strength = <0x02>;
  2296. bias-disable;
  2297. };
  2298. };
  2299. qup_spi18_default: qup-spi18-default {
  2300. pins = "gpio23", "gpio24", "gpio25", "gpio26";
  2301. function = "qup18";
  2302. drive-strength = <6>;
  2303. bias-disable;
  2304. };
  2305. qup_i2c19_default: qup-i2c19-default {
  2306. mux {
  2307. pins = "gpio57", "gpio58";
  2308. function = "qup19";
  2309. };
  2310. config {
  2311. pins = "gpio57", "gpio58";
  2312. drive-strength = <0x02>;
  2313. bias-disable;
  2314. };
  2315. };
  2316. qup_spi19_default: qup-spi19-default {
  2317. pins = "gpio55", "gpio56", "gpio57", "gpio58";
  2318. function = "qup19";
  2319. drive-strength = <6>;
  2320. bias-disable;
  2321. };
  2322. pcie0_default_state: pcie0-default {
  2323. perst {
  2324. pins = "gpio35";
  2325. function = "gpio";
  2326. drive-strength = <2>;
  2327. bias-pull-down;
  2328. };
  2329. clkreq {
  2330. pins = "gpio36";
  2331. function = "pci_e0";
  2332. drive-strength = <2>;
  2333. bias-pull-up;
  2334. };
  2335. wake {
  2336. pins = "gpio37";
  2337. function = "gpio";
  2338. drive-strength = <2>;
  2339. bias-pull-up;
  2340. };
  2341. };
  2342. pcie1_default_state: pcie1-default {
  2343. perst {
  2344. pins = "gpio102";
  2345. function = "gpio";
  2346. drive-strength = <2>;
  2347. bias-pull-down;
  2348. };
  2349. clkreq {
  2350. pins = "gpio103";
  2351. function = "pci_e1";
  2352. drive-strength = <2>;
  2353. bias-pull-up;
  2354. };
  2355. wake {
  2356. pins = "gpio104";
  2357. function = "gpio";
  2358. drive-strength = <2>;
  2359. bias-pull-up;
  2360. };
  2361. };
  2362. };
  2363. remoteproc_mpss: remoteproc@4080000 {
  2364. compatible = "qcom,sm8150-mpss-pas";
  2365. reg = <0x0 0x04080000 0x0 0x4040>;
  2366. interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
  2367. <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  2368. <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
  2369. <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
  2370. <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
  2371. <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
  2372. interrupt-names = "wdog", "fatal", "ready", "handover",
  2373. "stop-ack", "shutdown-ack";
  2374. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2375. clock-names = "xo";
  2376. power-domains = <&rpmhpd 7>,
  2377. <&rpmhpd 0>;
  2378. power-domain-names = "cx", "mss";
  2379. memory-region = <&mpss_mem>;
  2380. qcom,qmp = <&aoss_qmp>;
  2381. qcom,smem-states = <&modem_smp2p_out 0>;
  2382. qcom,smem-state-names = "stop";
  2383. status = "disabled";
  2384. glink-edge {
  2385. interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
  2386. label = "modem";
  2387. qcom,remote-pid = <1>;
  2388. mboxes = <&apss_shared 12>;
  2389. };
  2390. };
  2391. stm@6002000 {
  2392. compatible = "arm,coresight-stm", "arm,primecell";
  2393. reg = <0 0x06002000 0 0x1000>,
  2394. <0 0x16280000 0 0x180000>;
  2395. reg-names = "stm-base", "stm-stimulus-base";
  2396. clocks = <&aoss_qmp>;
  2397. clock-names = "apb_pclk";
  2398. out-ports {
  2399. port {
  2400. stm_out: endpoint {
  2401. remote-endpoint = <&funnel0_in7>;
  2402. };
  2403. };
  2404. };
  2405. };
  2406. funnel@6041000 {
  2407. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2408. reg = <0 0x06041000 0 0x1000>;
  2409. clocks = <&aoss_qmp>;
  2410. clock-names = "apb_pclk";
  2411. out-ports {
  2412. port {
  2413. funnel0_out: endpoint {
  2414. remote-endpoint = <&merge_funnel_in0>;
  2415. };
  2416. };
  2417. };
  2418. in-ports {
  2419. #address-cells = <1>;
  2420. #size-cells = <0>;
  2421. port@7 {
  2422. reg = <7>;
  2423. funnel0_in7: endpoint {
  2424. remote-endpoint = <&stm_out>;
  2425. };
  2426. };
  2427. };
  2428. };
  2429. funnel@6042000 {
  2430. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2431. reg = <0 0x06042000 0 0x1000>;
  2432. clocks = <&aoss_qmp>;
  2433. clock-names = "apb_pclk";
  2434. out-ports {
  2435. port {
  2436. funnel1_out: endpoint {
  2437. remote-endpoint = <&merge_funnel_in1>;
  2438. };
  2439. };
  2440. };
  2441. in-ports {
  2442. #address-cells = <1>;
  2443. #size-cells = <0>;
  2444. port@4 {
  2445. reg = <4>;
  2446. funnel1_in4: endpoint {
  2447. remote-endpoint = <&swao_replicator_out>;
  2448. };
  2449. };
  2450. };
  2451. };
  2452. funnel@6043000 {
  2453. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2454. reg = <0 0x06043000 0 0x1000>;
  2455. clocks = <&aoss_qmp>;
  2456. clock-names = "apb_pclk";
  2457. out-ports {
  2458. port {
  2459. funnel2_out: endpoint {
  2460. remote-endpoint = <&merge_funnel_in2>;
  2461. };
  2462. };
  2463. };
  2464. in-ports {
  2465. #address-cells = <1>;
  2466. #size-cells = <0>;
  2467. port@2 {
  2468. reg = <2>;
  2469. funnel2_in2: endpoint {
  2470. remote-endpoint = <&apss_merge_funnel_out>;
  2471. };
  2472. };
  2473. };
  2474. };
  2475. funnel@6045000 {
  2476. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2477. reg = <0 0x06045000 0 0x1000>;
  2478. clocks = <&aoss_qmp>;
  2479. clock-names = "apb_pclk";
  2480. out-ports {
  2481. port {
  2482. merge_funnel_out: endpoint {
  2483. remote-endpoint = <&etf_in>;
  2484. };
  2485. };
  2486. };
  2487. in-ports {
  2488. #address-cells = <1>;
  2489. #size-cells = <0>;
  2490. port@0 {
  2491. reg = <0>;
  2492. merge_funnel_in0: endpoint {
  2493. remote-endpoint = <&funnel0_out>;
  2494. };
  2495. };
  2496. port@1 {
  2497. reg = <1>;
  2498. merge_funnel_in1: endpoint {
  2499. remote-endpoint = <&funnel1_out>;
  2500. };
  2501. };
  2502. port@2 {
  2503. reg = <2>;
  2504. merge_funnel_in2: endpoint {
  2505. remote-endpoint = <&funnel2_out>;
  2506. };
  2507. };
  2508. };
  2509. };
  2510. replicator@6046000 {
  2511. compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
  2512. reg = <0 0x06046000 0 0x1000>;
  2513. clocks = <&aoss_qmp>;
  2514. clock-names = "apb_pclk";
  2515. out-ports {
  2516. #address-cells = <1>;
  2517. #size-cells = <0>;
  2518. port@0 {
  2519. reg = <0>;
  2520. replicator_out0: endpoint {
  2521. remote-endpoint = <&etr_in>;
  2522. };
  2523. };
  2524. port@1 {
  2525. reg = <1>;
  2526. replicator_out1: endpoint {
  2527. remote-endpoint = <&replicator1_in>;
  2528. };
  2529. };
  2530. };
  2531. in-ports {
  2532. port {
  2533. replicator_in0: endpoint {
  2534. remote-endpoint = <&etf_out>;
  2535. };
  2536. };
  2537. };
  2538. };
  2539. etf@6047000 {
  2540. compatible = "arm,coresight-tmc", "arm,primecell";
  2541. reg = <0 0x06047000 0 0x1000>;
  2542. clocks = <&aoss_qmp>;
  2543. clock-names = "apb_pclk";
  2544. out-ports {
  2545. port {
  2546. etf_out: endpoint {
  2547. remote-endpoint = <&replicator_in0>;
  2548. };
  2549. };
  2550. };
  2551. in-ports {
  2552. port {
  2553. etf_in: endpoint {
  2554. remote-endpoint = <&merge_funnel_out>;
  2555. };
  2556. };
  2557. };
  2558. };
  2559. etr@6048000 {
  2560. compatible = "arm,coresight-tmc", "arm,primecell";
  2561. reg = <0 0x06048000 0 0x1000>;
  2562. iommus = <&apps_smmu 0x05e0 0x0>;
  2563. clocks = <&aoss_qmp>;
  2564. clock-names = "apb_pclk";
  2565. arm,scatter-gather;
  2566. in-ports {
  2567. port {
  2568. etr_in: endpoint {
  2569. remote-endpoint = <&replicator_out0>;
  2570. };
  2571. };
  2572. };
  2573. };
  2574. replicator@604a000 {
  2575. compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
  2576. reg = <0 0x0604a000 0 0x1000>;
  2577. clocks = <&aoss_qmp>;
  2578. clock-names = "apb_pclk";
  2579. out-ports {
  2580. #address-cells = <1>;
  2581. #size-cells = <0>;
  2582. port@1 {
  2583. reg = <1>;
  2584. replicator1_out: endpoint {
  2585. remote-endpoint = <&swao_funnel_in>;
  2586. };
  2587. };
  2588. };
  2589. in-ports {
  2590. #address-cells = <1>;
  2591. #size-cells = <0>;
  2592. port@1 {
  2593. reg = <1>;
  2594. replicator1_in: endpoint {
  2595. remote-endpoint = <&replicator_out1>;
  2596. };
  2597. };
  2598. };
  2599. };
  2600. funnel@6b08000 {
  2601. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2602. reg = <0 0x06b08000 0 0x1000>;
  2603. clocks = <&aoss_qmp>;
  2604. clock-names = "apb_pclk";
  2605. out-ports {
  2606. port {
  2607. swao_funnel_out: endpoint {
  2608. remote-endpoint = <&swao_etf_in>;
  2609. };
  2610. };
  2611. };
  2612. in-ports {
  2613. #address-cells = <1>;
  2614. #size-cells = <0>;
  2615. port@6 {
  2616. reg = <6>;
  2617. swao_funnel_in: endpoint {
  2618. remote-endpoint = <&replicator1_out>;
  2619. };
  2620. };
  2621. };
  2622. };
  2623. etf@6b09000 {
  2624. compatible = "arm,coresight-tmc", "arm,primecell";
  2625. reg = <0 0x06b09000 0 0x1000>;
  2626. clocks = <&aoss_qmp>;
  2627. clock-names = "apb_pclk";
  2628. out-ports {
  2629. port {
  2630. swao_etf_out: endpoint {
  2631. remote-endpoint = <&swao_replicator_in>;
  2632. };
  2633. };
  2634. };
  2635. in-ports {
  2636. port {
  2637. swao_etf_in: endpoint {
  2638. remote-endpoint = <&swao_funnel_out>;
  2639. };
  2640. };
  2641. };
  2642. };
  2643. replicator@6b0a000 {
  2644. compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
  2645. reg = <0 0x06b0a000 0 0x1000>;
  2646. clocks = <&aoss_qmp>;
  2647. clock-names = "apb_pclk";
  2648. qcom,replicator-loses-context;
  2649. out-ports {
  2650. port {
  2651. swao_replicator_out: endpoint {
  2652. remote-endpoint = <&funnel1_in4>;
  2653. };
  2654. };
  2655. };
  2656. in-ports {
  2657. port {
  2658. swao_replicator_in: endpoint {
  2659. remote-endpoint = <&swao_etf_out>;
  2660. };
  2661. };
  2662. };
  2663. };
  2664. etm@7040000 {
  2665. compatible = "arm,coresight-etm4x", "arm,primecell";
  2666. reg = <0 0x07040000 0 0x1000>;
  2667. cpu = <&CPU0>;
  2668. clocks = <&aoss_qmp>;
  2669. clock-names = "apb_pclk";
  2670. arm,coresight-loses-context-with-cpu;
  2671. qcom,skip-power-up;
  2672. out-ports {
  2673. port {
  2674. etm0_out: endpoint {
  2675. remote-endpoint = <&apss_funnel_in0>;
  2676. };
  2677. };
  2678. };
  2679. };
  2680. etm@7140000 {
  2681. compatible = "arm,coresight-etm4x", "arm,primecell";
  2682. reg = <0 0x07140000 0 0x1000>;
  2683. cpu = <&CPU1>;
  2684. clocks = <&aoss_qmp>;
  2685. clock-names = "apb_pclk";
  2686. arm,coresight-loses-context-with-cpu;
  2687. qcom,skip-power-up;
  2688. out-ports {
  2689. port {
  2690. etm1_out: endpoint {
  2691. remote-endpoint = <&apss_funnel_in1>;
  2692. };
  2693. };
  2694. };
  2695. };
  2696. etm@7240000 {
  2697. compatible = "arm,coresight-etm4x", "arm,primecell";
  2698. reg = <0 0x07240000 0 0x1000>;
  2699. cpu = <&CPU2>;
  2700. clocks = <&aoss_qmp>;
  2701. clock-names = "apb_pclk";
  2702. arm,coresight-loses-context-with-cpu;
  2703. qcom,skip-power-up;
  2704. out-ports {
  2705. port {
  2706. etm2_out: endpoint {
  2707. remote-endpoint = <&apss_funnel_in2>;
  2708. };
  2709. };
  2710. };
  2711. };
  2712. etm@7340000 {
  2713. compatible = "arm,coresight-etm4x", "arm,primecell";
  2714. reg = <0 0x07340000 0 0x1000>;
  2715. cpu = <&CPU3>;
  2716. clocks = <&aoss_qmp>;
  2717. clock-names = "apb_pclk";
  2718. arm,coresight-loses-context-with-cpu;
  2719. qcom,skip-power-up;
  2720. out-ports {
  2721. port {
  2722. etm3_out: endpoint {
  2723. remote-endpoint = <&apss_funnel_in3>;
  2724. };
  2725. };
  2726. };
  2727. };
  2728. etm@7440000 {
  2729. compatible = "arm,coresight-etm4x", "arm,primecell";
  2730. reg = <0 0x07440000 0 0x1000>;
  2731. cpu = <&CPU4>;
  2732. clocks = <&aoss_qmp>;
  2733. clock-names = "apb_pclk";
  2734. arm,coresight-loses-context-with-cpu;
  2735. qcom,skip-power-up;
  2736. out-ports {
  2737. port {
  2738. etm4_out: endpoint {
  2739. remote-endpoint = <&apss_funnel_in4>;
  2740. };
  2741. };
  2742. };
  2743. };
  2744. etm@7540000 {
  2745. compatible = "arm,coresight-etm4x", "arm,primecell";
  2746. reg = <0 0x07540000 0 0x1000>;
  2747. cpu = <&CPU5>;
  2748. clocks = <&aoss_qmp>;
  2749. clock-names = "apb_pclk";
  2750. arm,coresight-loses-context-with-cpu;
  2751. qcom,skip-power-up;
  2752. out-ports {
  2753. port {
  2754. etm5_out: endpoint {
  2755. remote-endpoint = <&apss_funnel_in5>;
  2756. };
  2757. };
  2758. };
  2759. };
  2760. etm@7640000 {
  2761. compatible = "arm,coresight-etm4x", "arm,primecell";
  2762. reg = <0 0x07640000 0 0x1000>;
  2763. cpu = <&CPU6>;
  2764. clocks = <&aoss_qmp>;
  2765. clock-names = "apb_pclk";
  2766. arm,coresight-loses-context-with-cpu;
  2767. qcom,skip-power-up;
  2768. out-ports {
  2769. port {
  2770. etm6_out: endpoint {
  2771. remote-endpoint = <&apss_funnel_in6>;
  2772. };
  2773. };
  2774. };
  2775. };
  2776. etm@7740000 {
  2777. compatible = "arm,coresight-etm4x", "arm,primecell";
  2778. reg = <0 0x07740000 0 0x1000>;
  2779. cpu = <&CPU7>;
  2780. clocks = <&aoss_qmp>;
  2781. clock-names = "apb_pclk";
  2782. arm,coresight-loses-context-with-cpu;
  2783. qcom,skip-power-up;
  2784. out-ports {
  2785. port {
  2786. etm7_out: endpoint {
  2787. remote-endpoint = <&apss_funnel_in7>;
  2788. };
  2789. };
  2790. };
  2791. };
  2792. funnel@7800000 { /* APSS Funnel */
  2793. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2794. reg = <0 0x07800000 0 0x1000>;
  2795. clocks = <&aoss_qmp>;
  2796. clock-names = "apb_pclk";
  2797. out-ports {
  2798. port {
  2799. apss_funnel_out: endpoint {
  2800. remote-endpoint = <&apss_merge_funnel_in>;
  2801. };
  2802. };
  2803. };
  2804. in-ports {
  2805. #address-cells = <1>;
  2806. #size-cells = <0>;
  2807. port@0 {
  2808. reg = <0>;
  2809. apss_funnel_in0: endpoint {
  2810. remote-endpoint = <&etm0_out>;
  2811. };
  2812. };
  2813. port@1 {
  2814. reg = <1>;
  2815. apss_funnel_in1: endpoint {
  2816. remote-endpoint = <&etm1_out>;
  2817. };
  2818. };
  2819. port@2 {
  2820. reg = <2>;
  2821. apss_funnel_in2: endpoint {
  2822. remote-endpoint = <&etm2_out>;
  2823. };
  2824. };
  2825. port@3 {
  2826. reg = <3>;
  2827. apss_funnel_in3: endpoint {
  2828. remote-endpoint = <&etm3_out>;
  2829. };
  2830. };
  2831. port@4 {
  2832. reg = <4>;
  2833. apss_funnel_in4: endpoint {
  2834. remote-endpoint = <&etm4_out>;
  2835. };
  2836. };
  2837. port@5 {
  2838. reg = <5>;
  2839. apss_funnel_in5: endpoint {
  2840. remote-endpoint = <&etm5_out>;
  2841. };
  2842. };
  2843. port@6 {
  2844. reg = <6>;
  2845. apss_funnel_in6: endpoint {
  2846. remote-endpoint = <&etm6_out>;
  2847. };
  2848. };
  2849. port@7 {
  2850. reg = <7>;
  2851. apss_funnel_in7: endpoint {
  2852. remote-endpoint = <&etm7_out>;
  2853. };
  2854. };
  2855. };
  2856. };
  2857. funnel@7810000 {
  2858. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2859. reg = <0 0x07810000 0 0x1000>;
  2860. clocks = <&aoss_qmp>;
  2861. clock-names = "apb_pclk";
  2862. out-ports {
  2863. port {
  2864. apss_merge_funnel_out: endpoint {
  2865. remote-endpoint = <&funnel2_in2>;
  2866. };
  2867. };
  2868. };
  2869. in-ports {
  2870. port {
  2871. apss_merge_funnel_in: endpoint {
  2872. remote-endpoint = <&apss_funnel_out>;
  2873. };
  2874. };
  2875. };
  2876. };
  2877. remoteproc_cdsp: remoteproc@8300000 {
  2878. compatible = "qcom,sm8150-cdsp-pas";
  2879. reg = <0x0 0x08300000 0x0 0x4040>;
  2880. interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
  2881. <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  2882. <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
  2883. <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
  2884. <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
  2885. interrupt-names = "wdog", "fatal", "ready",
  2886. "handover", "stop-ack";
  2887. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2888. clock-names = "xo";
  2889. power-domains = <&rpmhpd 7>;
  2890. memory-region = <&cdsp_mem>;
  2891. qcom,qmp = <&aoss_qmp>;
  2892. qcom,smem-states = <&cdsp_smp2p_out 0>;
  2893. qcom,smem-state-names = "stop";
  2894. status = "disabled";
  2895. glink-edge {
  2896. interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
  2897. label = "cdsp";
  2898. qcom,remote-pid = <5>;
  2899. mboxes = <&apss_shared 4>;
  2900. fastrpc {
  2901. compatible = "qcom,fastrpc";
  2902. qcom,glink-channels = "fastrpcglink-apps-dsp";
  2903. label = "cdsp";
  2904. qcom,non-secure-domain;
  2905. #address-cells = <1>;
  2906. #size-cells = <0>;
  2907. compute-cb@1 {
  2908. compatible = "qcom,fastrpc-compute-cb";
  2909. reg = <1>;
  2910. iommus = <&apps_smmu 0x1001 0x0460>;
  2911. };
  2912. compute-cb@2 {
  2913. compatible = "qcom,fastrpc-compute-cb";
  2914. reg = <2>;
  2915. iommus = <&apps_smmu 0x1002 0x0460>;
  2916. };
  2917. compute-cb@3 {
  2918. compatible = "qcom,fastrpc-compute-cb";
  2919. reg = <3>;
  2920. iommus = <&apps_smmu 0x1003 0x0460>;
  2921. };
  2922. compute-cb@4 {
  2923. compatible = "qcom,fastrpc-compute-cb";
  2924. reg = <4>;
  2925. iommus = <&apps_smmu 0x1004 0x0460>;
  2926. };
  2927. compute-cb@5 {
  2928. compatible = "qcom,fastrpc-compute-cb";
  2929. reg = <5>;
  2930. iommus = <&apps_smmu 0x1005 0x0460>;
  2931. };
  2932. compute-cb@6 {
  2933. compatible = "qcom,fastrpc-compute-cb";
  2934. reg = <6>;
  2935. iommus = <&apps_smmu 0x1006 0x0460>;
  2936. };
  2937. compute-cb@7 {
  2938. compatible = "qcom,fastrpc-compute-cb";
  2939. reg = <7>;
  2940. iommus = <&apps_smmu 0x1007 0x0460>;
  2941. };
  2942. compute-cb@8 {
  2943. compatible = "qcom,fastrpc-compute-cb";
  2944. reg = <8>;
  2945. iommus = <&apps_smmu 0x1008 0x0460>;
  2946. };
  2947. /* note: secure cb9 in downstream */
  2948. };
  2949. };
  2950. };
  2951. usb_1_hsphy: phy@88e2000 {
  2952. compatible = "qcom,sm8150-usb-hs-phy",
  2953. "qcom,usb-snps-hs-7nm-phy";
  2954. reg = <0 0x088e2000 0 0x400>;
  2955. status = "disabled";
  2956. #phy-cells = <0>;
  2957. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2958. clock-names = "ref";
  2959. resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
  2960. };
  2961. usb_2_hsphy: phy@88e3000 {
  2962. compatible = "qcom,sm8150-usb-hs-phy",
  2963. "qcom,usb-snps-hs-7nm-phy";
  2964. reg = <0 0x088e3000 0 0x400>;
  2965. status = "disabled";
  2966. #phy-cells = <0>;
  2967. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2968. clock-names = "ref";
  2969. resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
  2970. };
  2971. usb_1_qmpphy: phy@88e9000 {
  2972. compatible = "qcom,sm8150-qmp-usb3-phy";
  2973. reg = <0 0x088e9000 0 0x18c>,
  2974. <0 0x088e8000 0 0x10>;
  2975. status = "disabled";
  2976. #address-cells = <2>;
  2977. #size-cells = <2>;
  2978. ranges;
  2979. clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
  2980. <&rpmhcc RPMH_CXO_CLK>,
  2981. <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
  2982. <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
  2983. clock-names = "aux", "ref_clk_src", "ref", "com_aux";
  2984. resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
  2985. <&gcc GCC_USB3_PHY_PRIM_BCR>;
  2986. reset-names = "phy", "common";
  2987. usb_1_ssphy: phy@88e9200 {
  2988. reg = <0 0x088e9200 0 0x200>,
  2989. <0 0x088e9400 0 0x200>,
  2990. <0 0x088e9c00 0 0x218>,
  2991. <0 0x088e9600 0 0x200>,
  2992. <0 0x088e9800 0 0x200>,
  2993. <0 0x088e9a00 0 0x100>;
  2994. #clock-cells = <0>;
  2995. #phy-cells = <0>;
  2996. clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
  2997. clock-names = "pipe0";
  2998. clock-output-names = "usb3_phy_pipe_clk_src";
  2999. };
  3000. };
  3001. usb_2_qmpphy: phy@88eb000 {
  3002. compatible = "qcom,sm8150-qmp-usb3-uni-phy";
  3003. reg = <0 0x088eb000 0 0x200>;
  3004. status = "disabled";
  3005. #address-cells = <2>;
  3006. #size-cells = <2>;
  3007. ranges;
  3008. clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
  3009. <&rpmhcc RPMH_CXO_CLK>,
  3010. <&gcc GCC_USB3_SEC_CLKREF_CLK>,
  3011. <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
  3012. clock-names = "aux", "ref_clk_src", "ref", "com_aux";
  3013. resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
  3014. <&gcc GCC_USB3_PHY_SEC_BCR>;
  3015. reset-names = "phy", "common";
  3016. usb_2_ssphy: phy@88eb200 {
  3017. reg = <0 0x088eb200 0 0x200>,
  3018. <0 0x088eb400 0 0x200>,
  3019. <0 0x088eb800 0 0x800>,
  3020. <0 0x088eb600 0 0x200>;
  3021. #clock-cells = <0>;
  3022. #phy-cells = <0>;
  3023. clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
  3024. clock-names = "pipe0";
  3025. clock-output-names = "usb3_uni_phy_pipe_clk_src";
  3026. };
  3027. };
  3028. sdhc_2: mmc@8804000 {
  3029. compatible = "qcom,sm8150-sdhci", "qcom,sdhci-msm-v5";
  3030. reg = <0 0x08804000 0 0x1000>;
  3031. interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
  3032. <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
  3033. interrupt-names = "hc_irq", "pwr_irq";
  3034. clocks = <&gcc GCC_SDCC2_AHB_CLK>,
  3035. <&gcc GCC_SDCC2_APPS_CLK>,
  3036. <&rpmhcc RPMH_CXO_CLK>;
  3037. clock-names = "iface", "core", "xo";
  3038. iommus = <&apps_smmu 0x6a0 0x0>;
  3039. qcom,dll-config = <0x0007642c>;
  3040. qcom,ddr-config = <0x80040868>;
  3041. power-domains = <&rpmhpd 0>;
  3042. operating-points-v2 = <&sdhc2_opp_table>;
  3043. status = "disabled";
  3044. sdhc2_opp_table: opp-table {
  3045. compatible = "operating-points-v2";
  3046. opp-19200000 {
  3047. opp-hz = /bits/ 64 <19200000>;
  3048. required-opps = <&rpmhpd_opp_min_svs>;
  3049. };
  3050. opp-50000000 {
  3051. opp-hz = /bits/ 64 <50000000>;
  3052. required-opps = <&rpmhpd_opp_low_svs>;
  3053. };
  3054. opp-100000000 {
  3055. opp-hz = /bits/ 64 <100000000>;
  3056. required-opps = <&rpmhpd_opp_svs>;
  3057. };
  3058. opp-202000000 {
  3059. opp-hz = /bits/ 64 <202000000>;
  3060. required-opps = <&rpmhpd_opp_svs_l1>;
  3061. };
  3062. };
  3063. };
  3064. dc_noc: interconnect@9160000 {
  3065. compatible = "qcom,sm8150-dc-noc";
  3066. reg = <0 0x09160000 0 0x3200>;
  3067. #interconnect-cells = <1>;
  3068. qcom,bcm-voters = <&apps_bcm_voter>;
  3069. };
  3070. gem_noc: interconnect@9680000 {
  3071. compatible = "qcom,sm8150-gem-noc";
  3072. reg = <0 0x09680000 0 0x3e200>;
  3073. #interconnect-cells = <1>;
  3074. qcom,bcm-voters = <&apps_bcm_voter>;
  3075. };
  3076. usb_1: usb@a6f8800 {
  3077. compatible = "qcom,sm8150-dwc3", "qcom,dwc3";
  3078. reg = <0 0x0a6f8800 0 0x400>;
  3079. status = "disabled";
  3080. #address-cells = <2>;
  3081. #size-cells = <2>;
  3082. ranges;
  3083. dma-ranges;
  3084. clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
  3085. <&gcc GCC_USB30_PRIM_MASTER_CLK>,
  3086. <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
  3087. <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
  3088. <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  3089. <&gcc GCC_USB3_SEC_CLKREF_CLK>;
  3090. clock-names = "cfg_noc",
  3091. "core",
  3092. "iface",
  3093. "sleep",
  3094. "mock_utmi",
  3095. "xo";
  3096. assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  3097. <&gcc GCC_USB30_PRIM_MASTER_CLK>;
  3098. assigned-clock-rates = <19200000>, <200000000>;
  3099. interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
  3100. <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
  3101. <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
  3102. <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
  3103. interrupt-names = "hs_phy_irq", "ss_phy_irq",
  3104. "dm_hs_phy_irq", "dp_hs_phy_irq";
  3105. power-domains = <&gcc USB30_PRIM_GDSC>;
  3106. resets = <&gcc GCC_USB30_PRIM_BCR>;
  3107. usb_1_dwc3: usb@a600000 {
  3108. compatible = "snps,dwc3";
  3109. reg = <0 0x0a600000 0 0xcd00>;
  3110. interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  3111. iommus = <&apps_smmu 0x140 0>;
  3112. snps,dis_u2_susphy_quirk;
  3113. snps,dis_enblslpm_quirk;
  3114. phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
  3115. phy-names = "usb2-phy", "usb3-phy";
  3116. };
  3117. };
  3118. usb_2: usb@a8f8800 {
  3119. compatible = "qcom,sm8150-dwc3", "qcom,dwc3";
  3120. reg = <0 0x0a8f8800 0 0x400>;
  3121. status = "disabled";
  3122. #address-cells = <2>;
  3123. #size-cells = <2>;
  3124. ranges;
  3125. dma-ranges;
  3126. clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
  3127. <&gcc GCC_USB30_SEC_MASTER_CLK>,
  3128. <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
  3129. <&gcc GCC_USB30_SEC_SLEEP_CLK>,
  3130. <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
  3131. <&gcc GCC_USB3_SEC_CLKREF_CLK>;
  3132. clock-names = "cfg_noc",
  3133. "core",
  3134. "iface",
  3135. "sleep",
  3136. "mock_utmi",
  3137. "xo";
  3138. assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
  3139. <&gcc GCC_USB30_SEC_MASTER_CLK>;
  3140. assigned-clock-rates = <19200000>, <200000000>;
  3141. interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
  3142. <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
  3143. <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
  3144. <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
  3145. interrupt-names = "hs_phy_irq", "ss_phy_irq",
  3146. "dm_hs_phy_irq", "dp_hs_phy_irq";
  3147. power-domains = <&gcc USB30_SEC_GDSC>;
  3148. resets = <&gcc GCC_USB30_SEC_BCR>;
  3149. usb_2_dwc3: usb@a800000 {
  3150. compatible = "snps,dwc3";
  3151. reg = <0 0x0a800000 0 0xcd00>;
  3152. interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
  3153. iommus = <&apps_smmu 0x160 0>;
  3154. snps,dis_u2_susphy_quirk;
  3155. snps,dis_enblslpm_quirk;
  3156. phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
  3157. phy-names = "usb2-phy", "usb3-phy";
  3158. };
  3159. };
  3160. camnoc_virt: interconnect@ac00000 {
  3161. compatible = "qcom,sm8150-camnoc-virt";
  3162. reg = <0 0x0ac00000 0 0x1000>;
  3163. #interconnect-cells = <1>;
  3164. qcom,bcm-voters = <&apps_bcm_voter>;
  3165. };
  3166. pdc: interrupt-controller@b220000 {
  3167. compatible = "qcom,sm8150-pdc", "qcom,pdc";
  3168. reg = <0 0x0b220000 0 0x30000>;
  3169. qcom,pdc-ranges = <0 480 94>, <94 609 31>,
  3170. <125 63 1>;
  3171. #interrupt-cells = <2>;
  3172. interrupt-parent = <&intc>;
  3173. interrupt-controller;
  3174. };
  3175. aoss_qmp: power-controller@c300000 {
  3176. compatible = "qcom,sm8150-aoss-qmp", "qcom,aoss-qmp";
  3177. reg = <0x0 0x0c300000 0x0 0x400>;
  3178. interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
  3179. mboxes = <&apss_shared 0>;
  3180. #clock-cells = <0>;
  3181. };
  3182. sram@c3f0000 {
  3183. compatible = "qcom,rpmh-stats";
  3184. reg = <0 0x0c3f0000 0 0x400>;
  3185. };
  3186. tsens0: thermal-sensor@c263000 {
  3187. compatible = "qcom,sm8150-tsens", "qcom,tsens-v2";
  3188. reg = <0 0x0c263000 0 0x1ff>, /* TM */
  3189. <0 0x0c222000 0 0x1ff>; /* SROT */
  3190. #qcom,sensors = <16>;
  3191. interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
  3192. <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
  3193. interrupt-names = "uplow", "critical";
  3194. #thermal-sensor-cells = <1>;
  3195. };
  3196. tsens1: thermal-sensor@c265000 {
  3197. compatible = "qcom,sm8150-tsens", "qcom,tsens-v2";
  3198. reg = <0 0x0c265000 0 0x1ff>, /* TM */
  3199. <0 0x0c223000 0 0x1ff>; /* SROT */
  3200. #qcom,sensors = <8>;
  3201. interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
  3202. <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
  3203. interrupt-names = "uplow", "critical";
  3204. #thermal-sensor-cells = <1>;
  3205. };
  3206. spmi_bus: spmi@c440000 {
  3207. compatible = "qcom,spmi-pmic-arb";
  3208. reg = <0x0 0x0c440000 0x0 0x0001100>,
  3209. <0x0 0x0c600000 0x0 0x2000000>,
  3210. <0x0 0x0e600000 0x0 0x0100000>,
  3211. <0x0 0x0e700000 0x0 0x00a0000>,
  3212. <0x0 0x0c40a000 0x0 0x0026000>;
  3213. reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
  3214. interrupt-names = "periph_irq";
  3215. interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
  3216. qcom,ee = <0>;
  3217. qcom,channel = <0>;
  3218. #address-cells = <2>;
  3219. #size-cells = <0>;
  3220. interrupt-controller;
  3221. #interrupt-cells = <4>;
  3222. cell-index = <0>;
  3223. };
  3224. apps_smmu: iommu@15000000 {
  3225. compatible = "qcom,sm8150-smmu-500", "arm,mmu-500";
  3226. reg = <0 0x15000000 0 0x100000>;
  3227. #iommu-cells = <2>;
  3228. #global-interrupts = <1>;
  3229. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
  3230. <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
  3231. <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
  3232. <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
  3233. <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
  3234. <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
  3235. <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
  3236. <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
  3237. <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
  3238. <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
  3239. <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
  3240. <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
  3241. <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
  3242. <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
  3243. <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  3244. <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
  3245. <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
  3246. <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
  3247. <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
  3248. <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
  3249. <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  3250. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
  3251. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
  3252. <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
  3253. <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
  3254. <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
  3255. <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
  3256. <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
  3257. <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
  3258. <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
  3259. <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
  3260. <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
  3261. <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
  3262. <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
  3263. <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
  3264. <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
  3265. <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
  3266. <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
  3267. <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
  3268. <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
  3269. <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
  3270. <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
  3271. <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
  3272. <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
  3273. <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
  3274. <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
  3275. <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
  3276. <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
  3277. <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
  3278. <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
  3279. <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
  3280. <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
  3281. <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
  3282. <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
  3283. <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
  3284. <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
  3285. <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
  3286. <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
  3287. <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
  3288. <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
  3289. <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
  3290. <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
  3291. <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
  3292. <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
  3293. <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
  3294. <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
  3295. <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
  3296. <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
  3297. <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
  3298. <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
  3299. <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
  3300. <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
  3301. <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
  3302. <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
  3303. <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
  3304. <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
  3305. <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
  3306. <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
  3307. <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
  3308. <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
  3309. <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>;
  3310. };
  3311. remoteproc_adsp: remoteproc@17300000 {
  3312. compatible = "qcom,sm8150-adsp-pas";
  3313. reg = <0x0 0x17300000 0x0 0x4040>;
  3314. interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
  3315. <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  3316. <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
  3317. <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
  3318. <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
  3319. interrupt-names = "wdog", "fatal", "ready",
  3320. "handover", "stop-ack";
  3321. clocks = <&rpmhcc RPMH_CXO_CLK>;
  3322. clock-names = "xo";
  3323. power-domains = <&rpmhpd 7>;
  3324. memory-region = <&adsp_mem>;
  3325. qcom,qmp = <&aoss_qmp>;
  3326. qcom,smem-states = <&adsp_smp2p_out 0>;
  3327. qcom,smem-state-names = "stop";
  3328. status = "disabled";
  3329. glink-edge {
  3330. interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
  3331. label = "lpass";
  3332. qcom,remote-pid = <2>;
  3333. mboxes = <&apss_shared 8>;
  3334. fastrpc {
  3335. compatible = "qcom,fastrpc";
  3336. qcom,glink-channels = "fastrpcglink-apps-dsp";
  3337. label = "adsp";
  3338. qcom,non-secure-domain;
  3339. #address-cells = <1>;
  3340. #size-cells = <0>;
  3341. compute-cb@3 {
  3342. compatible = "qcom,fastrpc-compute-cb";
  3343. reg = <3>;
  3344. iommus = <&apps_smmu 0x1b23 0x0>;
  3345. };
  3346. compute-cb@4 {
  3347. compatible = "qcom,fastrpc-compute-cb";
  3348. reg = <4>;
  3349. iommus = <&apps_smmu 0x1b24 0x0>;
  3350. };
  3351. compute-cb@5 {
  3352. compatible = "qcom,fastrpc-compute-cb";
  3353. reg = <5>;
  3354. iommus = <&apps_smmu 0x1b25 0x0>;
  3355. };
  3356. };
  3357. };
  3358. };
  3359. intc: interrupt-controller@17a00000 {
  3360. compatible = "arm,gic-v3";
  3361. interrupt-controller;
  3362. #interrupt-cells = <3>;
  3363. reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */
  3364. <0x0 0x17a60000 0x0 0x100000>; /* GICR * 8 */
  3365. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  3366. };
  3367. apss_shared: mailbox@17c00000 {
  3368. compatible = "qcom,sm8150-apss-shared";
  3369. reg = <0x0 0x17c00000 0x0 0x1000>;
  3370. #mbox-cells = <1>;
  3371. };
  3372. watchdog@17c10000 {
  3373. compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt";
  3374. reg = <0 0x17c10000 0 0x1000>;
  3375. clocks = <&sleep_clk>;
  3376. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
  3377. };
  3378. timer@17c20000 {
  3379. #address-cells = <1>;
  3380. #size-cells = <1>;
  3381. ranges = <0 0 0 0x20000000>;
  3382. compatible = "arm,armv7-timer-mem";
  3383. reg = <0x0 0x17c20000 0x0 0x1000>;
  3384. clock-frequency = <19200000>;
  3385. frame@17c21000{
  3386. frame-number = <0>;
  3387. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
  3388. <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  3389. reg = <0x17c21000 0x1000>,
  3390. <0x17c22000 0x1000>;
  3391. };
  3392. frame@17c23000 {
  3393. frame-number = <1>;
  3394. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  3395. reg = <0x17c23000 0x1000>;
  3396. status = "disabled";
  3397. };
  3398. frame@17c25000 {
  3399. frame-number = <2>;
  3400. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  3401. reg = <0x17c25000 0x1000>;
  3402. status = "disabled";
  3403. };
  3404. frame@17c27000 {
  3405. frame-number = <3>;
  3406. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  3407. reg = <0x17c26000 0x1000>;
  3408. status = "disabled";
  3409. };
  3410. frame@17c29000 {
  3411. frame-number = <4>;
  3412. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  3413. reg = <0x17c29000 0x1000>;
  3414. status = "disabled";
  3415. };
  3416. frame@17c2b000 {
  3417. frame-number = <5>;
  3418. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  3419. reg = <0x17c2b000 0x1000>;
  3420. status = "disabled";
  3421. };
  3422. frame@17c2d000 {
  3423. frame-number = <6>;
  3424. interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  3425. reg = <0x17c2d000 0x1000>;
  3426. status = "disabled";
  3427. };
  3428. };
  3429. apps_rsc: rsc@18200000 {
  3430. label = "apps_rsc";
  3431. compatible = "qcom,rpmh-rsc";
  3432. reg = <0x0 0x18200000 0x0 0x10000>,
  3433. <0x0 0x18210000 0x0 0x10000>,
  3434. <0x0 0x18220000 0x0 0x10000>;
  3435. reg-names = "drv-0", "drv-1", "drv-2";
  3436. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  3437. <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
  3438. <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  3439. qcom,tcs-offset = <0xd00>;
  3440. qcom,drv-id = <2>;
  3441. qcom,tcs-config = <ACTIVE_TCS 2>,
  3442. <SLEEP_TCS 3>,
  3443. <WAKE_TCS 3>,
  3444. <CONTROL_TCS 1>;
  3445. rpmhcc: clock-controller {
  3446. compatible = "qcom,sm8150-rpmh-clk";
  3447. #clock-cells = <1>;
  3448. clock-names = "xo";
  3449. clocks = <&xo_board>;
  3450. };
  3451. rpmhpd: power-controller {
  3452. compatible = "qcom,sm8150-rpmhpd";
  3453. #power-domain-cells = <1>;
  3454. operating-points-v2 = <&rpmhpd_opp_table>;
  3455. rpmhpd_opp_table: opp-table {
  3456. compatible = "operating-points-v2";
  3457. rpmhpd_opp_ret: opp1 {
  3458. opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
  3459. };
  3460. rpmhpd_opp_min_svs: opp2 {
  3461. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  3462. };
  3463. rpmhpd_opp_low_svs: opp3 {
  3464. opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
  3465. };
  3466. rpmhpd_opp_svs: opp4 {
  3467. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  3468. };
  3469. rpmhpd_opp_svs_l1: opp5 {
  3470. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
  3471. };
  3472. rpmhpd_opp_svs_l2: opp6 {
  3473. opp-level = <224>;
  3474. };
  3475. rpmhpd_opp_nom: opp7 {
  3476. opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
  3477. };
  3478. rpmhpd_opp_nom_l1: opp8 {
  3479. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
  3480. };
  3481. rpmhpd_opp_nom_l2: opp9 {
  3482. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
  3483. };
  3484. rpmhpd_opp_turbo: opp10 {
  3485. opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
  3486. };
  3487. rpmhpd_opp_turbo_l1: opp11 {
  3488. opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
  3489. };
  3490. };
  3491. };
  3492. apps_bcm_voter: bcm-voter {
  3493. compatible = "qcom,bcm-voter";
  3494. };
  3495. };
  3496. osm_l3: interconnect@18321000 {
  3497. compatible = "qcom,sm8150-osm-l3";
  3498. reg = <0 0x18321000 0 0x1400>;
  3499. clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
  3500. clock-names = "xo", "alternate";
  3501. #interconnect-cells = <1>;
  3502. };
  3503. cpufreq_hw: cpufreq@18323000 {
  3504. compatible = "qcom,cpufreq-hw";
  3505. reg = <0 0x18323000 0 0x1400>, <0 0x18325800 0 0x1400>,
  3506. <0 0x18327800 0 0x1400>;
  3507. reg-names = "freq-domain0", "freq-domain1",
  3508. "freq-domain2";
  3509. clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
  3510. clock-names = "xo", "alternate";
  3511. #freq-domain-cells = <1>;
  3512. };
  3513. lmh_cluster1: lmh@18350800 {
  3514. compatible = "qcom,sm8150-lmh";
  3515. reg = <0 0x18350800 0 0x400>;
  3516. interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  3517. cpus = <&CPU4>;
  3518. qcom,lmh-temp-arm-millicelsius = <60000>;
  3519. qcom,lmh-temp-low-millicelsius = <84500>;
  3520. qcom,lmh-temp-high-millicelsius = <85000>;
  3521. interrupt-controller;
  3522. #interrupt-cells = <1>;
  3523. };
  3524. lmh_cluster0: lmh@18358800 {
  3525. compatible = "qcom,sm8150-lmh";
  3526. reg = <0 0x18358800 0 0x400>;
  3527. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  3528. cpus = <&CPU0>;
  3529. qcom,lmh-temp-arm-millicelsius = <60000>;
  3530. qcom,lmh-temp-low-millicelsius = <84500>;
  3531. qcom,lmh-temp-high-millicelsius = <85000>;
  3532. interrupt-controller;
  3533. #interrupt-cells = <1>;
  3534. };
  3535. wifi: wifi@18800000 {
  3536. compatible = "qcom,wcn3990-wifi";
  3537. reg = <0 0x18800000 0 0x800000>;
  3538. reg-names = "membase";
  3539. memory-region = <&wlan_mem>;
  3540. clock-names = "cxo_ref_clk_pin", "qdss";
  3541. clocks = <&rpmhcc RPMH_RF_CLK2>, <&aoss_qmp>;
  3542. interrupts = <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
  3543. <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
  3544. <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
  3545. <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
  3546. <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
  3547. <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
  3548. <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
  3549. <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
  3550. <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
  3551. <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
  3552. <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
  3553. <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
  3554. iommus = <&apps_smmu 0x0640 0x1>;
  3555. status = "disabled";
  3556. };
  3557. };
  3558. timer {
  3559. compatible = "arm,armv8-timer";
  3560. interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
  3561. <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
  3562. <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
  3563. <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
  3564. };
  3565. thermal-zones {
  3566. cpu0-thermal {
  3567. polling-delay-passive = <250>;
  3568. polling-delay = <1000>;
  3569. thermal-sensors = <&tsens0 1>;
  3570. trips {
  3571. cpu0_alert0: trip-point0 {
  3572. temperature = <90000>;
  3573. hysteresis = <2000>;
  3574. type = "passive";
  3575. };
  3576. cpu0_alert1: trip-point1 {
  3577. temperature = <95000>;
  3578. hysteresis = <2000>;
  3579. type = "passive";
  3580. };
  3581. cpu0_crit: cpu_crit {
  3582. temperature = <110000>;
  3583. hysteresis = <1000>;
  3584. type = "critical";
  3585. };
  3586. };
  3587. cooling-maps {
  3588. map0 {
  3589. trip = <&cpu0_alert0>;
  3590. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3591. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3592. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3593. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3594. };
  3595. map1 {
  3596. trip = <&cpu0_alert1>;
  3597. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3598. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3599. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3600. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3601. };
  3602. };
  3603. };
  3604. cpu1-thermal {
  3605. polling-delay-passive = <250>;
  3606. polling-delay = <1000>;
  3607. thermal-sensors = <&tsens0 2>;
  3608. trips {
  3609. cpu1_alert0: trip-point0 {
  3610. temperature = <90000>;
  3611. hysteresis = <2000>;
  3612. type = "passive";
  3613. };
  3614. cpu1_alert1: trip-point1 {
  3615. temperature = <95000>;
  3616. hysteresis = <2000>;
  3617. type = "passive";
  3618. };
  3619. cpu1_crit: cpu_crit {
  3620. temperature = <110000>;
  3621. hysteresis = <1000>;
  3622. type = "critical";
  3623. };
  3624. };
  3625. cooling-maps {
  3626. map0 {
  3627. trip = <&cpu1_alert0>;
  3628. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3629. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3630. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3631. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3632. };
  3633. map1 {
  3634. trip = <&cpu1_alert1>;
  3635. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3636. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3637. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3638. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3639. };
  3640. };
  3641. };
  3642. cpu2-thermal {
  3643. polling-delay-passive = <250>;
  3644. polling-delay = <1000>;
  3645. thermal-sensors = <&tsens0 3>;
  3646. trips {
  3647. cpu2_alert0: trip-point0 {
  3648. temperature = <90000>;
  3649. hysteresis = <2000>;
  3650. type = "passive";
  3651. };
  3652. cpu2_alert1: trip-point1 {
  3653. temperature = <95000>;
  3654. hysteresis = <2000>;
  3655. type = "passive";
  3656. };
  3657. cpu2_crit: cpu_crit {
  3658. temperature = <110000>;
  3659. hysteresis = <1000>;
  3660. type = "critical";
  3661. };
  3662. };
  3663. cooling-maps {
  3664. map0 {
  3665. trip = <&cpu2_alert0>;
  3666. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3667. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3668. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3669. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3670. };
  3671. map1 {
  3672. trip = <&cpu2_alert1>;
  3673. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3674. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3675. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3676. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3677. };
  3678. };
  3679. };
  3680. cpu3-thermal {
  3681. polling-delay-passive = <250>;
  3682. polling-delay = <1000>;
  3683. thermal-sensors = <&tsens0 4>;
  3684. trips {
  3685. cpu3_alert0: trip-point0 {
  3686. temperature = <90000>;
  3687. hysteresis = <2000>;
  3688. type = "passive";
  3689. };
  3690. cpu3_alert1: trip-point1 {
  3691. temperature = <95000>;
  3692. hysteresis = <2000>;
  3693. type = "passive";
  3694. };
  3695. cpu3_crit: cpu_crit {
  3696. temperature = <110000>;
  3697. hysteresis = <1000>;
  3698. type = "critical";
  3699. };
  3700. };
  3701. cooling-maps {
  3702. map0 {
  3703. trip = <&cpu3_alert0>;
  3704. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3705. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3706. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3707. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3708. };
  3709. map1 {
  3710. trip = <&cpu3_alert1>;
  3711. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3712. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3713. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3714. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3715. };
  3716. };
  3717. };
  3718. cpu4-top-thermal {
  3719. polling-delay-passive = <250>;
  3720. polling-delay = <1000>;
  3721. thermal-sensors = <&tsens0 7>;
  3722. trips {
  3723. cpu4_top_alert0: trip-point0 {
  3724. temperature = <90000>;
  3725. hysteresis = <2000>;
  3726. type = "passive";
  3727. };
  3728. cpu4_top_alert1: trip-point1 {
  3729. temperature = <95000>;
  3730. hysteresis = <2000>;
  3731. type = "passive";
  3732. };
  3733. cpu4_top_crit: cpu_crit {
  3734. temperature = <110000>;
  3735. hysteresis = <1000>;
  3736. type = "critical";
  3737. };
  3738. };
  3739. cooling-maps {
  3740. map0 {
  3741. trip = <&cpu4_top_alert0>;
  3742. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3743. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3744. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3745. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3746. };
  3747. map1 {
  3748. trip = <&cpu4_top_alert1>;
  3749. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3750. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3751. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3752. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3753. };
  3754. };
  3755. };
  3756. cpu5-top-thermal {
  3757. polling-delay-passive = <250>;
  3758. polling-delay = <1000>;
  3759. thermal-sensors = <&tsens0 8>;
  3760. trips {
  3761. cpu5_top_alert0: trip-point0 {
  3762. temperature = <90000>;
  3763. hysteresis = <2000>;
  3764. type = "passive";
  3765. };
  3766. cpu5_top_alert1: trip-point1 {
  3767. temperature = <95000>;
  3768. hysteresis = <2000>;
  3769. type = "passive";
  3770. };
  3771. cpu5_top_crit: cpu_crit {
  3772. temperature = <110000>;
  3773. hysteresis = <1000>;
  3774. type = "critical";
  3775. };
  3776. };
  3777. cooling-maps {
  3778. map0 {
  3779. trip = <&cpu5_top_alert0>;
  3780. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3781. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3782. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3783. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3784. };
  3785. map1 {
  3786. trip = <&cpu5_top_alert1>;
  3787. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3788. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3789. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3790. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3791. };
  3792. };
  3793. };
  3794. cpu6-top-thermal {
  3795. polling-delay-passive = <250>;
  3796. polling-delay = <1000>;
  3797. thermal-sensors = <&tsens0 9>;
  3798. trips {
  3799. cpu6_top_alert0: trip-point0 {
  3800. temperature = <90000>;
  3801. hysteresis = <2000>;
  3802. type = "passive";
  3803. };
  3804. cpu6_top_alert1: trip-point1 {
  3805. temperature = <95000>;
  3806. hysteresis = <2000>;
  3807. type = "passive";
  3808. };
  3809. cpu6_top_crit: cpu_crit {
  3810. temperature = <110000>;
  3811. hysteresis = <1000>;
  3812. type = "critical";
  3813. };
  3814. };
  3815. cooling-maps {
  3816. map0 {
  3817. trip = <&cpu6_top_alert0>;
  3818. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3819. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3820. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3821. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3822. };
  3823. map1 {
  3824. trip = <&cpu6_top_alert1>;
  3825. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3826. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3827. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3828. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3829. };
  3830. };
  3831. };
  3832. cpu7-top-thermal {
  3833. polling-delay-passive = <250>;
  3834. polling-delay = <1000>;
  3835. thermal-sensors = <&tsens0 10>;
  3836. trips {
  3837. cpu7_top_alert0: trip-point0 {
  3838. temperature = <90000>;
  3839. hysteresis = <2000>;
  3840. type = "passive";
  3841. };
  3842. cpu7_top_alert1: trip-point1 {
  3843. temperature = <95000>;
  3844. hysteresis = <2000>;
  3845. type = "passive";
  3846. };
  3847. cpu7_top_crit: cpu_crit {
  3848. temperature = <110000>;
  3849. hysteresis = <1000>;
  3850. type = "critical";
  3851. };
  3852. };
  3853. cooling-maps {
  3854. map0 {
  3855. trip = <&cpu7_top_alert0>;
  3856. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3857. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3858. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3859. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3860. };
  3861. map1 {
  3862. trip = <&cpu7_top_alert1>;
  3863. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3864. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3865. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3866. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3867. };
  3868. };
  3869. };
  3870. cpu4-bottom-thermal {
  3871. polling-delay-passive = <250>;
  3872. polling-delay = <1000>;
  3873. thermal-sensors = <&tsens0 11>;
  3874. trips {
  3875. cpu4_bottom_alert0: trip-point0 {
  3876. temperature = <90000>;
  3877. hysteresis = <2000>;
  3878. type = "passive";
  3879. };
  3880. cpu4_bottom_alert1: trip-point1 {
  3881. temperature = <95000>;
  3882. hysteresis = <2000>;
  3883. type = "passive";
  3884. };
  3885. cpu4_bottom_crit: cpu_crit {
  3886. temperature = <110000>;
  3887. hysteresis = <1000>;
  3888. type = "critical";
  3889. };
  3890. };
  3891. cooling-maps {
  3892. map0 {
  3893. trip = <&cpu4_bottom_alert0>;
  3894. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3895. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3896. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3897. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3898. };
  3899. map1 {
  3900. trip = <&cpu4_bottom_alert1>;
  3901. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3902. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3903. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3904. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3905. };
  3906. };
  3907. };
  3908. cpu5-bottom-thermal {
  3909. polling-delay-passive = <250>;
  3910. polling-delay = <1000>;
  3911. thermal-sensors = <&tsens0 12>;
  3912. trips {
  3913. cpu5_bottom_alert0: trip-point0 {
  3914. temperature = <90000>;
  3915. hysteresis = <2000>;
  3916. type = "passive";
  3917. };
  3918. cpu5_bottom_alert1: trip-point1 {
  3919. temperature = <95000>;
  3920. hysteresis = <2000>;
  3921. type = "passive";
  3922. };
  3923. cpu5_bottom_crit: cpu_crit {
  3924. temperature = <110000>;
  3925. hysteresis = <1000>;
  3926. type = "critical";
  3927. };
  3928. };
  3929. cooling-maps {
  3930. map0 {
  3931. trip = <&cpu5_bottom_alert0>;
  3932. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3933. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3934. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3935. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3936. };
  3937. map1 {
  3938. trip = <&cpu5_bottom_alert1>;
  3939. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3940. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3941. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3942. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3943. };
  3944. };
  3945. };
  3946. cpu6-bottom-thermal {
  3947. polling-delay-passive = <250>;
  3948. polling-delay = <1000>;
  3949. thermal-sensors = <&tsens0 13>;
  3950. trips {
  3951. cpu6_bottom_alert0: trip-point0 {
  3952. temperature = <90000>;
  3953. hysteresis = <2000>;
  3954. type = "passive";
  3955. };
  3956. cpu6_bottom_alert1: trip-point1 {
  3957. temperature = <95000>;
  3958. hysteresis = <2000>;
  3959. type = "passive";
  3960. };
  3961. cpu6_bottom_crit: cpu_crit {
  3962. temperature = <110000>;
  3963. hysteresis = <1000>;
  3964. type = "critical";
  3965. };
  3966. };
  3967. cooling-maps {
  3968. map0 {
  3969. trip = <&cpu6_bottom_alert0>;
  3970. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3971. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3972. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3973. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3974. };
  3975. map1 {
  3976. trip = <&cpu6_bottom_alert1>;
  3977. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3978. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3979. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  3980. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  3981. };
  3982. };
  3983. };
  3984. cpu7-bottom-thermal {
  3985. polling-delay-passive = <250>;
  3986. polling-delay = <1000>;
  3987. thermal-sensors = <&tsens0 14>;
  3988. trips {
  3989. cpu7_bottom_alert0: trip-point0 {
  3990. temperature = <90000>;
  3991. hysteresis = <2000>;
  3992. type = "passive";
  3993. };
  3994. cpu7_bottom_alert1: trip-point1 {
  3995. temperature = <95000>;
  3996. hysteresis = <2000>;
  3997. type = "passive";
  3998. };
  3999. cpu7_bottom_crit: cpu_crit {
  4000. temperature = <110000>;
  4001. hysteresis = <1000>;
  4002. type = "critical";
  4003. };
  4004. };
  4005. cooling-maps {
  4006. map0 {
  4007. trip = <&cpu7_bottom_alert0>;
  4008. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4009. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4010. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4011. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4012. };
  4013. map1 {
  4014. trip = <&cpu7_bottom_alert1>;
  4015. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4016. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4017. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4018. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4019. };
  4020. };
  4021. };
  4022. aoss0-thermal {
  4023. polling-delay-passive = <250>;
  4024. polling-delay = <1000>;
  4025. thermal-sensors = <&tsens0 0>;
  4026. trips {
  4027. aoss0_alert0: trip-point0 {
  4028. temperature = <90000>;
  4029. hysteresis = <2000>;
  4030. type = "hot";
  4031. };
  4032. };
  4033. };
  4034. cluster0-thermal {
  4035. polling-delay-passive = <250>;
  4036. polling-delay = <1000>;
  4037. thermal-sensors = <&tsens0 5>;
  4038. trips {
  4039. cluster0_alert0: trip-point0 {
  4040. temperature = <90000>;
  4041. hysteresis = <2000>;
  4042. type = "hot";
  4043. };
  4044. cluster0_crit: cluster0_crit {
  4045. temperature = <110000>;
  4046. hysteresis = <2000>;
  4047. type = "critical";
  4048. };
  4049. };
  4050. };
  4051. cluster1-thermal {
  4052. polling-delay-passive = <250>;
  4053. polling-delay = <1000>;
  4054. thermal-sensors = <&tsens0 6>;
  4055. trips {
  4056. cluster1_alert0: trip-point0 {
  4057. temperature = <90000>;
  4058. hysteresis = <2000>;
  4059. type = "hot";
  4060. };
  4061. cluster1_crit: cluster1_crit {
  4062. temperature = <110000>;
  4063. hysteresis = <2000>;
  4064. type = "critical";
  4065. };
  4066. };
  4067. };
  4068. gpu-top-thermal {
  4069. polling-delay-passive = <250>;
  4070. polling-delay = <1000>;
  4071. thermal-sensors = <&tsens0 15>;
  4072. trips {
  4073. gpu1_alert0: trip-point0 {
  4074. temperature = <90000>;
  4075. hysteresis = <2000>;
  4076. type = "hot";
  4077. };
  4078. };
  4079. };
  4080. aoss1-thermal {
  4081. polling-delay-passive = <250>;
  4082. polling-delay = <1000>;
  4083. thermal-sensors = <&tsens1 0>;
  4084. trips {
  4085. aoss1_alert0: trip-point0 {
  4086. temperature = <90000>;
  4087. hysteresis = <2000>;
  4088. type = "hot";
  4089. };
  4090. };
  4091. };
  4092. wlan-thermal {
  4093. polling-delay-passive = <250>;
  4094. polling-delay = <1000>;
  4095. thermal-sensors = <&tsens1 1>;
  4096. trips {
  4097. wlan_alert0: trip-point0 {
  4098. temperature = <90000>;
  4099. hysteresis = <2000>;
  4100. type = "hot";
  4101. };
  4102. };
  4103. };
  4104. video-thermal {
  4105. polling-delay-passive = <250>;
  4106. polling-delay = <1000>;
  4107. thermal-sensors = <&tsens1 2>;
  4108. trips {
  4109. video_alert0: trip-point0 {
  4110. temperature = <90000>;
  4111. hysteresis = <2000>;
  4112. type = "hot";
  4113. };
  4114. };
  4115. };
  4116. mem-thermal {
  4117. polling-delay-passive = <250>;
  4118. polling-delay = <1000>;
  4119. thermal-sensors = <&tsens1 3>;
  4120. trips {
  4121. mem_alert0: trip-point0 {
  4122. temperature = <90000>;
  4123. hysteresis = <2000>;
  4124. type = "hot";
  4125. };
  4126. };
  4127. };
  4128. q6-hvx-thermal {
  4129. polling-delay-passive = <250>;
  4130. polling-delay = <1000>;
  4131. thermal-sensors = <&tsens1 4>;
  4132. trips {
  4133. q6_hvx_alert0: trip-point0 {
  4134. temperature = <90000>;
  4135. hysteresis = <2000>;
  4136. type = "hot";
  4137. };
  4138. };
  4139. };
  4140. camera-thermal {
  4141. polling-delay-passive = <250>;
  4142. polling-delay = <1000>;
  4143. thermal-sensors = <&tsens1 5>;
  4144. trips {
  4145. camera_alert0: trip-point0 {
  4146. temperature = <90000>;
  4147. hysteresis = <2000>;
  4148. type = "hot";
  4149. };
  4150. };
  4151. };
  4152. compute-thermal {
  4153. polling-delay-passive = <250>;
  4154. polling-delay = <1000>;
  4155. thermal-sensors = <&tsens1 6>;
  4156. trips {
  4157. compute_alert0: trip-point0 {
  4158. temperature = <90000>;
  4159. hysteresis = <2000>;
  4160. type = "hot";
  4161. };
  4162. };
  4163. };
  4164. modem-thermal {
  4165. polling-delay-passive = <250>;
  4166. polling-delay = <1000>;
  4167. thermal-sensors = <&tsens1 7>;
  4168. trips {
  4169. modem_alert0: trip-point0 {
  4170. temperature = <90000>;
  4171. hysteresis = <2000>;
  4172. type = "hot";
  4173. };
  4174. };
  4175. };
  4176. npu-thermal {
  4177. polling-delay-passive = <250>;
  4178. polling-delay = <1000>;
  4179. thermal-sensors = <&tsens1 8>;
  4180. trips {
  4181. npu_alert0: trip-point0 {
  4182. temperature = <90000>;
  4183. hysteresis = <2000>;
  4184. type = "hot";
  4185. };
  4186. };
  4187. };
  4188. modem-vec-thermal {
  4189. polling-delay-passive = <250>;
  4190. polling-delay = <1000>;
  4191. thermal-sensors = <&tsens1 9>;
  4192. trips {
  4193. modem_vec_alert0: trip-point0 {
  4194. temperature = <90000>;
  4195. hysteresis = <2000>;
  4196. type = "hot";
  4197. };
  4198. };
  4199. };
  4200. modem-scl-thermal {
  4201. polling-delay-passive = <250>;
  4202. polling-delay = <1000>;
  4203. thermal-sensors = <&tsens1 10>;
  4204. trips {
  4205. modem_scl_alert0: trip-point0 {
  4206. temperature = <90000>;
  4207. hysteresis = <2000>;
  4208. type = "hot";
  4209. };
  4210. };
  4211. };
  4212. gpu-bottom-thermal {
  4213. polling-delay-passive = <250>;
  4214. polling-delay = <1000>;
  4215. thermal-sensors = <&tsens1 11>;
  4216. trips {
  4217. gpu2_alert0: trip-point0 {
  4218. temperature = <90000>;
  4219. hysteresis = <2000>;
  4220. type = "hot";
  4221. };
  4222. };
  4223. };
  4224. };
  4225. };