sm8250.dtsi 140 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795
  1. // SPDX-License-Identifier: BSD-3-Clause
  2. /*
  3. * Copyright (c) 2020, The Linux Foundation. All rights reserved.
  4. */
  5. #include <dt-bindings/interrupt-controller/arm-gic.h>
  6. #include <dt-bindings/clock/qcom,dispcc-sm8250.h>
  7. #include <dt-bindings/clock/qcom,gcc-sm8250.h>
  8. #include <dt-bindings/clock/qcom,gpucc-sm8250.h>
  9. #include <dt-bindings/clock/qcom,rpmh.h>
  10. #include <dt-bindings/clock/qcom,sm8250-lpass-aoncc.h>
  11. #include <dt-bindings/clock/qcom,sm8250-lpass-audiocc.h>
  12. #include <dt-bindings/dma/qcom-gpi.h>
  13. #include <dt-bindings/gpio/gpio.h>
  14. #include <dt-bindings/interconnect/qcom,osm-l3.h>
  15. #include <dt-bindings/interconnect/qcom,sm8250.h>
  16. #include <dt-bindings/mailbox/qcom-ipcc.h>
  17. #include <dt-bindings/power/qcom-rpmpd.h>
  18. #include <dt-bindings/soc/qcom,apr.h>
  19. #include <dt-bindings/soc/qcom,rpmh-rsc.h>
  20. #include <dt-bindings/sound/qcom,q6afe.h>
  21. #include <dt-bindings/thermal/thermal.h>
  22. #include <dt-bindings/clock/qcom,camcc-sm8250.h>
  23. #include <dt-bindings/clock/qcom,videocc-sm8250.h>
  24. / {
  25. interrupt-parent = <&intc>;
  26. #address-cells = <2>;
  27. #size-cells = <2>;
  28. aliases {
  29. i2c0 = &i2c0;
  30. i2c1 = &i2c1;
  31. i2c2 = &i2c2;
  32. i2c3 = &i2c3;
  33. i2c4 = &i2c4;
  34. i2c5 = &i2c5;
  35. i2c6 = &i2c6;
  36. i2c7 = &i2c7;
  37. i2c8 = &i2c8;
  38. i2c9 = &i2c9;
  39. i2c10 = &i2c10;
  40. i2c11 = &i2c11;
  41. i2c12 = &i2c12;
  42. i2c13 = &i2c13;
  43. i2c14 = &i2c14;
  44. i2c15 = &i2c15;
  45. i2c16 = &i2c16;
  46. i2c17 = &i2c17;
  47. i2c18 = &i2c18;
  48. i2c19 = &i2c19;
  49. spi0 = &spi0;
  50. spi1 = &spi1;
  51. spi2 = &spi2;
  52. spi3 = &spi3;
  53. spi4 = &spi4;
  54. spi5 = &spi5;
  55. spi6 = &spi6;
  56. spi7 = &spi7;
  57. spi8 = &spi8;
  58. spi9 = &spi9;
  59. spi10 = &spi10;
  60. spi11 = &spi11;
  61. spi12 = &spi12;
  62. spi13 = &spi13;
  63. spi14 = &spi14;
  64. spi15 = &spi15;
  65. spi16 = &spi16;
  66. spi17 = &spi17;
  67. spi18 = &spi18;
  68. spi19 = &spi19;
  69. };
  70. chosen { };
  71. clocks {
  72. xo_board: xo-board {
  73. compatible = "fixed-clock";
  74. #clock-cells = <0>;
  75. clock-frequency = <38400000>;
  76. clock-output-names = "xo_board";
  77. };
  78. sleep_clk: sleep-clk {
  79. compatible = "fixed-clock";
  80. clock-frequency = <32768>;
  81. #clock-cells = <0>;
  82. };
  83. };
  84. cpus {
  85. #address-cells = <2>;
  86. #size-cells = <0>;
  87. CPU0: cpu@0 {
  88. device_type = "cpu";
  89. compatible = "qcom,kryo485";
  90. reg = <0x0 0x0>;
  91. enable-method = "psci";
  92. capacity-dmips-mhz = <448>;
  93. dynamic-power-coefficient = <105>;
  94. next-level-cache = <&L2_0>;
  95. power-domains = <&CPU_PD0>;
  96. power-domain-names = "psci";
  97. qcom,freq-domain = <&cpufreq_hw 0>;
  98. operating-points-v2 = <&cpu0_opp_table>;
  99. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  100. <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
  101. #cooling-cells = <2>;
  102. L2_0: l2-cache {
  103. compatible = "cache";
  104. next-level-cache = <&L3_0>;
  105. L3_0: l3-cache {
  106. compatible = "cache";
  107. };
  108. };
  109. };
  110. CPU1: cpu@100 {
  111. device_type = "cpu";
  112. compatible = "qcom,kryo485";
  113. reg = <0x0 0x100>;
  114. enable-method = "psci";
  115. capacity-dmips-mhz = <448>;
  116. dynamic-power-coefficient = <105>;
  117. next-level-cache = <&L2_100>;
  118. power-domains = <&CPU_PD1>;
  119. power-domain-names = "psci";
  120. qcom,freq-domain = <&cpufreq_hw 0>;
  121. operating-points-v2 = <&cpu0_opp_table>;
  122. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  123. <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
  124. #cooling-cells = <2>;
  125. L2_100: l2-cache {
  126. compatible = "cache";
  127. next-level-cache = <&L3_0>;
  128. };
  129. };
  130. CPU2: cpu@200 {
  131. device_type = "cpu";
  132. compatible = "qcom,kryo485";
  133. reg = <0x0 0x200>;
  134. enable-method = "psci";
  135. capacity-dmips-mhz = <448>;
  136. dynamic-power-coefficient = <105>;
  137. next-level-cache = <&L2_200>;
  138. power-domains = <&CPU_PD2>;
  139. power-domain-names = "psci";
  140. qcom,freq-domain = <&cpufreq_hw 0>;
  141. operating-points-v2 = <&cpu0_opp_table>;
  142. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  143. <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
  144. #cooling-cells = <2>;
  145. L2_200: l2-cache {
  146. compatible = "cache";
  147. next-level-cache = <&L3_0>;
  148. };
  149. };
  150. CPU3: cpu@300 {
  151. device_type = "cpu";
  152. compatible = "qcom,kryo485";
  153. reg = <0x0 0x300>;
  154. enable-method = "psci";
  155. capacity-dmips-mhz = <448>;
  156. dynamic-power-coefficient = <105>;
  157. next-level-cache = <&L2_300>;
  158. power-domains = <&CPU_PD3>;
  159. power-domain-names = "psci";
  160. qcom,freq-domain = <&cpufreq_hw 0>;
  161. operating-points-v2 = <&cpu0_opp_table>;
  162. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  163. <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
  164. #cooling-cells = <2>;
  165. L2_300: l2-cache {
  166. compatible = "cache";
  167. next-level-cache = <&L3_0>;
  168. };
  169. };
  170. CPU4: cpu@400 {
  171. device_type = "cpu";
  172. compatible = "qcom,kryo485";
  173. reg = <0x0 0x400>;
  174. enable-method = "psci";
  175. capacity-dmips-mhz = <1024>;
  176. dynamic-power-coefficient = <379>;
  177. next-level-cache = <&L2_400>;
  178. power-domains = <&CPU_PD4>;
  179. power-domain-names = "psci";
  180. qcom,freq-domain = <&cpufreq_hw 1>;
  181. operating-points-v2 = <&cpu4_opp_table>;
  182. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  183. <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
  184. #cooling-cells = <2>;
  185. L2_400: l2-cache {
  186. compatible = "cache";
  187. next-level-cache = <&L3_0>;
  188. };
  189. };
  190. CPU5: cpu@500 {
  191. device_type = "cpu";
  192. compatible = "qcom,kryo485";
  193. reg = <0x0 0x500>;
  194. enable-method = "psci";
  195. capacity-dmips-mhz = <1024>;
  196. dynamic-power-coefficient = <379>;
  197. next-level-cache = <&L2_500>;
  198. power-domains = <&CPU_PD5>;
  199. power-domain-names = "psci";
  200. qcom,freq-domain = <&cpufreq_hw 1>;
  201. operating-points-v2 = <&cpu4_opp_table>;
  202. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  203. <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
  204. #cooling-cells = <2>;
  205. L2_500: l2-cache {
  206. compatible = "cache";
  207. next-level-cache = <&L3_0>;
  208. };
  209. };
  210. CPU6: cpu@600 {
  211. device_type = "cpu";
  212. compatible = "qcom,kryo485";
  213. reg = <0x0 0x600>;
  214. enable-method = "psci";
  215. capacity-dmips-mhz = <1024>;
  216. dynamic-power-coefficient = <379>;
  217. next-level-cache = <&L2_600>;
  218. power-domains = <&CPU_PD6>;
  219. power-domain-names = "psci";
  220. qcom,freq-domain = <&cpufreq_hw 1>;
  221. operating-points-v2 = <&cpu4_opp_table>;
  222. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  223. <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
  224. #cooling-cells = <2>;
  225. L2_600: l2-cache {
  226. compatible = "cache";
  227. next-level-cache = <&L3_0>;
  228. };
  229. };
  230. CPU7: cpu@700 {
  231. device_type = "cpu";
  232. compatible = "qcom,kryo485";
  233. reg = <0x0 0x700>;
  234. enable-method = "psci";
  235. capacity-dmips-mhz = <1024>;
  236. dynamic-power-coefficient = <444>;
  237. next-level-cache = <&L2_700>;
  238. power-domains = <&CPU_PD7>;
  239. power-domain-names = "psci";
  240. qcom,freq-domain = <&cpufreq_hw 2>;
  241. operating-points-v2 = <&cpu7_opp_table>;
  242. interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>,
  243. <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
  244. #cooling-cells = <2>;
  245. L2_700: l2-cache {
  246. compatible = "cache";
  247. next-level-cache = <&L3_0>;
  248. };
  249. };
  250. cpu-map {
  251. cluster0 {
  252. core0 {
  253. cpu = <&CPU0>;
  254. };
  255. core1 {
  256. cpu = <&CPU1>;
  257. };
  258. core2 {
  259. cpu = <&CPU2>;
  260. };
  261. core3 {
  262. cpu = <&CPU3>;
  263. };
  264. core4 {
  265. cpu = <&CPU4>;
  266. };
  267. core5 {
  268. cpu = <&CPU5>;
  269. };
  270. core6 {
  271. cpu = <&CPU6>;
  272. };
  273. core7 {
  274. cpu = <&CPU7>;
  275. };
  276. };
  277. };
  278. idle-states {
  279. entry-method = "psci";
  280. LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
  281. compatible = "arm,idle-state";
  282. idle-state-name = "silver-rail-power-collapse";
  283. arm,psci-suspend-param = <0x40000004>;
  284. entry-latency-us = <360>;
  285. exit-latency-us = <531>;
  286. min-residency-us = <3934>;
  287. local-timer-stop;
  288. };
  289. BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
  290. compatible = "arm,idle-state";
  291. idle-state-name = "gold-rail-power-collapse";
  292. arm,psci-suspend-param = <0x40000004>;
  293. entry-latency-us = <702>;
  294. exit-latency-us = <1061>;
  295. min-residency-us = <4488>;
  296. local-timer-stop;
  297. };
  298. };
  299. domain-idle-states {
  300. CLUSTER_SLEEP_0: cluster-sleep-0 {
  301. compatible = "domain-idle-state";
  302. idle-state-name = "cluster-llcc-off";
  303. arm,psci-suspend-param = <0x4100c244>;
  304. entry-latency-us = <3264>;
  305. exit-latency-us = <6562>;
  306. min-residency-us = <9987>;
  307. local-timer-stop;
  308. status = "disabled";
  309. };
  310. };
  311. };
  312. cpu0_opp_table: opp-table-cpu0 {
  313. compatible = "operating-points-v2";
  314. opp-shared;
  315. cpu0_opp1: opp-300000000 {
  316. opp-hz = /bits/ 64 <300000000>;
  317. opp-peak-kBps = <800000 9600000>;
  318. };
  319. cpu0_opp2: opp-403200000 {
  320. opp-hz = /bits/ 64 <403200000>;
  321. opp-peak-kBps = <800000 9600000>;
  322. };
  323. cpu0_opp3: opp-518400000 {
  324. opp-hz = /bits/ 64 <518400000>;
  325. opp-peak-kBps = <800000 16588800>;
  326. };
  327. cpu0_opp4: opp-614400000 {
  328. opp-hz = /bits/ 64 <614400000>;
  329. opp-peak-kBps = <800000 16588800>;
  330. };
  331. cpu0_opp5: opp-691200000 {
  332. opp-hz = /bits/ 64 <691200000>;
  333. opp-peak-kBps = <800000 19660800>;
  334. };
  335. cpu0_opp6: opp-787200000 {
  336. opp-hz = /bits/ 64 <787200000>;
  337. opp-peak-kBps = <1804000 19660800>;
  338. };
  339. cpu0_opp7: opp-883200000 {
  340. opp-hz = /bits/ 64 <883200000>;
  341. opp-peak-kBps = <1804000 23347200>;
  342. };
  343. cpu0_opp8: opp-979200000 {
  344. opp-hz = /bits/ 64 <979200000>;
  345. opp-peak-kBps = <1804000 26419200>;
  346. };
  347. cpu0_opp9: opp-1075200000 {
  348. opp-hz = /bits/ 64 <1075200000>;
  349. opp-peak-kBps = <1804000 29491200>;
  350. };
  351. cpu0_opp10: opp-1171200000 {
  352. opp-hz = /bits/ 64 <1171200000>;
  353. opp-peak-kBps = <1804000 32563200>;
  354. };
  355. cpu0_opp11: opp-1248000000 {
  356. opp-hz = /bits/ 64 <1248000000>;
  357. opp-peak-kBps = <1804000 36249600>;
  358. };
  359. cpu0_opp12: opp-1344000000 {
  360. opp-hz = /bits/ 64 <1344000000>;
  361. opp-peak-kBps = <2188000 36249600>;
  362. };
  363. cpu0_opp13: opp-1420800000 {
  364. opp-hz = /bits/ 64 <1420800000>;
  365. opp-peak-kBps = <2188000 39321600>;
  366. };
  367. cpu0_opp14: opp-1516800000 {
  368. opp-hz = /bits/ 64 <1516800000>;
  369. opp-peak-kBps = <3072000 42393600>;
  370. };
  371. cpu0_opp15: opp-1612800000 {
  372. opp-hz = /bits/ 64 <1612800000>;
  373. opp-peak-kBps = <3072000 42393600>;
  374. };
  375. cpu0_opp16: opp-1708800000 {
  376. opp-hz = /bits/ 64 <1708800000>;
  377. opp-peak-kBps = <4068000 42393600>;
  378. };
  379. cpu0_opp17: opp-1804800000 {
  380. opp-hz = /bits/ 64 <1804800000>;
  381. opp-peak-kBps = <4068000 42393600>;
  382. };
  383. };
  384. cpu4_opp_table: opp-table-cpu4 {
  385. compatible = "operating-points-v2";
  386. opp-shared;
  387. cpu4_opp1: opp-710400000 {
  388. opp-hz = /bits/ 64 <710400000>;
  389. opp-peak-kBps = <1804000 19660800>;
  390. };
  391. cpu4_opp2: opp-825600000 {
  392. opp-hz = /bits/ 64 <825600000>;
  393. opp-peak-kBps = <2188000 23347200>;
  394. };
  395. cpu4_opp3: opp-940800000 {
  396. opp-hz = /bits/ 64 <940800000>;
  397. opp-peak-kBps = <2188000 26419200>;
  398. };
  399. cpu4_opp4: opp-1056000000 {
  400. opp-hz = /bits/ 64 <1056000000>;
  401. opp-peak-kBps = <3072000 26419200>;
  402. };
  403. cpu4_opp5: opp-1171200000 {
  404. opp-hz = /bits/ 64 <1171200000>;
  405. opp-peak-kBps = <3072000 29491200>;
  406. };
  407. cpu4_opp6: opp-1286400000 {
  408. opp-hz = /bits/ 64 <1286400000>;
  409. opp-peak-kBps = <4068000 29491200>;
  410. };
  411. cpu4_opp7: opp-1382400000 {
  412. opp-hz = /bits/ 64 <1382400000>;
  413. opp-peak-kBps = <4068000 32563200>;
  414. };
  415. cpu4_opp8: opp-1478400000 {
  416. opp-hz = /bits/ 64 <1478400000>;
  417. opp-peak-kBps = <4068000 32563200>;
  418. };
  419. cpu4_opp9: opp-1574400000 {
  420. opp-hz = /bits/ 64 <1574400000>;
  421. opp-peak-kBps = <5412000 39321600>;
  422. };
  423. cpu4_opp10: opp-1670400000 {
  424. opp-hz = /bits/ 64 <1670400000>;
  425. opp-peak-kBps = <5412000 42393600>;
  426. };
  427. cpu4_opp11: opp-1766400000 {
  428. opp-hz = /bits/ 64 <1766400000>;
  429. opp-peak-kBps = <5412000 45465600>;
  430. };
  431. cpu4_opp12: opp-1862400000 {
  432. opp-hz = /bits/ 64 <1862400000>;
  433. opp-peak-kBps = <6220000 45465600>;
  434. };
  435. cpu4_opp13: opp-1958400000 {
  436. opp-hz = /bits/ 64 <1958400000>;
  437. opp-peak-kBps = <6220000 48537600>;
  438. };
  439. cpu4_opp14: opp-2054400000 {
  440. opp-hz = /bits/ 64 <2054400000>;
  441. opp-peak-kBps = <7216000 48537600>;
  442. };
  443. cpu4_opp15: opp-2150400000 {
  444. opp-hz = /bits/ 64 <2150400000>;
  445. opp-peak-kBps = <7216000 51609600>;
  446. };
  447. cpu4_opp16: opp-2246400000 {
  448. opp-hz = /bits/ 64 <2246400000>;
  449. opp-peak-kBps = <7216000 51609600>;
  450. };
  451. cpu4_opp17: opp-2342400000 {
  452. opp-hz = /bits/ 64 <2342400000>;
  453. opp-peak-kBps = <8368000 51609600>;
  454. };
  455. cpu4_opp18: opp-2419200000 {
  456. opp-hz = /bits/ 64 <2419200000>;
  457. opp-peak-kBps = <8368000 51609600>;
  458. };
  459. };
  460. cpu7_opp_table: opp-table-cpu7 {
  461. compatible = "operating-points-v2";
  462. opp-shared;
  463. cpu7_opp1: opp-844800000 {
  464. opp-hz = /bits/ 64 <844800000>;
  465. opp-peak-kBps = <2188000 19660800>;
  466. };
  467. cpu7_opp2: opp-960000000 {
  468. opp-hz = /bits/ 64 <960000000>;
  469. opp-peak-kBps = <2188000 26419200>;
  470. };
  471. cpu7_opp3: opp-1075200000 {
  472. opp-hz = /bits/ 64 <1075200000>;
  473. opp-peak-kBps = <3072000 26419200>;
  474. };
  475. cpu7_opp4: opp-1190400000 {
  476. opp-hz = /bits/ 64 <1190400000>;
  477. opp-peak-kBps = <3072000 29491200>;
  478. };
  479. cpu7_opp5: opp-1305600000 {
  480. opp-hz = /bits/ 64 <1305600000>;
  481. opp-peak-kBps = <4068000 32563200>;
  482. };
  483. cpu7_opp6: opp-1401600000 {
  484. opp-hz = /bits/ 64 <1401600000>;
  485. opp-peak-kBps = <4068000 32563200>;
  486. };
  487. cpu7_opp7: opp-1516800000 {
  488. opp-hz = /bits/ 64 <1516800000>;
  489. opp-peak-kBps = <4068000 36249600>;
  490. };
  491. cpu7_opp8: opp-1632000000 {
  492. opp-hz = /bits/ 64 <1632000000>;
  493. opp-peak-kBps = <5412000 39321600>;
  494. };
  495. cpu7_opp9: opp-1747200000 {
  496. opp-hz = /bits/ 64 <1708800000>;
  497. opp-peak-kBps = <5412000 42393600>;
  498. };
  499. cpu7_opp10: opp-1862400000 {
  500. opp-hz = /bits/ 64 <1862400000>;
  501. opp-peak-kBps = <6220000 45465600>;
  502. };
  503. cpu7_opp11: opp-1977600000 {
  504. opp-hz = /bits/ 64 <1977600000>;
  505. opp-peak-kBps = <6220000 48537600>;
  506. };
  507. cpu7_opp12: opp-2073600000 {
  508. opp-hz = /bits/ 64 <2073600000>;
  509. opp-peak-kBps = <7216000 48537600>;
  510. };
  511. cpu7_opp13: opp-2169600000 {
  512. opp-hz = /bits/ 64 <2169600000>;
  513. opp-peak-kBps = <7216000 51609600>;
  514. };
  515. cpu7_opp14: opp-2265600000 {
  516. opp-hz = /bits/ 64 <2265600000>;
  517. opp-peak-kBps = <7216000 51609600>;
  518. };
  519. cpu7_opp15: opp-2361600000 {
  520. opp-hz = /bits/ 64 <2361600000>;
  521. opp-peak-kBps = <8368000 51609600>;
  522. };
  523. cpu7_opp16: opp-2457600000 {
  524. opp-hz = /bits/ 64 <2457600000>;
  525. opp-peak-kBps = <8368000 51609600>;
  526. };
  527. cpu7_opp17: opp-2553600000 {
  528. opp-hz = /bits/ 64 <2553600000>;
  529. opp-peak-kBps = <8368000 51609600>;
  530. };
  531. cpu7_opp18: opp-2649600000 {
  532. opp-hz = /bits/ 64 <2649600000>;
  533. opp-peak-kBps = <8368000 51609600>;
  534. };
  535. cpu7_opp19: opp-2745600000 {
  536. opp-hz = /bits/ 64 <2745600000>;
  537. opp-peak-kBps = <8368000 51609600>;
  538. };
  539. cpu7_opp20: opp-2841600000 {
  540. opp-hz = /bits/ 64 <2841600000>;
  541. opp-peak-kBps = <8368000 51609600>;
  542. };
  543. };
  544. firmware {
  545. scm: scm {
  546. compatible = "qcom,scm-sm8250", "qcom,scm";
  547. #reset-cells = <1>;
  548. };
  549. };
  550. memory@80000000 {
  551. device_type = "memory";
  552. /* We expect the bootloader to fill in the size */
  553. reg = <0x0 0x80000000 0x0 0x0>;
  554. };
  555. pmu {
  556. compatible = "arm,armv8-pmuv3";
  557. interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
  558. };
  559. psci {
  560. compatible = "arm,psci-1.0";
  561. method = "smc";
  562. CPU_PD0: cpu0 {
  563. #power-domain-cells = <0>;
  564. power-domains = <&CLUSTER_PD>;
  565. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  566. };
  567. CPU_PD1: cpu1 {
  568. #power-domain-cells = <0>;
  569. power-domains = <&CLUSTER_PD>;
  570. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  571. };
  572. CPU_PD2: cpu2 {
  573. #power-domain-cells = <0>;
  574. power-domains = <&CLUSTER_PD>;
  575. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  576. };
  577. CPU_PD3: cpu3 {
  578. #power-domain-cells = <0>;
  579. power-domains = <&CLUSTER_PD>;
  580. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  581. };
  582. CPU_PD4: cpu4 {
  583. #power-domain-cells = <0>;
  584. power-domains = <&CLUSTER_PD>;
  585. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  586. };
  587. CPU_PD5: cpu5 {
  588. #power-domain-cells = <0>;
  589. power-domains = <&CLUSTER_PD>;
  590. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  591. };
  592. CPU_PD6: cpu6 {
  593. #power-domain-cells = <0>;
  594. power-domains = <&CLUSTER_PD>;
  595. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  596. };
  597. CPU_PD7: cpu7 {
  598. #power-domain-cells = <0>;
  599. power-domains = <&CLUSTER_PD>;
  600. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  601. };
  602. CLUSTER_PD: cpu-cluster0 {
  603. #power-domain-cells = <0>;
  604. domain-idle-states = <&CLUSTER_SLEEP_0>;
  605. };
  606. };
  607. qup_opp_table: opp-table-qup {
  608. compatible = "operating-points-v2";
  609. opp-50000000 {
  610. opp-hz = /bits/ 64 <50000000>;
  611. required-opps = <&rpmhpd_opp_min_svs>;
  612. };
  613. opp-75000000 {
  614. opp-hz = /bits/ 64 <75000000>;
  615. required-opps = <&rpmhpd_opp_low_svs>;
  616. };
  617. opp-120000000 {
  618. opp-hz = /bits/ 64 <120000000>;
  619. required-opps = <&rpmhpd_opp_svs>;
  620. };
  621. };
  622. reserved-memory {
  623. #address-cells = <2>;
  624. #size-cells = <2>;
  625. ranges;
  626. hyp_mem: memory@80000000 {
  627. reg = <0x0 0x80000000 0x0 0x600000>;
  628. no-map;
  629. };
  630. xbl_aop_mem: memory@80700000 {
  631. reg = <0x0 0x80700000 0x0 0x160000>;
  632. no-map;
  633. };
  634. cmd_db: memory@80860000 {
  635. compatible = "qcom,cmd-db";
  636. reg = <0x0 0x80860000 0x0 0x20000>;
  637. no-map;
  638. };
  639. smem_mem: memory@80900000 {
  640. reg = <0x0 0x80900000 0x0 0x200000>;
  641. no-map;
  642. };
  643. removed_mem: memory@80b00000 {
  644. reg = <0x0 0x80b00000 0x0 0x5300000>;
  645. no-map;
  646. };
  647. camera_mem: memory@86200000 {
  648. reg = <0x0 0x86200000 0x0 0x500000>;
  649. no-map;
  650. };
  651. wlan_mem: memory@86700000 {
  652. reg = <0x0 0x86700000 0x0 0x100000>;
  653. no-map;
  654. };
  655. ipa_fw_mem: memory@86800000 {
  656. reg = <0x0 0x86800000 0x0 0x10000>;
  657. no-map;
  658. };
  659. ipa_gsi_mem: memory@86810000 {
  660. reg = <0x0 0x86810000 0x0 0xa000>;
  661. no-map;
  662. };
  663. gpu_mem: memory@8681a000 {
  664. reg = <0x0 0x8681a000 0x0 0x2000>;
  665. no-map;
  666. };
  667. npu_mem: memory@86900000 {
  668. reg = <0x0 0x86900000 0x0 0x500000>;
  669. no-map;
  670. };
  671. video_mem: memory@86e00000 {
  672. reg = <0x0 0x86e00000 0x0 0x500000>;
  673. no-map;
  674. };
  675. cvp_mem: memory@87300000 {
  676. reg = <0x0 0x87300000 0x0 0x500000>;
  677. no-map;
  678. };
  679. cdsp_mem: memory@87800000 {
  680. reg = <0x0 0x87800000 0x0 0x1400000>;
  681. no-map;
  682. };
  683. slpi_mem: memory@88c00000 {
  684. reg = <0x0 0x88c00000 0x0 0x1500000>;
  685. no-map;
  686. };
  687. adsp_mem: memory@8a100000 {
  688. reg = <0x0 0x8a100000 0x0 0x1d00000>;
  689. no-map;
  690. };
  691. spss_mem: memory@8be00000 {
  692. reg = <0x0 0x8be00000 0x0 0x100000>;
  693. no-map;
  694. };
  695. cdsp_secure_heap: memory@8bf00000 {
  696. reg = <0x0 0x8bf00000 0x0 0x4600000>;
  697. no-map;
  698. };
  699. };
  700. smem {
  701. compatible = "qcom,smem";
  702. memory-region = <&smem_mem>;
  703. hwlocks = <&tcsr_mutex 3>;
  704. };
  705. smp2p-adsp {
  706. compatible = "qcom,smp2p";
  707. qcom,smem = <443>, <429>;
  708. interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
  709. IPCC_MPROC_SIGNAL_SMP2P
  710. IRQ_TYPE_EDGE_RISING>;
  711. mboxes = <&ipcc IPCC_CLIENT_LPASS
  712. IPCC_MPROC_SIGNAL_SMP2P>;
  713. qcom,local-pid = <0>;
  714. qcom,remote-pid = <2>;
  715. smp2p_adsp_out: master-kernel {
  716. qcom,entry-name = "master-kernel";
  717. #qcom,smem-state-cells = <1>;
  718. };
  719. smp2p_adsp_in: slave-kernel {
  720. qcom,entry-name = "slave-kernel";
  721. interrupt-controller;
  722. #interrupt-cells = <2>;
  723. };
  724. };
  725. smp2p-cdsp {
  726. compatible = "qcom,smp2p";
  727. qcom,smem = <94>, <432>;
  728. interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
  729. IPCC_MPROC_SIGNAL_SMP2P
  730. IRQ_TYPE_EDGE_RISING>;
  731. mboxes = <&ipcc IPCC_CLIENT_CDSP
  732. IPCC_MPROC_SIGNAL_SMP2P>;
  733. qcom,local-pid = <0>;
  734. qcom,remote-pid = <5>;
  735. smp2p_cdsp_out: master-kernel {
  736. qcom,entry-name = "master-kernel";
  737. #qcom,smem-state-cells = <1>;
  738. };
  739. smp2p_cdsp_in: slave-kernel {
  740. qcom,entry-name = "slave-kernel";
  741. interrupt-controller;
  742. #interrupt-cells = <2>;
  743. };
  744. };
  745. smp2p-slpi {
  746. compatible = "qcom,smp2p";
  747. qcom,smem = <481>, <430>;
  748. interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
  749. IPCC_MPROC_SIGNAL_SMP2P
  750. IRQ_TYPE_EDGE_RISING>;
  751. mboxes = <&ipcc IPCC_CLIENT_SLPI
  752. IPCC_MPROC_SIGNAL_SMP2P>;
  753. qcom,local-pid = <0>;
  754. qcom,remote-pid = <3>;
  755. smp2p_slpi_out: master-kernel {
  756. qcom,entry-name = "master-kernel";
  757. #qcom,smem-state-cells = <1>;
  758. };
  759. smp2p_slpi_in: slave-kernel {
  760. qcom,entry-name = "slave-kernel";
  761. interrupt-controller;
  762. #interrupt-cells = <2>;
  763. };
  764. };
  765. soc: soc@0 {
  766. #address-cells = <2>;
  767. #size-cells = <2>;
  768. ranges = <0 0 0 0 0x10 0>;
  769. dma-ranges = <0 0 0 0 0x10 0>;
  770. compatible = "simple-bus";
  771. gcc: clock-controller@100000 {
  772. compatible = "qcom,gcc-sm8250";
  773. reg = <0x0 0x00100000 0x0 0x1f0000>;
  774. #clock-cells = <1>;
  775. #reset-cells = <1>;
  776. #power-domain-cells = <1>;
  777. clock-names = "bi_tcxo",
  778. "bi_tcxo_ao",
  779. "sleep_clk";
  780. clocks = <&rpmhcc RPMH_CXO_CLK>,
  781. <&rpmhcc RPMH_CXO_CLK_A>,
  782. <&sleep_clk>;
  783. };
  784. ipcc: mailbox@408000 {
  785. compatible = "qcom,sm8250-ipcc", "qcom,ipcc";
  786. reg = <0 0x00408000 0 0x1000>;
  787. interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
  788. interrupt-controller;
  789. #interrupt-cells = <3>;
  790. #mbox-cells = <2>;
  791. };
  792. rng: rng@793000 {
  793. compatible = "qcom,prng-ee";
  794. reg = <0 0x00793000 0 0x1000>;
  795. clocks = <&gcc GCC_PRNG_AHB_CLK>;
  796. clock-names = "core";
  797. };
  798. gpi_dma2: dma-controller@800000 {
  799. compatible = "qcom,sm8250-gpi-dma";
  800. reg = <0 0x00800000 0 0x70000>;
  801. interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
  802. <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
  803. <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
  804. <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
  805. <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
  806. <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
  807. <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
  808. <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
  809. <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
  810. <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>;
  811. dma-channels = <10>;
  812. dma-channel-mask = <0x3f>;
  813. iommus = <&apps_smmu 0x76 0x0>;
  814. #dma-cells = <3>;
  815. status = "disabled";
  816. };
  817. qupv3_id_2: geniqup@8c0000 {
  818. compatible = "qcom,geni-se-qup";
  819. reg = <0x0 0x008c0000 0x0 0x6000>;
  820. clock-names = "m-ahb", "s-ahb";
  821. clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
  822. <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
  823. #address-cells = <2>;
  824. #size-cells = <2>;
  825. iommus = <&apps_smmu 0x63 0x0>;
  826. ranges;
  827. status = "disabled";
  828. i2c14: i2c@880000 {
  829. compatible = "qcom,geni-i2c";
  830. reg = <0 0x00880000 0 0x4000>;
  831. clock-names = "se";
  832. clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
  833. pinctrl-names = "default";
  834. pinctrl-0 = <&qup_i2c14_default>;
  835. interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
  836. dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>,
  837. <&gpi_dma2 1 0 QCOM_GPI_I2C>;
  838. dma-names = "tx", "rx";
  839. #address-cells = <1>;
  840. #size-cells = <0>;
  841. status = "disabled";
  842. };
  843. spi14: spi@880000 {
  844. compatible = "qcom,geni-spi";
  845. reg = <0 0x00880000 0 0x4000>;
  846. clock-names = "se";
  847. clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
  848. interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
  849. dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>,
  850. <&gpi_dma2 1 0 QCOM_GPI_SPI>;
  851. dma-names = "tx", "rx";
  852. power-domains = <&rpmhpd SM8250_CX>;
  853. operating-points-v2 = <&qup_opp_table>;
  854. #address-cells = <1>;
  855. #size-cells = <0>;
  856. status = "disabled";
  857. };
  858. i2c15: i2c@884000 {
  859. compatible = "qcom,geni-i2c";
  860. reg = <0 0x00884000 0 0x4000>;
  861. clock-names = "se";
  862. clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
  863. pinctrl-names = "default";
  864. pinctrl-0 = <&qup_i2c15_default>;
  865. interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
  866. dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>,
  867. <&gpi_dma2 1 1 QCOM_GPI_I2C>;
  868. dma-names = "tx", "rx";
  869. #address-cells = <1>;
  870. #size-cells = <0>;
  871. status = "disabled";
  872. };
  873. spi15: spi@884000 {
  874. compatible = "qcom,geni-spi";
  875. reg = <0 0x00884000 0 0x4000>;
  876. clock-names = "se";
  877. clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
  878. interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
  879. dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>,
  880. <&gpi_dma2 1 1 QCOM_GPI_SPI>;
  881. dma-names = "tx", "rx";
  882. power-domains = <&rpmhpd SM8250_CX>;
  883. operating-points-v2 = <&qup_opp_table>;
  884. #address-cells = <1>;
  885. #size-cells = <0>;
  886. status = "disabled";
  887. };
  888. i2c16: i2c@888000 {
  889. compatible = "qcom,geni-i2c";
  890. reg = <0 0x00888000 0 0x4000>;
  891. clock-names = "se";
  892. clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
  893. pinctrl-names = "default";
  894. pinctrl-0 = <&qup_i2c16_default>;
  895. interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
  896. dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>,
  897. <&gpi_dma2 1 2 QCOM_GPI_I2C>;
  898. dma-names = "tx", "rx";
  899. #address-cells = <1>;
  900. #size-cells = <0>;
  901. status = "disabled";
  902. };
  903. spi16: spi@888000 {
  904. compatible = "qcom,geni-spi";
  905. reg = <0 0x00888000 0 0x4000>;
  906. clock-names = "se";
  907. clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
  908. interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
  909. dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>,
  910. <&gpi_dma2 1 2 QCOM_GPI_SPI>;
  911. dma-names = "tx", "rx";
  912. power-domains = <&rpmhpd SM8250_CX>;
  913. operating-points-v2 = <&qup_opp_table>;
  914. #address-cells = <1>;
  915. #size-cells = <0>;
  916. status = "disabled";
  917. };
  918. i2c17: i2c@88c000 {
  919. compatible = "qcom,geni-i2c";
  920. reg = <0 0x0088c000 0 0x4000>;
  921. clock-names = "se";
  922. clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
  923. pinctrl-names = "default";
  924. pinctrl-0 = <&qup_i2c17_default>;
  925. interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
  926. dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
  927. <&gpi_dma2 1 3 QCOM_GPI_I2C>;
  928. dma-names = "tx", "rx";
  929. #address-cells = <1>;
  930. #size-cells = <0>;
  931. status = "disabled";
  932. };
  933. spi17: spi@88c000 {
  934. compatible = "qcom,geni-spi";
  935. reg = <0 0x0088c000 0 0x4000>;
  936. clock-names = "se";
  937. clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
  938. interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
  939. dmas = <&gpi_dma2 0 3 QCOM_GPI_SPI>,
  940. <&gpi_dma2 1 3 QCOM_GPI_SPI>;
  941. dma-names = "tx", "rx";
  942. power-domains = <&rpmhpd SM8250_CX>;
  943. operating-points-v2 = <&qup_opp_table>;
  944. #address-cells = <1>;
  945. #size-cells = <0>;
  946. status = "disabled";
  947. };
  948. uart17: serial@88c000 {
  949. compatible = "qcom,geni-uart";
  950. reg = <0 0x0088c000 0 0x4000>;
  951. clock-names = "se";
  952. clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
  953. pinctrl-names = "default";
  954. pinctrl-0 = <&qup_uart17_default>;
  955. interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
  956. power-domains = <&rpmhpd SM8250_CX>;
  957. operating-points-v2 = <&qup_opp_table>;
  958. status = "disabled";
  959. };
  960. i2c18: i2c@890000 {
  961. compatible = "qcom,geni-i2c";
  962. reg = <0 0x00890000 0 0x4000>;
  963. clock-names = "se";
  964. clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
  965. pinctrl-names = "default";
  966. pinctrl-0 = <&qup_i2c18_default>;
  967. interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
  968. dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
  969. <&gpi_dma2 1 4 QCOM_GPI_I2C>;
  970. dma-names = "tx", "rx";
  971. #address-cells = <1>;
  972. #size-cells = <0>;
  973. status = "disabled";
  974. };
  975. spi18: spi@890000 {
  976. compatible = "qcom,geni-spi";
  977. reg = <0 0x00890000 0 0x4000>;
  978. clock-names = "se";
  979. clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
  980. interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
  981. dmas = <&gpi_dma2 0 4 QCOM_GPI_SPI>,
  982. <&gpi_dma2 1 4 QCOM_GPI_SPI>;
  983. dma-names = "tx", "rx";
  984. power-domains = <&rpmhpd SM8250_CX>;
  985. operating-points-v2 = <&qup_opp_table>;
  986. #address-cells = <1>;
  987. #size-cells = <0>;
  988. status = "disabled";
  989. };
  990. uart18: serial@890000 {
  991. compatible = "qcom,geni-uart";
  992. reg = <0 0x00890000 0 0x4000>;
  993. clock-names = "se";
  994. clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
  995. pinctrl-names = "default";
  996. pinctrl-0 = <&qup_uart18_default>;
  997. interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
  998. power-domains = <&rpmhpd SM8250_CX>;
  999. operating-points-v2 = <&qup_opp_table>;
  1000. status = "disabled";
  1001. };
  1002. i2c19: i2c@894000 {
  1003. compatible = "qcom,geni-i2c";
  1004. reg = <0 0x00894000 0 0x4000>;
  1005. clock-names = "se";
  1006. clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
  1007. pinctrl-names = "default";
  1008. pinctrl-0 = <&qup_i2c19_default>;
  1009. interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
  1010. dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>,
  1011. <&gpi_dma2 1 5 QCOM_GPI_I2C>;
  1012. dma-names = "tx", "rx";
  1013. #address-cells = <1>;
  1014. #size-cells = <0>;
  1015. status = "disabled";
  1016. };
  1017. spi19: spi@894000 {
  1018. compatible = "qcom,geni-spi";
  1019. reg = <0 0x00894000 0 0x4000>;
  1020. clock-names = "se";
  1021. clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
  1022. interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
  1023. dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>,
  1024. <&gpi_dma2 1 5 QCOM_GPI_SPI>;
  1025. dma-names = "tx", "rx";
  1026. power-domains = <&rpmhpd SM8250_CX>;
  1027. operating-points-v2 = <&qup_opp_table>;
  1028. #address-cells = <1>;
  1029. #size-cells = <0>;
  1030. status = "disabled";
  1031. };
  1032. };
  1033. gpi_dma0: dma-controller@900000 {
  1034. compatible = "qcom,sm8250-gpi-dma";
  1035. reg = <0 0x00900000 0 0x70000>;
  1036. interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
  1037. <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
  1038. <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
  1039. <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
  1040. <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
  1041. <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
  1042. <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
  1043. <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
  1044. <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
  1045. <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
  1046. <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
  1047. <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
  1048. <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
  1049. dma-channels = <15>;
  1050. dma-channel-mask = <0x7ff>;
  1051. iommus = <&apps_smmu 0x5b6 0x0>;
  1052. #dma-cells = <3>;
  1053. status = "disabled";
  1054. };
  1055. qupv3_id_0: geniqup@9c0000 {
  1056. compatible = "qcom,geni-se-qup";
  1057. reg = <0x0 0x009c0000 0x0 0x6000>;
  1058. clock-names = "m-ahb", "s-ahb";
  1059. clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
  1060. <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
  1061. #address-cells = <2>;
  1062. #size-cells = <2>;
  1063. iommus = <&apps_smmu 0x5a3 0x0>;
  1064. ranges;
  1065. status = "disabled";
  1066. i2c0: i2c@980000 {
  1067. compatible = "qcom,geni-i2c";
  1068. reg = <0 0x00980000 0 0x4000>;
  1069. clock-names = "se";
  1070. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  1071. pinctrl-names = "default";
  1072. pinctrl-0 = <&qup_i2c0_default>;
  1073. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  1074. dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
  1075. <&gpi_dma0 1 0 QCOM_GPI_I2C>;
  1076. dma-names = "tx", "rx";
  1077. #address-cells = <1>;
  1078. #size-cells = <0>;
  1079. status = "disabled";
  1080. };
  1081. spi0: spi@980000 {
  1082. compatible = "qcom,geni-spi";
  1083. reg = <0 0x00980000 0 0x4000>;
  1084. clock-names = "se";
  1085. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  1086. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  1087. dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
  1088. <&gpi_dma0 1 0 QCOM_GPI_SPI>;
  1089. dma-names = "tx", "rx";
  1090. power-domains = <&rpmhpd SM8250_CX>;
  1091. operating-points-v2 = <&qup_opp_table>;
  1092. #address-cells = <1>;
  1093. #size-cells = <0>;
  1094. status = "disabled";
  1095. };
  1096. i2c1: i2c@984000 {
  1097. compatible = "qcom,geni-i2c";
  1098. reg = <0 0x00984000 0 0x4000>;
  1099. clock-names = "se";
  1100. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  1101. pinctrl-names = "default";
  1102. pinctrl-0 = <&qup_i2c1_default>;
  1103. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  1104. dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
  1105. <&gpi_dma0 1 1 QCOM_GPI_I2C>;
  1106. dma-names = "tx", "rx";
  1107. #address-cells = <1>;
  1108. #size-cells = <0>;
  1109. status = "disabled";
  1110. };
  1111. spi1: spi@984000 {
  1112. compatible = "qcom,geni-spi";
  1113. reg = <0 0x00984000 0 0x4000>;
  1114. clock-names = "se";
  1115. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  1116. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  1117. dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
  1118. <&gpi_dma0 1 1 QCOM_GPI_SPI>;
  1119. dma-names = "tx", "rx";
  1120. power-domains = <&rpmhpd SM8250_CX>;
  1121. operating-points-v2 = <&qup_opp_table>;
  1122. #address-cells = <1>;
  1123. #size-cells = <0>;
  1124. status = "disabled";
  1125. };
  1126. i2c2: i2c@988000 {
  1127. compatible = "qcom,geni-i2c";
  1128. reg = <0 0x00988000 0 0x4000>;
  1129. clock-names = "se";
  1130. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  1131. pinctrl-names = "default";
  1132. pinctrl-0 = <&qup_i2c2_default>;
  1133. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  1134. dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
  1135. <&gpi_dma0 1 2 QCOM_GPI_I2C>;
  1136. dma-names = "tx", "rx";
  1137. #address-cells = <1>;
  1138. #size-cells = <0>;
  1139. status = "disabled";
  1140. };
  1141. spi2: spi@988000 {
  1142. compatible = "qcom,geni-spi";
  1143. reg = <0 0x00988000 0 0x4000>;
  1144. clock-names = "se";
  1145. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  1146. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  1147. dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
  1148. <&gpi_dma0 1 2 QCOM_GPI_SPI>;
  1149. dma-names = "tx", "rx";
  1150. power-domains = <&rpmhpd SM8250_CX>;
  1151. operating-points-v2 = <&qup_opp_table>;
  1152. #address-cells = <1>;
  1153. #size-cells = <0>;
  1154. status = "disabled";
  1155. };
  1156. uart2: serial@988000 {
  1157. compatible = "qcom,geni-debug-uart";
  1158. reg = <0 0x00988000 0 0x4000>;
  1159. clock-names = "se";
  1160. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  1161. pinctrl-names = "default";
  1162. pinctrl-0 = <&qup_uart2_default>;
  1163. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  1164. power-domains = <&rpmhpd SM8250_CX>;
  1165. operating-points-v2 = <&qup_opp_table>;
  1166. status = "disabled";
  1167. };
  1168. i2c3: i2c@98c000 {
  1169. compatible = "qcom,geni-i2c";
  1170. reg = <0 0x0098c000 0 0x4000>;
  1171. clock-names = "se";
  1172. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  1173. pinctrl-names = "default";
  1174. pinctrl-0 = <&qup_i2c3_default>;
  1175. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  1176. dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
  1177. <&gpi_dma0 1 3 QCOM_GPI_I2C>;
  1178. dma-names = "tx", "rx";
  1179. #address-cells = <1>;
  1180. #size-cells = <0>;
  1181. status = "disabled";
  1182. };
  1183. spi3: spi@98c000 {
  1184. compatible = "qcom,geni-spi";
  1185. reg = <0 0x0098c000 0 0x4000>;
  1186. clock-names = "se";
  1187. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  1188. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  1189. dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
  1190. <&gpi_dma0 1 3 QCOM_GPI_SPI>;
  1191. dma-names = "tx", "rx";
  1192. power-domains = <&rpmhpd SM8250_CX>;
  1193. operating-points-v2 = <&qup_opp_table>;
  1194. #address-cells = <1>;
  1195. #size-cells = <0>;
  1196. status = "disabled";
  1197. };
  1198. i2c4: i2c@990000 {
  1199. compatible = "qcom,geni-i2c";
  1200. reg = <0 0x00990000 0 0x4000>;
  1201. clock-names = "se";
  1202. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  1203. pinctrl-names = "default";
  1204. pinctrl-0 = <&qup_i2c4_default>;
  1205. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  1206. dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
  1207. <&gpi_dma0 1 4 QCOM_GPI_I2C>;
  1208. dma-names = "tx", "rx";
  1209. #address-cells = <1>;
  1210. #size-cells = <0>;
  1211. status = "disabled";
  1212. };
  1213. spi4: spi@990000 {
  1214. compatible = "qcom,geni-spi";
  1215. reg = <0 0x00990000 0 0x4000>;
  1216. clock-names = "se";
  1217. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  1218. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  1219. dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
  1220. <&gpi_dma0 1 4 QCOM_GPI_SPI>;
  1221. dma-names = "tx", "rx";
  1222. power-domains = <&rpmhpd SM8250_CX>;
  1223. operating-points-v2 = <&qup_opp_table>;
  1224. #address-cells = <1>;
  1225. #size-cells = <0>;
  1226. status = "disabled";
  1227. };
  1228. i2c5: i2c@994000 {
  1229. compatible = "qcom,geni-i2c";
  1230. reg = <0 0x00994000 0 0x4000>;
  1231. clock-names = "se";
  1232. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  1233. pinctrl-names = "default";
  1234. pinctrl-0 = <&qup_i2c5_default>;
  1235. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  1236. dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
  1237. <&gpi_dma0 1 5 QCOM_GPI_I2C>;
  1238. dma-names = "tx", "rx";
  1239. #address-cells = <1>;
  1240. #size-cells = <0>;
  1241. status = "disabled";
  1242. };
  1243. spi5: spi@994000 {
  1244. compatible = "qcom,geni-spi";
  1245. reg = <0 0x00994000 0 0x4000>;
  1246. clock-names = "se";
  1247. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  1248. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  1249. dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
  1250. <&gpi_dma0 1 5 QCOM_GPI_SPI>;
  1251. dma-names = "tx", "rx";
  1252. power-domains = <&rpmhpd SM8250_CX>;
  1253. operating-points-v2 = <&qup_opp_table>;
  1254. #address-cells = <1>;
  1255. #size-cells = <0>;
  1256. status = "disabled";
  1257. };
  1258. i2c6: i2c@998000 {
  1259. compatible = "qcom,geni-i2c";
  1260. reg = <0 0x00998000 0 0x4000>;
  1261. clock-names = "se";
  1262. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1263. pinctrl-names = "default";
  1264. pinctrl-0 = <&qup_i2c6_default>;
  1265. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1266. dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
  1267. <&gpi_dma0 1 6 QCOM_GPI_I2C>;
  1268. dma-names = "tx", "rx";
  1269. #address-cells = <1>;
  1270. #size-cells = <0>;
  1271. status = "disabled";
  1272. };
  1273. spi6: spi@998000 {
  1274. compatible = "qcom,geni-spi";
  1275. reg = <0 0x00998000 0 0x4000>;
  1276. clock-names = "se";
  1277. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1278. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1279. dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>,
  1280. <&gpi_dma0 1 6 QCOM_GPI_SPI>;
  1281. dma-names = "tx", "rx";
  1282. power-domains = <&rpmhpd SM8250_CX>;
  1283. operating-points-v2 = <&qup_opp_table>;
  1284. #address-cells = <1>;
  1285. #size-cells = <0>;
  1286. status = "disabled";
  1287. };
  1288. uart6: serial@998000 {
  1289. compatible = "qcom,geni-uart";
  1290. reg = <0 0x00998000 0 0x4000>;
  1291. clock-names = "se";
  1292. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1293. pinctrl-names = "default";
  1294. pinctrl-0 = <&qup_uart6_default>;
  1295. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1296. power-domains = <&rpmhpd SM8250_CX>;
  1297. operating-points-v2 = <&qup_opp_table>;
  1298. status = "disabled";
  1299. };
  1300. i2c7: i2c@99c000 {
  1301. compatible = "qcom,geni-i2c";
  1302. reg = <0 0x0099c000 0 0x4000>;
  1303. clock-names = "se";
  1304. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  1305. pinctrl-names = "default";
  1306. pinctrl-0 = <&qup_i2c7_default>;
  1307. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  1308. dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>,
  1309. <&gpi_dma0 1 7 QCOM_GPI_I2C>;
  1310. dma-names = "tx", "rx";
  1311. #address-cells = <1>;
  1312. #size-cells = <0>;
  1313. status = "disabled";
  1314. };
  1315. spi7: spi@99c000 {
  1316. compatible = "qcom,geni-spi";
  1317. reg = <0 0x0099c000 0 0x4000>;
  1318. clock-names = "se";
  1319. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  1320. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  1321. dmas = <&gpi_dma0 0 7 QCOM_GPI_SPI>,
  1322. <&gpi_dma0 1 7 QCOM_GPI_SPI>;
  1323. dma-names = "tx", "rx";
  1324. power-domains = <&rpmhpd SM8250_CX>;
  1325. operating-points-v2 = <&qup_opp_table>;
  1326. #address-cells = <1>;
  1327. #size-cells = <0>;
  1328. status = "disabled";
  1329. };
  1330. };
  1331. gpi_dma1: dma-controller@a00000 {
  1332. compatible = "qcom,sm8250-gpi-dma";
  1333. reg = <0 0x00a00000 0 0x70000>;
  1334. interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
  1335. <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
  1336. <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
  1337. <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
  1338. <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
  1339. <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
  1340. <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
  1341. <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
  1342. <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
  1343. <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>;
  1344. dma-channels = <10>;
  1345. dma-channel-mask = <0x3f>;
  1346. iommus = <&apps_smmu 0x56 0x0>;
  1347. #dma-cells = <3>;
  1348. status = "disabled";
  1349. };
  1350. qupv3_id_1: geniqup@ac0000 {
  1351. compatible = "qcom,geni-se-qup";
  1352. reg = <0x0 0x00ac0000 0x0 0x6000>;
  1353. clock-names = "m-ahb", "s-ahb";
  1354. clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
  1355. <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
  1356. #address-cells = <2>;
  1357. #size-cells = <2>;
  1358. iommus = <&apps_smmu 0x43 0x0>;
  1359. ranges;
  1360. status = "disabled";
  1361. i2c8: i2c@a80000 {
  1362. compatible = "qcom,geni-i2c";
  1363. reg = <0 0x00a80000 0 0x4000>;
  1364. clock-names = "se";
  1365. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1366. pinctrl-names = "default";
  1367. pinctrl-0 = <&qup_i2c8_default>;
  1368. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1369. dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
  1370. <&gpi_dma1 1 0 QCOM_GPI_I2C>;
  1371. dma-names = "tx", "rx";
  1372. #address-cells = <1>;
  1373. #size-cells = <0>;
  1374. status = "disabled";
  1375. };
  1376. spi8: spi@a80000 {
  1377. compatible = "qcom,geni-spi";
  1378. reg = <0 0x00a80000 0 0x4000>;
  1379. clock-names = "se";
  1380. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1381. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1382. dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
  1383. <&gpi_dma1 1 0 QCOM_GPI_SPI>;
  1384. dma-names = "tx", "rx";
  1385. power-domains = <&rpmhpd SM8250_CX>;
  1386. operating-points-v2 = <&qup_opp_table>;
  1387. #address-cells = <1>;
  1388. #size-cells = <0>;
  1389. status = "disabled";
  1390. };
  1391. i2c9: i2c@a84000 {
  1392. compatible = "qcom,geni-i2c";
  1393. reg = <0 0x00a84000 0 0x4000>;
  1394. clock-names = "se";
  1395. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1396. pinctrl-names = "default";
  1397. pinctrl-0 = <&qup_i2c9_default>;
  1398. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1399. dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
  1400. <&gpi_dma1 1 1 QCOM_GPI_I2C>;
  1401. dma-names = "tx", "rx";
  1402. #address-cells = <1>;
  1403. #size-cells = <0>;
  1404. status = "disabled";
  1405. };
  1406. spi9: spi@a84000 {
  1407. compatible = "qcom,geni-spi";
  1408. reg = <0 0x00a84000 0 0x4000>;
  1409. clock-names = "se";
  1410. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1411. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1412. dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
  1413. <&gpi_dma1 1 1 QCOM_GPI_SPI>;
  1414. dma-names = "tx", "rx";
  1415. power-domains = <&rpmhpd SM8250_CX>;
  1416. operating-points-v2 = <&qup_opp_table>;
  1417. #address-cells = <1>;
  1418. #size-cells = <0>;
  1419. status = "disabled";
  1420. };
  1421. i2c10: i2c@a88000 {
  1422. compatible = "qcom,geni-i2c";
  1423. reg = <0 0x00a88000 0 0x4000>;
  1424. clock-names = "se";
  1425. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1426. pinctrl-names = "default";
  1427. pinctrl-0 = <&qup_i2c10_default>;
  1428. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1429. dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
  1430. <&gpi_dma1 1 2 QCOM_GPI_I2C>;
  1431. dma-names = "tx", "rx";
  1432. #address-cells = <1>;
  1433. #size-cells = <0>;
  1434. status = "disabled";
  1435. };
  1436. spi10: spi@a88000 {
  1437. compatible = "qcom,geni-spi";
  1438. reg = <0 0x00a88000 0 0x4000>;
  1439. clock-names = "se";
  1440. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1441. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1442. dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
  1443. <&gpi_dma1 1 2 QCOM_GPI_SPI>;
  1444. dma-names = "tx", "rx";
  1445. power-domains = <&rpmhpd SM8250_CX>;
  1446. operating-points-v2 = <&qup_opp_table>;
  1447. #address-cells = <1>;
  1448. #size-cells = <0>;
  1449. status = "disabled";
  1450. };
  1451. i2c11: i2c@a8c000 {
  1452. compatible = "qcom,geni-i2c";
  1453. reg = <0 0x00a8c000 0 0x4000>;
  1454. clock-names = "se";
  1455. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1456. pinctrl-names = "default";
  1457. pinctrl-0 = <&qup_i2c11_default>;
  1458. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1459. dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
  1460. <&gpi_dma1 1 3 QCOM_GPI_I2C>;
  1461. dma-names = "tx", "rx";
  1462. #address-cells = <1>;
  1463. #size-cells = <0>;
  1464. status = "disabled";
  1465. };
  1466. spi11: spi@a8c000 {
  1467. compatible = "qcom,geni-spi";
  1468. reg = <0 0x00a8c000 0 0x4000>;
  1469. clock-names = "se";
  1470. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1471. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1472. dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
  1473. <&gpi_dma1 1 3 QCOM_GPI_SPI>;
  1474. dma-names = "tx", "rx";
  1475. power-domains = <&rpmhpd SM8250_CX>;
  1476. operating-points-v2 = <&qup_opp_table>;
  1477. #address-cells = <1>;
  1478. #size-cells = <0>;
  1479. status = "disabled";
  1480. };
  1481. i2c12: i2c@a90000 {
  1482. compatible = "qcom,geni-i2c";
  1483. reg = <0 0x00a90000 0 0x4000>;
  1484. clock-names = "se";
  1485. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1486. pinctrl-names = "default";
  1487. pinctrl-0 = <&qup_i2c12_default>;
  1488. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1489. dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
  1490. <&gpi_dma1 1 4 QCOM_GPI_I2C>;
  1491. dma-names = "tx", "rx";
  1492. #address-cells = <1>;
  1493. #size-cells = <0>;
  1494. status = "disabled";
  1495. };
  1496. spi12: spi@a90000 {
  1497. compatible = "qcom,geni-spi";
  1498. reg = <0 0x00a90000 0 0x4000>;
  1499. clock-names = "se";
  1500. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1501. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1502. dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
  1503. <&gpi_dma1 1 4 QCOM_GPI_SPI>;
  1504. dma-names = "tx", "rx";
  1505. power-domains = <&rpmhpd SM8250_CX>;
  1506. operating-points-v2 = <&qup_opp_table>;
  1507. #address-cells = <1>;
  1508. #size-cells = <0>;
  1509. status = "disabled";
  1510. };
  1511. uart12: serial@a90000 {
  1512. compatible = "qcom,geni-debug-uart";
  1513. reg = <0x0 0x00a90000 0x0 0x4000>;
  1514. clock-names = "se";
  1515. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1516. pinctrl-names = "default";
  1517. pinctrl-0 = <&qup_uart12_default>;
  1518. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1519. power-domains = <&rpmhpd SM8250_CX>;
  1520. operating-points-v2 = <&qup_opp_table>;
  1521. status = "disabled";
  1522. };
  1523. i2c13: i2c@a94000 {
  1524. compatible = "qcom,geni-i2c";
  1525. reg = <0 0x00a94000 0 0x4000>;
  1526. clock-names = "se";
  1527. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1528. pinctrl-names = "default";
  1529. pinctrl-0 = <&qup_i2c13_default>;
  1530. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1531. dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
  1532. <&gpi_dma1 1 5 QCOM_GPI_I2C>;
  1533. dma-names = "tx", "rx";
  1534. #address-cells = <1>;
  1535. #size-cells = <0>;
  1536. status = "disabled";
  1537. };
  1538. spi13: spi@a94000 {
  1539. compatible = "qcom,geni-spi";
  1540. reg = <0 0x00a94000 0 0x4000>;
  1541. clock-names = "se";
  1542. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1543. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1544. dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
  1545. <&gpi_dma1 1 5 QCOM_GPI_SPI>;
  1546. dma-names = "tx", "rx";
  1547. power-domains = <&rpmhpd SM8250_CX>;
  1548. operating-points-v2 = <&qup_opp_table>;
  1549. #address-cells = <1>;
  1550. #size-cells = <0>;
  1551. status = "disabled";
  1552. };
  1553. };
  1554. config_noc: interconnect@1500000 {
  1555. compatible = "qcom,sm8250-config-noc";
  1556. reg = <0 0x01500000 0 0xa580>;
  1557. #interconnect-cells = <1>;
  1558. qcom,bcm-voters = <&apps_bcm_voter>;
  1559. };
  1560. system_noc: interconnect@1620000 {
  1561. compatible = "qcom,sm8250-system-noc";
  1562. reg = <0 0x01620000 0 0x1c200>;
  1563. #interconnect-cells = <1>;
  1564. qcom,bcm-voters = <&apps_bcm_voter>;
  1565. };
  1566. mc_virt: interconnect@163d000 {
  1567. compatible = "qcom,sm8250-mc-virt";
  1568. reg = <0 0x0163d000 0 0x1000>;
  1569. #interconnect-cells = <1>;
  1570. qcom,bcm-voters = <&apps_bcm_voter>;
  1571. };
  1572. aggre1_noc: interconnect@16e0000 {
  1573. compatible = "qcom,sm8250-aggre1-noc";
  1574. reg = <0 0x016e0000 0 0x1f180>;
  1575. #interconnect-cells = <1>;
  1576. qcom,bcm-voters = <&apps_bcm_voter>;
  1577. };
  1578. aggre2_noc: interconnect@1700000 {
  1579. compatible = "qcom,sm8250-aggre2-noc";
  1580. reg = <0 0x01700000 0 0x33000>;
  1581. #interconnect-cells = <1>;
  1582. qcom,bcm-voters = <&apps_bcm_voter>;
  1583. };
  1584. compute_noc: interconnect@1733000 {
  1585. compatible = "qcom,sm8250-compute-noc";
  1586. reg = <0 0x01733000 0 0xa180>;
  1587. #interconnect-cells = <1>;
  1588. qcom,bcm-voters = <&apps_bcm_voter>;
  1589. };
  1590. mmss_noc: interconnect@1740000 {
  1591. compatible = "qcom,sm8250-mmss-noc";
  1592. reg = <0 0x01740000 0 0x1f080>;
  1593. #interconnect-cells = <1>;
  1594. qcom,bcm-voters = <&apps_bcm_voter>;
  1595. };
  1596. pcie0: pci@1c00000 {
  1597. compatible = "qcom,pcie-sm8250";
  1598. reg = <0 0x01c00000 0 0x3000>,
  1599. <0 0x60000000 0 0xf1d>,
  1600. <0 0x60000f20 0 0xa8>,
  1601. <0 0x60001000 0 0x1000>,
  1602. <0 0x60100000 0 0x100000>;
  1603. reg-names = "parf", "dbi", "elbi", "atu", "config";
  1604. device_type = "pci";
  1605. linux,pci-domain = <0>;
  1606. bus-range = <0x00 0xff>;
  1607. num-lanes = <1>;
  1608. #address-cells = <3>;
  1609. #size-cells = <2>;
  1610. ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
  1611. <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
  1612. interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
  1613. <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
  1614. <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
  1615. <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
  1616. <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
  1617. <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
  1618. <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
  1619. <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
  1620. interrupt-names = "msi0", "msi1", "msi2", "msi3",
  1621. "msi4", "msi5", "msi6", "msi7";
  1622. #interrupt-cells = <1>;
  1623. interrupt-map-mask = <0 0 0 0x7>;
  1624. interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  1625. <0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  1626. <0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  1627. <0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  1628. clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
  1629. <&gcc GCC_PCIE_0_AUX_CLK>,
  1630. <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
  1631. <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
  1632. <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
  1633. <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
  1634. <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>,
  1635. <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>;
  1636. clock-names = "pipe",
  1637. "aux",
  1638. "cfg",
  1639. "bus_master",
  1640. "bus_slave",
  1641. "slave_q2a",
  1642. "tbu",
  1643. "ddrss_sf_tbu";
  1644. iommus = <&apps_smmu 0x1c00 0x7f>;
  1645. iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
  1646. <0x100 &apps_smmu 0x1c01 0x1>;
  1647. resets = <&gcc GCC_PCIE_0_BCR>;
  1648. reset-names = "pci";
  1649. power-domains = <&gcc PCIE_0_GDSC>;
  1650. phys = <&pcie0_lane>;
  1651. phy-names = "pciephy";
  1652. perst-gpios = <&tlmm 79 GPIO_ACTIVE_LOW>;
  1653. wake-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>;
  1654. pinctrl-names = "default";
  1655. pinctrl-0 = <&pcie0_default_state>;
  1656. dma-coherent;
  1657. status = "disabled";
  1658. };
  1659. pcie0_phy: phy@1c06000 {
  1660. compatible = "qcom,sm8250-qmp-gen3x1-pcie-phy";
  1661. reg = <0 0x01c06000 0 0x1c0>;
  1662. #address-cells = <2>;
  1663. #size-cells = <2>;
  1664. ranges;
  1665. clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
  1666. <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
  1667. <&gcc GCC_PCIE_WIFI_CLKREF_EN>,
  1668. <&gcc GCC_PCIE0_PHY_REFGEN_CLK>;
  1669. clock-names = "aux", "cfg_ahb", "ref", "refgen";
  1670. resets = <&gcc GCC_PCIE_0_PHY_BCR>;
  1671. reset-names = "phy";
  1672. assigned-clocks = <&gcc GCC_PCIE0_PHY_REFGEN_CLK>;
  1673. assigned-clock-rates = <100000000>;
  1674. status = "disabled";
  1675. pcie0_lane: phy@1c06200 {
  1676. reg = <0 0x1c06200 0 0x170>, /* tx */
  1677. <0 0x1c06400 0 0x200>, /* rx */
  1678. <0 0x1c06800 0 0x1f0>, /* pcs */
  1679. <0 0x1c06c00 0 0xf4>; /* "pcs_lane" same as pcs_misc? */
  1680. clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
  1681. clock-names = "pipe0";
  1682. #phy-cells = <0>;
  1683. #clock-cells = <0>;
  1684. clock-output-names = "pcie_0_pipe_clk";
  1685. };
  1686. };
  1687. pcie1: pci@1c08000 {
  1688. compatible = "qcom,pcie-sm8250";
  1689. reg = <0 0x01c08000 0 0x3000>,
  1690. <0 0x40000000 0 0xf1d>,
  1691. <0 0x40000f20 0 0xa8>,
  1692. <0 0x40001000 0 0x1000>,
  1693. <0 0x40100000 0 0x100000>;
  1694. reg-names = "parf", "dbi", "elbi", "atu", "config";
  1695. device_type = "pci";
  1696. linux,pci-domain = <1>;
  1697. bus-range = <0x00 0xff>;
  1698. num-lanes = <2>;
  1699. #address-cells = <3>;
  1700. #size-cells = <2>;
  1701. ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
  1702. <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
  1703. interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
  1704. interrupt-names = "msi";
  1705. #interrupt-cells = <1>;
  1706. interrupt-map-mask = <0 0 0 0x7>;
  1707. interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  1708. <0 0 0 2 &intc 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  1709. <0 0 0 3 &intc 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  1710. <0 0 0 4 &intc 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  1711. clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
  1712. <&gcc GCC_PCIE_1_AUX_CLK>,
  1713. <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
  1714. <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
  1715. <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
  1716. <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
  1717. <&gcc GCC_PCIE_WIGIG_CLKREF_EN>,
  1718. <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>,
  1719. <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>;
  1720. clock-names = "pipe",
  1721. "aux",
  1722. "cfg",
  1723. "bus_master",
  1724. "bus_slave",
  1725. "slave_q2a",
  1726. "ref",
  1727. "tbu",
  1728. "ddrss_sf_tbu";
  1729. assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
  1730. assigned-clock-rates = <19200000>;
  1731. iommus = <&apps_smmu 0x1c80 0x7f>;
  1732. iommu-map = <0x0 &apps_smmu 0x1c80 0x1>,
  1733. <0x100 &apps_smmu 0x1c81 0x1>;
  1734. resets = <&gcc GCC_PCIE_1_BCR>;
  1735. reset-names = "pci";
  1736. power-domains = <&gcc PCIE_1_GDSC>;
  1737. phys = <&pcie1_lane>;
  1738. phy-names = "pciephy";
  1739. perst-gpios = <&tlmm 82 GPIO_ACTIVE_LOW>;
  1740. wake-gpios = <&tlmm 84 GPIO_ACTIVE_HIGH>;
  1741. pinctrl-names = "default";
  1742. pinctrl-0 = <&pcie1_default_state>;
  1743. dma-coherent;
  1744. status = "disabled";
  1745. };
  1746. pcie1_phy: phy@1c0e000 {
  1747. compatible = "qcom,sm8250-qmp-gen3x2-pcie-phy";
  1748. reg = <0 0x01c0e000 0 0x1c0>;
  1749. #address-cells = <2>;
  1750. #size-cells = <2>;
  1751. ranges;
  1752. clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
  1753. <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
  1754. <&gcc GCC_PCIE_WIGIG_CLKREF_EN>,
  1755. <&gcc GCC_PCIE1_PHY_REFGEN_CLK>;
  1756. clock-names = "aux", "cfg_ahb", "ref", "refgen";
  1757. resets = <&gcc GCC_PCIE_1_PHY_BCR>;
  1758. reset-names = "phy";
  1759. assigned-clocks = <&gcc GCC_PCIE1_PHY_REFGEN_CLK>;
  1760. assigned-clock-rates = <100000000>;
  1761. status = "disabled";
  1762. pcie1_lane: phy@1c0e200 {
  1763. reg = <0 0x1c0e200 0 0x170>, /* tx0 */
  1764. <0 0x1c0e400 0 0x200>, /* rx0 */
  1765. <0 0x1c0ea00 0 0x1f0>, /* pcs */
  1766. <0 0x1c0e600 0 0x170>, /* tx1 */
  1767. <0 0x1c0e800 0 0x200>, /* rx1 */
  1768. <0 0x1c0ee00 0 0xf4>; /* "pcs_com" same as pcs_misc? */
  1769. clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
  1770. clock-names = "pipe0";
  1771. #phy-cells = <0>;
  1772. #clock-cells = <0>;
  1773. clock-output-names = "pcie_1_pipe_clk";
  1774. };
  1775. };
  1776. pcie2: pci@1c10000 {
  1777. compatible = "qcom,pcie-sm8250";
  1778. reg = <0 0x01c10000 0 0x3000>,
  1779. <0 0x64000000 0 0xf1d>,
  1780. <0 0x64000f20 0 0xa8>,
  1781. <0 0x64001000 0 0x1000>,
  1782. <0 0x64100000 0 0x100000>;
  1783. reg-names = "parf", "dbi", "elbi", "atu", "config";
  1784. device_type = "pci";
  1785. linux,pci-domain = <2>;
  1786. bus-range = <0x00 0xff>;
  1787. num-lanes = <2>;
  1788. #address-cells = <3>;
  1789. #size-cells = <2>;
  1790. ranges = <0x01000000 0x0 0x00000000 0x0 0x64200000 0x0 0x100000>,
  1791. <0x02000000 0x0 0x64300000 0x0 0x64300000 0x0 0x3d00000>;
  1792. interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
  1793. interrupt-names = "msi";
  1794. #interrupt-cells = <1>;
  1795. interrupt-map-mask = <0 0 0 0x7>;
  1796. interrupt-map = <0 0 0 1 &intc 0 290 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  1797. <0 0 0 2 &intc 0 415 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  1798. <0 0 0 3 &intc 0 416 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  1799. <0 0 0 4 &intc 0 417 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  1800. clocks = <&gcc GCC_PCIE_2_PIPE_CLK>,
  1801. <&gcc GCC_PCIE_2_AUX_CLK>,
  1802. <&gcc GCC_PCIE_2_CFG_AHB_CLK>,
  1803. <&gcc GCC_PCIE_2_MSTR_AXI_CLK>,
  1804. <&gcc GCC_PCIE_2_SLV_AXI_CLK>,
  1805. <&gcc GCC_PCIE_2_SLV_Q2A_AXI_CLK>,
  1806. <&gcc GCC_PCIE_MDM_CLKREF_EN>,
  1807. <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>,
  1808. <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>;
  1809. clock-names = "pipe",
  1810. "aux",
  1811. "cfg",
  1812. "bus_master",
  1813. "bus_slave",
  1814. "slave_q2a",
  1815. "ref",
  1816. "tbu",
  1817. "ddrss_sf_tbu";
  1818. assigned-clocks = <&gcc GCC_PCIE_2_AUX_CLK>;
  1819. assigned-clock-rates = <19200000>;
  1820. iommus = <&apps_smmu 0x1d00 0x7f>;
  1821. iommu-map = <0x0 &apps_smmu 0x1d00 0x1>,
  1822. <0x100 &apps_smmu 0x1d01 0x1>;
  1823. resets = <&gcc GCC_PCIE_2_BCR>;
  1824. reset-names = "pci";
  1825. power-domains = <&gcc PCIE_2_GDSC>;
  1826. phys = <&pcie2_lane>;
  1827. phy-names = "pciephy";
  1828. perst-gpios = <&tlmm 85 GPIO_ACTIVE_LOW>;
  1829. wake-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>;
  1830. pinctrl-names = "default";
  1831. pinctrl-0 = <&pcie2_default_state>;
  1832. dma-coherent;
  1833. status = "disabled";
  1834. };
  1835. pcie2_phy: phy@1c16000 {
  1836. compatible = "qcom,sm8250-qmp-modem-pcie-phy";
  1837. reg = <0 0x1c16000 0 0x1c0>;
  1838. #address-cells = <2>;
  1839. #size-cells = <2>;
  1840. ranges;
  1841. clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
  1842. <&gcc GCC_PCIE_2_CFG_AHB_CLK>,
  1843. <&gcc GCC_PCIE_MDM_CLKREF_EN>,
  1844. <&gcc GCC_PCIE2_PHY_REFGEN_CLK>;
  1845. clock-names = "aux", "cfg_ahb", "ref", "refgen";
  1846. resets = <&gcc GCC_PCIE_2_PHY_BCR>;
  1847. reset-names = "phy";
  1848. assigned-clocks = <&gcc GCC_PCIE2_PHY_REFGEN_CLK>;
  1849. assigned-clock-rates = <100000000>;
  1850. status = "disabled";
  1851. pcie2_lane: phy@1c16200 {
  1852. reg = <0 0x1c16200 0 0x170>, /* tx0 */
  1853. <0 0x1c16400 0 0x200>, /* rx0 */
  1854. <0 0x1c16a00 0 0x1f0>, /* pcs */
  1855. <0 0x1c16600 0 0x170>, /* tx1 */
  1856. <0 0x1c16800 0 0x200>, /* rx1 */
  1857. <0 0x1c16e00 0 0xf4>; /* "pcs_com" same as pcs_misc? */
  1858. clocks = <&gcc GCC_PCIE_2_PIPE_CLK>;
  1859. clock-names = "pipe0";
  1860. #phy-cells = <0>;
  1861. #clock-cells = <0>;
  1862. clock-output-names = "pcie_2_pipe_clk";
  1863. };
  1864. };
  1865. ufs_mem_hc: ufshc@1d84000 {
  1866. compatible = "qcom,sm8250-ufshc", "qcom,ufshc",
  1867. "jedec,ufs-2.0";
  1868. reg = <0 0x01d84000 0 0x3000>;
  1869. interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
  1870. phys = <&ufs_mem_phy_lanes>;
  1871. phy-names = "ufsphy";
  1872. lanes-per-direction = <2>;
  1873. #reset-cells = <1>;
  1874. resets = <&gcc GCC_UFS_PHY_BCR>;
  1875. reset-names = "rst";
  1876. power-domains = <&gcc UFS_PHY_GDSC>;
  1877. iommus = <&apps_smmu 0x0e0 0>, <&apps_smmu 0x4e0 0>;
  1878. clock-names =
  1879. "core_clk",
  1880. "bus_aggr_clk",
  1881. "iface_clk",
  1882. "core_clk_unipro",
  1883. "ref_clk",
  1884. "tx_lane0_sync_clk",
  1885. "rx_lane0_sync_clk",
  1886. "rx_lane1_sync_clk";
  1887. clocks =
  1888. <&gcc GCC_UFS_PHY_AXI_CLK>,
  1889. <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
  1890. <&gcc GCC_UFS_PHY_AHB_CLK>,
  1891. <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
  1892. <&rpmhcc RPMH_CXO_CLK>,
  1893. <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
  1894. <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
  1895. <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
  1896. freq-table-hz =
  1897. <37500000 300000000>,
  1898. <0 0>,
  1899. <0 0>,
  1900. <37500000 300000000>,
  1901. <0 0>,
  1902. <0 0>,
  1903. <0 0>,
  1904. <0 0>;
  1905. status = "disabled";
  1906. };
  1907. ufs_mem_phy: phy@1d87000 {
  1908. compatible = "qcom,sm8250-qmp-ufs-phy";
  1909. reg = <0 0x01d87000 0 0x1c0>;
  1910. #address-cells = <2>;
  1911. #size-cells = <2>;
  1912. ranges;
  1913. clock-names = "ref",
  1914. "ref_aux";
  1915. clocks = <&rpmhcc RPMH_CXO_CLK>,
  1916. <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
  1917. resets = <&ufs_mem_hc 0>;
  1918. reset-names = "ufsphy";
  1919. status = "disabled";
  1920. ufs_mem_phy_lanes: phy@1d87400 {
  1921. reg = <0 0x01d87400 0 0x16c>,
  1922. <0 0x01d87600 0 0x200>,
  1923. <0 0x01d87c00 0 0x200>,
  1924. <0 0x01d87800 0 0x16c>,
  1925. <0 0x01d87a00 0 0x200>;
  1926. #phy-cells = <0>;
  1927. };
  1928. };
  1929. ipa_virt: interconnect@1e00000 {
  1930. compatible = "qcom,sm8250-ipa-virt";
  1931. reg = <0 0x01e00000 0 0x1000>;
  1932. #interconnect-cells = <1>;
  1933. qcom,bcm-voters = <&apps_bcm_voter>;
  1934. };
  1935. tcsr_mutex: hwlock@1f40000 {
  1936. compatible = "qcom,tcsr-mutex";
  1937. reg = <0x0 0x01f40000 0x0 0x40000>;
  1938. #hwlock-cells = <1>;
  1939. };
  1940. wsamacro: codec@3240000 {
  1941. compatible = "qcom,sm8250-lpass-wsa-macro";
  1942. reg = <0 0x03240000 0 0x1000>;
  1943. clocks = <&audiocc LPASS_CDC_WSA_MCLK>,
  1944. <&audiocc LPASS_CDC_WSA_NPL>,
  1945. <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  1946. <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  1947. <&aoncc LPASS_CDC_VA_MCLK>,
  1948. <&vamacro>;
  1949. clock-names = "mclk", "npl", "macro", "dcodec", "va", "fsgen";
  1950. #clock-cells = <0>;
  1951. clock-frequency = <9600000>;
  1952. clock-output-names = "mclk";
  1953. #sound-dai-cells = <1>;
  1954. pinctrl-names = "default";
  1955. pinctrl-0 = <&wsa_swr_active>;
  1956. };
  1957. swr0: soundwire-controller@3250000 {
  1958. reg = <0 0x03250000 0 0x2000>;
  1959. compatible = "qcom,soundwire-v1.5.1";
  1960. interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
  1961. clocks = <&wsamacro>;
  1962. clock-names = "iface";
  1963. qcom,din-ports = <2>;
  1964. qcom,dout-ports = <6>;
  1965. qcom,ports-sinterval-low = /bits/ 8 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0x0f 0x0f>;
  1966. qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0c 0x06 0x12 0x0d 0x07 0x0a>;
  1967. qcom,ports-offset2 = /bits/ 8 <0xff 0x00 0x1f 0xff 0x00 0x1f 0x00 0x00>;
  1968. qcom,ports-block-pack-mode = /bits/ 8 <0x0 0x0 0x1 0x0 0x0 0x1 0x0 0x0>;
  1969. #sound-dai-cells = <1>;
  1970. #address-cells = <2>;
  1971. #size-cells = <0>;
  1972. };
  1973. audiocc: clock-controller@3300000 {
  1974. compatible = "qcom,sm8250-lpass-audiocc";
  1975. reg = <0 0x03300000 0 0x30000>;
  1976. #clock-cells = <1>;
  1977. clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  1978. <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  1979. <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
  1980. clock-names = "core", "audio", "bus";
  1981. };
  1982. vamacro: codec@3370000 {
  1983. compatible = "qcom,sm8250-lpass-va-macro";
  1984. reg = <0 0x03370000 0 0x1000>;
  1985. clocks = <&aoncc LPASS_CDC_VA_MCLK>,
  1986. <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  1987. <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
  1988. clock-names = "mclk", "macro", "dcodec";
  1989. #clock-cells = <0>;
  1990. clock-frequency = <9600000>;
  1991. clock-output-names = "fsgen";
  1992. #sound-dai-cells = <1>;
  1993. };
  1994. rxmacro: rxmacro@3200000 {
  1995. pinctrl-names = "default";
  1996. pinctrl-0 = <&rx_swr_active>;
  1997. compatible = "qcom,sm8250-lpass-rx-macro";
  1998. reg = <0 0x3200000 0 0x1000>;
  1999. status = "disabled";
  2000. clocks = <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2001. <&q6afecc LPASS_CLK_ID_TX_CORE_NPL_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2002. <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2003. <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2004. <&vamacro>;
  2005. clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
  2006. #clock-cells = <0>;
  2007. clock-frequency = <9600000>;
  2008. clock-output-names = "mclk";
  2009. #sound-dai-cells = <1>;
  2010. };
  2011. swr1: soundwire-controller@3210000 {
  2012. reg = <0 0x3210000 0 0x2000>;
  2013. compatible = "qcom,soundwire-v1.5.1";
  2014. status = "disabled";
  2015. interrupts = <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>;
  2016. clocks = <&rxmacro>;
  2017. clock-names = "iface";
  2018. label = "RX";
  2019. qcom,din-ports = <0>;
  2020. qcom,dout-ports = <5>;
  2021. qcom,ports-sinterval-low = /bits/ 8 <0x03 0x1F 0x1F 0x07 0x00>;
  2022. qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0B 0x01 0x00>;
  2023. qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0B 0x00 0x00>;
  2024. qcom,ports-hstart = /bits/ 8 <0xFF 0x03 0xFF 0xFF 0xFF>;
  2025. qcom,ports-hstop = /bits/ 8 <0xFF 0x06 0xFF 0xFF 0xFF>;
  2026. qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xFF 0xFF>;
  2027. qcom,ports-block-pack-mode = /bits/ 8 <0xFF 0x00 0x01 0xFF 0xFF>;
  2028. qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00>;
  2029. qcom,ports-block-group-count = /bits/ 8 <0xFF 0xFF 0xFF 0xFF 0x00>;
  2030. #sound-dai-cells = <1>;
  2031. #address-cells = <2>;
  2032. #size-cells = <0>;
  2033. };
  2034. txmacro: txmacro@3220000 {
  2035. pinctrl-names = "default";
  2036. pinctrl-0 = <&tx_swr_active>;
  2037. compatible = "qcom,sm8250-lpass-tx-macro";
  2038. reg = <0 0x3220000 0 0x1000>;
  2039. status = "disabled";
  2040. clocks = <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2041. <&q6afecc LPASS_CLK_ID_TX_CORE_NPL_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2042. <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2043. <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2044. <&vamacro>;
  2045. clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
  2046. #clock-cells = <0>;
  2047. clock-frequency = <9600000>;
  2048. clock-output-names = "mclk";
  2049. #address-cells = <2>;
  2050. #size-cells = <2>;
  2051. #sound-dai-cells = <1>;
  2052. };
  2053. /* tx macro */
  2054. swr2: soundwire-controller@3230000 {
  2055. reg = <0 0x3230000 0 0x2000>;
  2056. compatible = "qcom,soundwire-v1.5.1";
  2057. interrupts-extended = <&intc GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>;
  2058. interrupt-names = "core";
  2059. status = "disabled";
  2060. clocks = <&txmacro>;
  2061. clock-names = "iface";
  2062. label = "TX";
  2063. qcom,din-ports = <5>;
  2064. qcom,dout-ports = <0>;
  2065. qcom,ports-sinterval-low = /bits/ 8 <0xFF 0x01 0x01 0x03 0x03>;
  2066. qcom,ports-offset1 = /bits/ 8 <0xFF 0x01 0x00 0x02 0x00>;
  2067. qcom,ports-offset2 = /bits/ 8 <0xFF 0x00 0x00 0x00 0x00>;
  2068. qcom,ports-block-pack-mode = /bits/ 8 <0xFF 0xFF 0xFF 0xFF 0xFF>;
  2069. qcom,ports-hstart = /bits/ 8 <0xFF 0xFF 0xFF 0xFF 0xFF>;
  2070. qcom,ports-hstop = /bits/ 8 <0xFF 0xFF 0xFF 0xFF 0xFF>;
  2071. qcom,ports-word-length = /bits/ 8 <0xFF 0xFF 0xFF 0xFF 0xFF>;
  2072. qcom,ports-block-group-count = /bits/ 8 <0xFF 0xFF 0xFF 0xFF 0xFF>;
  2073. qcom,ports-lane-control = /bits/ 8 <0xFF 0x00 0x01 0x00 0x01>;
  2074. qcom,port-offset = <1>;
  2075. #sound-dai-cells = <1>;
  2076. #address-cells = <2>;
  2077. #size-cells = <0>;
  2078. };
  2079. aoncc: clock-controller@3380000 {
  2080. compatible = "qcom,sm8250-lpass-aoncc";
  2081. reg = <0 0x03380000 0 0x40000>;
  2082. #clock-cells = <1>;
  2083. clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2084. <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2085. <&q6afecc LPASS_CLK_ID_TX_CORE_NPL_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
  2086. clock-names = "core", "audio", "bus";
  2087. };
  2088. lpass_tlmm: pinctrl@33c0000{
  2089. compatible = "qcom,sm8250-lpass-lpi-pinctrl";
  2090. reg = <0 0x033c0000 0x0 0x20000>,
  2091. <0 0x03550000 0x0 0x10000>;
  2092. gpio-controller;
  2093. #gpio-cells = <2>;
  2094. gpio-ranges = <&lpass_tlmm 0 0 14>;
  2095. clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
  2096. <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
  2097. clock-names = "core", "audio";
  2098. wsa_swr_active: wsa-swr-active-pins {
  2099. clk {
  2100. pins = "gpio10";
  2101. function = "wsa_swr_clk";
  2102. drive-strength = <2>;
  2103. slew-rate = <1>;
  2104. bias-disable;
  2105. };
  2106. data {
  2107. pins = "gpio11";
  2108. function = "wsa_swr_data";
  2109. drive-strength = <2>;
  2110. slew-rate = <1>;
  2111. bias-bus-hold;
  2112. };
  2113. };
  2114. wsa_swr_sleep: wsa-swr-sleep-pins {
  2115. clk {
  2116. pins = "gpio10";
  2117. function = "wsa_swr_clk";
  2118. drive-strength = <2>;
  2119. input-enable;
  2120. bias-pull-down;
  2121. };
  2122. data {
  2123. pins = "gpio11";
  2124. function = "wsa_swr_data";
  2125. drive-strength = <2>;
  2126. input-enable;
  2127. bias-pull-down;
  2128. };
  2129. };
  2130. dmic01_active: dmic01-active-pins {
  2131. clk {
  2132. pins = "gpio6";
  2133. function = "dmic1_clk";
  2134. drive-strength = <8>;
  2135. output-high;
  2136. };
  2137. data {
  2138. pins = "gpio7";
  2139. function = "dmic1_data";
  2140. drive-strength = <8>;
  2141. input-enable;
  2142. };
  2143. };
  2144. dmic01_sleep: dmic01-sleep-pins {
  2145. clk {
  2146. pins = "gpio6";
  2147. function = "dmic1_clk";
  2148. drive-strength = <2>;
  2149. bias-disable;
  2150. output-low;
  2151. };
  2152. data {
  2153. pins = "gpio7";
  2154. function = "dmic1_data";
  2155. drive-strength = <2>;
  2156. bias-pull-down;
  2157. input-enable;
  2158. };
  2159. };
  2160. rx_swr_active: rx_swr-active-pins {
  2161. clk {
  2162. pins = "gpio3";
  2163. function = "swr_rx_clk";
  2164. drive-strength = <2>;
  2165. slew-rate = <1>;
  2166. bias-disable;
  2167. };
  2168. data {
  2169. pins = "gpio4", "gpio5";
  2170. function = "swr_rx_data";
  2171. drive-strength = <2>;
  2172. slew-rate = <1>;
  2173. bias-bus-hold;
  2174. };
  2175. };
  2176. tx_swr_active: tx_swr-active-pins {
  2177. clk {
  2178. pins = "gpio0";
  2179. function = "swr_tx_clk";
  2180. drive-strength = <2>;
  2181. slew-rate = <1>;
  2182. bias-disable;
  2183. };
  2184. data {
  2185. pins = "gpio1", "gpio2";
  2186. function = "swr_tx_data";
  2187. drive-strength = <2>;
  2188. slew-rate = <1>;
  2189. bias-bus-hold;
  2190. };
  2191. };
  2192. tx_swr_sleep: tx_swr-sleep-pins {
  2193. clk {
  2194. pins = "gpio0";
  2195. function = "swr_tx_clk";
  2196. drive-strength = <2>;
  2197. input-enable;
  2198. bias-pull-down;
  2199. };
  2200. data1 {
  2201. pins = "gpio1";
  2202. function = "swr_tx_data";
  2203. drive-strength = <2>;
  2204. input-enable;
  2205. bias-bus-hold;
  2206. };
  2207. data2 {
  2208. pins = "gpio2";
  2209. function = "swr_tx_data";
  2210. drive-strength = <2>;
  2211. input-enable;
  2212. bias-pull-down;
  2213. };
  2214. };
  2215. };
  2216. gpu: gpu@3d00000 {
  2217. compatible = "qcom,adreno-650.2",
  2218. "qcom,adreno";
  2219. reg = <0 0x03d00000 0 0x40000>;
  2220. reg-names = "kgsl_3d0_reg_memory";
  2221. interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
  2222. iommus = <&adreno_smmu 0 0x401>;
  2223. operating-points-v2 = <&gpu_opp_table>;
  2224. qcom,gmu = <&gmu>;
  2225. status = "disabled";
  2226. zap-shader {
  2227. memory-region = <&gpu_mem>;
  2228. };
  2229. /* note: downstream checks gpu binning for 670 Mhz */
  2230. gpu_opp_table: opp-table {
  2231. compatible = "operating-points-v2";
  2232. opp-670000000 {
  2233. opp-hz = /bits/ 64 <670000000>;
  2234. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
  2235. };
  2236. opp-587000000 {
  2237. opp-hz = /bits/ 64 <587000000>;
  2238. opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
  2239. };
  2240. opp-525000000 {
  2241. opp-hz = /bits/ 64 <525000000>;
  2242. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
  2243. };
  2244. opp-490000000 {
  2245. opp-hz = /bits/ 64 <490000000>;
  2246. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
  2247. };
  2248. opp-441600000 {
  2249. opp-hz = /bits/ 64 <441600000>;
  2250. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
  2251. };
  2252. opp-400000000 {
  2253. opp-hz = /bits/ 64 <400000000>;
  2254. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  2255. };
  2256. opp-305000000 {
  2257. opp-hz = /bits/ 64 <305000000>;
  2258. opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
  2259. };
  2260. };
  2261. };
  2262. gmu: gmu@3d6a000 {
  2263. compatible = "qcom,adreno-gmu-650.2", "qcom,adreno-gmu";
  2264. reg = <0 0x03d6a000 0 0x30000>,
  2265. <0 0x3de0000 0 0x10000>,
  2266. <0 0xb290000 0 0x10000>,
  2267. <0 0xb490000 0 0x10000>;
  2268. reg-names = "gmu", "rscc", "gmu_pdc", "gmu_pdc_seq";
  2269. interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
  2270. <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
  2271. interrupt-names = "hfi", "gmu";
  2272. clocks = <&gpucc GPU_CC_AHB_CLK>,
  2273. <&gpucc GPU_CC_CX_GMU_CLK>,
  2274. <&gpucc GPU_CC_CXO_CLK>,
  2275. <&gcc GCC_DDRSS_GPU_AXI_CLK>,
  2276. <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
  2277. clock-names = "ahb", "gmu", "cxo", "axi", "memnoc";
  2278. power-domains = <&gpucc GPU_CX_GDSC>,
  2279. <&gpucc GPU_GX_GDSC>;
  2280. power-domain-names = "cx", "gx";
  2281. iommus = <&adreno_smmu 5 0x400>;
  2282. operating-points-v2 = <&gmu_opp_table>;
  2283. status = "disabled";
  2284. gmu_opp_table: opp-table {
  2285. compatible = "operating-points-v2";
  2286. opp-200000000 {
  2287. opp-hz = /bits/ 64 <200000000>;
  2288. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  2289. };
  2290. };
  2291. };
  2292. gpucc: clock-controller@3d90000 {
  2293. compatible = "qcom,sm8250-gpucc";
  2294. reg = <0 0x03d90000 0 0x9000>;
  2295. clocks = <&rpmhcc RPMH_CXO_CLK>,
  2296. <&gcc GCC_GPU_GPLL0_CLK_SRC>,
  2297. <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
  2298. clock-names = "bi_tcxo",
  2299. "gcc_gpu_gpll0_clk_src",
  2300. "gcc_gpu_gpll0_div_clk_src";
  2301. #clock-cells = <1>;
  2302. #reset-cells = <1>;
  2303. #power-domain-cells = <1>;
  2304. };
  2305. adreno_smmu: iommu@3da0000 {
  2306. compatible = "qcom,sm8250-smmu-500", "qcom,adreno-smmu", "arm,mmu-500";
  2307. reg = <0 0x03da0000 0 0x10000>;
  2308. #iommu-cells = <2>;
  2309. #global-interrupts = <2>;
  2310. interrupts = <GIC_SPI 672 IRQ_TYPE_LEVEL_HIGH>,
  2311. <GIC_SPI 673 IRQ_TYPE_LEVEL_HIGH>,
  2312. <GIC_SPI 678 IRQ_TYPE_LEVEL_HIGH>,
  2313. <GIC_SPI 679 IRQ_TYPE_LEVEL_HIGH>,
  2314. <GIC_SPI 680 IRQ_TYPE_LEVEL_HIGH>,
  2315. <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH>,
  2316. <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH>,
  2317. <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH>,
  2318. <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH>,
  2319. <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH>;
  2320. clocks = <&gpucc GPU_CC_AHB_CLK>,
  2321. <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
  2322. <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>;
  2323. clock-names = "ahb", "bus", "iface";
  2324. power-domains = <&gpucc GPU_CX_GDSC>;
  2325. };
  2326. slpi: remoteproc@5c00000 {
  2327. compatible = "qcom,sm8250-slpi-pas";
  2328. reg = <0 0x05c00000 0 0x4000>;
  2329. interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>,
  2330. <&smp2p_slpi_in 0 IRQ_TYPE_EDGE_RISING>,
  2331. <&smp2p_slpi_in 1 IRQ_TYPE_EDGE_RISING>,
  2332. <&smp2p_slpi_in 2 IRQ_TYPE_EDGE_RISING>,
  2333. <&smp2p_slpi_in 3 IRQ_TYPE_EDGE_RISING>;
  2334. interrupt-names = "wdog", "fatal", "ready",
  2335. "handover", "stop-ack";
  2336. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2337. clock-names = "xo";
  2338. power-domains = <&rpmhpd SM8250_LCX>,
  2339. <&rpmhpd SM8250_LMX>;
  2340. power-domain-names = "lcx", "lmx";
  2341. memory-region = <&slpi_mem>;
  2342. qcom,qmp = <&aoss_qmp>;
  2343. qcom,smem-states = <&smp2p_slpi_out 0>;
  2344. qcom,smem-state-names = "stop";
  2345. status = "disabled";
  2346. glink-edge {
  2347. interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
  2348. IPCC_MPROC_SIGNAL_GLINK_QMP
  2349. IRQ_TYPE_EDGE_RISING>;
  2350. mboxes = <&ipcc IPCC_CLIENT_SLPI
  2351. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  2352. label = "slpi";
  2353. qcom,remote-pid = <3>;
  2354. fastrpc {
  2355. compatible = "qcom,fastrpc";
  2356. qcom,glink-channels = "fastrpcglink-apps-dsp";
  2357. label = "sdsp";
  2358. qcom,non-secure-domain;
  2359. #address-cells = <1>;
  2360. #size-cells = <0>;
  2361. compute-cb@1 {
  2362. compatible = "qcom,fastrpc-compute-cb";
  2363. reg = <1>;
  2364. iommus = <&apps_smmu 0x0541 0x0>;
  2365. };
  2366. compute-cb@2 {
  2367. compatible = "qcom,fastrpc-compute-cb";
  2368. reg = <2>;
  2369. iommus = <&apps_smmu 0x0542 0x0>;
  2370. };
  2371. compute-cb@3 {
  2372. compatible = "qcom,fastrpc-compute-cb";
  2373. reg = <3>;
  2374. iommus = <&apps_smmu 0x0543 0x0>;
  2375. /* note: shared-cb = <4> in downstream */
  2376. };
  2377. };
  2378. };
  2379. };
  2380. cdsp: remoteproc@8300000 {
  2381. compatible = "qcom,sm8250-cdsp-pas";
  2382. reg = <0 0x08300000 0 0x10000>;
  2383. interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>,
  2384. <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
  2385. <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>,
  2386. <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,
  2387. <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>;
  2388. interrupt-names = "wdog", "fatal", "ready",
  2389. "handover", "stop-ack";
  2390. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2391. clock-names = "xo";
  2392. power-domains = <&rpmhpd SM8250_CX>;
  2393. memory-region = <&cdsp_mem>;
  2394. qcom,qmp = <&aoss_qmp>;
  2395. qcom,smem-states = <&smp2p_cdsp_out 0>;
  2396. qcom,smem-state-names = "stop";
  2397. status = "disabled";
  2398. glink-edge {
  2399. interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
  2400. IPCC_MPROC_SIGNAL_GLINK_QMP
  2401. IRQ_TYPE_EDGE_RISING>;
  2402. mboxes = <&ipcc IPCC_CLIENT_CDSP
  2403. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  2404. label = "cdsp";
  2405. qcom,remote-pid = <5>;
  2406. fastrpc {
  2407. compatible = "qcom,fastrpc";
  2408. qcom,glink-channels = "fastrpcglink-apps-dsp";
  2409. label = "cdsp";
  2410. qcom,non-secure-domain;
  2411. #address-cells = <1>;
  2412. #size-cells = <0>;
  2413. compute-cb@1 {
  2414. compatible = "qcom,fastrpc-compute-cb";
  2415. reg = <1>;
  2416. iommus = <&apps_smmu 0x1001 0x0460>;
  2417. };
  2418. compute-cb@2 {
  2419. compatible = "qcom,fastrpc-compute-cb";
  2420. reg = <2>;
  2421. iommus = <&apps_smmu 0x1002 0x0460>;
  2422. };
  2423. compute-cb@3 {
  2424. compatible = "qcom,fastrpc-compute-cb";
  2425. reg = <3>;
  2426. iommus = <&apps_smmu 0x1003 0x0460>;
  2427. };
  2428. compute-cb@4 {
  2429. compatible = "qcom,fastrpc-compute-cb";
  2430. reg = <4>;
  2431. iommus = <&apps_smmu 0x1004 0x0460>;
  2432. };
  2433. compute-cb@5 {
  2434. compatible = "qcom,fastrpc-compute-cb";
  2435. reg = <5>;
  2436. iommus = <&apps_smmu 0x1005 0x0460>;
  2437. };
  2438. compute-cb@6 {
  2439. compatible = "qcom,fastrpc-compute-cb";
  2440. reg = <6>;
  2441. iommus = <&apps_smmu 0x1006 0x0460>;
  2442. };
  2443. compute-cb@7 {
  2444. compatible = "qcom,fastrpc-compute-cb";
  2445. reg = <7>;
  2446. iommus = <&apps_smmu 0x1007 0x0460>;
  2447. };
  2448. compute-cb@8 {
  2449. compatible = "qcom,fastrpc-compute-cb";
  2450. reg = <8>;
  2451. iommus = <&apps_smmu 0x1008 0x0460>;
  2452. };
  2453. /* note: secure cb9 in downstream */
  2454. };
  2455. };
  2456. };
  2457. sound: sound {
  2458. };
  2459. usb_1_hsphy: phy@88e3000 {
  2460. compatible = "qcom,sm8250-usb-hs-phy",
  2461. "qcom,usb-snps-hs-7nm-phy";
  2462. reg = <0 0x088e3000 0 0x400>;
  2463. status = "disabled";
  2464. #phy-cells = <0>;
  2465. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2466. clock-names = "ref";
  2467. resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
  2468. };
  2469. usb_2_hsphy: phy@88e4000 {
  2470. compatible = "qcom,sm8250-usb-hs-phy",
  2471. "qcom,usb-snps-hs-7nm-phy";
  2472. reg = <0 0x088e4000 0 0x400>;
  2473. status = "disabled";
  2474. #phy-cells = <0>;
  2475. clocks = <&rpmhcc RPMH_CXO_CLK>;
  2476. clock-names = "ref";
  2477. resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
  2478. };
  2479. usb_1_qmpphy: phy@88e9000 {
  2480. compatible = "qcom,sm8250-qmp-usb3-dp-phy";
  2481. reg = <0 0x088e9000 0 0x200>,
  2482. <0 0x088e8000 0 0x40>,
  2483. <0 0x088ea000 0 0x200>;
  2484. status = "disabled";
  2485. #address-cells = <2>;
  2486. #size-cells = <2>;
  2487. ranges;
  2488. clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
  2489. <&rpmhcc RPMH_CXO_CLK>,
  2490. <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
  2491. clock-names = "aux", "ref_clk_src", "com_aux";
  2492. resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
  2493. <&gcc GCC_USB3_PHY_PRIM_BCR>;
  2494. reset-names = "phy", "common";
  2495. usb_1_ssphy: usb3-phy@88e9200 {
  2496. reg = <0 0x088e9200 0 0x200>,
  2497. <0 0x088e9400 0 0x200>,
  2498. <0 0x088e9c00 0 0x400>,
  2499. <0 0x088e9600 0 0x200>,
  2500. <0 0x088e9800 0 0x200>,
  2501. <0 0x088e9a00 0 0x100>;
  2502. #clock-cells = <0>;
  2503. #phy-cells = <0>;
  2504. clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
  2505. clock-names = "pipe0";
  2506. clock-output-names = "usb3_phy_pipe_clk_src";
  2507. };
  2508. dp_phy: dp-phy@88ea200 {
  2509. reg = <0 0x088ea200 0 0x200>,
  2510. <0 0x088ea400 0 0x200>,
  2511. <0 0x088eaa00 0 0x200>,
  2512. <0 0x088ea600 0 0x200>,
  2513. <0 0x088ea800 0 0x200>;
  2514. #phy-cells = <0>;
  2515. #clock-cells = <1>;
  2516. };
  2517. };
  2518. usb_2_qmpphy: phy@88eb000 {
  2519. compatible = "qcom,sm8250-qmp-usb3-uni-phy";
  2520. reg = <0 0x088eb000 0 0x200>;
  2521. status = "disabled";
  2522. #address-cells = <2>;
  2523. #size-cells = <2>;
  2524. ranges;
  2525. clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
  2526. <&rpmhcc RPMH_CXO_CLK>,
  2527. <&gcc GCC_USB3_SEC_CLKREF_EN>,
  2528. <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
  2529. clock-names = "aux", "ref_clk_src", "ref", "com_aux";
  2530. resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
  2531. <&gcc GCC_USB3_PHY_SEC_BCR>;
  2532. reset-names = "phy", "common";
  2533. usb_2_ssphy: phy@88eb200 {
  2534. reg = <0 0x088eb200 0 0x200>,
  2535. <0 0x088eb400 0 0x200>,
  2536. <0 0x088eb800 0 0x800>;
  2537. #clock-cells = <0>;
  2538. #phy-cells = <0>;
  2539. clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
  2540. clock-names = "pipe0";
  2541. clock-output-names = "usb3_uni_phy_pipe_clk_src";
  2542. };
  2543. };
  2544. sdhc_2: mmc@8804000 {
  2545. compatible = "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5";
  2546. reg = <0 0x08804000 0 0x1000>;
  2547. interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
  2548. <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
  2549. interrupt-names = "hc_irq", "pwr_irq";
  2550. clocks = <&gcc GCC_SDCC2_AHB_CLK>,
  2551. <&gcc GCC_SDCC2_APPS_CLK>,
  2552. <&rpmhcc RPMH_CXO_CLK>;
  2553. clock-names = "iface", "core", "xo";
  2554. iommus = <&apps_smmu 0x4a0 0x0>;
  2555. qcom,dll-config = <0x0007642c>;
  2556. qcom,ddr-config = <0x80040868>;
  2557. power-domains = <&rpmhpd SM8250_CX>;
  2558. operating-points-v2 = <&sdhc2_opp_table>;
  2559. status = "disabled";
  2560. sdhc2_opp_table: opp-table {
  2561. compatible = "operating-points-v2";
  2562. opp-19200000 {
  2563. opp-hz = /bits/ 64 <19200000>;
  2564. required-opps = <&rpmhpd_opp_min_svs>;
  2565. };
  2566. opp-50000000 {
  2567. opp-hz = /bits/ 64 <50000000>;
  2568. required-opps = <&rpmhpd_opp_low_svs>;
  2569. };
  2570. opp-100000000 {
  2571. opp-hz = /bits/ 64 <100000000>;
  2572. required-opps = <&rpmhpd_opp_svs>;
  2573. };
  2574. opp-202000000 {
  2575. opp-hz = /bits/ 64 <202000000>;
  2576. required-opps = <&rpmhpd_opp_svs_l1>;
  2577. };
  2578. };
  2579. };
  2580. dc_noc: interconnect@90c0000 {
  2581. compatible = "qcom,sm8250-dc-noc";
  2582. reg = <0 0x090c0000 0 0x4200>;
  2583. #interconnect-cells = <1>;
  2584. qcom,bcm-voters = <&apps_bcm_voter>;
  2585. };
  2586. gem_noc: interconnect@9100000 {
  2587. compatible = "qcom,sm8250-gem-noc";
  2588. reg = <0 0x09100000 0 0xb4000>;
  2589. #interconnect-cells = <1>;
  2590. qcom,bcm-voters = <&apps_bcm_voter>;
  2591. };
  2592. npu_noc: interconnect@9990000 {
  2593. compatible = "qcom,sm8250-npu-noc";
  2594. reg = <0 0x09990000 0 0x1600>;
  2595. #interconnect-cells = <1>;
  2596. qcom,bcm-voters = <&apps_bcm_voter>;
  2597. };
  2598. usb_1: usb@a6f8800 {
  2599. compatible = "qcom,sm8250-dwc3", "qcom,dwc3";
  2600. reg = <0 0x0a6f8800 0 0x400>;
  2601. status = "disabled";
  2602. #address-cells = <2>;
  2603. #size-cells = <2>;
  2604. ranges;
  2605. dma-ranges;
  2606. clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
  2607. <&gcc GCC_USB30_PRIM_MASTER_CLK>,
  2608. <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
  2609. <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
  2610. <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  2611. <&gcc GCC_USB3_SEC_CLKREF_EN>;
  2612. clock-names = "cfg_noc",
  2613. "core",
  2614. "iface",
  2615. "sleep",
  2616. "mock_utmi",
  2617. "xo";
  2618. assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  2619. <&gcc GCC_USB30_PRIM_MASTER_CLK>;
  2620. assigned-clock-rates = <19200000>, <200000000>;
  2621. interrupts-extended = <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
  2622. <&pdc 17 IRQ_TYPE_LEVEL_HIGH>,
  2623. <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
  2624. <&pdc 14 IRQ_TYPE_EDGE_BOTH>;
  2625. interrupt-names = "hs_phy_irq",
  2626. "ss_phy_irq",
  2627. "dm_hs_phy_irq",
  2628. "dp_hs_phy_irq";
  2629. power-domains = <&gcc USB30_PRIM_GDSC>;
  2630. resets = <&gcc GCC_USB30_PRIM_BCR>;
  2631. usb_1_dwc3: usb@a600000 {
  2632. compatible = "snps,dwc3";
  2633. reg = <0 0x0a600000 0 0xcd00>;
  2634. interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  2635. iommus = <&apps_smmu 0x0 0x0>;
  2636. snps,dis_u2_susphy_quirk;
  2637. snps,dis_enblslpm_quirk;
  2638. phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
  2639. phy-names = "usb2-phy", "usb3-phy";
  2640. };
  2641. };
  2642. system-cache-controller@9200000 {
  2643. compatible = "qcom,sm8250-llcc";
  2644. reg = <0 0x09200000 0 0x1d0000>, <0 0x09600000 0 0x50000>;
  2645. reg-names = "llcc_base", "llcc_broadcast_base";
  2646. };
  2647. usb_2: usb@a8f8800 {
  2648. compatible = "qcom,sm8250-dwc3", "qcom,dwc3";
  2649. reg = <0 0x0a8f8800 0 0x400>;
  2650. status = "disabled";
  2651. #address-cells = <2>;
  2652. #size-cells = <2>;
  2653. ranges;
  2654. dma-ranges;
  2655. clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
  2656. <&gcc GCC_USB30_SEC_MASTER_CLK>,
  2657. <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
  2658. <&gcc GCC_USB30_SEC_SLEEP_CLK>,
  2659. <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
  2660. <&gcc GCC_USB3_SEC_CLKREF_EN>;
  2661. clock-names = "cfg_noc",
  2662. "core",
  2663. "iface",
  2664. "sleep",
  2665. "mock_utmi",
  2666. "xo";
  2667. assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
  2668. <&gcc GCC_USB30_SEC_MASTER_CLK>;
  2669. assigned-clock-rates = <19200000>, <200000000>;
  2670. interrupts-extended = <&intc GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
  2671. <&pdc 16 IRQ_TYPE_LEVEL_HIGH>,
  2672. <&pdc 13 IRQ_TYPE_EDGE_BOTH>,
  2673. <&pdc 12 IRQ_TYPE_EDGE_BOTH>;
  2674. interrupt-names = "hs_phy_irq",
  2675. "ss_phy_irq",
  2676. "dm_hs_phy_irq",
  2677. "dp_hs_phy_irq";
  2678. power-domains = <&gcc USB30_SEC_GDSC>;
  2679. resets = <&gcc GCC_USB30_SEC_BCR>;
  2680. usb_2_dwc3: usb@a800000 {
  2681. compatible = "snps,dwc3";
  2682. reg = <0 0x0a800000 0 0xcd00>;
  2683. interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
  2684. iommus = <&apps_smmu 0x20 0>;
  2685. snps,dis_u2_susphy_quirk;
  2686. snps,dis_enblslpm_quirk;
  2687. phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
  2688. phy-names = "usb2-phy", "usb3-phy";
  2689. };
  2690. };
  2691. venus: video-codec@aa00000 {
  2692. compatible = "qcom,sm8250-venus";
  2693. reg = <0 0x0aa00000 0 0x100000>;
  2694. interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
  2695. power-domains = <&videocc MVS0C_GDSC>,
  2696. <&videocc MVS0_GDSC>,
  2697. <&rpmhpd SM8250_MX>;
  2698. power-domain-names = "venus", "vcodec0", "mx";
  2699. operating-points-v2 = <&venus_opp_table>;
  2700. clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
  2701. <&videocc VIDEO_CC_MVS0C_CLK>,
  2702. <&videocc VIDEO_CC_MVS0_CLK>;
  2703. clock-names = "iface", "core", "vcodec0_core";
  2704. interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_VENUS_CFG>,
  2705. <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI_CH0>;
  2706. interconnect-names = "cpu-cfg", "video-mem";
  2707. iommus = <&apps_smmu 0x2100 0x0400>;
  2708. memory-region = <&video_mem>;
  2709. resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>,
  2710. <&videocc VIDEO_CC_MVS0C_CLK_ARES>;
  2711. reset-names = "bus", "core";
  2712. status = "disabled";
  2713. video-decoder {
  2714. compatible = "venus-decoder";
  2715. };
  2716. video-encoder {
  2717. compatible = "venus-encoder";
  2718. };
  2719. venus_opp_table: opp-table {
  2720. compatible = "operating-points-v2";
  2721. opp-720000000 {
  2722. opp-hz = /bits/ 64 <720000000>;
  2723. required-opps = <&rpmhpd_opp_low_svs>;
  2724. };
  2725. opp-1014000000 {
  2726. opp-hz = /bits/ 64 <1014000000>;
  2727. required-opps = <&rpmhpd_opp_svs>;
  2728. };
  2729. opp-1098000000 {
  2730. opp-hz = /bits/ 64 <1098000000>;
  2731. required-opps = <&rpmhpd_opp_svs_l1>;
  2732. };
  2733. opp-1332000000 {
  2734. opp-hz = /bits/ 64 <1332000000>;
  2735. required-opps = <&rpmhpd_opp_nom>;
  2736. };
  2737. };
  2738. };
  2739. videocc: clock-controller@abf0000 {
  2740. compatible = "qcom,sm8250-videocc";
  2741. reg = <0 0x0abf0000 0 0x10000>;
  2742. clocks = <&gcc GCC_VIDEO_AHB_CLK>,
  2743. <&rpmhcc RPMH_CXO_CLK>,
  2744. <&rpmhcc RPMH_CXO_CLK_A>;
  2745. power-domains = <&rpmhpd SM8250_MMCX>;
  2746. required-opps = <&rpmhpd_opp_low_svs>;
  2747. clock-names = "iface", "bi_tcxo", "bi_tcxo_ao";
  2748. #clock-cells = <1>;
  2749. #reset-cells = <1>;
  2750. #power-domain-cells = <1>;
  2751. };
  2752. cci0: cci@ac4f000 {
  2753. compatible = "qcom,sm8250-cci";
  2754. #address-cells = <1>;
  2755. #size-cells = <0>;
  2756. reg = <0 0x0ac4f000 0 0x1000>;
  2757. interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>;
  2758. power-domains = <&camcc TITAN_TOP_GDSC>;
  2759. clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
  2760. <&camcc CAM_CC_SLOW_AHB_CLK_SRC>,
  2761. <&camcc CAM_CC_CPAS_AHB_CLK>,
  2762. <&camcc CAM_CC_CCI_0_CLK>,
  2763. <&camcc CAM_CC_CCI_0_CLK_SRC>;
  2764. clock-names = "camnoc_axi",
  2765. "slow_ahb_src",
  2766. "cpas_ahb",
  2767. "cci",
  2768. "cci_src";
  2769. pinctrl-0 = <&cci0_default>;
  2770. pinctrl-1 = <&cci0_sleep>;
  2771. pinctrl-names = "default", "sleep";
  2772. status = "disabled";
  2773. cci0_i2c0: i2c-bus@0 {
  2774. reg = <0>;
  2775. clock-frequency = <1000000>;
  2776. #address-cells = <1>;
  2777. #size-cells = <0>;
  2778. };
  2779. cci0_i2c1: i2c-bus@1 {
  2780. reg = <1>;
  2781. clock-frequency = <1000000>;
  2782. #address-cells = <1>;
  2783. #size-cells = <0>;
  2784. };
  2785. };
  2786. cci1: cci@ac50000 {
  2787. compatible = "qcom,sm8250-cci";
  2788. #address-cells = <1>;
  2789. #size-cells = <0>;
  2790. reg = <0 0x0ac50000 0 0x1000>;
  2791. interrupts = <GIC_SPI 271 IRQ_TYPE_EDGE_RISING>;
  2792. power-domains = <&camcc TITAN_TOP_GDSC>;
  2793. clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
  2794. <&camcc CAM_CC_SLOW_AHB_CLK_SRC>,
  2795. <&camcc CAM_CC_CPAS_AHB_CLK>,
  2796. <&camcc CAM_CC_CCI_1_CLK>,
  2797. <&camcc CAM_CC_CCI_1_CLK_SRC>;
  2798. clock-names = "camnoc_axi",
  2799. "slow_ahb_src",
  2800. "cpas_ahb",
  2801. "cci",
  2802. "cci_src";
  2803. pinctrl-0 = <&cci1_default>;
  2804. pinctrl-1 = <&cci1_sleep>;
  2805. pinctrl-names = "default", "sleep";
  2806. status = "disabled";
  2807. cci1_i2c0: i2c-bus@0 {
  2808. reg = <0>;
  2809. clock-frequency = <1000000>;
  2810. #address-cells = <1>;
  2811. #size-cells = <0>;
  2812. };
  2813. cci1_i2c1: i2c-bus@1 {
  2814. reg = <1>;
  2815. clock-frequency = <1000000>;
  2816. #address-cells = <1>;
  2817. #size-cells = <0>;
  2818. };
  2819. };
  2820. camss: camss@ac6a000 {
  2821. compatible = "qcom,sm8250-camss";
  2822. status = "disabled";
  2823. reg = <0 0xac6a000 0 0x2000>,
  2824. <0 0xac6c000 0 0x2000>,
  2825. <0 0xac6e000 0 0x1000>,
  2826. <0 0xac70000 0 0x1000>,
  2827. <0 0xac72000 0 0x1000>,
  2828. <0 0xac74000 0 0x1000>,
  2829. <0 0xacb4000 0 0xd000>,
  2830. <0 0xacc3000 0 0xd000>,
  2831. <0 0xacd9000 0 0x2200>,
  2832. <0 0xacdb200 0 0x2200>;
  2833. reg-names = "csiphy0",
  2834. "csiphy1",
  2835. "csiphy2",
  2836. "csiphy3",
  2837. "csiphy4",
  2838. "csiphy5",
  2839. "vfe0",
  2840. "vfe1",
  2841. "vfe_lite0",
  2842. "vfe_lite1";
  2843. interrupts = <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
  2844. <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
  2845. <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
  2846. <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
  2847. <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
  2848. <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
  2849. <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
  2850. <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
  2851. <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
  2852. <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
  2853. <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
  2854. <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
  2855. <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
  2856. <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
  2857. interrupt-names = "csiphy0",
  2858. "csiphy1",
  2859. "csiphy2",
  2860. "csiphy3",
  2861. "csiphy4",
  2862. "csiphy5",
  2863. "csid0",
  2864. "csid1",
  2865. "csid2",
  2866. "csid3",
  2867. "vfe0",
  2868. "vfe1",
  2869. "vfe_lite0",
  2870. "vfe_lite1";
  2871. power-domains = <&camcc IFE_0_GDSC>,
  2872. <&camcc IFE_1_GDSC>,
  2873. <&camcc TITAN_TOP_GDSC>;
  2874. clocks = <&gcc GCC_CAMERA_AHB_CLK>,
  2875. <&gcc GCC_CAMERA_HF_AXI_CLK>,
  2876. <&gcc GCC_CAMERA_SF_AXI_CLK>,
  2877. <&camcc CAM_CC_CAMNOC_AXI_CLK>,
  2878. <&camcc CAM_CC_CAMNOC_AXI_CLK_SRC>,
  2879. <&camcc CAM_CC_CORE_AHB_CLK>,
  2880. <&camcc CAM_CC_CPAS_AHB_CLK>,
  2881. <&camcc CAM_CC_CSIPHY0_CLK>,
  2882. <&camcc CAM_CC_CSI0PHYTIMER_CLK>,
  2883. <&camcc CAM_CC_CSIPHY1_CLK>,
  2884. <&camcc CAM_CC_CSI1PHYTIMER_CLK>,
  2885. <&camcc CAM_CC_CSIPHY2_CLK>,
  2886. <&camcc CAM_CC_CSI2PHYTIMER_CLK>,
  2887. <&camcc CAM_CC_CSIPHY3_CLK>,
  2888. <&camcc CAM_CC_CSI3PHYTIMER_CLK>,
  2889. <&camcc CAM_CC_CSIPHY4_CLK>,
  2890. <&camcc CAM_CC_CSI4PHYTIMER_CLK>,
  2891. <&camcc CAM_CC_CSIPHY5_CLK>,
  2892. <&camcc CAM_CC_CSI5PHYTIMER_CLK>,
  2893. <&camcc CAM_CC_SLOW_AHB_CLK_SRC>,
  2894. <&camcc CAM_CC_IFE_0_AHB_CLK>,
  2895. <&camcc CAM_CC_IFE_0_AXI_CLK>,
  2896. <&camcc CAM_CC_IFE_0_CLK>,
  2897. <&camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
  2898. <&camcc CAM_CC_IFE_0_CSID_CLK>,
  2899. <&camcc CAM_CC_IFE_0_AREG_CLK>,
  2900. <&camcc CAM_CC_IFE_1_AHB_CLK>,
  2901. <&camcc CAM_CC_IFE_1_AXI_CLK>,
  2902. <&camcc CAM_CC_IFE_1_CLK>,
  2903. <&camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
  2904. <&camcc CAM_CC_IFE_1_CSID_CLK>,
  2905. <&camcc CAM_CC_IFE_1_AREG_CLK>,
  2906. <&camcc CAM_CC_IFE_LITE_AHB_CLK>,
  2907. <&camcc CAM_CC_IFE_LITE_AXI_CLK>,
  2908. <&camcc CAM_CC_IFE_LITE_CLK>,
  2909. <&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
  2910. <&camcc CAM_CC_IFE_LITE_CSID_CLK>;
  2911. clock-names = "cam_ahb_clk",
  2912. "cam_hf_axi",
  2913. "cam_sf_axi",
  2914. "camnoc_axi",
  2915. "camnoc_axi_src",
  2916. "core_ahb",
  2917. "cpas_ahb",
  2918. "csiphy0",
  2919. "csiphy0_timer",
  2920. "csiphy1",
  2921. "csiphy1_timer",
  2922. "csiphy2",
  2923. "csiphy2_timer",
  2924. "csiphy3",
  2925. "csiphy3_timer",
  2926. "csiphy4",
  2927. "csiphy4_timer",
  2928. "csiphy5",
  2929. "csiphy5_timer",
  2930. "slow_ahb_src",
  2931. "vfe0_ahb",
  2932. "vfe0_axi",
  2933. "vfe0",
  2934. "vfe0_cphy_rx",
  2935. "vfe0_csid",
  2936. "vfe0_areg",
  2937. "vfe1_ahb",
  2938. "vfe1_axi",
  2939. "vfe1",
  2940. "vfe1_cphy_rx",
  2941. "vfe1_csid",
  2942. "vfe1_areg",
  2943. "vfe_lite_ahb",
  2944. "vfe_lite_axi",
  2945. "vfe_lite",
  2946. "vfe_lite_cphy_rx",
  2947. "vfe_lite_csid";
  2948. iommus = <&apps_smmu 0x800 0x400>,
  2949. <&apps_smmu 0x801 0x400>,
  2950. <&apps_smmu 0x840 0x400>,
  2951. <&apps_smmu 0x841 0x400>,
  2952. <&apps_smmu 0xc00 0x400>,
  2953. <&apps_smmu 0xc01 0x400>,
  2954. <&apps_smmu 0xc40 0x400>,
  2955. <&apps_smmu 0xc41 0x400>;
  2956. interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_CAMERA_CFG>,
  2957. <&mmss_noc MASTER_CAMNOC_HF &mc_virt SLAVE_EBI_CH0>,
  2958. <&mmss_noc MASTER_CAMNOC_SF &mc_virt SLAVE_EBI_CH0>,
  2959. <&mmss_noc MASTER_CAMNOC_ICP &mc_virt SLAVE_EBI_CH0>;
  2960. interconnect-names = "cam_ahb",
  2961. "cam_hf_0_mnoc",
  2962. "cam_sf_0_mnoc",
  2963. "cam_sf_icp_mnoc";
  2964. };
  2965. camcc: clock-controller@ad00000 {
  2966. compatible = "qcom,sm8250-camcc";
  2967. reg = <0 0x0ad00000 0 0x10000>;
  2968. clocks = <&gcc GCC_CAMERA_AHB_CLK>,
  2969. <&rpmhcc RPMH_CXO_CLK>,
  2970. <&rpmhcc RPMH_CXO_CLK_A>,
  2971. <&sleep_clk>;
  2972. clock-names = "iface", "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
  2973. power-domains = <&rpmhpd SM8250_MMCX>;
  2974. required-opps = <&rpmhpd_opp_low_svs>;
  2975. status = "disabled";
  2976. #clock-cells = <1>;
  2977. #reset-cells = <1>;
  2978. #power-domain-cells = <1>;
  2979. };
  2980. mdss: mdss@ae00000 {
  2981. compatible = "qcom,sm8250-mdss";
  2982. reg = <0 0x0ae00000 0 0x1000>;
  2983. reg-names = "mdss";
  2984. interconnects = <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>,
  2985. <&mmss_noc MASTER_MDP_PORT1 &mc_virt SLAVE_EBI_CH0>;
  2986. interconnect-names = "mdp0-mem", "mdp1-mem";
  2987. power-domains = <&dispcc MDSS_GDSC>;
  2988. clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
  2989. <&gcc GCC_DISP_HF_AXI_CLK>,
  2990. <&gcc GCC_DISP_SF_AXI_CLK>,
  2991. <&dispcc DISP_CC_MDSS_MDP_CLK>;
  2992. clock-names = "iface", "bus", "nrt_bus", "core";
  2993. interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  2994. interrupt-controller;
  2995. #interrupt-cells = <1>;
  2996. iommus = <&apps_smmu 0x820 0x402>;
  2997. status = "disabled";
  2998. #address-cells = <2>;
  2999. #size-cells = <2>;
  3000. ranges;
  3001. mdss_mdp: display-controller@ae01000 {
  3002. compatible = "qcom,sm8250-dpu";
  3003. reg = <0 0x0ae01000 0 0x8f000>,
  3004. <0 0x0aeb0000 0 0x2008>;
  3005. reg-names = "mdp", "vbif";
  3006. clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
  3007. <&gcc GCC_DISP_HF_AXI_CLK>,
  3008. <&dispcc DISP_CC_MDSS_MDP_CLK>,
  3009. <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
  3010. clock-names = "iface", "bus", "core", "vsync";
  3011. assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
  3012. assigned-clock-rates = <19200000>;
  3013. operating-points-v2 = <&mdp_opp_table>;
  3014. power-domains = <&rpmhpd SM8250_MMCX>;
  3015. interrupt-parent = <&mdss>;
  3016. interrupts = <0>;
  3017. ports {
  3018. #address-cells = <1>;
  3019. #size-cells = <0>;
  3020. port@0 {
  3021. reg = <0>;
  3022. dpu_intf1_out: endpoint {
  3023. remote-endpoint = <&dsi0_in>;
  3024. };
  3025. };
  3026. port@1 {
  3027. reg = <1>;
  3028. dpu_intf2_out: endpoint {
  3029. remote-endpoint = <&dsi1_in>;
  3030. };
  3031. };
  3032. };
  3033. mdp_opp_table: opp-table {
  3034. compatible = "operating-points-v2";
  3035. opp-200000000 {
  3036. opp-hz = /bits/ 64 <200000000>;
  3037. required-opps = <&rpmhpd_opp_low_svs>;
  3038. };
  3039. opp-300000000 {
  3040. opp-hz = /bits/ 64 <300000000>;
  3041. required-opps = <&rpmhpd_opp_svs>;
  3042. };
  3043. opp-345000000 {
  3044. opp-hz = /bits/ 64 <345000000>;
  3045. required-opps = <&rpmhpd_opp_svs_l1>;
  3046. };
  3047. opp-460000000 {
  3048. opp-hz = /bits/ 64 <460000000>;
  3049. required-opps = <&rpmhpd_opp_nom>;
  3050. };
  3051. };
  3052. };
  3053. dsi0: dsi@ae94000 {
  3054. compatible = "qcom,mdss-dsi-ctrl";
  3055. reg = <0 0x0ae94000 0 0x400>;
  3056. reg-names = "dsi_ctrl";
  3057. interrupt-parent = <&mdss>;
  3058. interrupts = <4>;
  3059. clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
  3060. <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
  3061. <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
  3062. <&dispcc DISP_CC_MDSS_ESC0_CLK>,
  3063. <&dispcc DISP_CC_MDSS_AHB_CLK>,
  3064. <&gcc GCC_DISP_HF_AXI_CLK>;
  3065. clock-names = "byte",
  3066. "byte_intf",
  3067. "pixel",
  3068. "core",
  3069. "iface",
  3070. "bus";
  3071. assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
  3072. assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;
  3073. operating-points-v2 = <&dsi_opp_table>;
  3074. power-domains = <&rpmhpd SM8250_MMCX>;
  3075. phys = <&dsi0_phy>;
  3076. phy-names = "dsi";
  3077. status = "disabled";
  3078. #address-cells = <1>;
  3079. #size-cells = <0>;
  3080. ports {
  3081. #address-cells = <1>;
  3082. #size-cells = <0>;
  3083. port@0 {
  3084. reg = <0>;
  3085. dsi0_in: endpoint {
  3086. remote-endpoint = <&dpu_intf1_out>;
  3087. };
  3088. };
  3089. port@1 {
  3090. reg = <1>;
  3091. dsi0_out: endpoint {
  3092. };
  3093. };
  3094. };
  3095. dsi_opp_table: opp-table {
  3096. compatible = "operating-points-v2";
  3097. opp-187500000 {
  3098. opp-hz = /bits/ 64 <187500000>;
  3099. required-opps = <&rpmhpd_opp_low_svs>;
  3100. };
  3101. opp-300000000 {
  3102. opp-hz = /bits/ 64 <300000000>;
  3103. required-opps = <&rpmhpd_opp_svs>;
  3104. };
  3105. opp-358000000 {
  3106. opp-hz = /bits/ 64 <358000000>;
  3107. required-opps = <&rpmhpd_opp_svs_l1>;
  3108. };
  3109. };
  3110. };
  3111. dsi0_phy: dsi-phy@ae94400 {
  3112. compatible = "qcom,dsi-phy-7nm";
  3113. reg = <0 0x0ae94400 0 0x200>,
  3114. <0 0x0ae94600 0 0x280>,
  3115. <0 0x0ae94900 0 0x260>;
  3116. reg-names = "dsi_phy",
  3117. "dsi_phy_lane",
  3118. "dsi_pll";
  3119. #clock-cells = <1>;
  3120. #phy-cells = <0>;
  3121. clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
  3122. <&rpmhcc RPMH_CXO_CLK>;
  3123. clock-names = "iface", "ref";
  3124. status = "disabled";
  3125. };
  3126. dsi1: dsi@ae96000 {
  3127. compatible = "qcom,mdss-dsi-ctrl";
  3128. reg = <0 0x0ae96000 0 0x400>;
  3129. reg-names = "dsi_ctrl";
  3130. interrupt-parent = <&mdss>;
  3131. interrupts = <5>;
  3132. clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
  3133. <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
  3134. <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
  3135. <&dispcc DISP_CC_MDSS_ESC1_CLK>,
  3136. <&dispcc DISP_CC_MDSS_AHB_CLK>,
  3137. <&gcc GCC_DISP_HF_AXI_CLK>;
  3138. clock-names = "byte",
  3139. "byte_intf",
  3140. "pixel",
  3141. "core",
  3142. "iface",
  3143. "bus";
  3144. assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
  3145. assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;
  3146. operating-points-v2 = <&dsi_opp_table>;
  3147. power-domains = <&rpmhpd SM8250_MMCX>;
  3148. phys = <&dsi1_phy>;
  3149. phy-names = "dsi";
  3150. status = "disabled";
  3151. #address-cells = <1>;
  3152. #size-cells = <0>;
  3153. ports {
  3154. #address-cells = <1>;
  3155. #size-cells = <0>;
  3156. port@0 {
  3157. reg = <0>;
  3158. dsi1_in: endpoint {
  3159. remote-endpoint = <&dpu_intf2_out>;
  3160. };
  3161. };
  3162. port@1 {
  3163. reg = <1>;
  3164. dsi1_out: endpoint {
  3165. };
  3166. };
  3167. };
  3168. };
  3169. dsi1_phy: dsi-phy@ae96400 {
  3170. compatible = "qcom,dsi-phy-7nm";
  3171. reg = <0 0x0ae96400 0 0x200>,
  3172. <0 0x0ae96600 0 0x280>,
  3173. <0 0x0ae96900 0 0x260>;
  3174. reg-names = "dsi_phy",
  3175. "dsi_phy_lane",
  3176. "dsi_pll";
  3177. #clock-cells = <1>;
  3178. #phy-cells = <0>;
  3179. clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
  3180. <&rpmhcc RPMH_CXO_CLK>;
  3181. clock-names = "iface", "ref";
  3182. status = "disabled";
  3183. };
  3184. };
  3185. dispcc: clock-controller@af00000 {
  3186. compatible = "qcom,sm8250-dispcc";
  3187. reg = <0 0x0af00000 0 0x10000>;
  3188. power-domains = <&rpmhpd SM8250_MMCX>;
  3189. required-opps = <&rpmhpd_opp_low_svs>;
  3190. clocks = <&rpmhcc RPMH_CXO_CLK>,
  3191. <&dsi0_phy 0>,
  3192. <&dsi0_phy 1>,
  3193. <&dsi1_phy 0>,
  3194. <&dsi1_phy 1>,
  3195. <&dp_phy 0>,
  3196. <&dp_phy 1>;
  3197. clock-names = "bi_tcxo",
  3198. "dsi0_phy_pll_out_byteclk",
  3199. "dsi0_phy_pll_out_dsiclk",
  3200. "dsi1_phy_pll_out_byteclk",
  3201. "dsi1_phy_pll_out_dsiclk",
  3202. "dp_phy_pll_link_clk",
  3203. "dp_phy_pll_vco_div_clk";
  3204. #clock-cells = <1>;
  3205. #reset-cells = <1>;
  3206. #power-domain-cells = <1>;
  3207. };
  3208. pdc: interrupt-controller@b220000 {
  3209. compatible = "qcom,sm8250-pdc", "qcom,pdc";
  3210. reg = <0 0x0b220000 0 0x30000>, <0 0x17c000f0 0 0x60>;
  3211. qcom,pdc-ranges = <0 480 94>, <94 609 31>,
  3212. <125 63 1>, <126 716 12>;
  3213. #interrupt-cells = <2>;
  3214. interrupt-parent = <&intc>;
  3215. interrupt-controller;
  3216. };
  3217. tsens0: thermal-sensor@c263000 {
  3218. compatible = "qcom,sm8250-tsens", "qcom,tsens-v2";
  3219. reg = <0 0x0c263000 0 0x1ff>, /* TM */
  3220. <0 0x0c222000 0 0x1ff>; /* SROT */
  3221. #qcom,sensors = <16>;
  3222. interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
  3223. <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
  3224. interrupt-names = "uplow", "critical";
  3225. #thermal-sensor-cells = <1>;
  3226. };
  3227. tsens1: thermal-sensor@c265000 {
  3228. compatible = "qcom,sm8250-tsens", "qcom,tsens-v2";
  3229. reg = <0 0x0c265000 0 0x1ff>, /* TM */
  3230. <0 0x0c223000 0 0x1ff>; /* SROT */
  3231. #qcom,sensors = <9>;
  3232. interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
  3233. <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
  3234. interrupt-names = "uplow", "critical";
  3235. #thermal-sensor-cells = <1>;
  3236. };
  3237. aoss_qmp: power-controller@c300000 {
  3238. compatible = "qcom,sm8250-aoss-qmp", "qcom,aoss-qmp";
  3239. reg = <0 0x0c300000 0 0x400>;
  3240. interrupts-extended = <&ipcc IPCC_CLIENT_AOP
  3241. IPCC_MPROC_SIGNAL_GLINK_QMP
  3242. IRQ_TYPE_EDGE_RISING>;
  3243. mboxes = <&ipcc IPCC_CLIENT_AOP
  3244. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  3245. #clock-cells = <0>;
  3246. };
  3247. sram@c3f0000 {
  3248. compatible = "qcom,rpmh-stats";
  3249. reg = <0 0x0c3f0000 0 0x400>;
  3250. };
  3251. spmi_bus: spmi@c440000 {
  3252. compatible = "qcom,spmi-pmic-arb";
  3253. reg = <0x0 0x0c440000 0x0 0x0001100>,
  3254. <0x0 0x0c600000 0x0 0x2000000>,
  3255. <0x0 0x0e600000 0x0 0x0100000>,
  3256. <0x0 0x0e700000 0x0 0x00a0000>,
  3257. <0x0 0x0c40a000 0x0 0x0026000>;
  3258. reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
  3259. interrupt-names = "periph_irq";
  3260. interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
  3261. qcom,ee = <0>;
  3262. qcom,channel = <0>;
  3263. #address-cells = <2>;
  3264. #size-cells = <0>;
  3265. interrupt-controller;
  3266. #interrupt-cells = <4>;
  3267. };
  3268. tlmm: pinctrl@f100000 {
  3269. compatible = "qcom,sm8250-pinctrl";
  3270. reg = <0 0x0f100000 0 0x300000>,
  3271. <0 0x0f500000 0 0x300000>,
  3272. <0 0x0f900000 0 0x300000>;
  3273. reg-names = "west", "south", "north";
  3274. interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
  3275. gpio-controller;
  3276. #gpio-cells = <2>;
  3277. interrupt-controller;
  3278. #interrupt-cells = <2>;
  3279. gpio-ranges = <&tlmm 0 0 181>;
  3280. wakeup-parent = <&pdc>;
  3281. cci0_default: cci0-default {
  3282. cci0_i2c0_default: cci0-i2c0-default {
  3283. /* SDA, SCL */
  3284. pins = "gpio101", "gpio102";
  3285. function = "cci_i2c";
  3286. bias-pull-up;
  3287. drive-strength = <2>; /* 2 mA */
  3288. };
  3289. cci0_i2c1_default: cci0-i2c1-default {
  3290. /* SDA, SCL */
  3291. pins = "gpio103", "gpio104";
  3292. function = "cci_i2c";
  3293. bias-pull-up;
  3294. drive-strength = <2>; /* 2 mA */
  3295. };
  3296. };
  3297. cci0_sleep: cci0-sleep {
  3298. cci0_i2c0_sleep: cci0-i2c0-sleep {
  3299. /* SDA, SCL */
  3300. pins = "gpio101", "gpio102";
  3301. function = "cci_i2c";
  3302. drive-strength = <2>; /* 2 mA */
  3303. bias-pull-down;
  3304. };
  3305. cci0_i2c1_sleep: cci0-i2c1-sleep {
  3306. /* SDA, SCL */
  3307. pins = "gpio103", "gpio104";
  3308. function = "cci_i2c";
  3309. drive-strength = <2>; /* 2 mA */
  3310. bias-pull-down;
  3311. };
  3312. };
  3313. cci1_default: cci1-default {
  3314. cci1_i2c0_default: cci1-i2c0-default {
  3315. /* SDA, SCL */
  3316. pins = "gpio105","gpio106";
  3317. function = "cci_i2c";
  3318. bias-pull-up;
  3319. drive-strength = <2>; /* 2 mA */
  3320. };
  3321. cci1_i2c1_default: cci1-i2c1-default {
  3322. /* SDA, SCL */
  3323. pins = "gpio107","gpio108";
  3324. function = "cci_i2c";
  3325. bias-pull-up;
  3326. drive-strength = <2>; /* 2 mA */
  3327. };
  3328. };
  3329. cci1_sleep: cci1-sleep {
  3330. cci1_i2c0_sleep: cci1-i2c0-sleep {
  3331. /* SDA, SCL */
  3332. pins = "gpio105","gpio106";
  3333. function = "cci_i2c";
  3334. bias-pull-down;
  3335. drive-strength = <2>; /* 2 mA */
  3336. };
  3337. cci1_i2c1_sleep: cci1-i2c1-sleep {
  3338. /* SDA, SCL */
  3339. pins = "gpio107","gpio108";
  3340. function = "cci_i2c";
  3341. bias-pull-down;
  3342. drive-strength = <2>; /* 2 mA */
  3343. };
  3344. };
  3345. pri_mi2s_active: pri-mi2s-active {
  3346. sclk {
  3347. pins = "gpio138";
  3348. function = "mi2s0_sck";
  3349. drive-strength = <8>;
  3350. bias-disable;
  3351. };
  3352. ws {
  3353. pins = "gpio141";
  3354. function = "mi2s0_ws";
  3355. drive-strength = <8>;
  3356. output-high;
  3357. };
  3358. data0 {
  3359. pins = "gpio139";
  3360. function = "mi2s0_data0";
  3361. drive-strength = <8>;
  3362. bias-disable;
  3363. output-high;
  3364. };
  3365. data1 {
  3366. pins = "gpio140";
  3367. function = "mi2s0_data1";
  3368. drive-strength = <8>;
  3369. output-high;
  3370. };
  3371. };
  3372. qup_i2c0_default: qup-i2c0-default {
  3373. mux {
  3374. pins = "gpio28", "gpio29";
  3375. function = "qup0";
  3376. };
  3377. config {
  3378. pins = "gpio28", "gpio29";
  3379. drive-strength = <2>;
  3380. bias-disable;
  3381. };
  3382. };
  3383. qup_i2c1_default: qup-i2c1-default {
  3384. pinmux {
  3385. pins = "gpio4", "gpio5";
  3386. function = "qup1";
  3387. };
  3388. config {
  3389. pins = "gpio4", "gpio5";
  3390. drive-strength = <2>;
  3391. bias-disable;
  3392. };
  3393. };
  3394. qup_i2c2_default: qup-i2c2-default {
  3395. mux {
  3396. pins = "gpio115", "gpio116";
  3397. function = "qup2";
  3398. };
  3399. config {
  3400. pins = "gpio115", "gpio116";
  3401. drive-strength = <2>;
  3402. bias-disable;
  3403. };
  3404. };
  3405. qup_i2c3_default: qup-i2c3-default {
  3406. mux {
  3407. pins = "gpio119", "gpio120";
  3408. function = "qup3";
  3409. };
  3410. config {
  3411. pins = "gpio119", "gpio120";
  3412. drive-strength = <2>;
  3413. bias-disable;
  3414. };
  3415. };
  3416. qup_i2c4_default: qup-i2c4-default {
  3417. mux {
  3418. pins = "gpio8", "gpio9";
  3419. function = "qup4";
  3420. };
  3421. config {
  3422. pins = "gpio8", "gpio9";
  3423. drive-strength = <2>;
  3424. bias-disable;
  3425. };
  3426. };
  3427. qup_i2c5_default: qup-i2c5-default {
  3428. mux {
  3429. pins = "gpio12", "gpio13";
  3430. function = "qup5";
  3431. };
  3432. config {
  3433. pins = "gpio12", "gpio13";
  3434. drive-strength = <2>;
  3435. bias-disable;
  3436. };
  3437. };
  3438. qup_i2c6_default: qup-i2c6-default {
  3439. mux {
  3440. pins = "gpio16", "gpio17";
  3441. function = "qup6";
  3442. };
  3443. config {
  3444. pins = "gpio16", "gpio17";
  3445. drive-strength = <2>;
  3446. bias-disable;
  3447. };
  3448. };
  3449. qup_i2c7_default: qup-i2c7-default {
  3450. mux {
  3451. pins = "gpio20", "gpio21";
  3452. function = "qup7";
  3453. };
  3454. config {
  3455. pins = "gpio20", "gpio21";
  3456. drive-strength = <2>;
  3457. bias-disable;
  3458. };
  3459. };
  3460. qup_i2c8_default: qup-i2c8-default {
  3461. mux {
  3462. pins = "gpio24", "gpio25";
  3463. function = "qup8";
  3464. };
  3465. config {
  3466. pins = "gpio24", "gpio25";
  3467. drive-strength = <2>;
  3468. bias-disable;
  3469. };
  3470. };
  3471. qup_i2c9_default: qup-i2c9-default {
  3472. mux {
  3473. pins = "gpio125", "gpio126";
  3474. function = "qup9";
  3475. };
  3476. config {
  3477. pins = "gpio125", "gpio126";
  3478. drive-strength = <2>;
  3479. bias-disable;
  3480. };
  3481. };
  3482. qup_i2c10_default: qup-i2c10-default {
  3483. mux {
  3484. pins = "gpio129", "gpio130";
  3485. function = "qup10";
  3486. };
  3487. config {
  3488. pins = "gpio129", "gpio130";
  3489. drive-strength = <2>;
  3490. bias-disable;
  3491. };
  3492. };
  3493. qup_i2c11_default: qup-i2c11-default {
  3494. mux {
  3495. pins = "gpio60", "gpio61";
  3496. function = "qup11";
  3497. };
  3498. config {
  3499. pins = "gpio60", "gpio61";
  3500. drive-strength = <2>;
  3501. bias-disable;
  3502. };
  3503. };
  3504. qup_i2c12_default: qup-i2c12-default {
  3505. mux {
  3506. pins = "gpio32", "gpio33";
  3507. function = "qup12";
  3508. };
  3509. config {
  3510. pins = "gpio32", "gpio33";
  3511. drive-strength = <2>;
  3512. bias-disable;
  3513. };
  3514. };
  3515. qup_i2c13_default: qup-i2c13-default {
  3516. mux {
  3517. pins = "gpio36", "gpio37";
  3518. function = "qup13";
  3519. };
  3520. config {
  3521. pins = "gpio36", "gpio37";
  3522. drive-strength = <2>;
  3523. bias-disable;
  3524. };
  3525. };
  3526. qup_i2c14_default: qup-i2c14-default {
  3527. mux {
  3528. pins = "gpio40", "gpio41";
  3529. function = "qup14";
  3530. };
  3531. config {
  3532. pins = "gpio40", "gpio41";
  3533. drive-strength = <2>;
  3534. bias-disable;
  3535. };
  3536. };
  3537. qup_i2c15_default: qup-i2c15-default {
  3538. mux {
  3539. pins = "gpio44", "gpio45";
  3540. function = "qup15";
  3541. };
  3542. config {
  3543. pins = "gpio44", "gpio45";
  3544. drive-strength = <2>;
  3545. bias-disable;
  3546. };
  3547. };
  3548. qup_i2c16_default: qup-i2c16-default {
  3549. mux {
  3550. pins = "gpio48", "gpio49";
  3551. function = "qup16";
  3552. };
  3553. config {
  3554. pins = "gpio48", "gpio49";
  3555. drive-strength = <2>;
  3556. bias-disable;
  3557. };
  3558. };
  3559. qup_i2c17_default: qup-i2c17-default {
  3560. mux {
  3561. pins = "gpio52", "gpio53";
  3562. function = "qup17";
  3563. };
  3564. config {
  3565. pins = "gpio52", "gpio53";
  3566. drive-strength = <2>;
  3567. bias-disable;
  3568. };
  3569. };
  3570. qup_i2c18_default: qup-i2c18-default {
  3571. mux {
  3572. pins = "gpio56", "gpio57";
  3573. function = "qup18";
  3574. };
  3575. config {
  3576. pins = "gpio56", "gpio57";
  3577. drive-strength = <2>;
  3578. bias-disable;
  3579. };
  3580. };
  3581. qup_i2c19_default: qup-i2c19-default {
  3582. mux {
  3583. pins = "gpio0", "gpio1";
  3584. function = "qup19";
  3585. };
  3586. config {
  3587. pins = "gpio0", "gpio1";
  3588. drive-strength = <2>;
  3589. bias-disable;
  3590. };
  3591. };
  3592. qup_spi0_cs: qup-spi0-cs {
  3593. pins = "gpio31";
  3594. function = "qup0";
  3595. };
  3596. qup_spi0_cs_gpio: qup-spi0-cs-gpio {
  3597. pins = "gpio31";
  3598. function = "gpio";
  3599. };
  3600. qup_spi0_data_clk: qup-spi0-data-clk {
  3601. pins = "gpio28", "gpio29",
  3602. "gpio30";
  3603. function = "qup0";
  3604. };
  3605. qup_spi1_cs: qup-spi1-cs {
  3606. pins = "gpio7";
  3607. function = "qup1";
  3608. };
  3609. qup_spi1_cs_gpio: qup-spi1-cs-gpio {
  3610. pins = "gpio7";
  3611. function = "gpio";
  3612. };
  3613. qup_spi1_data_clk: qup-spi1-data-clk {
  3614. pins = "gpio4", "gpio5",
  3615. "gpio6";
  3616. function = "qup1";
  3617. };
  3618. qup_spi2_cs: qup-spi2-cs {
  3619. pins = "gpio118";
  3620. function = "qup2";
  3621. };
  3622. qup_spi2_cs_gpio: qup-spi2-cs-gpio {
  3623. pins = "gpio118";
  3624. function = "gpio";
  3625. };
  3626. qup_spi2_data_clk: qup-spi2-data-clk {
  3627. pins = "gpio115", "gpio116",
  3628. "gpio117";
  3629. function = "qup2";
  3630. };
  3631. qup_spi3_cs: qup-spi3-cs {
  3632. pins = "gpio122";
  3633. function = "qup3";
  3634. };
  3635. qup_spi3_cs_gpio: qup-spi3-cs-gpio {
  3636. pins = "gpio122";
  3637. function = "gpio";
  3638. };
  3639. qup_spi3_data_clk: qup-spi3-data-clk {
  3640. pins = "gpio119", "gpio120",
  3641. "gpio121";
  3642. function = "qup3";
  3643. };
  3644. qup_spi4_cs: qup-spi4-cs {
  3645. pins = "gpio11";
  3646. function = "qup4";
  3647. };
  3648. qup_spi4_cs_gpio: qup-spi4-cs-gpio {
  3649. pins = "gpio11";
  3650. function = "gpio";
  3651. };
  3652. qup_spi4_data_clk: qup-spi4-data-clk {
  3653. pins = "gpio8", "gpio9",
  3654. "gpio10";
  3655. function = "qup4";
  3656. };
  3657. qup_spi5_cs: qup-spi5-cs {
  3658. pins = "gpio15";
  3659. function = "qup5";
  3660. };
  3661. qup_spi5_cs_gpio: qup-spi5-cs-gpio {
  3662. pins = "gpio15";
  3663. function = "gpio";
  3664. };
  3665. qup_spi5_data_clk: qup-spi5-data-clk {
  3666. pins = "gpio12", "gpio13",
  3667. "gpio14";
  3668. function = "qup5";
  3669. };
  3670. qup_spi6_cs: qup-spi6-cs {
  3671. pins = "gpio19";
  3672. function = "qup6";
  3673. };
  3674. qup_spi6_cs_gpio: qup-spi6-cs-gpio {
  3675. pins = "gpio19";
  3676. function = "gpio";
  3677. };
  3678. qup_spi6_data_clk: qup-spi6-data-clk {
  3679. pins = "gpio16", "gpio17",
  3680. "gpio18";
  3681. function = "qup6";
  3682. };
  3683. qup_spi7_cs: qup-spi7-cs {
  3684. pins = "gpio23";
  3685. function = "qup7";
  3686. };
  3687. qup_spi7_cs_gpio: qup-spi7-cs-gpio {
  3688. pins = "gpio23";
  3689. function = "gpio";
  3690. };
  3691. qup_spi7_data_clk: qup-spi7-data-clk {
  3692. pins = "gpio20", "gpio21",
  3693. "gpio22";
  3694. function = "qup7";
  3695. };
  3696. qup_spi8_cs: qup-spi8-cs {
  3697. pins = "gpio27";
  3698. function = "qup8";
  3699. };
  3700. qup_spi8_cs_gpio: qup-spi8-cs-gpio {
  3701. pins = "gpio27";
  3702. function = "gpio";
  3703. };
  3704. qup_spi8_data_clk: qup-spi8-data-clk {
  3705. pins = "gpio24", "gpio25",
  3706. "gpio26";
  3707. function = "qup8";
  3708. };
  3709. qup_spi9_cs: qup-spi9-cs {
  3710. pins = "gpio128";
  3711. function = "qup9";
  3712. };
  3713. qup_spi9_cs_gpio: qup-spi9-cs-gpio {
  3714. pins = "gpio128";
  3715. function = "gpio";
  3716. };
  3717. qup_spi9_data_clk: qup-spi9-data-clk {
  3718. pins = "gpio125", "gpio126",
  3719. "gpio127";
  3720. function = "qup9";
  3721. };
  3722. qup_spi10_cs: qup-spi10-cs {
  3723. pins = "gpio132";
  3724. function = "qup10";
  3725. };
  3726. qup_spi10_cs_gpio: qup-spi10-cs-gpio {
  3727. pins = "gpio132";
  3728. function = "gpio";
  3729. };
  3730. qup_spi10_data_clk: qup-spi10-data-clk {
  3731. pins = "gpio129", "gpio130",
  3732. "gpio131";
  3733. function = "qup10";
  3734. };
  3735. qup_spi11_cs: qup-spi11-cs {
  3736. pins = "gpio63";
  3737. function = "qup11";
  3738. };
  3739. qup_spi11_cs_gpio: qup-spi11-cs-gpio {
  3740. pins = "gpio63";
  3741. function = "gpio";
  3742. };
  3743. qup_spi11_data_clk: qup-spi11-data-clk {
  3744. pins = "gpio60", "gpio61",
  3745. "gpio62";
  3746. function = "qup11";
  3747. };
  3748. qup_spi12_cs: qup-spi12-cs {
  3749. pins = "gpio35";
  3750. function = "qup12";
  3751. };
  3752. qup_spi12_cs_gpio: qup-spi12-cs-gpio {
  3753. pins = "gpio35";
  3754. function = "gpio";
  3755. };
  3756. qup_spi12_data_clk: qup-spi12-data-clk {
  3757. pins = "gpio32", "gpio33",
  3758. "gpio34";
  3759. function = "qup12";
  3760. };
  3761. qup_spi13_cs: qup-spi13-cs {
  3762. pins = "gpio39";
  3763. function = "qup13";
  3764. };
  3765. qup_spi13_cs_gpio: qup-spi13-cs-gpio {
  3766. pins = "gpio39";
  3767. function = "gpio";
  3768. };
  3769. qup_spi13_data_clk: qup-spi13-data-clk {
  3770. pins = "gpio36", "gpio37",
  3771. "gpio38";
  3772. function = "qup13";
  3773. };
  3774. qup_spi14_cs: qup-spi14-cs {
  3775. pins = "gpio43";
  3776. function = "qup14";
  3777. };
  3778. qup_spi14_cs_gpio: qup-spi14-cs-gpio {
  3779. pins = "gpio43";
  3780. function = "gpio";
  3781. };
  3782. qup_spi14_data_clk: qup-spi14-data-clk {
  3783. pins = "gpio40", "gpio41",
  3784. "gpio42";
  3785. function = "qup14";
  3786. };
  3787. qup_spi15_cs: qup-spi15-cs {
  3788. pins = "gpio47";
  3789. function = "qup15";
  3790. };
  3791. qup_spi15_cs_gpio: qup-spi15-cs-gpio {
  3792. pins = "gpio47";
  3793. function = "gpio";
  3794. };
  3795. qup_spi15_data_clk: qup-spi15-data-clk {
  3796. pins = "gpio44", "gpio45",
  3797. "gpio46";
  3798. function = "qup15";
  3799. };
  3800. qup_spi16_cs: qup-spi16-cs {
  3801. pins = "gpio51";
  3802. function = "qup16";
  3803. };
  3804. qup_spi16_cs_gpio: qup-spi16-cs-gpio {
  3805. pins = "gpio51";
  3806. function = "gpio";
  3807. };
  3808. qup_spi16_data_clk: qup-spi16-data-clk {
  3809. pins = "gpio48", "gpio49",
  3810. "gpio50";
  3811. function = "qup16";
  3812. };
  3813. qup_spi17_cs: qup-spi17-cs {
  3814. pins = "gpio55";
  3815. function = "qup17";
  3816. };
  3817. qup_spi17_cs_gpio: qup-spi17-cs-gpio {
  3818. pins = "gpio55";
  3819. function = "gpio";
  3820. };
  3821. qup_spi17_data_clk: qup-spi17-data-clk {
  3822. pins = "gpio52", "gpio53",
  3823. "gpio54";
  3824. function = "qup17";
  3825. };
  3826. qup_spi18_cs: qup-spi18-cs {
  3827. pins = "gpio59";
  3828. function = "qup18";
  3829. };
  3830. qup_spi18_cs_gpio: qup-spi18-cs-gpio {
  3831. pins = "gpio59";
  3832. function = "gpio";
  3833. };
  3834. qup_spi18_data_clk: qup-spi18-data-clk {
  3835. pins = "gpio56", "gpio57",
  3836. "gpio58";
  3837. function = "qup18";
  3838. };
  3839. qup_spi19_cs: qup-spi19-cs {
  3840. pins = "gpio3";
  3841. function = "qup19";
  3842. };
  3843. qup_spi19_cs_gpio: qup-spi19-cs-gpio {
  3844. pins = "gpio3";
  3845. function = "gpio";
  3846. };
  3847. qup_spi19_data_clk: qup-spi19-data-clk {
  3848. pins = "gpio0", "gpio1",
  3849. "gpio2";
  3850. function = "qup19";
  3851. };
  3852. qup_uart2_default: qup-uart2-default {
  3853. mux {
  3854. pins = "gpio117", "gpio118";
  3855. function = "qup2";
  3856. };
  3857. };
  3858. qup_uart6_default: qup-uart6-default {
  3859. mux {
  3860. pins = "gpio16", "gpio17",
  3861. "gpio18", "gpio19";
  3862. function = "qup6";
  3863. };
  3864. };
  3865. qup_uart12_default: qup-uart12-default {
  3866. mux {
  3867. pins = "gpio34", "gpio35";
  3868. function = "qup12";
  3869. };
  3870. };
  3871. qup_uart17_default: qup-uart17-default {
  3872. mux {
  3873. pins = "gpio52", "gpio53",
  3874. "gpio54", "gpio55";
  3875. function = "qup17";
  3876. };
  3877. };
  3878. qup_uart18_default: qup-uart18-default {
  3879. mux {
  3880. pins = "gpio58", "gpio59";
  3881. function = "qup18";
  3882. };
  3883. };
  3884. tert_mi2s_active: tert-mi2s-active {
  3885. sck {
  3886. pins = "gpio133";
  3887. function = "mi2s2_sck";
  3888. drive-strength = <8>;
  3889. bias-disable;
  3890. };
  3891. data0 {
  3892. pins = "gpio134";
  3893. function = "mi2s2_data0";
  3894. drive-strength = <8>;
  3895. bias-disable;
  3896. output-high;
  3897. };
  3898. ws {
  3899. pins = "gpio135";
  3900. function = "mi2s2_ws";
  3901. drive-strength = <8>;
  3902. output-high;
  3903. };
  3904. };
  3905. sdc2_sleep_state: sdc2-sleep {
  3906. clk {
  3907. pins = "sdc2_clk";
  3908. drive-strength = <2>;
  3909. bias-disable;
  3910. };
  3911. cmd {
  3912. pins = "sdc2_cmd";
  3913. drive-strength = <2>;
  3914. bias-pull-up;
  3915. };
  3916. data {
  3917. pins = "sdc2_data";
  3918. drive-strength = <2>;
  3919. bias-pull-up;
  3920. };
  3921. };
  3922. pcie0_default_state: pcie0-default {
  3923. perst {
  3924. pins = "gpio79";
  3925. function = "gpio";
  3926. drive-strength = <2>;
  3927. bias-pull-down;
  3928. };
  3929. clkreq {
  3930. pins = "gpio80";
  3931. function = "pci_e0";
  3932. drive-strength = <2>;
  3933. bias-pull-up;
  3934. };
  3935. wake {
  3936. pins = "gpio81";
  3937. function = "gpio";
  3938. drive-strength = <2>;
  3939. bias-pull-up;
  3940. };
  3941. };
  3942. pcie1_default_state: pcie1-default {
  3943. perst {
  3944. pins = "gpio82";
  3945. function = "gpio";
  3946. drive-strength = <2>;
  3947. bias-pull-down;
  3948. };
  3949. clkreq {
  3950. pins = "gpio83";
  3951. function = "pci_e1";
  3952. drive-strength = <2>;
  3953. bias-pull-up;
  3954. };
  3955. wake {
  3956. pins = "gpio84";
  3957. function = "gpio";
  3958. drive-strength = <2>;
  3959. bias-pull-up;
  3960. };
  3961. };
  3962. pcie2_default_state: pcie2-default {
  3963. perst {
  3964. pins = "gpio85";
  3965. function = "gpio";
  3966. drive-strength = <2>;
  3967. bias-pull-down;
  3968. };
  3969. clkreq {
  3970. pins = "gpio86";
  3971. function = "pci_e2";
  3972. drive-strength = <2>;
  3973. bias-pull-up;
  3974. };
  3975. wake {
  3976. pins = "gpio87";
  3977. function = "gpio";
  3978. drive-strength = <2>;
  3979. bias-pull-up;
  3980. };
  3981. };
  3982. };
  3983. apps_smmu: iommu@15000000 {
  3984. compatible = "qcom,sm8250-smmu-500", "arm,mmu-500";
  3985. reg = <0 0x15000000 0 0x100000>;
  3986. #iommu-cells = <2>;
  3987. #global-interrupts = <2>;
  3988. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
  3989. <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
  3990. <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
  3991. <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
  3992. <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
  3993. <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
  3994. <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
  3995. <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
  3996. <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
  3997. <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
  3998. <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
  3999. <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
  4000. <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
  4001. <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
  4002. <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
  4003. <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  4004. <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
  4005. <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
  4006. <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
  4007. <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
  4008. <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
  4009. <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  4010. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
  4011. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
  4012. <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
  4013. <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
  4014. <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
  4015. <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
  4016. <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
  4017. <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
  4018. <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
  4019. <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
  4020. <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
  4021. <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
  4022. <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
  4023. <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
  4024. <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
  4025. <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
  4026. <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
  4027. <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
  4028. <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
  4029. <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
  4030. <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
  4031. <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
  4032. <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
  4033. <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
  4034. <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
  4035. <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
  4036. <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
  4037. <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
  4038. <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
  4039. <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
  4040. <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
  4041. <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
  4042. <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
  4043. <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
  4044. <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
  4045. <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
  4046. <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
  4047. <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
  4048. <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
  4049. <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
  4050. <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
  4051. <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
  4052. <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
  4053. <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
  4054. <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
  4055. <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
  4056. <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
  4057. <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
  4058. <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
  4059. <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
  4060. <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
  4061. <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
  4062. <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
  4063. <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
  4064. <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
  4065. <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
  4066. <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
  4067. <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
  4068. <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
  4069. <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
  4070. <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>,
  4071. <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
  4072. <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
  4073. <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
  4074. <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
  4075. <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
  4076. <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
  4077. <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
  4078. <GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>,
  4079. <GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>,
  4080. <GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>,
  4081. <GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>,
  4082. <GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>,
  4083. <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>,
  4084. <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>,
  4085. <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>;
  4086. };
  4087. adsp: remoteproc@17300000 {
  4088. compatible = "qcom,sm8250-adsp-pas";
  4089. reg = <0 0x17300000 0 0x100>;
  4090. interrupts-extended = <&pdc 6 IRQ_TYPE_LEVEL_HIGH>,
  4091. <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
  4092. <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
  4093. <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
  4094. <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
  4095. interrupt-names = "wdog", "fatal", "ready",
  4096. "handover", "stop-ack";
  4097. clocks = <&rpmhcc RPMH_CXO_CLK>;
  4098. clock-names = "xo";
  4099. power-domains = <&rpmhpd SM8250_LCX>,
  4100. <&rpmhpd SM8250_LMX>;
  4101. power-domain-names = "lcx", "lmx";
  4102. memory-region = <&adsp_mem>;
  4103. qcom,qmp = <&aoss_qmp>;
  4104. qcom,smem-states = <&smp2p_adsp_out 0>;
  4105. qcom,smem-state-names = "stop";
  4106. status = "disabled";
  4107. glink-edge {
  4108. interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
  4109. IPCC_MPROC_SIGNAL_GLINK_QMP
  4110. IRQ_TYPE_EDGE_RISING>;
  4111. mboxes = <&ipcc IPCC_CLIENT_LPASS
  4112. IPCC_MPROC_SIGNAL_GLINK_QMP>;
  4113. label = "lpass";
  4114. qcom,remote-pid = <2>;
  4115. apr {
  4116. compatible = "qcom,apr-v2";
  4117. qcom,glink-channels = "apr_audio_svc";
  4118. qcom,domain = <APR_DOMAIN_ADSP>;
  4119. #address-cells = <1>;
  4120. #size-cells = <0>;
  4121. apr-service@3 {
  4122. reg = <APR_SVC_ADSP_CORE>;
  4123. compatible = "qcom,q6core";
  4124. qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
  4125. };
  4126. q6afe: apr-service@4 {
  4127. compatible = "qcom,q6afe";
  4128. reg = <APR_SVC_AFE>;
  4129. qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
  4130. q6afedai: dais {
  4131. compatible = "qcom,q6afe-dais";
  4132. #address-cells = <1>;
  4133. #size-cells = <0>;
  4134. #sound-dai-cells = <1>;
  4135. };
  4136. q6afecc: cc {
  4137. compatible = "qcom,q6afe-clocks";
  4138. #clock-cells = <2>;
  4139. };
  4140. };
  4141. q6asm: apr-service@7 {
  4142. compatible = "qcom,q6asm";
  4143. reg = <APR_SVC_ASM>;
  4144. qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
  4145. q6asmdai: dais {
  4146. compatible = "qcom,q6asm-dais";
  4147. #address-cells = <1>;
  4148. #size-cells = <0>;
  4149. #sound-dai-cells = <1>;
  4150. iommus = <&apps_smmu 0x1801 0x0>;
  4151. };
  4152. };
  4153. q6adm: apr-service@8 {
  4154. compatible = "qcom,q6adm";
  4155. reg = <APR_SVC_ADM>;
  4156. qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
  4157. q6routing: routing {
  4158. compatible = "qcom,q6adm-routing";
  4159. #sound-dai-cells = <0>;
  4160. };
  4161. };
  4162. };
  4163. fastrpc {
  4164. compatible = "qcom,fastrpc";
  4165. qcom,glink-channels = "fastrpcglink-apps-dsp";
  4166. label = "adsp";
  4167. qcom,non-secure-domain;
  4168. #address-cells = <1>;
  4169. #size-cells = <0>;
  4170. compute-cb@3 {
  4171. compatible = "qcom,fastrpc-compute-cb";
  4172. reg = <3>;
  4173. iommus = <&apps_smmu 0x1803 0x0>;
  4174. };
  4175. compute-cb@4 {
  4176. compatible = "qcom,fastrpc-compute-cb";
  4177. reg = <4>;
  4178. iommus = <&apps_smmu 0x1804 0x0>;
  4179. };
  4180. compute-cb@5 {
  4181. compatible = "qcom,fastrpc-compute-cb";
  4182. reg = <5>;
  4183. iommus = <&apps_smmu 0x1805 0x0>;
  4184. };
  4185. };
  4186. };
  4187. };
  4188. intc: interrupt-controller@17a00000 {
  4189. compatible = "arm,gic-v3";
  4190. #interrupt-cells = <3>;
  4191. interrupt-controller;
  4192. reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */
  4193. <0x0 0x17a60000 0x0 0x100000>; /* GICR * 8 */
  4194. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  4195. };
  4196. watchdog@17c10000 {
  4197. compatible = "qcom,apss-wdt-sm8250", "qcom,kpss-wdt";
  4198. reg = <0 0x17c10000 0 0x1000>;
  4199. clocks = <&sleep_clk>;
  4200. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
  4201. };
  4202. timer@17c20000 {
  4203. #address-cells = <1>;
  4204. #size-cells = <1>;
  4205. ranges = <0 0 0 0x20000000>;
  4206. compatible = "arm,armv7-timer-mem";
  4207. reg = <0x0 0x17c20000 0x0 0x1000>;
  4208. clock-frequency = <19200000>;
  4209. frame@17c21000 {
  4210. frame-number = <0>;
  4211. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
  4212. <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  4213. reg = <0x17c21000 0x1000>,
  4214. <0x17c22000 0x1000>;
  4215. };
  4216. frame@17c23000 {
  4217. frame-number = <1>;
  4218. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  4219. reg = <0x17c23000 0x1000>;
  4220. status = "disabled";
  4221. };
  4222. frame@17c25000 {
  4223. frame-number = <2>;
  4224. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  4225. reg = <0x17c25000 0x1000>;
  4226. status = "disabled";
  4227. };
  4228. frame@17c27000 {
  4229. frame-number = <3>;
  4230. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  4231. reg = <0x17c27000 0x1000>;
  4232. status = "disabled";
  4233. };
  4234. frame@17c29000 {
  4235. frame-number = <4>;
  4236. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  4237. reg = <0x17c29000 0x1000>;
  4238. status = "disabled";
  4239. };
  4240. frame@17c2b000 {
  4241. frame-number = <5>;
  4242. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  4243. reg = <0x17c2b000 0x1000>;
  4244. status = "disabled";
  4245. };
  4246. frame@17c2d000 {
  4247. frame-number = <6>;
  4248. interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  4249. reg = <0x17c2d000 0x1000>;
  4250. status = "disabled";
  4251. };
  4252. };
  4253. apps_rsc: rsc@18200000 {
  4254. label = "apps_rsc";
  4255. compatible = "qcom,rpmh-rsc";
  4256. reg = <0x0 0x18200000 0x0 0x10000>,
  4257. <0x0 0x18210000 0x0 0x10000>,
  4258. <0x0 0x18220000 0x0 0x10000>;
  4259. reg-names = "drv-0", "drv-1", "drv-2";
  4260. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  4261. <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
  4262. <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  4263. qcom,tcs-offset = <0xd00>;
  4264. qcom,drv-id = <2>;
  4265. qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 3>,
  4266. <WAKE_TCS 3>, <CONTROL_TCS 1>;
  4267. rpmhcc: clock-controller {
  4268. compatible = "qcom,sm8250-rpmh-clk";
  4269. #clock-cells = <1>;
  4270. clock-names = "xo";
  4271. clocks = <&xo_board>;
  4272. };
  4273. rpmhpd: power-controller {
  4274. compatible = "qcom,sm8250-rpmhpd";
  4275. #power-domain-cells = <1>;
  4276. operating-points-v2 = <&rpmhpd_opp_table>;
  4277. rpmhpd_opp_table: opp-table {
  4278. compatible = "operating-points-v2";
  4279. rpmhpd_opp_ret: opp1 {
  4280. opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
  4281. };
  4282. rpmhpd_opp_min_svs: opp2 {
  4283. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  4284. };
  4285. rpmhpd_opp_low_svs: opp3 {
  4286. opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
  4287. };
  4288. rpmhpd_opp_svs: opp4 {
  4289. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  4290. };
  4291. rpmhpd_opp_svs_l1: opp5 {
  4292. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
  4293. };
  4294. rpmhpd_opp_nom: opp6 {
  4295. opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
  4296. };
  4297. rpmhpd_opp_nom_l1: opp7 {
  4298. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
  4299. };
  4300. rpmhpd_opp_nom_l2: opp8 {
  4301. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
  4302. };
  4303. rpmhpd_opp_turbo: opp9 {
  4304. opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
  4305. };
  4306. rpmhpd_opp_turbo_l1: opp10 {
  4307. opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
  4308. };
  4309. };
  4310. };
  4311. apps_bcm_voter: bcm-voter {
  4312. compatible = "qcom,bcm-voter";
  4313. };
  4314. };
  4315. epss_l3: interconnect@18590000 {
  4316. compatible = "qcom,sm8250-epss-l3";
  4317. reg = <0 0x18590000 0 0x1000>;
  4318. clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
  4319. clock-names = "xo", "alternate";
  4320. #interconnect-cells = <1>;
  4321. };
  4322. cpufreq_hw: cpufreq@18591000 {
  4323. compatible = "qcom,sm8250-cpufreq-epss", "qcom,cpufreq-epss";
  4324. reg = <0 0x18591000 0 0x1000>,
  4325. <0 0x18592000 0 0x1000>,
  4326. <0 0x18593000 0 0x1000>;
  4327. reg-names = "freq-domain0", "freq-domain1",
  4328. "freq-domain2";
  4329. clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
  4330. clock-names = "xo", "alternate";
  4331. interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
  4332. <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
  4333. <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
  4334. interrupt-names = "dcvsh-irq-0", "dcvsh-irq-1", "dcvsh-irq-2";
  4335. #freq-domain-cells = <1>;
  4336. };
  4337. };
  4338. timer {
  4339. compatible = "arm,armv8-timer";
  4340. interrupts = <GIC_PPI 13
  4341. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  4342. <GIC_PPI 14
  4343. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  4344. <GIC_PPI 11
  4345. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  4346. <GIC_PPI 10
  4347. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
  4348. };
  4349. thermal-zones {
  4350. cpu0-thermal {
  4351. polling-delay-passive = <250>;
  4352. polling-delay = <1000>;
  4353. thermal-sensors = <&tsens0 1>;
  4354. trips {
  4355. cpu0_alert0: trip-point0 {
  4356. temperature = <90000>;
  4357. hysteresis = <2000>;
  4358. type = "passive";
  4359. };
  4360. cpu0_alert1: trip-point1 {
  4361. temperature = <95000>;
  4362. hysteresis = <2000>;
  4363. type = "passive";
  4364. };
  4365. cpu0_crit: cpu_crit {
  4366. temperature = <110000>;
  4367. hysteresis = <1000>;
  4368. type = "critical";
  4369. };
  4370. };
  4371. cooling-maps {
  4372. map0 {
  4373. trip = <&cpu0_alert0>;
  4374. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4375. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4376. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4377. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4378. };
  4379. map1 {
  4380. trip = <&cpu0_alert1>;
  4381. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4382. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4383. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4384. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4385. };
  4386. };
  4387. };
  4388. cpu1-thermal {
  4389. polling-delay-passive = <250>;
  4390. polling-delay = <1000>;
  4391. thermal-sensors = <&tsens0 2>;
  4392. trips {
  4393. cpu1_alert0: trip-point0 {
  4394. temperature = <90000>;
  4395. hysteresis = <2000>;
  4396. type = "passive";
  4397. };
  4398. cpu1_alert1: trip-point1 {
  4399. temperature = <95000>;
  4400. hysteresis = <2000>;
  4401. type = "passive";
  4402. };
  4403. cpu1_crit: cpu_crit {
  4404. temperature = <110000>;
  4405. hysteresis = <1000>;
  4406. type = "critical";
  4407. };
  4408. };
  4409. cooling-maps {
  4410. map0 {
  4411. trip = <&cpu1_alert0>;
  4412. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4413. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4414. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4415. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4416. };
  4417. map1 {
  4418. trip = <&cpu1_alert1>;
  4419. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4420. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4421. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4422. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4423. };
  4424. };
  4425. };
  4426. cpu2-thermal {
  4427. polling-delay-passive = <250>;
  4428. polling-delay = <1000>;
  4429. thermal-sensors = <&tsens0 3>;
  4430. trips {
  4431. cpu2_alert0: trip-point0 {
  4432. temperature = <90000>;
  4433. hysteresis = <2000>;
  4434. type = "passive";
  4435. };
  4436. cpu2_alert1: trip-point1 {
  4437. temperature = <95000>;
  4438. hysteresis = <2000>;
  4439. type = "passive";
  4440. };
  4441. cpu2_crit: cpu_crit {
  4442. temperature = <110000>;
  4443. hysteresis = <1000>;
  4444. type = "critical";
  4445. };
  4446. };
  4447. cooling-maps {
  4448. map0 {
  4449. trip = <&cpu2_alert0>;
  4450. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4451. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4452. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4453. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4454. };
  4455. map1 {
  4456. trip = <&cpu2_alert1>;
  4457. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4458. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4459. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4460. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4461. };
  4462. };
  4463. };
  4464. cpu3-thermal {
  4465. polling-delay-passive = <250>;
  4466. polling-delay = <1000>;
  4467. thermal-sensors = <&tsens0 4>;
  4468. trips {
  4469. cpu3_alert0: trip-point0 {
  4470. temperature = <90000>;
  4471. hysteresis = <2000>;
  4472. type = "passive";
  4473. };
  4474. cpu3_alert1: trip-point1 {
  4475. temperature = <95000>;
  4476. hysteresis = <2000>;
  4477. type = "passive";
  4478. };
  4479. cpu3_crit: cpu_crit {
  4480. temperature = <110000>;
  4481. hysteresis = <1000>;
  4482. type = "critical";
  4483. };
  4484. };
  4485. cooling-maps {
  4486. map0 {
  4487. trip = <&cpu3_alert0>;
  4488. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4489. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4490. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4491. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4492. };
  4493. map1 {
  4494. trip = <&cpu3_alert1>;
  4495. cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4496. <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4497. <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4498. <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4499. };
  4500. };
  4501. };
  4502. cpu4-top-thermal {
  4503. polling-delay-passive = <250>;
  4504. polling-delay = <1000>;
  4505. thermal-sensors = <&tsens0 7>;
  4506. trips {
  4507. cpu4_top_alert0: trip-point0 {
  4508. temperature = <90000>;
  4509. hysteresis = <2000>;
  4510. type = "passive";
  4511. };
  4512. cpu4_top_alert1: trip-point1 {
  4513. temperature = <95000>;
  4514. hysteresis = <2000>;
  4515. type = "passive";
  4516. };
  4517. cpu4_top_crit: cpu_crit {
  4518. temperature = <110000>;
  4519. hysteresis = <1000>;
  4520. type = "critical";
  4521. };
  4522. };
  4523. cooling-maps {
  4524. map0 {
  4525. trip = <&cpu4_top_alert0>;
  4526. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4527. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4528. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4529. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4530. };
  4531. map1 {
  4532. trip = <&cpu4_top_alert1>;
  4533. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4534. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4535. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4536. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4537. };
  4538. };
  4539. };
  4540. cpu5-top-thermal {
  4541. polling-delay-passive = <250>;
  4542. polling-delay = <1000>;
  4543. thermal-sensors = <&tsens0 8>;
  4544. trips {
  4545. cpu5_top_alert0: trip-point0 {
  4546. temperature = <90000>;
  4547. hysteresis = <2000>;
  4548. type = "passive";
  4549. };
  4550. cpu5_top_alert1: trip-point1 {
  4551. temperature = <95000>;
  4552. hysteresis = <2000>;
  4553. type = "passive";
  4554. };
  4555. cpu5_top_crit: cpu_crit {
  4556. temperature = <110000>;
  4557. hysteresis = <1000>;
  4558. type = "critical";
  4559. };
  4560. };
  4561. cooling-maps {
  4562. map0 {
  4563. trip = <&cpu5_top_alert0>;
  4564. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4565. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4566. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4567. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4568. };
  4569. map1 {
  4570. trip = <&cpu5_top_alert1>;
  4571. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4572. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4573. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4574. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4575. };
  4576. };
  4577. };
  4578. cpu6-top-thermal {
  4579. polling-delay-passive = <250>;
  4580. polling-delay = <1000>;
  4581. thermal-sensors = <&tsens0 9>;
  4582. trips {
  4583. cpu6_top_alert0: trip-point0 {
  4584. temperature = <90000>;
  4585. hysteresis = <2000>;
  4586. type = "passive";
  4587. };
  4588. cpu6_top_alert1: trip-point1 {
  4589. temperature = <95000>;
  4590. hysteresis = <2000>;
  4591. type = "passive";
  4592. };
  4593. cpu6_top_crit: cpu_crit {
  4594. temperature = <110000>;
  4595. hysteresis = <1000>;
  4596. type = "critical";
  4597. };
  4598. };
  4599. cooling-maps {
  4600. map0 {
  4601. trip = <&cpu6_top_alert0>;
  4602. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4603. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4604. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4605. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4606. };
  4607. map1 {
  4608. trip = <&cpu6_top_alert1>;
  4609. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4610. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4611. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4612. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4613. };
  4614. };
  4615. };
  4616. cpu7-top-thermal {
  4617. polling-delay-passive = <250>;
  4618. polling-delay = <1000>;
  4619. thermal-sensors = <&tsens0 10>;
  4620. trips {
  4621. cpu7_top_alert0: trip-point0 {
  4622. temperature = <90000>;
  4623. hysteresis = <2000>;
  4624. type = "passive";
  4625. };
  4626. cpu7_top_alert1: trip-point1 {
  4627. temperature = <95000>;
  4628. hysteresis = <2000>;
  4629. type = "passive";
  4630. };
  4631. cpu7_top_crit: cpu_crit {
  4632. temperature = <110000>;
  4633. hysteresis = <1000>;
  4634. type = "critical";
  4635. };
  4636. };
  4637. cooling-maps {
  4638. map0 {
  4639. trip = <&cpu7_top_alert0>;
  4640. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4641. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4642. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4643. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4644. };
  4645. map1 {
  4646. trip = <&cpu7_top_alert1>;
  4647. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4648. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4649. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4650. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4651. };
  4652. };
  4653. };
  4654. cpu4-bottom-thermal {
  4655. polling-delay-passive = <250>;
  4656. polling-delay = <1000>;
  4657. thermal-sensors = <&tsens0 11>;
  4658. trips {
  4659. cpu4_bottom_alert0: trip-point0 {
  4660. temperature = <90000>;
  4661. hysteresis = <2000>;
  4662. type = "passive";
  4663. };
  4664. cpu4_bottom_alert1: trip-point1 {
  4665. temperature = <95000>;
  4666. hysteresis = <2000>;
  4667. type = "passive";
  4668. };
  4669. cpu4_bottom_crit: cpu_crit {
  4670. temperature = <110000>;
  4671. hysteresis = <1000>;
  4672. type = "critical";
  4673. };
  4674. };
  4675. cooling-maps {
  4676. map0 {
  4677. trip = <&cpu4_bottom_alert0>;
  4678. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4679. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4680. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4681. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4682. };
  4683. map1 {
  4684. trip = <&cpu4_bottom_alert1>;
  4685. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4686. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4687. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4688. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4689. };
  4690. };
  4691. };
  4692. cpu5-bottom-thermal {
  4693. polling-delay-passive = <250>;
  4694. polling-delay = <1000>;
  4695. thermal-sensors = <&tsens0 12>;
  4696. trips {
  4697. cpu5_bottom_alert0: trip-point0 {
  4698. temperature = <90000>;
  4699. hysteresis = <2000>;
  4700. type = "passive";
  4701. };
  4702. cpu5_bottom_alert1: trip-point1 {
  4703. temperature = <95000>;
  4704. hysteresis = <2000>;
  4705. type = "passive";
  4706. };
  4707. cpu5_bottom_crit: cpu_crit {
  4708. temperature = <110000>;
  4709. hysteresis = <1000>;
  4710. type = "critical";
  4711. };
  4712. };
  4713. cooling-maps {
  4714. map0 {
  4715. trip = <&cpu5_bottom_alert0>;
  4716. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4717. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4718. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4719. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4720. };
  4721. map1 {
  4722. trip = <&cpu5_bottom_alert1>;
  4723. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4724. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4725. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4726. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4727. };
  4728. };
  4729. };
  4730. cpu6-bottom-thermal {
  4731. polling-delay-passive = <250>;
  4732. polling-delay = <1000>;
  4733. thermal-sensors = <&tsens0 13>;
  4734. trips {
  4735. cpu6_bottom_alert0: trip-point0 {
  4736. temperature = <90000>;
  4737. hysteresis = <2000>;
  4738. type = "passive";
  4739. };
  4740. cpu6_bottom_alert1: trip-point1 {
  4741. temperature = <95000>;
  4742. hysteresis = <2000>;
  4743. type = "passive";
  4744. };
  4745. cpu6_bottom_crit: cpu_crit {
  4746. temperature = <110000>;
  4747. hysteresis = <1000>;
  4748. type = "critical";
  4749. };
  4750. };
  4751. cooling-maps {
  4752. map0 {
  4753. trip = <&cpu6_bottom_alert0>;
  4754. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4755. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4756. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4757. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4758. };
  4759. map1 {
  4760. trip = <&cpu6_bottom_alert1>;
  4761. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4762. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4763. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4764. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4765. };
  4766. };
  4767. };
  4768. cpu7-bottom-thermal {
  4769. polling-delay-passive = <250>;
  4770. polling-delay = <1000>;
  4771. thermal-sensors = <&tsens0 14>;
  4772. trips {
  4773. cpu7_bottom_alert0: trip-point0 {
  4774. temperature = <90000>;
  4775. hysteresis = <2000>;
  4776. type = "passive";
  4777. };
  4778. cpu7_bottom_alert1: trip-point1 {
  4779. temperature = <95000>;
  4780. hysteresis = <2000>;
  4781. type = "passive";
  4782. };
  4783. cpu7_bottom_crit: cpu_crit {
  4784. temperature = <110000>;
  4785. hysteresis = <1000>;
  4786. type = "critical";
  4787. };
  4788. };
  4789. cooling-maps {
  4790. map0 {
  4791. trip = <&cpu7_bottom_alert0>;
  4792. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4793. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4794. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4795. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4796. };
  4797. map1 {
  4798. trip = <&cpu7_bottom_alert1>;
  4799. cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4800. <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4801. <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  4802. <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  4803. };
  4804. };
  4805. };
  4806. aoss0-thermal {
  4807. polling-delay-passive = <250>;
  4808. polling-delay = <1000>;
  4809. thermal-sensors = <&tsens0 0>;
  4810. trips {
  4811. aoss0_alert0: trip-point0 {
  4812. temperature = <90000>;
  4813. hysteresis = <2000>;
  4814. type = "hot";
  4815. };
  4816. };
  4817. };
  4818. cluster0-thermal {
  4819. polling-delay-passive = <250>;
  4820. polling-delay = <1000>;
  4821. thermal-sensors = <&tsens0 5>;
  4822. trips {
  4823. cluster0_alert0: trip-point0 {
  4824. temperature = <90000>;
  4825. hysteresis = <2000>;
  4826. type = "hot";
  4827. };
  4828. cluster0_crit: cluster0_crit {
  4829. temperature = <110000>;
  4830. hysteresis = <2000>;
  4831. type = "critical";
  4832. };
  4833. };
  4834. };
  4835. cluster1-thermal {
  4836. polling-delay-passive = <250>;
  4837. polling-delay = <1000>;
  4838. thermal-sensors = <&tsens0 6>;
  4839. trips {
  4840. cluster1_alert0: trip-point0 {
  4841. temperature = <90000>;
  4842. hysteresis = <2000>;
  4843. type = "hot";
  4844. };
  4845. cluster1_crit: cluster1_crit {
  4846. temperature = <110000>;
  4847. hysteresis = <2000>;
  4848. type = "critical";
  4849. };
  4850. };
  4851. };
  4852. gpu-top-thermal {
  4853. polling-delay-passive = <250>;
  4854. polling-delay = <1000>;
  4855. thermal-sensors = <&tsens0 15>;
  4856. trips {
  4857. gpu1_alert0: trip-point0 {
  4858. temperature = <90000>;
  4859. hysteresis = <2000>;
  4860. type = "hot";
  4861. };
  4862. };
  4863. };
  4864. aoss1-thermal {
  4865. polling-delay-passive = <250>;
  4866. polling-delay = <1000>;
  4867. thermal-sensors = <&tsens1 0>;
  4868. trips {
  4869. aoss1_alert0: trip-point0 {
  4870. temperature = <90000>;
  4871. hysteresis = <2000>;
  4872. type = "hot";
  4873. };
  4874. };
  4875. };
  4876. wlan-thermal {
  4877. polling-delay-passive = <250>;
  4878. polling-delay = <1000>;
  4879. thermal-sensors = <&tsens1 1>;
  4880. trips {
  4881. wlan_alert0: trip-point0 {
  4882. temperature = <90000>;
  4883. hysteresis = <2000>;
  4884. type = "hot";
  4885. };
  4886. };
  4887. };
  4888. video-thermal {
  4889. polling-delay-passive = <250>;
  4890. polling-delay = <1000>;
  4891. thermal-sensors = <&tsens1 2>;
  4892. trips {
  4893. video_alert0: trip-point0 {
  4894. temperature = <90000>;
  4895. hysteresis = <2000>;
  4896. type = "hot";
  4897. };
  4898. };
  4899. };
  4900. mem-thermal {
  4901. polling-delay-passive = <250>;
  4902. polling-delay = <1000>;
  4903. thermal-sensors = <&tsens1 3>;
  4904. trips {
  4905. mem_alert0: trip-point0 {
  4906. temperature = <90000>;
  4907. hysteresis = <2000>;
  4908. type = "hot";
  4909. };
  4910. };
  4911. };
  4912. q6-hvx-thermal {
  4913. polling-delay-passive = <250>;
  4914. polling-delay = <1000>;
  4915. thermal-sensors = <&tsens1 4>;
  4916. trips {
  4917. q6_hvx_alert0: trip-point0 {
  4918. temperature = <90000>;
  4919. hysteresis = <2000>;
  4920. type = "hot";
  4921. };
  4922. };
  4923. };
  4924. camera-thermal {
  4925. polling-delay-passive = <250>;
  4926. polling-delay = <1000>;
  4927. thermal-sensors = <&tsens1 5>;
  4928. trips {
  4929. camera_alert0: trip-point0 {
  4930. temperature = <90000>;
  4931. hysteresis = <2000>;
  4932. type = "hot";
  4933. };
  4934. };
  4935. };
  4936. compute-thermal {
  4937. polling-delay-passive = <250>;
  4938. polling-delay = <1000>;
  4939. thermal-sensors = <&tsens1 6>;
  4940. trips {
  4941. compute_alert0: trip-point0 {
  4942. temperature = <90000>;
  4943. hysteresis = <2000>;
  4944. type = "hot";
  4945. };
  4946. };
  4947. };
  4948. npu-thermal {
  4949. polling-delay-passive = <250>;
  4950. polling-delay = <1000>;
  4951. thermal-sensors = <&tsens1 7>;
  4952. trips {
  4953. npu_alert0: trip-point0 {
  4954. temperature = <90000>;
  4955. hysteresis = <2000>;
  4956. type = "hot";
  4957. };
  4958. };
  4959. };
  4960. gpu-bottom-thermal {
  4961. polling-delay-passive = <250>;
  4962. polling-delay = <1000>;
  4963. thermal-sensors = <&tsens1 8>;
  4964. trips {
  4965. gpu2_alert0: trip-point0 {
  4966. temperature = <90000>;
  4967. hysteresis = <2000>;
  4968. type = "hot";
  4969. };
  4970. };
  4971. };
  4972. };
  4973. };