sdm845.dtsi 140 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * SDM845 SoC device tree source
  4. *
  5. * Copyright (c) 2018, The Linux Foundation. All rights reserved.
  6. */
  7. #include <dt-bindings/clock/qcom,camcc-sdm845.h>
  8. #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
  9. #include <dt-bindings/clock/qcom,gcc-sdm845.h>
  10. #include <dt-bindings/clock/qcom,gpucc-sdm845.h>
  11. #include <dt-bindings/clock/qcom,lpass-sdm845.h>
  12. #include <dt-bindings/clock/qcom,rpmh.h>
  13. #include <dt-bindings/clock/qcom,videocc-sdm845.h>
  14. #include <dt-bindings/dma/qcom-gpi.h>
  15. #include <dt-bindings/gpio/gpio.h>
  16. #include <dt-bindings/interconnect/qcom,osm-l3.h>
  17. #include <dt-bindings/interconnect/qcom,sdm845.h>
  18. #include <dt-bindings/interrupt-controller/arm-gic.h>
  19. #include <dt-bindings/phy/phy-qcom-qusb2.h>
  20. #include <dt-bindings/power/qcom-rpmpd.h>
  21. #include <dt-bindings/reset/qcom,sdm845-aoss.h>
  22. #include <dt-bindings/reset/qcom,sdm845-pdc.h>
  23. #include <dt-bindings/soc/qcom,apr.h>
  24. #include <dt-bindings/soc/qcom,rpmh-rsc.h>
  25. #include <dt-bindings/clock/qcom,gcc-sdm845.h>
  26. #include <dt-bindings/thermal/thermal.h>
  27. / {
  28. interrupt-parent = <&intc>;
  29. #address-cells = <2>;
  30. #size-cells = <2>;
  31. aliases {
  32. i2c0 = &i2c0;
  33. i2c1 = &i2c1;
  34. i2c2 = &i2c2;
  35. i2c3 = &i2c3;
  36. i2c4 = &i2c4;
  37. i2c5 = &i2c5;
  38. i2c6 = &i2c6;
  39. i2c7 = &i2c7;
  40. i2c8 = &i2c8;
  41. i2c9 = &i2c9;
  42. i2c10 = &i2c10;
  43. i2c11 = &i2c11;
  44. i2c12 = &i2c12;
  45. i2c13 = &i2c13;
  46. i2c14 = &i2c14;
  47. i2c15 = &i2c15;
  48. spi0 = &spi0;
  49. spi1 = &spi1;
  50. spi2 = &spi2;
  51. spi3 = &spi3;
  52. spi4 = &spi4;
  53. spi5 = &spi5;
  54. spi6 = &spi6;
  55. spi7 = &spi7;
  56. spi8 = &spi8;
  57. spi9 = &spi9;
  58. spi10 = &spi10;
  59. spi11 = &spi11;
  60. spi12 = &spi12;
  61. spi13 = &spi13;
  62. spi14 = &spi14;
  63. spi15 = &spi15;
  64. };
  65. chosen { };
  66. memory@80000000 {
  67. device_type = "memory";
  68. /* We expect the bootloader to fill in the size */
  69. reg = <0 0x80000000 0 0>;
  70. };
  71. reserved-memory {
  72. #address-cells = <2>;
  73. #size-cells = <2>;
  74. ranges;
  75. hyp_mem: hyp-mem@85700000 {
  76. reg = <0 0x85700000 0 0x600000>;
  77. no-map;
  78. };
  79. xbl_mem: xbl-mem@85e00000 {
  80. reg = <0 0x85e00000 0 0x100000>;
  81. no-map;
  82. };
  83. aop_mem: aop-mem@85fc0000 {
  84. reg = <0 0x85fc0000 0 0x20000>;
  85. no-map;
  86. };
  87. aop_cmd_db_mem: aop-cmd-db-mem@85fe0000 {
  88. compatible = "qcom,cmd-db";
  89. reg = <0x0 0x85fe0000 0 0x20000>;
  90. no-map;
  91. };
  92. smem@86000000 {
  93. compatible = "qcom,smem";
  94. reg = <0x0 0x86000000 0 0x200000>;
  95. no-map;
  96. hwlocks = <&tcsr_mutex 3>;
  97. };
  98. tz_mem: tz@86200000 {
  99. reg = <0 0x86200000 0 0x2d00000>;
  100. no-map;
  101. };
  102. rmtfs_mem: rmtfs@88f00000 {
  103. compatible = "qcom,rmtfs-mem";
  104. reg = <0 0x88f00000 0 0x200000>;
  105. no-map;
  106. qcom,client-id = <1>;
  107. qcom,vmid = <15>;
  108. };
  109. qseecom_mem: qseecom@8ab00000 {
  110. reg = <0 0x8ab00000 0 0x1400000>;
  111. no-map;
  112. };
  113. camera_mem: camera-mem@8bf00000 {
  114. reg = <0 0x8bf00000 0 0x500000>;
  115. no-map;
  116. };
  117. ipa_fw_mem: ipa-fw@8c400000 {
  118. reg = <0 0x8c400000 0 0x10000>;
  119. no-map;
  120. };
  121. ipa_gsi_mem: ipa-gsi@8c410000 {
  122. reg = <0 0x8c410000 0 0x5000>;
  123. no-map;
  124. };
  125. gpu_mem: gpu@8c415000 {
  126. reg = <0 0x8c415000 0 0x2000>;
  127. no-map;
  128. };
  129. adsp_mem: adsp@8c500000 {
  130. reg = <0 0x8c500000 0 0x1a00000>;
  131. no-map;
  132. };
  133. wlan_msa_mem: wlan-msa@8df00000 {
  134. reg = <0 0x8df00000 0 0x100000>;
  135. no-map;
  136. };
  137. mpss_region: mpss@8e000000 {
  138. reg = <0 0x8e000000 0 0x7800000>;
  139. no-map;
  140. };
  141. venus_mem: venus@95800000 {
  142. reg = <0 0x95800000 0 0x500000>;
  143. no-map;
  144. };
  145. cdsp_mem: cdsp@95d00000 {
  146. reg = <0 0x95d00000 0 0x800000>;
  147. no-map;
  148. };
  149. mba_region: mba@96500000 {
  150. reg = <0 0x96500000 0 0x200000>;
  151. no-map;
  152. };
  153. slpi_mem: slpi@96700000 {
  154. reg = <0 0x96700000 0 0x1400000>;
  155. no-map;
  156. };
  157. spss_mem: spss@97b00000 {
  158. reg = <0 0x97b00000 0 0x100000>;
  159. no-map;
  160. };
  161. };
  162. cpus: cpus {
  163. #address-cells = <2>;
  164. #size-cells = <0>;
  165. CPU0: cpu@0 {
  166. device_type = "cpu";
  167. compatible = "qcom,kryo385";
  168. reg = <0x0 0x0>;
  169. enable-method = "psci";
  170. capacity-dmips-mhz = <611>;
  171. dynamic-power-coefficient = <154>;
  172. qcom,freq-domain = <&cpufreq_hw 0>;
  173. operating-points-v2 = <&cpu0_opp_table>;
  174. interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
  175. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  176. power-domains = <&CPU_PD0>;
  177. power-domain-names = "psci";
  178. #cooling-cells = <2>;
  179. next-level-cache = <&L2_0>;
  180. L2_0: l2-cache {
  181. compatible = "cache";
  182. next-level-cache = <&L3_0>;
  183. L3_0: l3-cache {
  184. compatible = "cache";
  185. };
  186. };
  187. };
  188. CPU1: cpu@100 {
  189. device_type = "cpu";
  190. compatible = "qcom,kryo385";
  191. reg = <0x0 0x100>;
  192. enable-method = "psci";
  193. capacity-dmips-mhz = <611>;
  194. dynamic-power-coefficient = <154>;
  195. qcom,freq-domain = <&cpufreq_hw 0>;
  196. operating-points-v2 = <&cpu0_opp_table>;
  197. interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
  198. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  199. power-domains = <&CPU_PD1>;
  200. power-domain-names = "psci";
  201. #cooling-cells = <2>;
  202. next-level-cache = <&L2_100>;
  203. L2_100: l2-cache {
  204. compatible = "cache";
  205. next-level-cache = <&L3_0>;
  206. };
  207. };
  208. CPU2: cpu@200 {
  209. device_type = "cpu";
  210. compatible = "qcom,kryo385";
  211. reg = <0x0 0x200>;
  212. enable-method = "psci";
  213. capacity-dmips-mhz = <611>;
  214. dynamic-power-coefficient = <154>;
  215. qcom,freq-domain = <&cpufreq_hw 0>;
  216. operating-points-v2 = <&cpu0_opp_table>;
  217. interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
  218. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  219. power-domains = <&CPU_PD2>;
  220. power-domain-names = "psci";
  221. #cooling-cells = <2>;
  222. next-level-cache = <&L2_200>;
  223. L2_200: l2-cache {
  224. compatible = "cache";
  225. next-level-cache = <&L3_0>;
  226. };
  227. };
  228. CPU3: cpu@300 {
  229. device_type = "cpu";
  230. compatible = "qcom,kryo385";
  231. reg = <0x0 0x300>;
  232. enable-method = "psci";
  233. capacity-dmips-mhz = <611>;
  234. dynamic-power-coefficient = <154>;
  235. qcom,freq-domain = <&cpufreq_hw 0>;
  236. operating-points-v2 = <&cpu0_opp_table>;
  237. interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
  238. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  239. #cooling-cells = <2>;
  240. power-domains = <&CPU_PD3>;
  241. power-domain-names = "psci";
  242. next-level-cache = <&L2_300>;
  243. L2_300: l2-cache {
  244. compatible = "cache";
  245. next-level-cache = <&L3_0>;
  246. };
  247. };
  248. CPU4: cpu@400 {
  249. device_type = "cpu";
  250. compatible = "qcom,kryo385";
  251. reg = <0x0 0x400>;
  252. enable-method = "psci";
  253. capacity-dmips-mhz = <1024>;
  254. dynamic-power-coefficient = <442>;
  255. qcom,freq-domain = <&cpufreq_hw 1>;
  256. operating-points-v2 = <&cpu4_opp_table>;
  257. interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
  258. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  259. power-domains = <&CPU_PD4>;
  260. power-domain-names = "psci";
  261. #cooling-cells = <2>;
  262. next-level-cache = <&L2_400>;
  263. L2_400: l2-cache {
  264. compatible = "cache";
  265. next-level-cache = <&L3_0>;
  266. };
  267. };
  268. CPU5: cpu@500 {
  269. device_type = "cpu";
  270. compatible = "qcom,kryo385";
  271. reg = <0x0 0x500>;
  272. enable-method = "psci";
  273. capacity-dmips-mhz = <1024>;
  274. dynamic-power-coefficient = <442>;
  275. qcom,freq-domain = <&cpufreq_hw 1>;
  276. operating-points-v2 = <&cpu4_opp_table>;
  277. interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
  278. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  279. power-domains = <&CPU_PD5>;
  280. power-domain-names = "psci";
  281. #cooling-cells = <2>;
  282. next-level-cache = <&L2_500>;
  283. L2_500: l2-cache {
  284. compatible = "cache";
  285. next-level-cache = <&L3_0>;
  286. };
  287. };
  288. CPU6: cpu@600 {
  289. device_type = "cpu";
  290. compatible = "qcom,kryo385";
  291. reg = <0x0 0x600>;
  292. enable-method = "psci";
  293. capacity-dmips-mhz = <1024>;
  294. dynamic-power-coefficient = <442>;
  295. qcom,freq-domain = <&cpufreq_hw 1>;
  296. operating-points-v2 = <&cpu4_opp_table>;
  297. interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
  298. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  299. power-domains = <&CPU_PD6>;
  300. power-domain-names = "psci";
  301. #cooling-cells = <2>;
  302. next-level-cache = <&L2_600>;
  303. L2_600: l2-cache {
  304. compatible = "cache";
  305. next-level-cache = <&L3_0>;
  306. };
  307. };
  308. CPU7: cpu@700 {
  309. device_type = "cpu";
  310. compatible = "qcom,kryo385";
  311. reg = <0x0 0x700>;
  312. enable-method = "psci";
  313. capacity-dmips-mhz = <1024>;
  314. dynamic-power-coefficient = <442>;
  315. qcom,freq-domain = <&cpufreq_hw 1>;
  316. operating-points-v2 = <&cpu4_opp_table>;
  317. interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
  318. <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
  319. power-domains = <&CPU_PD7>;
  320. power-domain-names = "psci";
  321. #cooling-cells = <2>;
  322. next-level-cache = <&L2_700>;
  323. L2_700: l2-cache {
  324. compatible = "cache";
  325. next-level-cache = <&L3_0>;
  326. };
  327. };
  328. cpu-map {
  329. cluster0 {
  330. core0 {
  331. cpu = <&CPU0>;
  332. };
  333. core1 {
  334. cpu = <&CPU1>;
  335. };
  336. core2 {
  337. cpu = <&CPU2>;
  338. };
  339. core3 {
  340. cpu = <&CPU3>;
  341. };
  342. core4 {
  343. cpu = <&CPU4>;
  344. };
  345. core5 {
  346. cpu = <&CPU5>;
  347. };
  348. core6 {
  349. cpu = <&CPU6>;
  350. };
  351. core7 {
  352. cpu = <&CPU7>;
  353. };
  354. };
  355. };
  356. cpu_idle_states: idle-states {
  357. entry-method = "psci";
  358. LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
  359. compatible = "arm,idle-state";
  360. idle-state-name = "little-rail-power-collapse";
  361. arm,psci-suspend-param = <0x40000004>;
  362. entry-latency-us = <350>;
  363. exit-latency-us = <461>;
  364. min-residency-us = <1890>;
  365. local-timer-stop;
  366. };
  367. BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
  368. compatible = "arm,idle-state";
  369. idle-state-name = "big-rail-power-collapse";
  370. arm,psci-suspend-param = <0x40000004>;
  371. entry-latency-us = <264>;
  372. exit-latency-us = <621>;
  373. min-residency-us = <952>;
  374. local-timer-stop;
  375. };
  376. };
  377. domain-idle-states {
  378. CLUSTER_SLEEP_0: cluster-sleep-0 {
  379. compatible = "domain-idle-state";
  380. idle-state-name = "cluster-power-collapse";
  381. arm,psci-suspend-param = <0x4100c244>;
  382. entry-latency-us = <3263>;
  383. exit-latency-us = <6562>;
  384. min-residency-us = <9987>;
  385. local-timer-stop;
  386. };
  387. };
  388. };
  389. cpu0_opp_table: opp-table-cpu0 {
  390. compatible = "operating-points-v2";
  391. opp-shared;
  392. cpu0_opp1: opp-300000000 {
  393. opp-hz = /bits/ 64 <300000000>;
  394. opp-peak-kBps = <800000 4800000>;
  395. };
  396. cpu0_opp2: opp-403200000 {
  397. opp-hz = /bits/ 64 <403200000>;
  398. opp-peak-kBps = <800000 4800000>;
  399. };
  400. cpu0_opp3: opp-480000000 {
  401. opp-hz = /bits/ 64 <480000000>;
  402. opp-peak-kBps = <800000 6451200>;
  403. };
  404. cpu0_opp4: opp-576000000 {
  405. opp-hz = /bits/ 64 <576000000>;
  406. opp-peak-kBps = <800000 6451200>;
  407. };
  408. cpu0_opp5: opp-652800000 {
  409. opp-hz = /bits/ 64 <652800000>;
  410. opp-peak-kBps = <800000 7680000>;
  411. };
  412. cpu0_opp6: opp-748800000 {
  413. opp-hz = /bits/ 64 <748800000>;
  414. opp-peak-kBps = <1804000 9216000>;
  415. };
  416. cpu0_opp7: opp-825600000 {
  417. opp-hz = /bits/ 64 <825600000>;
  418. opp-peak-kBps = <1804000 9216000>;
  419. };
  420. cpu0_opp8: opp-902400000 {
  421. opp-hz = /bits/ 64 <902400000>;
  422. opp-peak-kBps = <1804000 10444800>;
  423. };
  424. cpu0_opp9: opp-979200000 {
  425. opp-hz = /bits/ 64 <979200000>;
  426. opp-peak-kBps = <1804000 11980800>;
  427. };
  428. cpu0_opp10: opp-1056000000 {
  429. opp-hz = /bits/ 64 <1056000000>;
  430. opp-peak-kBps = <1804000 11980800>;
  431. };
  432. cpu0_opp11: opp-1132800000 {
  433. opp-hz = /bits/ 64 <1132800000>;
  434. opp-peak-kBps = <2188000 13516800>;
  435. };
  436. cpu0_opp12: opp-1228800000 {
  437. opp-hz = /bits/ 64 <1228800000>;
  438. opp-peak-kBps = <2188000 15052800>;
  439. };
  440. cpu0_opp13: opp-1324800000 {
  441. opp-hz = /bits/ 64 <1324800000>;
  442. opp-peak-kBps = <2188000 16588800>;
  443. };
  444. cpu0_opp14: opp-1420800000 {
  445. opp-hz = /bits/ 64 <1420800000>;
  446. opp-peak-kBps = <3072000 18124800>;
  447. };
  448. cpu0_opp15: opp-1516800000 {
  449. opp-hz = /bits/ 64 <1516800000>;
  450. opp-peak-kBps = <3072000 19353600>;
  451. };
  452. cpu0_opp16: opp-1612800000 {
  453. opp-hz = /bits/ 64 <1612800000>;
  454. opp-peak-kBps = <4068000 19353600>;
  455. };
  456. cpu0_opp17: opp-1689600000 {
  457. opp-hz = /bits/ 64 <1689600000>;
  458. opp-peak-kBps = <4068000 20889600>;
  459. };
  460. cpu0_opp18: opp-1766400000 {
  461. opp-hz = /bits/ 64 <1766400000>;
  462. opp-peak-kBps = <4068000 22425600>;
  463. };
  464. };
  465. cpu4_opp_table: opp-table-cpu4 {
  466. compatible = "operating-points-v2";
  467. opp-shared;
  468. cpu4_opp1: opp-300000000 {
  469. opp-hz = /bits/ 64 <300000000>;
  470. opp-peak-kBps = <800000 4800000>;
  471. };
  472. cpu4_opp2: opp-403200000 {
  473. opp-hz = /bits/ 64 <403200000>;
  474. opp-peak-kBps = <800000 4800000>;
  475. };
  476. cpu4_opp3: opp-480000000 {
  477. opp-hz = /bits/ 64 <480000000>;
  478. opp-peak-kBps = <1804000 4800000>;
  479. };
  480. cpu4_opp4: opp-576000000 {
  481. opp-hz = /bits/ 64 <576000000>;
  482. opp-peak-kBps = <1804000 4800000>;
  483. };
  484. cpu4_opp5: opp-652800000 {
  485. opp-hz = /bits/ 64 <652800000>;
  486. opp-peak-kBps = <1804000 4800000>;
  487. };
  488. cpu4_opp6: opp-748800000 {
  489. opp-hz = /bits/ 64 <748800000>;
  490. opp-peak-kBps = <1804000 4800000>;
  491. };
  492. cpu4_opp7: opp-825600000 {
  493. opp-hz = /bits/ 64 <825600000>;
  494. opp-peak-kBps = <2188000 9216000>;
  495. };
  496. cpu4_opp8: opp-902400000 {
  497. opp-hz = /bits/ 64 <902400000>;
  498. opp-peak-kBps = <2188000 9216000>;
  499. };
  500. cpu4_opp9: opp-979200000 {
  501. opp-hz = /bits/ 64 <979200000>;
  502. opp-peak-kBps = <2188000 9216000>;
  503. };
  504. cpu4_opp10: opp-1056000000 {
  505. opp-hz = /bits/ 64 <1056000000>;
  506. opp-peak-kBps = <3072000 9216000>;
  507. };
  508. cpu4_opp11: opp-1132800000 {
  509. opp-hz = /bits/ 64 <1132800000>;
  510. opp-peak-kBps = <3072000 11980800>;
  511. };
  512. cpu4_opp12: opp-1209600000 {
  513. opp-hz = /bits/ 64 <1209600000>;
  514. opp-peak-kBps = <4068000 11980800>;
  515. };
  516. cpu4_opp13: opp-1286400000 {
  517. opp-hz = /bits/ 64 <1286400000>;
  518. opp-peak-kBps = <4068000 11980800>;
  519. };
  520. cpu4_opp14: opp-1363200000 {
  521. opp-hz = /bits/ 64 <1363200000>;
  522. opp-peak-kBps = <4068000 15052800>;
  523. };
  524. cpu4_opp15: opp-1459200000 {
  525. opp-hz = /bits/ 64 <1459200000>;
  526. opp-peak-kBps = <4068000 15052800>;
  527. };
  528. cpu4_opp16: opp-1536000000 {
  529. opp-hz = /bits/ 64 <1536000000>;
  530. opp-peak-kBps = <5412000 15052800>;
  531. };
  532. cpu4_opp17: opp-1612800000 {
  533. opp-hz = /bits/ 64 <1612800000>;
  534. opp-peak-kBps = <5412000 15052800>;
  535. };
  536. cpu4_opp18: opp-1689600000 {
  537. opp-hz = /bits/ 64 <1689600000>;
  538. opp-peak-kBps = <5412000 19353600>;
  539. };
  540. cpu4_opp19: opp-1766400000 {
  541. opp-hz = /bits/ 64 <1766400000>;
  542. opp-peak-kBps = <6220000 19353600>;
  543. };
  544. cpu4_opp20: opp-1843200000 {
  545. opp-hz = /bits/ 64 <1843200000>;
  546. opp-peak-kBps = <6220000 19353600>;
  547. };
  548. cpu4_opp21: opp-1920000000 {
  549. opp-hz = /bits/ 64 <1920000000>;
  550. opp-peak-kBps = <7216000 19353600>;
  551. };
  552. cpu4_opp22: opp-1996800000 {
  553. opp-hz = /bits/ 64 <1996800000>;
  554. opp-peak-kBps = <7216000 20889600>;
  555. };
  556. cpu4_opp23: opp-2092800000 {
  557. opp-hz = /bits/ 64 <2092800000>;
  558. opp-peak-kBps = <7216000 20889600>;
  559. };
  560. cpu4_opp24: opp-2169600000 {
  561. opp-hz = /bits/ 64 <2169600000>;
  562. opp-peak-kBps = <7216000 20889600>;
  563. };
  564. cpu4_opp25: opp-2246400000 {
  565. opp-hz = /bits/ 64 <2246400000>;
  566. opp-peak-kBps = <7216000 20889600>;
  567. };
  568. cpu4_opp26: opp-2323200000 {
  569. opp-hz = /bits/ 64 <2323200000>;
  570. opp-peak-kBps = <7216000 20889600>;
  571. };
  572. cpu4_opp27: opp-2400000000 {
  573. opp-hz = /bits/ 64 <2400000000>;
  574. opp-peak-kBps = <7216000 22425600>;
  575. };
  576. cpu4_opp28: opp-2476800000 {
  577. opp-hz = /bits/ 64 <2476800000>;
  578. opp-peak-kBps = <7216000 22425600>;
  579. };
  580. cpu4_opp29: opp-2553600000 {
  581. opp-hz = /bits/ 64 <2553600000>;
  582. opp-peak-kBps = <7216000 22425600>;
  583. };
  584. cpu4_opp30: opp-2649600000 {
  585. opp-hz = /bits/ 64 <2649600000>;
  586. opp-peak-kBps = <7216000 22425600>;
  587. };
  588. cpu4_opp31: opp-2745600000 {
  589. opp-hz = /bits/ 64 <2745600000>;
  590. opp-peak-kBps = <7216000 25497600>;
  591. };
  592. cpu4_opp32: opp-2803200000 {
  593. opp-hz = /bits/ 64 <2803200000>;
  594. opp-peak-kBps = <7216000 25497600>;
  595. };
  596. };
  597. pmu {
  598. compatible = "arm,armv8-pmuv3";
  599. interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
  600. };
  601. timer {
  602. compatible = "arm,armv8-timer";
  603. interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
  604. <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
  605. <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
  606. <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
  607. };
  608. clocks {
  609. xo_board: xo-board {
  610. compatible = "fixed-clock";
  611. #clock-cells = <0>;
  612. clock-frequency = <38400000>;
  613. clock-output-names = "xo_board";
  614. };
  615. sleep_clk: sleep-clk {
  616. compatible = "fixed-clock";
  617. #clock-cells = <0>;
  618. clock-frequency = <32764>;
  619. };
  620. };
  621. firmware {
  622. scm {
  623. compatible = "qcom,scm-sdm845", "qcom,scm";
  624. };
  625. };
  626. adsp_pas: remoteproc-adsp {
  627. compatible = "qcom,sdm845-adsp-pas";
  628. interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
  629. <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  630. <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
  631. <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
  632. <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
  633. interrupt-names = "wdog", "fatal", "ready",
  634. "handover", "stop-ack";
  635. clocks = <&rpmhcc RPMH_CXO_CLK>;
  636. clock-names = "xo";
  637. memory-region = <&adsp_mem>;
  638. qcom,qmp = <&aoss_qmp>;
  639. qcom,smem-states = <&adsp_smp2p_out 0>;
  640. qcom,smem-state-names = "stop";
  641. status = "disabled";
  642. glink-edge {
  643. interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
  644. label = "lpass";
  645. qcom,remote-pid = <2>;
  646. mboxes = <&apss_shared 8>;
  647. apr {
  648. compatible = "qcom,apr-v2";
  649. qcom,glink-channels = "apr_audio_svc";
  650. qcom,domain = <APR_DOMAIN_ADSP>;
  651. #address-cells = <1>;
  652. #size-cells = <0>;
  653. qcom,intents = <512 20>;
  654. apr-service@3 {
  655. reg = <APR_SVC_ADSP_CORE>;
  656. compatible = "qcom,q6core";
  657. qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
  658. };
  659. q6afe: apr-service@4 {
  660. compatible = "qcom,q6afe";
  661. reg = <APR_SVC_AFE>;
  662. qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
  663. q6afedai: dais {
  664. compatible = "qcom,q6afe-dais";
  665. #address-cells = <1>;
  666. #size-cells = <0>;
  667. #sound-dai-cells = <1>;
  668. };
  669. };
  670. q6asm: apr-service@7 {
  671. compatible = "qcom,q6asm";
  672. reg = <APR_SVC_ASM>;
  673. qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
  674. q6asmdai: dais {
  675. compatible = "qcom,q6asm-dais";
  676. #address-cells = <1>;
  677. #size-cells = <0>;
  678. #sound-dai-cells = <1>;
  679. iommus = <&apps_smmu 0x1821 0x0>;
  680. };
  681. };
  682. q6adm: apr-service@8 {
  683. compatible = "qcom,q6adm";
  684. reg = <APR_SVC_ADM>;
  685. qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
  686. q6routing: routing {
  687. compatible = "qcom,q6adm-routing";
  688. #sound-dai-cells = <0>;
  689. };
  690. };
  691. };
  692. fastrpc {
  693. compatible = "qcom,fastrpc";
  694. qcom,glink-channels = "fastrpcglink-apps-dsp";
  695. label = "adsp";
  696. qcom,non-secure-domain;
  697. #address-cells = <1>;
  698. #size-cells = <0>;
  699. compute-cb@3 {
  700. compatible = "qcom,fastrpc-compute-cb";
  701. reg = <3>;
  702. iommus = <&apps_smmu 0x1823 0x0>;
  703. };
  704. compute-cb@4 {
  705. compatible = "qcom,fastrpc-compute-cb";
  706. reg = <4>;
  707. iommus = <&apps_smmu 0x1824 0x0>;
  708. };
  709. };
  710. };
  711. };
  712. cdsp_pas: remoteproc-cdsp {
  713. compatible = "qcom,sdm845-cdsp-pas";
  714. interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
  715. <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  716. <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
  717. <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
  718. <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
  719. interrupt-names = "wdog", "fatal", "ready",
  720. "handover", "stop-ack";
  721. clocks = <&rpmhcc RPMH_CXO_CLK>;
  722. clock-names = "xo";
  723. memory-region = <&cdsp_mem>;
  724. qcom,qmp = <&aoss_qmp>;
  725. qcom,smem-states = <&cdsp_smp2p_out 0>;
  726. qcom,smem-state-names = "stop";
  727. status = "disabled";
  728. glink-edge {
  729. interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
  730. label = "turing";
  731. qcom,remote-pid = <5>;
  732. mboxes = <&apss_shared 4>;
  733. fastrpc {
  734. compatible = "qcom,fastrpc";
  735. qcom,glink-channels = "fastrpcglink-apps-dsp";
  736. label = "cdsp";
  737. qcom,non-secure-domain;
  738. #address-cells = <1>;
  739. #size-cells = <0>;
  740. compute-cb@1 {
  741. compatible = "qcom,fastrpc-compute-cb";
  742. reg = <1>;
  743. iommus = <&apps_smmu 0x1401 0x30>;
  744. };
  745. compute-cb@2 {
  746. compatible = "qcom,fastrpc-compute-cb";
  747. reg = <2>;
  748. iommus = <&apps_smmu 0x1402 0x30>;
  749. };
  750. compute-cb@3 {
  751. compatible = "qcom,fastrpc-compute-cb";
  752. reg = <3>;
  753. iommus = <&apps_smmu 0x1403 0x30>;
  754. };
  755. compute-cb@4 {
  756. compatible = "qcom,fastrpc-compute-cb";
  757. reg = <4>;
  758. iommus = <&apps_smmu 0x1404 0x30>;
  759. };
  760. compute-cb@5 {
  761. compatible = "qcom,fastrpc-compute-cb";
  762. reg = <5>;
  763. iommus = <&apps_smmu 0x1405 0x30>;
  764. };
  765. compute-cb@6 {
  766. compatible = "qcom,fastrpc-compute-cb";
  767. reg = <6>;
  768. iommus = <&apps_smmu 0x1406 0x30>;
  769. };
  770. compute-cb@7 {
  771. compatible = "qcom,fastrpc-compute-cb";
  772. reg = <7>;
  773. iommus = <&apps_smmu 0x1407 0x30>;
  774. };
  775. compute-cb@8 {
  776. compatible = "qcom,fastrpc-compute-cb";
  777. reg = <8>;
  778. iommus = <&apps_smmu 0x1408 0x30>;
  779. };
  780. };
  781. };
  782. };
  783. smp2p-cdsp {
  784. compatible = "qcom,smp2p";
  785. qcom,smem = <94>, <432>;
  786. interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
  787. mboxes = <&apss_shared 6>;
  788. qcom,local-pid = <0>;
  789. qcom,remote-pid = <5>;
  790. cdsp_smp2p_out: master-kernel {
  791. qcom,entry-name = "master-kernel";
  792. #qcom,smem-state-cells = <1>;
  793. };
  794. cdsp_smp2p_in: slave-kernel {
  795. qcom,entry-name = "slave-kernel";
  796. interrupt-controller;
  797. #interrupt-cells = <2>;
  798. };
  799. };
  800. smp2p-lpass {
  801. compatible = "qcom,smp2p";
  802. qcom,smem = <443>, <429>;
  803. interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
  804. mboxes = <&apss_shared 10>;
  805. qcom,local-pid = <0>;
  806. qcom,remote-pid = <2>;
  807. adsp_smp2p_out: master-kernel {
  808. qcom,entry-name = "master-kernel";
  809. #qcom,smem-state-cells = <1>;
  810. };
  811. adsp_smp2p_in: slave-kernel {
  812. qcom,entry-name = "slave-kernel";
  813. interrupt-controller;
  814. #interrupt-cells = <2>;
  815. };
  816. };
  817. smp2p-mpss {
  818. compatible = "qcom,smp2p";
  819. qcom,smem = <435>, <428>;
  820. interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
  821. mboxes = <&apss_shared 14>;
  822. qcom,local-pid = <0>;
  823. qcom,remote-pid = <1>;
  824. modem_smp2p_out: master-kernel {
  825. qcom,entry-name = "master-kernel";
  826. #qcom,smem-state-cells = <1>;
  827. };
  828. modem_smp2p_in: slave-kernel {
  829. qcom,entry-name = "slave-kernel";
  830. interrupt-controller;
  831. #interrupt-cells = <2>;
  832. };
  833. ipa_smp2p_out: ipa-ap-to-modem {
  834. qcom,entry-name = "ipa";
  835. #qcom,smem-state-cells = <1>;
  836. };
  837. ipa_smp2p_in: ipa-modem-to-ap {
  838. qcom,entry-name = "ipa";
  839. interrupt-controller;
  840. #interrupt-cells = <2>;
  841. };
  842. };
  843. smp2p-slpi {
  844. compatible = "qcom,smp2p";
  845. qcom,smem = <481>, <430>;
  846. interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
  847. mboxes = <&apss_shared 26>;
  848. qcom,local-pid = <0>;
  849. qcom,remote-pid = <3>;
  850. slpi_smp2p_out: master-kernel {
  851. qcom,entry-name = "master-kernel";
  852. #qcom,smem-state-cells = <1>;
  853. };
  854. slpi_smp2p_in: slave-kernel {
  855. qcom,entry-name = "slave-kernel";
  856. interrupt-controller;
  857. #interrupt-cells = <2>;
  858. };
  859. };
  860. psci: psci {
  861. compatible = "arm,psci-1.0";
  862. method = "smc";
  863. CPU_PD0: power-domain-cpu0 {
  864. #power-domain-cells = <0>;
  865. power-domains = <&CLUSTER_PD>;
  866. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  867. };
  868. CPU_PD1: power-domain-cpu1 {
  869. #power-domain-cells = <0>;
  870. power-domains = <&CLUSTER_PD>;
  871. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  872. };
  873. CPU_PD2: power-domain-cpu2 {
  874. #power-domain-cells = <0>;
  875. power-domains = <&CLUSTER_PD>;
  876. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  877. };
  878. CPU_PD3: power-domain-cpu3 {
  879. #power-domain-cells = <0>;
  880. power-domains = <&CLUSTER_PD>;
  881. domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
  882. };
  883. CPU_PD4: power-domain-cpu4 {
  884. #power-domain-cells = <0>;
  885. power-domains = <&CLUSTER_PD>;
  886. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  887. };
  888. CPU_PD5: power-domain-cpu5 {
  889. #power-domain-cells = <0>;
  890. power-domains = <&CLUSTER_PD>;
  891. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  892. };
  893. CPU_PD6: power-domain-cpu6 {
  894. #power-domain-cells = <0>;
  895. power-domains = <&CLUSTER_PD>;
  896. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  897. };
  898. CPU_PD7: power-domain-cpu7 {
  899. #power-domain-cells = <0>;
  900. power-domains = <&CLUSTER_PD>;
  901. domain-idle-states = <&BIG_CPU_SLEEP_0>;
  902. };
  903. CLUSTER_PD: power-domain-cluster {
  904. #power-domain-cells = <0>;
  905. domain-idle-states = <&CLUSTER_SLEEP_0>;
  906. };
  907. };
  908. soc: soc@0 {
  909. #address-cells = <2>;
  910. #size-cells = <2>;
  911. ranges = <0 0 0 0 0x10 0>;
  912. dma-ranges = <0 0 0 0 0x10 0>;
  913. compatible = "simple-bus";
  914. gcc: clock-controller@100000 {
  915. compatible = "qcom,gcc-sdm845";
  916. reg = <0 0x00100000 0 0x1f0000>;
  917. clocks = <&rpmhcc RPMH_CXO_CLK>,
  918. <&rpmhcc RPMH_CXO_CLK_A>,
  919. <&sleep_clk>,
  920. <&pcie0_lane>,
  921. <&pcie1_lane>;
  922. clock-names = "bi_tcxo",
  923. "bi_tcxo_ao",
  924. "sleep_clk",
  925. "pcie_0_pipe_clk",
  926. "pcie_1_pipe_clk";
  927. #clock-cells = <1>;
  928. #reset-cells = <1>;
  929. #power-domain-cells = <1>;
  930. power-domains = <&rpmhpd SDM845_CX>;
  931. };
  932. qfprom@784000 {
  933. compatible = "qcom,sdm845-qfprom", "qcom,qfprom";
  934. reg = <0 0x00784000 0 0x8ff>;
  935. #address-cells = <1>;
  936. #size-cells = <1>;
  937. qusb2p_hstx_trim: hstx-trim-primary@1eb {
  938. reg = <0x1eb 0x1>;
  939. bits = <1 4>;
  940. };
  941. qusb2s_hstx_trim: hstx-trim-secondary@1eb {
  942. reg = <0x1eb 0x2>;
  943. bits = <6 4>;
  944. };
  945. };
  946. rng: rng@793000 {
  947. compatible = "qcom,prng-ee";
  948. reg = <0 0x00793000 0 0x1000>;
  949. clocks = <&gcc GCC_PRNG_AHB_CLK>;
  950. clock-names = "core";
  951. };
  952. qup_opp_table: opp-table-qup {
  953. compatible = "operating-points-v2";
  954. opp-50000000 {
  955. opp-hz = /bits/ 64 <50000000>;
  956. required-opps = <&rpmhpd_opp_min_svs>;
  957. };
  958. opp-75000000 {
  959. opp-hz = /bits/ 64 <75000000>;
  960. required-opps = <&rpmhpd_opp_low_svs>;
  961. };
  962. opp-100000000 {
  963. opp-hz = /bits/ 64 <100000000>;
  964. required-opps = <&rpmhpd_opp_svs>;
  965. };
  966. opp-128000000 {
  967. opp-hz = /bits/ 64 <128000000>;
  968. required-opps = <&rpmhpd_opp_nom>;
  969. };
  970. };
  971. gpi_dma0: dma-controller@800000 {
  972. #dma-cells = <3>;
  973. compatible = "qcom,sdm845-gpi-dma";
  974. reg = <0 0x00800000 0 0x60000>;
  975. interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
  976. <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
  977. <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
  978. <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
  979. <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
  980. <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
  981. <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
  982. <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
  983. <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
  984. <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
  985. <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
  986. <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
  987. <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
  988. dma-channels = <13>;
  989. dma-channel-mask = <0xfa>;
  990. iommus = <&apps_smmu 0x0016 0x0>;
  991. status = "disabled";
  992. };
  993. qupv3_id_0: geniqup@8c0000 {
  994. compatible = "qcom,geni-se-qup";
  995. reg = <0 0x008c0000 0 0x6000>;
  996. clock-names = "m-ahb", "s-ahb";
  997. clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
  998. <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
  999. iommus = <&apps_smmu 0x3 0x0>;
  1000. #address-cells = <2>;
  1001. #size-cells = <2>;
  1002. ranges;
  1003. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>;
  1004. interconnect-names = "qup-core";
  1005. status = "disabled";
  1006. i2c0: i2c@880000 {
  1007. compatible = "qcom,geni-i2c";
  1008. reg = <0 0x00880000 0 0x4000>;
  1009. clock-names = "se";
  1010. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  1011. pinctrl-names = "default";
  1012. pinctrl-0 = <&qup_i2c0_default>;
  1013. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  1014. #address-cells = <1>;
  1015. #size-cells = <0>;
  1016. power-domains = <&rpmhpd SDM845_CX>;
  1017. operating-points-v2 = <&qup_opp_table>;
  1018. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1019. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
  1020. <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
  1021. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1022. dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
  1023. <&gpi_dma0 1 0 QCOM_GPI_I2C>;
  1024. dma-names = "tx", "rx";
  1025. status = "disabled";
  1026. };
  1027. spi0: spi@880000 {
  1028. compatible = "qcom,geni-spi";
  1029. reg = <0 0x00880000 0 0x4000>;
  1030. clock-names = "se";
  1031. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  1032. pinctrl-names = "default";
  1033. pinctrl-0 = <&qup_spi0_default>;
  1034. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  1035. #address-cells = <1>;
  1036. #size-cells = <0>;
  1037. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1038. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1039. interconnect-names = "qup-core", "qup-config";
  1040. dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
  1041. <&gpi_dma0 1 0 QCOM_GPI_SPI>;
  1042. dma-names = "tx", "rx";
  1043. status = "disabled";
  1044. };
  1045. uart0: serial@880000 {
  1046. compatible = "qcom,geni-uart";
  1047. reg = <0 0x00880000 0 0x4000>;
  1048. clock-names = "se";
  1049. clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
  1050. pinctrl-names = "default";
  1051. pinctrl-0 = <&qup_uart0_default>;
  1052. interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
  1053. power-domains = <&rpmhpd SDM845_CX>;
  1054. operating-points-v2 = <&qup_opp_table>;
  1055. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1056. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1057. interconnect-names = "qup-core", "qup-config";
  1058. status = "disabled";
  1059. };
  1060. i2c1: i2c@884000 {
  1061. compatible = "qcom,geni-i2c";
  1062. reg = <0 0x00884000 0 0x4000>;
  1063. clock-names = "se";
  1064. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  1065. pinctrl-names = "default";
  1066. pinctrl-0 = <&qup_i2c1_default>;
  1067. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  1068. #address-cells = <1>;
  1069. #size-cells = <0>;
  1070. power-domains = <&rpmhpd SDM845_CX>;
  1071. operating-points-v2 = <&qup_opp_table>;
  1072. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1073. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
  1074. <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
  1075. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1076. dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
  1077. <&gpi_dma0 1 1 QCOM_GPI_I2C>;
  1078. dma-names = "tx", "rx";
  1079. status = "disabled";
  1080. };
  1081. spi1: spi@884000 {
  1082. compatible = "qcom,geni-spi";
  1083. reg = <0 0x00884000 0 0x4000>;
  1084. clock-names = "se";
  1085. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  1086. pinctrl-names = "default";
  1087. pinctrl-0 = <&qup_spi1_default>;
  1088. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  1089. #address-cells = <1>;
  1090. #size-cells = <0>;
  1091. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1092. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1093. interconnect-names = "qup-core", "qup-config";
  1094. dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
  1095. <&gpi_dma0 1 1 QCOM_GPI_SPI>;
  1096. dma-names = "tx", "rx";
  1097. status = "disabled";
  1098. };
  1099. uart1: serial@884000 {
  1100. compatible = "qcom,geni-uart";
  1101. reg = <0 0x00884000 0 0x4000>;
  1102. clock-names = "se";
  1103. clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
  1104. pinctrl-names = "default";
  1105. pinctrl-0 = <&qup_uart1_default>;
  1106. interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
  1107. power-domains = <&rpmhpd SDM845_CX>;
  1108. operating-points-v2 = <&qup_opp_table>;
  1109. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1110. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1111. interconnect-names = "qup-core", "qup-config";
  1112. status = "disabled";
  1113. };
  1114. i2c2: i2c@888000 {
  1115. compatible = "qcom,geni-i2c";
  1116. reg = <0 0x00888000 0 0x4000>;
  1117. clock-names = "se";
  1118. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  1119. pinctrl-names = "default";
  1120. pinctrl-0 = <&qup_i2c2_default>;
  1121. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  1122. #address-cells = <1>;
  1123. #size-cells = <0>;
  1124. power-domains = <&rpmhpd SDM845_CX>;
  1125. operating-points-v2 = <&qup_opp_table>;
  1126. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1127. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
  1128. <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
  1129. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1130. dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
  1131. <&gpi_dma0 1 2 QCOM_GPI_I2C>;
  1132. dma-names = "tx", "rx";
  1133. status = "disabled";
  1134. };
  1135. spi2: spi@888000 {
  1136. compatible = "qcom,geni-spi";
  1137. reg = <0 0x00888000 0 0x4000>;
  1138. clock-names = "se";
  1139. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  1140. pinctrl-names = "default";
  1141. pinctrl-0 = <&qup_spi2_default>;
  1142. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  1143. #address-cells = <1>;
  1144. #size-cells = <0>;
  1145. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1146. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1147. interconnect-names = "qup-core", "qup-config";
  1148. dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
  1149. <&gpi_dma0 1 2 QCOM_GPI_SPI>;
  1150. dma-names = "tx", "rx";
  1151. status = "disabled";
  1152. };
  1153. uart2: serial@888000 {
  1154. compatible = "qcom,geni-uart";
  1155. reg = <0 0x00888000 0 0x4000>;
  1156. clock-names = "se";
  1157. clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
  1158. pinctrl-names = "default";
  1159. pinctrl-0 = <&qup_uart2_default>;
  1160. interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
  1161. power-domains = <&rpmhpd SDM845_CX>;
  1162. operating-points-v2 = <&qup_opp_table>;
  1163. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1164. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1165. interconnect-names = "qup-core", "qup-config";
  1166. status = "disabled";
  1167. };
  1168. i2c3: i2c@88c000 {
  1169. compatible = "qcom,geni-i2c";
  1170. reg = <0 0x0088c000 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. #address-cells = <1>;
  1177. #size-cells = <0>;
  1178. power-domains = <&rpmhpd SDM845_CX>;
  1179. operating-points-v2 = <&qup_opp_table>;
  1180. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1181. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
  1182. <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
  1183. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1184. dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
  1185. <&gpi_dma0 1 3 QCOM_GPI_I2C>;
  1186. dma-names = "tx", "rx";
  1187. status = "disabled";
  1188. };
  1189. spi3: spi@88c000 {
  1190. compatible = "qcom,geni-spi";
  1191. reg = <0 0x0088c000 0 0x4000>;
  1192. clock-names = "se";
  1193. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  1194. pinctrl-names = "default";
  1195. pinctrl-0 = <&qup_spi3_default>;
  1196. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  1197. #address-cells = <1>;
  1198. #size-cells = <0>;
  1199. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1200. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1201. interconnect-names = "qup-core", "qup-config";
  1202. dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
  1203. <&gpi_dma0 1 3 QCOM_GPI_SPI>;
  1204. dma-names = "tx", "rx";
  1205. status = "disabled";
  1206. };
  1207. uart3: serial@88c000 {
  1208. compatible = "qcom,geni-uart";
  1209. reg = <0 0x0088c000 0 0x4000>;
  1210. clock-names = "se";
  1211. clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
  1212. pinctrl-names = "default";
  1213. pinctrl-0 = <&qup_uart3_default>;
  1214. interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
  1215. power-domains = <&rpmhpd SDM845_CX>;
  1216. operating-points-v2 = <&qup_opp_table>;
  1217. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1218. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1219. interconnect-names = "qup-core", "qup-config";
  1220. status = "disabled";
  1221. };
  1222. i2c4: i2c@890000 {
  1223. compatible = "qcom,geni-i2c";
  1224. reg = <0 0x00890000 0 0x4000>;
  1225. clock-names = "se";
  1226. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  1227. pinctrl-names = "default";
  1228. pinctrl-0 = <&qup_i2c4_default>;
  1229. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  1230. #address-cells = <1>;
  1231. #size-cells = <0>;
  1232. power-domains = <&rpmhpd SDM845_CX>;
  1233. operating-points-v2 = <&qup_opp_table>;
  1234. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1235. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
  1236. <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
  1237. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1238. dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
  1239. <&gpi_dma0 1 4 QCOM_GPI_I2C>;
  1240. dma-names = "tx", "rx";
  1241. status = "disabled";
  1242. };
  1243. spi4: spi@890000 {
  1244. compatible = "qcom,geni-spi";
  1245. reg = <0 0x00890000 0 0x4000>;
  1246. clock-names = "se";
  1247. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  1248. pinctrl-names = "default";
  1249. pinctrl-0 = <&qup_spi4_default>;
  1250. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  1251. #address-cells = <1>;
  1252. #size-cells = <0>;
  1253. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1254. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1255. interconnect-names = "qup-core", "qup-config";
  1256. dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
  1257. <&gpi_dma0 1 4 QCOM_GPI_SPI>;
  1258. dma-names = "tx", "rx";
  1259. status = "disabled";
  1260. };
  1261. uart4: serial@890000 {
  1262. compatible = "qcom,geni-uart";
  1263. reg = <0 0x00890000 0 0x4000>;
  1264. clock-names = "se";
  1265. clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
  1266. pinctrl-names = "default";
  1267. pinctrl-0 = <&qup_uart4_default>;
  1268. interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
  1269. power-domains = <&rpmhpd SDM845_CX>;
  1270. operating-points-v2 = <&qup_opp_table>;
  1271. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1272. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1273. interconnect-names = "qup-core", "qup-config";
  1274. status = "disabled";
  1275. };
  1276. i2c5: i2c@894000 {
  1277. compatible = "qcom,geni-i2c";
  1278. reg = <0 0x00894000 0 0x4000>;
  1279. clock-names = "se";
  1280. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  1281. pinctrl-names = "default";
  1282. pinctrl-0 = <&qup_i2c5_default>;
  1283. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  1284. #address-cells = <1>;
  1285. #size-cells = <0>;
  1286. power-domains = <&rpmhpd SDM845_CX>;
  1287. operating-points-v2 = <&qup_opp_table>;
  1288. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1289. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
  1290. <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
  1291. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1292. dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
  1293. <&gpi_dma0 1 5 QCOM_GPI_I2C>;
  1294. dma-names = "tx", "rx";
  1295. status = "disabled";
  1296. };
  1297. spi5: spi@894000 {
  1298. compatible = "qcom,geni-spi";
  1299. reg = <0 0x00894000 0 0x4000>;
  1300. clock-names = "se";
  1301. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  1302. pinctrl-names = "default";
  1303. pinctrl-0 = <&qup_spi5_default>;
  1304. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  1305. #address-cells = <1>;
  1306. #size-cells = <0>;
  1307. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1308. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1309. interconnect-names = "qup-core", "qup-config";
  1310. dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
  1311. <&gpi_dma0 1 5 QCOM_GPI_SPI>;
  1312. dma-names = "tx", "rx";
  1313. status = "disabled";
  1314. };
  1315. uart5: serial@894000 {
  1316. compatible = "qcom,geni-uart";
  1317. reg = <0 0x00894000 0 0x4000>;
  1318. clock-names = "se";
  1319. clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
  1320. pinctrl-names = "default";
  1321. pinctrl-0 = <&qup_uart5_default>;
  1322. interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
  1323. power-domains = <&rpmhpd SDM845_CX>;
  1324. operating-points-v2 = <&qup_opp_table>;
  1325. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1326. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1327. interconnect-names = "qup-core", "qup-config";
  1328. status = "disabled";
  1329. };
  1330. i2c6: i2c@898000 {
  1331. compatible = "qcom,geni-i2c";
  1332. reg = <0 0x00898000 0 0x4000>;
  1333. clock-names = "se";
  1334. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1335. pinctrl-names = "default";
  1336. pinctrl-0 = <&qup_i2c6_default>;
  1337. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1338. #address-cells = <1>;
  1339. #size-cells = <0>;
  1340. power-domains = <&rpmhpd SDM845_CX>;
  1341. operating-points-v2 = <&qup_opp_table>;
  1342. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1343. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
  1344. <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
  1345. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1346. dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
  1347. <&gpi_dma0 1 6 QCOM_GPI_I2C>;
  1348. dma-names = "tx", "rx";
  1349. status = "disabled";
  1350. };
  1351. spi6: spi@898000 {
  1352. compatible = "qcom,geni-spi";
  1353. reg = <0 0x00898000 0 0x4000>;
  1354. clock-names = "se";
  1355. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1356. pinctrl-names = "default";
  1357. pinctrl-0 = <&qup_spi6_default>;
  1358. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1359. #address-cells = <1>;
  1360. #size-cells = <0>;
  1361. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1362. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1363. interconnect-names = "qup-core", "qup-config";
  1364. dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>,
  1365. <&gpi_dma0 1 6 QCOM_GPI_SPI>;
  1366. dma-names = "tx", "rx";
  1367. status = "disabled";
  1368. };
  1369. uart6: serial@898000 {
  1370. compatible = "qcom,geni-uart";
  1371. reg = <0 0x00898000 0 0x4000>;
  1372. clock-names = "se";
  1373. clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
  1374. pinctrl-names = "default";
  1375. pinctrl-0 = <&qup_uart6_default>;
  1376. interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
  1377. power-domains = <&rpmhpd SDM845_CX>;
  1378. operating-points-v2 = <&qup_opp_table>;
  1379. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1380. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1381. interconnect-names = "qup-core", "qup-config";
  1382. status = "disabled";
  1383. };
  1384. i2c7: i2c@89c000 {
  1385. compatible = "qcom,geni-i2c";
  1386. reg = <0 0x0089c000 0 0x4000>;
  1387. clock-names = "se";
  1388. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  1389. pinctrl-names = "default";
  1390. pinctrl-0 = <&qup_i2c7_default>;
  1391. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  1392. #address-cells = <1>;
  1393. #size-cells = <0>;
  1394. power-domains = <&rpmhpd SDM845_CX>;
  1395. operating-points-v2 = <&qup_opp_table>;
  1396. status = "disabled";
  1397. };
  1398. spi7: spi@89c000 {
  1399. compatible = "qcom,geni-spi";
  1400. reg = <0 0x0089c000 0 0x4000>;
  1401. clock-names = "se";
  1402. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  1403. pinctrl-names = "default";
  1404. pinctrl-0 = <&qup_spi7_default>;
  1405. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  1406. #address-cells = <1>;
  1407. #size-cells = <0>;
  1408. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1409. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1410. interconnect-names = "qup-core", "qup-config";
  1411. dmas = <&gpi_dma0 0 7 QCOM_GPI_SPI>,
  1412. <&gpi_dma0 1 7 QCOM_GPI_SPI>;
  1413. dma-names = "tx", "rx";
  1414. status = "disabled";
  1415. };
  1416. uart7: serial@89c000 {
  1417. compatible = "qcom,geni-uart";
  1418. reg = <0 0x0089c000 0 0x4000>;
  1419. clock-names = "se";
  1420. clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
  1421. pinctrl-names = "default";
  1422. pinctrl-0 = <&qup_uart7_default>;
  1423. interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
  1424. power-domains = <&rpmhpd SDM845_CX>;
  1425. operating-points-v2 = <&qup_opp_table>;
  1426. interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
  1427. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
  1428. interconnect-names = "qup-core", "qup-config";
  1429. status = "disabled";
  1430. };
  1431. };
  1432. gpi_dma1: dma-controller@0xa00000 {
  1433. #dma-cells = <3>;
  1434. compatible = "qcom,sdm845-gpi-dma";
  1435. reg = <0 0x00a00000 0 0x60000>;
  1436. interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
  1437. <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
  1438. <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
  1439. <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
  1440. <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
  1441. <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
  1442. <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
  1443. <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
  1444. <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
  1445. <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
  1446. <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
  1447. <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>,
  1448. <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
  1449. dma-channels = <13>;
  1450. dma-channel-mask = <0xfa>;
  1451. iommus = <&apps_smmu 0x06d6 0x0>;
  1452. status = "disabled";
  1453. };
  1454. qupv3_id_1: geniqup@ac0000 {
  1455. compatible = "qcom,geni-se-qup";
  1456. reg = <0 0x00ac0000 0 0x6000>;
  1457. clock-names = "m-ahb", "s-ahb";
  1458. clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
  1459. <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
  1460. iommus = <&apps_smmu 0x6c3 0x0>;
  1461. #address-cells = <2>;
  1462. #size-cells = <2>;
  1463. ranges;
  1464. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>;
  1465. interconnect-names = "qup-core";
  1466. status = "disabled";
  1467. i2c8: i2c@a80000 {
  1468. compatible = "qcom,geni-i2c";
  1469. reg = <0 0x00a80000 0 0x4000>;
  1470. clock-names = "se";
  1471. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1472. pinctrl-names = "default";
  1473. pinctrl-0 = <&qup_i2c8_default>;
  1474. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1475. #address-cells = <1>;
  1476. #size-cells = <0>;
  1477. power-domains = <&rpmhpd SDM845_CX>;
  1478. operating-points-v2 = <&qup_opp_table>;
  1479. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1480. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
  1481. <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
  1482. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1483. dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
  1484. <&gpi_dma1 1 0 QCOM_GPI_I2C>;
  1485. dma-names = "tx", "rx";
  1486. status = "disabled";
  1487. };
  1488. spi8: spi@a80000 {
  1489. compatible = "qcom,geni-spi";
  1490. reg = <0 0x00a80000 0 0x4000>;
  1491. clock-names = "se";
  1492. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1493. pinctrl-names = "default";
  1494. pinctrl-0 = <&qup_spi8_default>;
  1495. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1496. #address-cells = <1>;
  1497. #size-cells = <0>;
  1498. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1499. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1500. interconnect-names = "qup-core", "qup-config";
  1501. dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
  1502. <&gpi_dma1 1 0 QCOM_GPI_SPI>;
  1503. dma-names = "tx", "rx";
  1504. status = "disabled";
  1505. };
  1506. uart8: serial@a80000 {
  1507. compatible = "qcom,geni-uart";
  1508. reg = <0 0x00a80000 0 0x4000>;
  1509. clock-names = "se";
  1510. clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
  1511. pinctrl-names = "default";
  1512. pinctrl-0 = <&qup_uart8_default>;
  1513. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  1514. power-domains = <&rpmhpd SDM845_CX>;
  1515. operating-points-v2 = <&qup_opp_table>;
  1516. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1517. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1518. interconnect-names = "qup-core", "qup-config";
  1519. status = "disabled";
  1520. };
  1521. i2c9: i2c@a84000 {
  1522. compatible = "qcom,geni-i2c";
  1523. reg = <0 0x00a84000 0 0x4000>;
  1524. clock-names = "se";
  1525. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1526. pinctrl-names = "default";
  1527. pinctrl-0 = <&qup_i2c9_default>;
  1528. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1529. #address-cells = <1>;
  1530. #size-cells = <0>;
  1531. power-domains = <&rpmhpd SDM845_CX>;
  1532. operating-points-v2 = <&qup_opp_table>;
  1533. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1534. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
  1535. <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
  1536. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1537. dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
  1538. <&gpi_dma1 1 1 QCOM_GPI_I2C>;
  1539. dma-names = "tx", "rx";
  1540. status = "disabled";
  1541. };
  1542. spi9: spi@a84000 {
  1543. compatible = "qcom,geni-spi";
  1544. reg = <0 0x00a84000 0 0x4000>;
  1545. clock-names = "se";
  1546. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1547. pinctrl-names = "default";
  1548. pinctrl-0 = <&qup_spi9_default>;
  1549. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1550. #address-cells = <1>;
  1551. #size-cells = <0>;
  1552. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1553. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1554. interconnect-names = "qup-core", "qup-config";
  1555. dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
  1556. <&gpi_dma1 1 1 QCOM_GPI_SPI>;
  1557. dma-names = "tx", "rx";
  1558. status = "disabled";
  1559. };
  1560. uart9: serial@a84000 {
  1561. compatible = "qcom,geni-debug-uart";
  1562. reg = <0 0x00a84000 0 0x4000>;
  1563. clock-names = "se";
  1564. clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
  1565. pinctrl-names = "default";
  1566. pinctrl-0 = <&qup_uart9_default>;
  1567. interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
  1568. power-domains = <&rpmhpd SDM845_CX>;
  1569. operating-points-v2 = <&qup_opp_table>;
  1570. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1571. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1572. interconnect-names = "qup-core", "qup-config";
  1573. status = "disabled";
  1574. };
  1575. i2c10: i2c@a88000 {
  1576. compatible = "qcom,geni-i2c";
  1577. reg = <0 0x00a88000 0 0x4000>;
  1578. clock-names = "se";
  1579. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1580. pinctrl-names = "default";
  1581. pinctrl-0 = <&qup_i2c10_default>;
  1582. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1583. #address-cells = <1>;
  1584. #size-cells = <0>;
  1585. power-domains = <&rpmhpd SDM845_CX>;
  1586. operating-points-v2 = <&qup_opp_table>;
  1587. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1588. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
  1589. <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
  1590. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1591. dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
  1592. <&gpi_dma1 1 2 QCOM_GPI_I2C>;
  1593. dma-names = "tx", "rx";
  1594. status = "disabled";
  1595. };
  1596. spi10: spi@a88000 {
  1597. compatible = "qcom,geni-spi";
  1598. reg = <0 0x00a88000 0 0x4000>;
  1599. clock-names = "se";
  1600. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1601. pinctrl-names = "default";
  1602. pinctrl-0 = <&qup_spi10_default>;
  1603. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1604. #address-cells = <1>;
  1605. #size-cells = <0>;
  1606. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1607. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1608. interconnect-names = "qup-core", "qup-config";
  1609. dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
  1610. <&gpi_dma1 1 2 QCOM_GPI_SPI>;
  1611. dma-names = "tx", "rx";
  1612. status = "disabled";
  1613. };
  1614. uart10: serial@a88000 {
  1615. compatible = "qcom,geni-uart";
  1616. reg = <0 0x00a88000 0 0x4000>;
  1617. clock-names = "se";
  1618. clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
  1619. pinctrl-names = "default";
  1620. pinctrl-0 = <&qup_uart10_default>;
  1621. interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
  1622. power-domains = <&rpmhpd SDM845_CX>;
  1623. operating-points-v2 = <&qup_opp_table>;
  1624. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1625. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1626. interconnect-names = "qup-core", "qup-config";
  1627. status = "disabled";
  1628. };
  1629. i2c11: i2c@a8c000 {
  1630. compatible = "qcom,geni-i2c";
  1631. reg = <0 0x00a8c000 0 0x4000>;
  1632. clock-names = "se";
  1633. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1634. pinctrl-names = "default";
  1635. pinctrl-0 = <&qup_i2c11_default>;
  1636. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1637. #address-cells = <1>;
  1638. #size-cells = <0>;
  1639. power-domains = <&rpmhpd SDM845_CX>;
  1640. operating-points-v2 = <&qup_opp_table>;
  1641. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1642. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
  1643. <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
  1644. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1645. dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
  1646. <&gpi_dma1 1 3 QCOM_GPI_I2C>;
  1647. dma-names = "tx", "rx";
  1648. status = "disabled";
  1649. };
  1650. spi11: spi@a8c000 {
  1651. compatible = "qcom,geni-spi";
  1652. reg = <0 0x00a8c000 0 0x4000>;
  1653. clock-names = "se";
  1654. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1655. pinctrl-names = "default";
  1656. pinctrl-0 = <&qup_spi11_default>;
  1657. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1658. #address-cells = <1>;
  1659. #size-cells = <0>;
  1660. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1661. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1662. interconnect-names = "qup-core", "qup-config";
  1663. dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
  1664. <&gpi_dma1 1 3 QCOM_GPI_SPI>;
  1665. dma-names = "tx", "rx";
  1666. status = "disabled";
  1667. };
  1668. uart11: serial@a8c000 {
  1669. compatible = "qcom,geni-uart";
  1670. reg = <0 0x00a8c000 0 0x4000>;
  1671. clock-names = "se";
  1672. clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
  1673. pinctrl-names = "default";
  1674. pinctrl-0 = <&qup_uart11_default>;
  1675. interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
  1676. power-domains = <&rpmhpd SDM845_CX>;
  1677. operating-points-v2 = <&qup_opp_table>;
  1678. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1679. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1680. interconnect-names = "qup-core", "qup-config";
  1681. status = "disabled";
  1682. };
  1683. i2c12: i2c@a90000 {
  1684. compatible = "qcom,geni-i2c";
  1685. reg = <0 0x00a90000 0 0x4000>;
  1686. clock-names = "se";
  1687. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1688. pinctrl-names = "default";
  1689. pinctrl-0 = <&qup_i2c12_default>;
  1690. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1691. #address-cells = <1>;
  1692. #size-cells = <0>;
  1693. power-domains = <&rpmhpd SDM845_CX>;
  1694. operating-points-v2 = <&qup_opp_table>;
  1695. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1696. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
  1697. <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
  1698. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1699. dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
  1700. <&gpi_dma1 1 4 QCOM_GPI_I2C>;
  1701. dma-names = "tx", "rx";
  1702. status = "disabled";
  1703. };
  1704. spi12: spi@a90000 {
  1705. compatible = "qcom,geni-spi";
  1706. reg = <0 0x00a90000 0 0x4000>;
  1707. clock-names = "se";
  1708. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1709. pinctrl-names = "default";
  1710. pinctrl-0 = <&qup_spi12_default>;
  1711. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1712. #address-cells = <1>;
  1713. #size-cells = <0>;
  1714. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1715. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1716. interconnect-names = "qup-core", "qup-config";
  1717. dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
  1718. <&gpi_dma1 1 4 QCOM_GPI_SPI>;
  1719. dma-names = "tx", "rx";
  1720. status = "disabled";
  1721. };
  1722. uart12: serial@a90000 {
  1723. compatible = "qcom,geni-uart";
  1724. reg = <0 0x00a90000 0 0x4000>;
  1725. clock-names = "se";
  1726. clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
  1727. pinctrl-names = "default";
  1728. pinctrl-0 = <&qup_uart12_default>;
  1729. interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
  1730. power-domains = <&rpmhpd SDM845_CX>;
  1731. operating-points-v2 = <&qup_opp_table>;
  1732. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1733. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1734. interconnect-names = "qup-core", "qup-config";
  1735. status = "disabled";
  1736. };
  1737. i2c13: i2c@a94000 {
  1738. compatible = "qcom,geni-i2c";
  1739. reg = <0 0x00a94000 0 0x4000>;
  1740. clock-names = "se";
  1741. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1742. pinctrl-names = "default";
  1743. pinctrl-0 = <&qup_i2c13_default>;
  1744. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1745. #address-cells = <1>;
  1746. #size-cells = <0>;
  1747. power-domains = <&rpmhpd SDM845_CX>;
  1748. operating-points-v2 = <&qup_opp_table>;
  1749. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1750. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
  1751. <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
  1752. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1753. dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
  1754. <&gpi_dma1 1 5 QCOM_GPI_I2C>;
  1755. dma-names = "tx", "rx";
  1756. status = "disabled";
  1757. };
  1758. spi13: spi@a94000 {
  1759. compatible = "qcom,geni-spi";
  1760. reg = <0 0x00a94000 0 0x4000>;
  1761. clock-names = "se";
  1762. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1763. pinctrl-names = "default";
  1764. pinctrl-0 = <&qup_spi13_default>;
  1765. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1766. #address-cells = <1>;
  1767. #size-cells = <0>;
  1768. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1769. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1770. interconnect-names = "qup-core", "qup-config";
  1771. dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
  1772. <&gpi_dma1 1 5 QCOM_GPI_SPI>;
  1773. dma-names = "tx", "rx";
  1774. status = "disabled";
  1775. };
  1776. uart13: serial@a94000 {
  1777. compatible = "qcom,geni-uart";
  1778. reg = <0 0x00a94000 0 0x4000>;
  1779. clock-names = "se";
  1780. clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
  1781. pinctrl-names = "default";
  1782. pinctrl-0 = <&qup_uart13_default>;
  1783. interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
  1784. power-domains = <&rpmhpd SDM845_CX>;
  1785. operating-points-v2 = <&qup_opp_table>;
  1786. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1787. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1788. interconnect-names = "qup-core", "qup-config";
  1789. status = "disabled";
  1790. };
  1791. i2c14: i2c@a98000 {
  1792. compatible = "qcom,geni-i2c";
  1793. reg = <0 0x00a98000 0 0x4000>;
  1794. clock-names = "se";
  1795. clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
  1796. pinctrl-names = "default";
  1797. pinctrl-0 = <&qup_i2c14_default>;
  1798. interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
  1799. #address-cells = <1>;
  1800. #size-cells = <0>;
  1801. power-domains = <&rpmhpd SDM845_CX>;
  1802. operating-points-v2 = <&qup_opp_table>;
  1803. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1804. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
  1805. <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
  1806. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1807. dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>,
  1808. <&gpi_dma1 1 6 QCOM_GPI_I2C>;
  1809. dma-names = "tx", "rx";
  1810. status = "disabled";
  1811. };
  1812. spi14: spi@a98000 {
  1813. compatible = "qcom,geni-spi";
  1814. reg = <0 0x00a98000 0 0x4000>;
  1815. clock-names = "se";
  1816. clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
  1817. pinctrl-names = "default";
  1818. pinctrl-0 = <&qup_spi14_default>;
  1819. interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
  1820. #address-cells = <1>;
  1821. #size-cells = <0>;
  1822. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1823. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1824. interconnect-names = "qup-core", "qup-config";
  1825. dmas = <&gpi_dma1 0 6 QCOM_GPI_SPI>,
  1826. <&gpi_dma1 1 6 QCOM_GPI_SPI>;
  1827. dma-names = "tx", "rx";
  1828. status = "disabled";
  1829. };
  1830. uart14: serial@a98000 {
  1831. compatible = "qcom,geni-uart";
  1832. reg = <0 0x00a98000 0 0x4000>;
  1833. clock-names = "se";
  1834. clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
  1835. pinctrl-names = "default";
  1836. pinctrl-0 = <&qup_uart14_default>;
  1837. interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
  1838. power-domains = <&rpmhpd SDM845_CX>;
  1839. operating-points-v2 = <&qup_opp_table>;
  1840. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1841. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1842. interconnect-names = "qup-core", "qup-config";
  1843. status = "disabled";
  1844. };
  1845. i2c15: i2c@a9c000 {
  1846. compatible = "qcom,geni-i2c";
  1847. reg = <0 0x00a9c000 0 0x4000>;
  1848. clock-names = "se";
  1849. clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
  1850. pinctrl-names = "default";
  1851. pinctrl-0 = <&qup_i2c15_default>;
  1852. interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
  1853. #address-cells = <1>;
  1854. #size-cells = <0>;
  1855. power-domains = <&rpmhpd SDM845_CX>;
  1856. operating-points-v2 = <&qup_opp_table>;
  1857. status = "disabled";
  1858. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1859. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
  1860. <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
  1861. interconnect-names = "qup-core", "qup-config", "qup-memory";
  1862. dmas = <&gpi_dma1 0 7 QCOM_GPI_I2C>,
  1863. <&gpi_dma1 1 7 QCOM_GPI_I2C>;
  1864. dma-names = "tx", "rx";
  1865. };
  1866. spi15: spi@a9c000 {
  1867. compatible = "qcom,geni-spi";
  1868. reg = <0 0x00a9c000 0 0x4000>;
  1869. clock-names = "se";
  1870. clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
  1871. pinctrl-names = "default";
  1872. pinctrl-0 = <&qup_spi15_default>;
  1873. interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
  1874. #address-cells = <1>;
  1875. #size-cells = <0>;
  1876. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1877. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1878. interconnect-names = "qup-core", "qup-config";
  1879. dmas = <&gpi_dma1 0 7 QCOM_GPI_SPI>,
  1880. <&gpi_dma1 1 7 QCOM_GPI_SPI>;
  1881. dma-names = "tx", "rx";
  1882. status = "disabled";
  1883. };
  1884. uart15: serial@a9c000 {
  1885. compatible = "qcom,geni-uart";
  1886. reg = <0 0x00a9c000 0 0x4000>;
  1887. clock-names = "se";
  1888. clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
  1889. pinctrl-names = "default";
  1890. pinctrl-0 = <&qup_uart15_default>;
  1891. interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
  1892. power-domains = <&rpmhpd SDM845_CX>;
  1893. operating-points-v2 = <&qup_opp_table>;
  1894. interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
  1895. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
  1896. interconnect-names = "qup-core", "qup-config";
  1897. status = "disabled";
  1898. };
  1899. };
  1900. llcc: system-cache-controller@1100000 {
  1901. compatible = "qcom,sdm845-llcc";
  1902. reg = <0 0x01100000 0 0x31000>, <0 0x01300000 0 0x50000>;
  1903. reg-names = "llcc_base", "llcc_broadcast_base";
  1904. interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
  1905. };
  1906. pmu@114a000 {
  1907. compatible = "qcom,sdm845-llcc-bwmon";
  1908. reg = <0 0x0114a000 0 0x1000>;
  1909. interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>;
  1910. interconnects = <&mem_noc MASTER_LLCC 3 &mem_noc SLAVE_EBI1 3>;
  1911. operating-points-v2 = <&llcc_bwmon_opp_table>;
  1912. llcc_bwmon_opp_table: opp-table {
  1913. compatible = "operating-points-v2";
  1914. /*
  1915. * The interconnect path bandwidth taken from
  1916. * cpu4_opp_table bandwidth for gladiator_noc-mem_noc
  1917. * interconnect. This also matches the
  1918. * bandwidth table of qcom,llccbw (qcom,bw-tbl,
  1919. * bus width: 4 bytes) from msm-4.9 downstream
  1920. * kernel.
  1921. */
  1922. opp-0 {
  1923. opp-peak-kBps = <800000>;
  1924. };
  1925. opp-1 {
  1926. opp-peak-kBps = <1804000>;
  1927. };
  1928. opp-2 {
  1929. opp-peak-kBps = <3072000>;
  1930. };
  1931. opp-3 {
  1932. opp-peak-kBps = <5412000>;
  1933. };
  1934. opp-4 {
  1935. opp-peak-kBps = <7216000>;
  1936. };
  1937. };
  1938. };
  1939. pmu@1436400 {
  1940. compatible = "qcom,sdm845-bwmon", "qcom,msm8998-bwmon";
  1941. reg = <0 0x01436400 0 0x600>;
  1942. interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
  1943. interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_LLCC 3>;
  1944. operating-points-v2 = <&cpu_bwmon_opp_table>;
  1945. cpu_bwmon_opp_table: opp-table {
  1946. compatible = "operating-points-v2";
  1947. /*
  1948. * The interconnect path bandwidth taken from
  1949. * cpu4_opp_table bandwidth for OSM L3
  1950. * interconnect. This also matches the OSM L3
  1951. * from bandwidth table of qcom,cpu4-l3lat-mon
  1952. * (qcom,core-dev-table, bus width: 16 bytes)
  1953. * from msm-4.9 downstream kernel.
  1954. */
  1955. opp-0 {
  1956. opp-peak-kBps = <4800000>;
  1957. };
  1958. opp-1 {
  1959. opp-peak-kBps = <9216000>;
  1960. };
  1961. opp-2 {
  1962. opp-peak-kBps = <15052800>;
  1963. };
  1964. opp-3 {
  1965. opp-peak-kBps = <20889600>;
  1966. };
  1967. opp-4 {
  1968. opp-peak-kBps = <25497600>;
  1969. };
  1970. };
  1971. };
  1972. pcie0: pci@1c00000 {
  1973. compatible = "qcom,pcie-sdm845";
  1974. reg = <0 0x01c00000 0 0x2000>,
  1975. <0 0x60000000 0 0xf1d>,
  1976. <0 0x60000f20 0 0xa8>,
  1977. <0 0x60100000 0 0x100000>;
  1978. reg-names = "parf", "dbi", "elbi", "config";
  1979. device_type = "pci";
  1980. linux,pci-domain = <0>;
  1981. bus-range = <0x00 0xff>;
  1982. num-lanes = <1>;
  1983. #address-cells = <3>;
  1984. #size-cells = <2>;
  1985. ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
  1986. <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0xd00000>;
  1987. interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
  1988. interrupt-names = "msi";
  1989. #interrupt-cells = <1>;
  1990. interrupt-map-mask = <0 0 0 0x7>;
  1991. interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  1992. <0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  1993. <0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  1994. <0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  1995. clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
  1996. <&gcc GCC_PCIE_0_AUX_CLK>,
  1997. <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
  1998. <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
  1999. <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
  2000. <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
  2001. <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
  2002. clock-names = "pipe",
  2003. "aux",
  2004. "cfg",
  2005. "bus_master",
  2006. "bus_slave",
  2007. "slave_q2a",
  2008. "tbu";
  2009. iommus = <&apps_smmu 0x1c10 0xf>;
  2010. iommu-map = <0x0 &apps_smmu 0x1c10 0x1>,
  2011. <0x100 &apps_smmu 0x1c11 0x1>,
  2012. <0x200 &apps_smmu 0x1c12 0x1>,
  2013. <0x300 &apps_smmu 0x1c13 0x1>,
  2014. <0x400 &apps_smmu 0x1c14 0x1>,
  2015. <0x500 &apps_smmu 0x1c15 0x1>,
  2016. <0x600 &apps_smmu 0x1c16 0x1>,
  2017. <0x700 &apps_smmu 0x1c17 0x1>,
  2018. <0x800 &apps_smmu 0x1c18 0x1>,
  2019. <0x900 &apps_smmu 0x1c19 0x1>,
  2020. <0xa00 &apps_smmu 0x1c1a 0x1>,
  2021. <0xb00 &apps_smmu 0x1c1b 0x1>,
  2022. <0xc00 &apps_smmu 0x1c1c 0x1>,
  2023. <0xd00 &apps_smmu 0x1c1d 0x1>,
  2024. <0xe00 &apps_smmu 0x1c1e 0x1>,
  2025. <0xf00 &apps_smmu 0x1c1f 0x1>;
  2026. resets = <&gcc GCC_PCIE_0_BCR>;
  2027. reset-names = "pci";
  2028. power-domains = <&gcc PCIE_0_GDSC>;
  2029. phys = <&pcie0_lane>;
  2030. phy-names = "pciephy";
  2031. status = "disabled";
  2032. };
  2033. pcie0_phy: phy@1c06000 {
  2034. compatible = "qcom,sdm845-qmp-pcie-phy";
  2035. reg = <0 0x01c06000 0 0x18c>;
  2036. #address-cells = <2>;
  2037. #size-cells = <2>;
  2038. ranges;
  2039. clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
  2040. <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
  2041. <&gcc GCC_PCIE_0_CLKREF_CLK>,
  2042. <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
  2043. clock-names = "aux", "cfg_ahb", "ref", "refgen";
  2044. resets = <&gcc GCC_PCIE_0_PHY_BCR>;
  2045. reset-names = "phy";
  2046. assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
  2047. assigned-clock-rates = <100000000>;
  2048. status = "disabled";
  2049. pcie0_lane: phy@1c06200 {
  2050. reg = <0 0x01c06200 0 0x128>,
  2051. <0 0x01c06400 0 0x1fc>,
  2052. <0 0x01c06800 0 0x218>,
  2053. <0 0x01c06600 0 0x70>;
  2054. clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
  2055. clock-names = "pipe0";
  2056. #clock-cells = <0>;
  2057. #phy-cells = <0>;
  2058. clock-output-names = "pcie_0_pipe_clk";
  2059. };
  2060. };
  2061. pcie1: pci@1c08000 {
  2062. compatible = "qcom,pcie-sdm845";
  2063. reg = <0 0x01c08000 0 0x2000>,
  2064. <0 0x40000000 0 0xf1d>,
  2065. <0 0x40000f20 0 0xa8>,
  2066. <0 0x40100000 0 0x100000>;
  2067. reg-names = "parf", "dbi", "elbi", "config";
  2068. device_type = "pci";
  2069. linux,pci-domain = <1>;
  2070. bus-range = <0x00 0xff>;
  2071. num-lanes = <1>;
  2072. #address-cells = <3>;
  2073. #size-cells = <2>;
  2074. ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
  2075. <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
  2076. interrupts = <GIC_SPI 307 IRQ_TYPE_EDGE_RISING>;
  2077. interrupt-names = "msi";
  2078. #interrupt-cells = <1>;
  2079. interrupt-map-mask = <0 0 0 0x7>;
  2080. interrupt-map = <0 0 0 1 &intc 0 0 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  2081. <0 0 0 2 &intc 0 0 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  2082. <0 0 0 3 &intc 0 0 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  2083. <0 0 0 4 &intc 0 0 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  2084. clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
  2085. <&gcc GCC_PCIE_1_AUX_CLK>,
  2086. <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
  2087. <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
  2088. <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
  2089. <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
  2090. <&gcc GCC_PCIE_1_CLKREF_CLK>,
  2091. <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
  2092. clock-names = "pipe",
  2093. "aux",
  2094. "cfg",
  2095. "bus_master",
  2096. "bus_slave",
  2097. "slave_q2a",
  2098. "ref",
  2099. "tbu";
  2100. assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
  2101. assigned-clock-rates = <19200000>;
  2102. iommus = <&apps_smmu 0x1c00 0xf>;
  2103. iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
  2104. <0x100 &apps_smmu 0x1c01 0x1>,
  2105. <0x200 &apps_smmu 0x1c02 0x1>,
  2106. <0x300 &apps_smmu 0x1c03 0x1>,
  2107. <0x400 &apps_smmu 0x1c04 0x1>,
  2108. <0x500 &apps_smmu 0x1c05 0x1>,
  2109. <0x600 &apps_smmu 0x1c06 0x1>,
  2110. <0x700 &apps_smmu 0x1c07 0x1>,
  2111. <0x800 &apps_smmu 0x1c08 0x1>,
  2112. <0x900 &apps_smmu 0x1c09 0x1>,
  2113. <0xa00 &apps_smmu 0x1c0a 0x1>,
  2114. <0xb00 &apps_smmu 0x1c0b 0x1>,
  2115. <0xc00 &apps_smmu 0x1c0c 0x1>,
  2116. <0xd00 &apps_smmu 0x1c0d 0x1>,
  2117. <0xe00 &apps_smmu 0x1c0e 0x1>,
  2118. <0xf00 &apps_smmu 0x1c0f 0x1>;
  2119. resets = <&gcc GCC_PCIE_1_BCR>;
  2120. reset-names = "pci";
  2121. power-domains = <&gcc PCIE_1_GDSC>;
  2122. phys = <&pcie1_lane>;
  2123. phy-names = "pciephy";
  2124. status = "disabled";
  2125. };
  2126. pcie1_phy: phy@1c0a000 {
  2127. compatible = "qcom,sdm845-qhp-pcie-phy";
  2128. reg = <0 0x01c0a000 0 0x800>;
  2129. #address-cells = <2>;
  2130. #size-cells = <2>;
  2131. ranges;
  2132. clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
  2133. <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
  2134. <&gcc GCC_PCIE_1_CLKREF_CLK>,
  2135. <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
  2136. clock-names = "aux", "cfg_ahb", "ref", "refgen";
  2137. resets = <&gcc GCC_PCIE_1_PHY_BCR>;
  2138. reset-names = "phy";
  2139. assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
  2140. assigned-clock-rates = <100000000>;
  2141. status = "disabled";
  2142. pcie1_lane: phy@1c06200 {
  2143. reg = <0 0x01c0a800 0 0x800>,
  2144. <0 0x01c0a800 0 0x800>,
  2145. <0 0x01c0b800 0 0x400>;
  2146. clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
  2147. clock-names = "pipe0";
  2148. #clock-cells = <0>;
  2149. #phy-cells = <0>;
  2150. clock-output-names = "pcie_1_pipe_clk";
  2151. };
  2152. };
  2153. mem_noc: interconnect@1380000 {
  2154. compatible = "qcom,sdm845-mem-noc";
  2155. reg = <0 0x01380000 0 0x27200>;
  2156. #interconnect-cells = <2>;
  2157. qcom,bcm-voters = <&apps_bcm_voter>;
  2158. };
  2159. dc_noc: interconnect@14e0000 {
  2160. compatible = "qcom,sdm845-dc-noc";
  2161. reg = <0 0x014e0000 0 0x400>;
  2162. #interconnect-cells = <2>;
  2163. qcom,bcm-voters = <&apps_bcm_voter>;
  2164. };
  2165. config_noc: interconnect@1500000 {
  2166. compatible = "qcom,sdm845-config-noc";
  2167. reg = <0 0x01500000 0 0x5080>;
  2168. #interconnect-cells = <2>;
  2169. qcom,bcm-voters = <&apps_bcm_voter>;
  2170. };
  2171. system_noc: interconnect@1620000 {
  2172. compatible = "qcom,sdm845-system-noc";
  2173. reg = <0 0x01620000 0 0x18080>;
  2174. #interconnect-cells = <2>;
  2175. qcom,bcm-voters = <&apps_bcm_voter>;
  2176. };
  2177. aggre1_noc: interconnect@16e0000 {
  2178. compatible = "qcom,sdm845-aggre1-noc";
  2179. reg = <0 0x016e0000 0 0x15080>;
  2180. #interconnect-cells = <2>;
  2181. qcom,bcm-voters = <&apps_bcm_voter>;
  2182. };
  2183. aggre2_noc: interconnect@1700000 {
  2184. compatible = "qcom,sdm845-aggre2-noc";
  2185. reg = <0 0x01700000 0 0x1f300>;
  2186. #interconnect-cells = <2>;
  2187. qcom,bcm-voters = <&apps_bcm_voter>;
  2188. };
  2189. mmss_noc: interconnect@1740000 {
  2190. compatible = "qcom,sdm845-mmss-noc";
  2191. reg = <0 0x01740000 0 0x1c100>;
  2192. #interconnect-cells = <2>;
  2193. qcom,bcm-voters = <&apps_bcm_voter>;
  2194. };
  2195. ufs_mem_hc: ufshc@1d84000 {
  2196. compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
  2197. "jedec,ufs-2.0";
  2198. reg = <0 0x01d84000 0 0x2500>,
  2199. <0 0x01d90000 0 0x8000>;
  2200. reg-names = "std", "ice";
  2201. interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
  2202. phys = <&ufs_mem_phy_lanes>;
  2203. phy-names = "ufsphy";
  2204. lanes-per-direction = <2>;
  2205. power-domains = <&gcc UFS_PHY_GDSC>;
  2206. #reset-cells = <1>;
  2207. resets = <&gcc GCC_UFS_PHY_BCR>;
  2208. reset-names = "rst";
  2209. iommus = <&apps_smmu 0x100 0xf>;
  2210. clock-names =
  2211. "core_clk",
  2212. "bus_aggr_clk",
  2213. "iface_clk",
  2214. "core_clk_unipro",
  2215. "ref_clk",
  2216. "tx_lane0_sync_clk",
  2217. "rx_lane0_sync_clk",
  2218. "rx_lane1_sync_clk",
  2219. "ice_core_clk";
  2220. clocks =
  2221. <&gcc GCC_UFS_PHY_AXI_CLK>,
  2222. <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
  2223. <&gcc GCC_UFS_PHY_AHB_CLK>,
  2224. <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
  2225. <&rpmhcc RPMH_CXO_CLK>,
  2226. <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
  2227. <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
  2228. <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>,
  2229. <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
  2230. freq-table-hz =
  2231. <50000000 200000000>,
  2232. <0 0>,
  2233. <0 0>,
  2234. <37500000 150000000>,
  2235. <0 0>,
  2236. <0 0>,
  2237. <0 0>,
  2238. <0 0>,
  2239. <75000000 300000000>;
  2240. status = "disabled";
  2241. };
  2242. ufs_mem_phy: phy@1d87000 {
  2243. compatible = "qcom,sdm845-qmp-ufs-phy";
  2244. reg = <0 0x01d87000 0 0x18c>;
  2245. #address-cells = <2>;
  2246. #size-cells = <2>;
  2247. ranges;
  2248. clock-names = "ref",
  2249. "ref_aux";
  2250. clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
  2251. <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
  2252. resets = <&ufs_mem_hc 0>;
  2253. reset-names = "ufsphy";
  2254. status = "disabled";
  2255. ufs_mem_phy_lanes: phy@1d87400 {
  2256. reg = <0 0x01d87400 0 0x108>,
  2257. <0 0x01d87600 0 0x1e0>,
  2258. <0 0x01d87c00 0 0x1dc>,
  2259. <0 0x01d87800 0 0x108>,
  2260. <0 0x01d87a00 0 0x1e0>;
  2261. #phy-cells = <0>;
  2262. };
  2263. };
  2264. cryptobam: dma-controller@1dc4000 {
  2265. compatible = "qcom,bam-v1.7.0";
  2266. reg = <0 0x01dc4000 0 0x24000>;
  2267. interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
  2268. clocks = <&rpmhcc RPMH_CE_CLK>;
  2269. clock-names = "bam_clk";
  2270. #dma-cells = <1>;
  2271. qcom,ee = <0>;
  2272. qcom,controlled-remotely;
  2273. iommus = <&apps_smmu 0x704 0x1>,
  2274. <&apps_smmu 0x706 0x1>,
  2275. <&apps_smmu 0x714 0x1>,
  2276. <&apps_smmu 0x716 0x1>;
  2277. };
  2278. crypto: crypto@1dfa000 {
  2279. compatible = "qcom,crypto-v5.4";
  2280. reg = <0 0x01dfa000 0 0x6000>;
  2281. clocks = <&gcc GCC_CE1_AHB_CLK>,
  2282. <&gcc GCC_CE1_AXI_CLK>,
  2283. <&rpmhcc RPMH_CE_CLK>;
  2284. clock-names = "iface", "bus", "core";
  2285. dmas = <&cryptobam 6>, <&cryptobam 7>;
  2286. dma-names = "rx", "tx";
  2287. iommus = <&apps_smmu 0x704 0x1>,
  2288. <&apps_smmu 0x706 0x1>,
  2289. <&apps_smmu 0x714 0x1>,
  2290. <&apps_smmu 0x716 0x1>;
  2291. };
  2292. ipa: ipa@1e40000 {
  2293. compatible = "qcom,sdm845-ipa";
  2294. iommus = <&apps_smmu 0x720 0x0>,
  2295. <&apps_smmu 0x722 0x0>;
  2296. reg = <0 0x1e40000 0 0x7000>,
  2297. <0 0x1e47000 0 0x2000>,
  2298. <0 0x1e04000 0 0x2c000>;
  2299. reg-names = "ipa-reg",
  2300. "ipa-shared",
  2301. "gsi";
  2302. interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>,
  2303. <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
  2304. <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  2305. <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
  2306. interrupt-names = "ipa",
  2307. "gsi",
  2308. "ipa-clock-query",
  2309. "ipa-setup-ready";
  2310. clocks = <&rpmhcc RPMH_IPA_CLK>;
  2311. clock-names = "core";
  2312. interconnects = <&aggre2_noc MASTER_IPA 0 &mem_noc SLAVE_EBI1 0>,
  2313. <&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>,
  2314. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>;
  2315. interconnect-names = "memory",
  2316. "imem",
  2317. "config";
  2318. qcom,smem-states = <&ipa_smp2p_out 0>,
  2319. <&ipa_smp2p_out 1>;
  2320. qcom,smem-state-names = "ipa-clock-enabled-valid",
  2321. "ipa-clock-enabled";
  2322. status = "disabled";
  2323. };
  2324. tcsr_mutex: hwlock@1f40000 {
  2325. compatible = "qcom,tcsr-mutex";
  2326. reg = <0 0x01f40000 0 0x20000>;
  2327. #hwlock-cells = <1>;
  2328. };
  2329. tcsr_regs_1: syscon@1f60000 {
  2330. compatible = "qcom,sdm845-tcsr", "syscon";
  2331. reg = <0 0x01f60000 0 0x20000>;
  2332. };
  2333. tlmm: pinctrl@3400000 {
  2334. compatible = "qcom,sdm845-pinctrl";
  2335. reg = <0 0x03400000 0 0xc00000>;
  2336. interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
  2337. gpio-controller;
  2338. #gpio-cells = <2>;
  2339. interrupt-controller;
  2340. #interrupt-cells = <2>;
  2341. gpio-ranges = <&tlmm 0 0 151>;
  2342. wakeup-parent = <&pdc_intc>;
  2343. cci0_default: cci0-default {
  2344. /* SDA, SCL */
  2345. pins = "gpio17", "gpio18";
  2346. function = "cci_i2c";
  2347. bias-pull-up;
  2348. drive-strength = <2>; /* 2 mA */
  2349. };
  2350. cci0_sleep: cci0-sleep {
  2351. /* SDA, SCL */
  2352. pins = "gpio17", "gpio18";
  2353. function = "cci_i2c";
  2354. drive-strength = <2>; /* 2 mA */
  2355. bias-pull-down;
  2356. };
  2357. cci1_default: cci1-default {
  2358. /* SDA, SCL */
  2359. pins = "gpio19", "gpio20";
  2360. function = "cci_i2c";
  2361. bias-pull-up;
  2362. drive-strength = <2>; /* 2 mA */
  2363. };
  2364. cci1_sleep: cci1-sleep {
  2365. /* SDA, SCL */
  2366. pins = "gpio19", "gpio20";
  2367. function = "cci_i2c";
  2368. drive-strength = <2>; /* 2 mA */
  2369. bias-pull-down;
  2370. };
  2371. qspi_clk: qspi-clk {
  2372. pinmux {
  2373. pins = "gpio95";
  2374. function = "qspi_clk";
  2375. };
  2376. };
  2377. qspi_cs0: qspi-cs0 {
  2378. pinmux {
  2379. pins = "gpio90";
  2380. function = "qspi_cs";
  2381. };
  2382. };
  2383. qspi_cs1: qspi-cs1 {
  2384. pinmux {
  2385. pins = "gpio89";
  2386. function = "qspi_cs";
  2387. };
  2388. };
  2389. qspi_data01: qspi-data01 {
  2390. pinmux-data {
  2391. pins = "gpio91", "gpio92";
  2392. function = "qspi_data";
  2393. };
  2394. };
  2395. qspi_data12: qspi-data12 {
  2396. pinmux-data {
  2397. pins = "gpio93", "gpio94";
  2398. function = "qspi_data";
  2399. };
  2400. };
  2401. qup_i2c0_default: qup-i2c0-default {
  2402. pinmux {
  2403. pins = "gpio0", "gpio1";
  2404. function = "qup0";
  2405. };
  2406. };
  2407. qup_i2c1_default: qup-i2c1-default {
  2408. pinmux {
  2409. pins = "gpio17", "gpio18";
  2410. function = "qup1";
  2411. };
  2412. };
  2413. qup_i2c2_default: qup-i2c2-default {
  2414. pinmux {
  2415. pins = "gpio27", "gpio28";
  2416. function = "qup2";
  2417. };
  2418. };
  2419. qup_i2c3_default: qup-i2c3-default {
  2420. pinmux {
  2421. pins = "gpio41", "gpio42";
  2422. function = "qup3";
  2423. };
  2424. };
  2425. qup_i2c4_default: qup-i2c4-default {
  2426. pinmux {
  2427. pins = "gpio89", "gpio90";
  2428. function = "qup4";
  2429. };
  2430. };
  2431. qup_i2c5_default: qup-i2c5-default {
  2432. pinmux {
  2433. pins = "gpio85", "gpio86";
  2434. function = "qup5";
  2435. };
  2436. };
  2437. qup_i2c6_default: qup-i2c6-default {
  2438. pinmux {
  2439. pins = "gpio45", "gpio46";
  2440. function = "qup6";
  2441. };
  2442. };
  2443. qup_i2c7_default: qup-i2c7-default {
  2444. pinmux {
  2445. pins = "gpio93", "gpio94";
  2446. function = "qup7";
  2447. };
  2448. };
  2449. qup_i2c8_default: qup-i2c8-default {
  2450. pinmux {
  2451. pins = "gpio65", "gpio66";
  2452. function = "qup8";
  2453. };
  2454. };
  2455. qup_i2c9_default: qup-i2c9-default {
  2456. pinmux {
  2457. pins = "gpio6", "gpio7";
  2458. function = "qup9";
  2459. };
  2460. };
  2461. qup_i2c10_default: qup-i2c10-default {
  2462. pinmux {
  2463. pins = "gpio55", "gpio56";
  2464. function = "qup10";
  2465. };
  2466. };
  2467. qup_i2c11_default: qup-i2c11-default {
  2468. pinmux {
  2469. pins = "gpio31", "gpio32";
  2470. function = "qup11";
  2471. };
  2472. };
  2473. qup_i2c12_default: qup-i2c12-default {
  2474. pinmux {
  2475. pins = "gpio49", "gpio50";
  2476. function = "qup12";
  2477. };
  2478. };
  2479. qup_i2c13_default: qup-i2c13-default {
  2480. pinmux {
  2481. pins = "gpio105", "gpio106";
  2482. function = "qup13";
  2483. };
  2484. };
  2485. qup_i2c14_default: qup-i2c14-default {
  2486. pinmux {
  2487. pins = "gpio33", "gpio34";
  2488. function = "qup14";
  2489. };
  2490. };
  2491. qup_i2c15_default: qup-i2c15-default {
  2492. pinmux {
  2493. pins = "gpio81", "gpio82";
  2494. function = "qup15";
  2495. };
  2496. };
  2497. qup_spi0_default: qup-spi0-default {
  2498. pinmux {
  2499. pins = "gpio0", "gpio1",
  2500. "gpio2", "gpio3";
  2501. function = "qup0";
  2502. };
  2503. config {
  2504. pins = "gpio0", "gpio1",
  2505. "gpio2", "gpio3";
  2506. drive-strength = <6>;
  2507. bias-disable;
  2508. };
  2509. };
  2510. qup_spi1_default: qup-spi1-default {
  2511. pinmux {
  2512. pins = "gpio17", "gpio18",
  2513. "gpio19", "gpio20";
  2514. function = "qup1";
  2515. };
  2516. };
  2517. qup_spi2_default: qup-spi2-default {
  2518. pinmux {
  2519. pins = "gpio27", "gpio28",
  2520. "gpio29", "gpio30";
  2521. function = "qup2";
  2522. };
  2523. };
  2524. qup_spi3_default: qup-spi3-default {
  2525. pinmux {
  2526. pins = "gpio41", "gpio42",
  2527. "gpio43", "gpio44";
  2528. function = "qup3";
  2529. };
  2530. };
  2531. qup_spi4_default: qup-spi4-default {
  2532. pinmux {
  2533. pins = "gpio89", "gpio90",
  2534. "gpio91", "gpio92";
  2535. function = "qup4";
  2536. };
  2537. };
  2538. qup_spi5_default: qup-spi5-default {
  2539. pinmux {
  2540. pins = "gpio85", "gpio86",
  2541. "gpio87", "gpio88";
  2542. function = "qup5";
  2543. };
  2544. };
  2545. qup_spi6_default: qup-spi6-default {
  2546. pinmux {
  2547. pins = "gpio45", "gpio46",
  2548. "gpio47", "gpio48";
  2549. function = "qup6";
  2550. };
  2551. };
  2552. qup_spi7_default: qup-spi7-default {
  2553. pinmux {
  2554. pins = "gpio93", "gpio94",
  2555. "gpio95", "gpio96";
  2556. function = "qup7";
  2557. };
  2558. };
  2559. qup_spi8_default: qup-spi8-default {
  2560. pinmux {
  2561. pins = "gpio65", "gpio66",
  2562. "gpio67", "gpio68";
  2563. function = "qup8";
  2564. };
  2565. };
  2566. qup_spi9_default: qup-spi9-default {
  2567. pinmux {
  2568. pins = "gpio6", "gpio7",
  2569. "gpio4", "gpio5";
  2570. function = "qup9";
  2571. };
  2572. };
  2573. qup_spi10_default: qup-spi10-default {
  2574. pinmux {
  2575. pins = "gpio55", "gpio56",
  2576. "gpio53", "gpio54";
  2577. function = "qup10";
  2578. };
  2579. };
  2580. qup_spi11_default: qup-spi11-default {
  2581. pinmux {
  2582. pins = "gpio31", "gpio32",
  2583. "gpio33", "gpio34";
  2584. function = "qup11";
  2585. };
  2586. };
  2587. qup_spi12_default: qup-spi12-default {
  2588. pinmux {
  2589. pins = "gpio49", "gpio50",
  2590. "gpio51", "gpio52";
  2591. function = "qup12";
  2592. };
  2593. };
  2594. qup_spi13_default: qup-spi13-default {
  2595. pinmux {
  2596. pins = "gpio105", "gpio106",
  2597. "gpio107", "gpio108";
  2598. function = "qup13";
  2599. };
  2600. };
  2601. qup_spi14_default: qup-spi14-default {
  2602. pinmux {
  2603. pins = "gpio33", "gpio34",
  2604. "gpio31", "gpio32";
  2605. function = "qup14";
  2606. };
  2607. };
  2608. qup_spi15_default: qup-spi15-default {
  2609. pinmux {
  2610. pins = "gpio81", "gpio82",
  2611. "gpio83", "gpio84";
  2612. function = "qup15";
  2613. };
  2614. };
  2615. qup_uart0_default: qup-uart0-default {
  2616. pinmux {
  2617. pins = "gpio2", "gpio3";
  2618. function = "qup0";
  2619. };
  2620. };
  2621. qup_uart1_default: qup-uart1-default {
  2622. pinmux {
  2623. pins = "gpio19", "gpio20";
  2624. function = "qup1";
  2625. };
  2626. };
  2627. qup_uart2_default: qup-uart2-default {
  2628. pinmux {
  2629. pins = "gpio29", "gpio30";
  2630. function = "qup2";
  2631. };
  2632. };
  2633. qup_uart3_default: qup-uart3-default {
  2634. pinmux {
  2635. pins = "gpio43", "gpio44";
  2636. function = "qup3";
  2637. };
  2638. };
  2639. qup_uart4_default: qup-uart4-default {
  2640. pinmux {
  2641. pins = "gpio91", "gpio92";
  2642. function = "qup4";
  2643. };
  2644. };
  2645. qup_uart5_default: qup-uart5-default {
  2646. pinmux {
  2647. pins = "gpio87", "gpio88";
  2648. function = "qup5";
  2649. };
  2650. };
  2651. qup_uart6_default: qup-uart6-default {
  2652. pinmux {
  2653. pins = "gpio47", "gpio48";
  2654. function = "qup6";
  2655. };
  2656. };
  2657. qup_uart7_default: qup-uart7-default {
  2658. pinmux {
  2659. pins = "gpio95", "gpio96";
  2660. function = "qup7";
  2661. };
  2662. };
  2663. qup_uart8_default: qup-uart8-default {
  2664. pinmux {
  2665. pins = "gpio67", "gpio68";
  2666. function = "qup8";
  2667. };
  2668. };
  2669. qup_uart9_default: qup-uart9-default {
  2670. pinmux {
  2671. pins = "gpio4", "gpio5";
  2672. function = "qup9";
  2673. };
  2674. };
  2675. qup_uart10_default: qup-uart10-default {
  2676. pinmux {
  2677. pins = "gpio53", "gpio54";
  2678. function = "qup10";
  2679. };
  2680. };
  2681. qup_uart11_default: qup-uart11-default {
  2682. pinmux {
  2683. pins = "gpio33", "gpio34";
  2684. function = "qup11";
  2685. };
  2686. };
  2687. qup_uart12_default: qup-uart12-default {
  2688. pinmux {
  2689. pins = "gpio51", "gpio52";
  2690. function = "qup12";
  2691. };
  2692. };
  2693. qup_uart13_default: qup-uart13-default {
  2694. pinmux {
  2695. pins = "gpio107", "gpio108";
  2696. function = "qup13";
  2697. };
  2698. };
  2699. qup_uart14_default: qup-uart14-default {
  2700. pinmux {
  2701. pins = "gpio31", "gpio32";
  2702. function = "qup14";
  2703. };
  2704. };
  2705. qup_uart15_default: qup-uart15-default {
  2706. pinmux {
  2707. pins = "gpio83", "gpio84";
  2708. function = "qup15";
  2709. };
  2710. };
  2711. quat_mi2s_sleep: quat_mi2s_sleep {
  2712. mux {
  2713. pins = "gpio58", "gpio59";
  2714. function = "gpio";
  2715. };
  2716. config {
  2717. pins = "gpio58", "gpio59";
  2718. drive-strength = <2>;
  2719. bias-pull-down;
  2720. input-enable;
  2721. };
  2722. };
  2723. quat_mi2s_active: quat_mi2s_active {
  2724. mux {
  2725. pins = "gpio58", "gpio59";
  2726. function = "qua_mi2s";
  2727. };
  2728. config {
  2729. pins = "gpio58", "gpio59";
  2730. drive-strength = <8>;
  2731. bias-disable;
  2732. output-high;
  2733. };
  2734. };
  2735. quat_mi2s_sd0_sleep: quat_mi2s_sd0_sleep {
  2736. mux {
  2737. pins = "gpio60";
  2738. function = "gpio";
  2739. };
  2740. config {
  2741. pins = "gpio60";
  2742. drive-strength = <2>;
  2743. bias-pull-down;
  2744. input-enable;
  2745. };
  2746. };
  2747. quat_mi2s_sd0_active: quat_mi2s_sd0_active {
  2748. mux {
  2749. pins = "gpio60";
  2750. function = "qua_mi2s";
  2751. };
  2752. config {
  2753. pins = "gpio60";
  2754. drive-strength = <8>;
  2755. bias-disable;
  2756. };
  2757. };
  2758. quat_mi2s_sd1_sleep: quat_mi2s_sd1_sleep {
  2759. mux {
  2760. pins = "gpio61";
  2761. function = "gpio";
  2762. };
  2763. config {
  2764. pins = "gpio61";
  2765. drive-strength = <2>;
  2766. bias-pull-down;
  2767. input-enable;
  2768. };
  2769. };
  2770. quat_mi2s_sd1_active: quat_mi2s_sd1_active {
  2771. mux {
  2772. pins = "gpio61";
  2773. function = "qua_mi2s";
  2774. };
  2775. config {
  2776. pins = "gpio61";
  2777. drive-strength = <8>;
  2778. bias-disable;
  2779. };
  2780. };
  2781. quat_mi2s_sd2_sleep: quat_mi2s_sd2_sleep {
  2782. mux {
  2783. pins = "gpio62";
  2784. function = "gpio";
  2785. };
  2786. config {
  2787. pins = "gpio62";
  2788. drive-strength = <2>;
  2789. bias-pull-down;
  2790. input-enable;
  2791. };
  2792. };
  2793. quat_mi2s_sd2_active: quat_mi2s_sd2_active {
  2794. mux {
  2795. pins = "gpio62";
  2796. function = "qua_mi2s";
  2797. };
  2798. config {
  2799. pins = "gpio62";
  2800. drive-strength = <8>;
  2801. bias-disable;
  2802. };
  2803. };
  2804. quat_mi2s_sd3_sleep: quat_mi2s_sd3_sleep {
  2805. mux {
  2806. pins = "gpio63";
  2807. function = "gpio";
  2808. };
  2809. config {
  2810. pins = "gpio63";
  2811. drive-strength = <2>;
  2812. bias-pull-down;
  2813. input-enable;
  2814. };
  2815. };
  2816. quat_mi2s_sd3_active: quat_mi2s_sd3_active {
  2817. mux {
  2818. pins = "gpio63";
  2819. function = "qua_mi2s";
  2820. };
  2821. config {
  2822. pins = "gpio63";
  2823. drive-strength = <8>;
  2824. bias-disable;
  2825. };
  2826. };
  2827. };
  2828. mss_pil: remoteproc@4080000 {
  2829. compatible = "qcom,sdm845-mss-pil";
  2830. reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>;
  2831. reg-names = "qdsp6", "rmb";
  2832. interrupts-extended =
  2833. <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
  2834. <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
  2835. <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
  2836. <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
  2837. <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
  2838. <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
  2839. interrupt-names = "wdog", "fatal", "ready",
  2840. "handover", "stop-ack",
  2841. "shutdown-ack";
  2842. clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
  2843. <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
  2844. <&gcc GCC_BOOT_ROM_AHB_CLK>,
  2845. <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
  2846. <&gcc GCC_MSS_SNOC_AXI_CLK>,
  2847. <&gcc GCC_MSS_MFAB_AXIS_CLK>,
  2848. <&gcc GCC_PRNG_AHB_CLK>,
  2849. <&rpmhcc RPMH_CXO_CLK>;
  2850. clock-names = "iface", "bus", "mem", "gpll0_mss",
  2851. "snoc_axi", "mnoc_axi", "prng", "xo";
  2852. qcom,qmp = <&aoss_qmp>;
  2853. qcom,smem-states = <&modem_smp2p_out 0>;
  2854. qcom,smem-state-names = "stop";
  2855. resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
  2856. <&pdc_reset PDC_MODEM_SYNC_RESET>;
  2857. reset-names = "mss_restart", "pdc_reset";
  2858. qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>;
  2859. power-domains = <&rpmhpd SDM845_CX>,
  2860. <&rpmhpd SDM845_MX>,
  2861. <&rpmhpd SDM845_MSS>;
  2862. power-domain-names = "cx", "mx", "mss";
  2863. status = "disabled";
  2864. mba {
  2865. memory-region = <&mba_region>;
  2866. };
  2867. mpss {
  2868. memory-region = <&mpss_region>;
  2869. };
  2870. glink-edge {
  2871. interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
  2872. label = "modem";
  2873. qcom,remote-pid = <1>;
  2874. mboxes = <&apss_shared 12>;
  2875. };
  2876. };
  2877. gpucc: clock-controller@5090000 {
  2878. compatible = "qcom,sdm845-gpucc";
  2879. reg = <0 0x05090000 0 0x9000>;
  2880. #clock-cells = <1>;
  2881. #reset-cells = <1>;
  2882. #power-domain-cells = <1>;
  2883. clocks = <&rpmhcc RPMH_CXO_CLK>,
  2884. <&gcc GCC_GPU_GPLL0_CLK_SRC>,
  2885. <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
  2886. clock-names = "bi_tcxo",
  2887. "gcc_gpu_gpll0_clk_src",
  2888. "gcc_gpu_gpll0_div_clk_src";
  2889. };
  2890. stm@6002000 {
  2891. compatible = "arm,coresight-stm", "arm,primecell";
  2892. reg = <0 0x06002000 0 0x1000>,
  2893. <0 0x16280000 0 0x180000>;
  2894. reg-names = "stm-base", "stm-stimulus-base";
  2895. clocks = <&aoss_qmp>;
  2896. clock-names = "apb_pclk";
  2897. out-ports {
  2898. port {
  2899. stm_out: endpoint {
  2900. remote-endpoint =
  2901. <&funnel0_in7>;
  2902. };
  2903. };
  2904. };
  2905. };
  2906. funnel@6041000 {
  2907. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2908. reg = <0 0x06041000 0 0x1000>;
  2909. clocks = <&aoss_qmp>;
  2910. clock-names = "apb_pclk";
  2911. out-ports {
  2912. port {
  2913. funnel0_out: endpoint {
  2914. remote-endpoint =
  2915. <&merge_funnel_in0>;
  2916. };
  2917. };
  2918. };
  2919. in-ports {
  2920. #address-cells = <1>;
  2921. #size-cells = <0>;
  2922. port@7 {
  2923. reg = <7>;
  2924. funnel0_in7: endpoint {
  2925. remote-endpoint = <&stm_out>;
  2926. };
  2927. };
  2928. };
  2929. };
  2930. funnel@6043000 {
  2931. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2932. reg = <0 0x06043000 0 0x1000>;
  2933. clocks = <&aoss_qmp>;
  2934. clock-names = "apb_pclk";
  2935. out-ports {
  2936. port {
  2937. funnel2_out: endpoint {
  2938. remote-endpoint =
  2939. <&merge_funnel_in2>;
  2940. };
  2941. };
  2942. };
  2943. in-ports {
  2944. #address-cells = <1>;
  2945. #size-cells = <0>;
  2946. port@5 {
  2947. reg = <5>;
  2948. funnel2_in5: endpoint {
  2949. remote-endpoint =
  2950. <&apss_merge_funnel_out>;
  2951. };
  2952. };
  2953. };
  2954. };
  2955. funnel@6045000 {
  2956. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  2957. reg = <0 0x06045000 0 0x1000>;
  2958. clocks = <&aoss_qmp>;
  2959. clock-names = "apb_pclk";
  2960. out-ports {
  2961. port {
  2962. merge_funnel_out: endpoint {
  2963. remote-endpoint = <&etf_in>;
  2964. };
  2965. };
  2966. };
  2967. in-ports {
  2968. #address-cells = <1>;
  2969. #size-cells = <0>;
  2970. port@0 {
  2971. reg = <0>;
  2972. merge_funnel_in0: endpoint {
  2973. remote-endpoint =
  2974. <&funnel0_out>;
  2975. };
  2976. };
  2977. port@2 {
  2978. reg = <2>;
  2979. merge_funnel_in2: endpoint {
  2980. remote-endpoint =
  2981. <&funnel2_out>;
  2982. };
  2983. };
  2984. };
  2985. };
  2986. replicator@6046000 {
  2987. compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
  2988. reg = <0 0x06046000 0 0x1000>;
  2989. clocks = <&aoss_qmp>;
  2990. clock-names = "apb_pclk";
  2991. out-ports {
  2992. port {
  2993. replicator_out: endpoint {
  2994. remote-endpoint = <&etr_in>;
  2995. };
  2996. };
  2997. };
  2998. in-ports {
  2999. port {
  3000. replicator_in: endpoint {
  3001. remote-endpoint = <&etf_out>;
  3002. };
  3003. };
  3004. };
  3005. };
  3006. etf@6047000 {
  3007. compatible = "arm,coresight-tmc", "arm,primecell";
  3008. reg = <0 0x06047000 0 0x1000>;
  3009. clocks = <&aoss_qmp>;
  3010. clock-names = "apb_pclk";
  3011. out-ports {
  3012. port {
  3013. etf_out: endpoint {
  3014. remote-endpoint =
  3015. <&replicator_in>;
  3016. };
  3017. };
  3018. };
  3019. in-ports {
  3020. #address-cells = <1>;
  3021. #size-cells = <0>;
  3022. port@1 {
  3023. reg = <1>;
  3024. etf_in: endpoint {
  3025. remote-endpoint =
  3026. <&merge_funnel_out>;
  3027. };
  3028. };
  3029. };
  3030. };
  3031. etr@6048000 {
  3032. compatible = "arm,coresight-tmc", "arm,primecell";
  3033. reg = <0 0x06048000 0 0x1000>;
  3034. clocks = <&aoss_qmp>;
  3035. clock-names = "apb_pclk";
  3036. arm,scatter-gather;
  3037. in-ports {
  3038. port {
  3039. etr_in: endpoint {
  3040. remote-endpoint =
  3041. <&replicator_out>;
  3042. };
  3043. };
  3044. };
  3045. };
  3046. etm@7040000 {
  3047. compatible = "arm,coresight-etm4x", "arm,primecell";
  3048. reg = <0 0x07040000 0 0x1000>;
  3049. cpu = <&CPU0>;
  3050. clocks = <&aoss_qmp>;
  3051. clock-names = "apb_pclk";
  3052. arm,coresight-loses-context-with-cpu;
  3053. out-ports {
  3054. port {
  3055. etm0_out: endpoint {
  3056. remote-endpoint =
  3057. <&apss_funnel_in0>;
  3058. };
  3059. };
  3060. };
  3061. };
  3062. etm@7140000 {
  3063. compatible = "arm,coresight-etm4x", "arm,primecell";
  3064. reg = <0 0x07140000 0 0x1000>;
  3065. cpu = <&CPU1>;
  3066. clocks = <&aoss_qmp>;
  3067. clock-names = "apb_pclk";
  3068. arm,coresight-loses-context-with-cpu;
  3069. out-ports {
  3070. port {
  3071. etm1_out: endpoint {
  3072. remote-endpoint =
  3073. <&apss_funnel_in1>;
  3074. };
  3075. };
  3076. };
  3077. };
  3078. etm@7240000 {
  3079. compatible = "arm,coresight-etm4x", "arm,primecell";
  3080. reg = <0 0x07240000 0 0x1000>;
  3081. cpu = <&CPU2>;
  3082. clocks = <&aoss_qmp>;
  3083. clock-names = "apb_pclk";
  3084. arm,coresight-loses-context-with-cpu;
  3085. out-ports {
  3086. port {
  3087. etm2_out: endpoint {
  3088. remote-endpoint =
  3089. <&apss_funnel_in2>;
  3090. };
  3091. };
  3092. };
  3093. };
  3094. etm@7340000 {
  3095. compatible = "arm,coresight-etm4x", "arm,primecell";
  3096. reg = <0 0x07340000 0 0x1000>;
  3097. cpu = <&CPU3>;
  3098. clocks = <&aoss_qmp>;
  3099. clock-names = "apb_pclk";
  3100. arm,coresight-loses-context-with-cpu;
  3101. out-ports {
  3102. port {
  3103. etm3_out: endpoint {
  3104. remote-endpoint =
  3105. <&apss_funnel_in3>;
  3106. };
  3107. };
  3108. };
  3109. };
  3110. etm@7440000 {
  3111. compatible = "arm,coresight-etm4x", "arm,primecell";
  3112. reg = <0 0x07440000 0 0x1000>;
  3113. cpu = <&CPU4>;
  3114. clocks = <&aoss_qmp>;
  3115. clock-names = "apb_pclk";
  3116. arm,coresight-loses-context-with-cpu;
  3117. out-ports {
  3118. port {
  3119. etm4_out: endpoint {
  3120. remote-endpoint =
  3121. <&apss_funnel_in4>;
  3122. };
  3123. };
  3124. };
  3125. };
  3126. etm@7540000 {
  3127. compatible = "arm,coresight-etm4x", "arm,primecell";
  3128. reg = <0 0x07540000 0 0x1000>;
  3129. cpu = <&CPU5>;
  3130. clocks = <&aoss_qmp>;
  3131. clock-names = "apb_pclk";
  3132. arm,coresight-loses-context-with-cpu;
  3133. out-ports {
  3134. port {
  3135. etm5_out: endpoint {
  3136. remote-endpoint =
  3137. <&apss_funnel_in5>;
  3138. };
  3139. };
  3140. };
  3141. };
  3142. etm@7640000 {
  3143. compatible = "arm,coresight-etm4x", "arm,primecell";
  3144. reg = <0 0x07640000 0 0x1000>;
  3145. cpu = <&CPU6>;
  3146. clocks = <&aoss_qmp>;
  3147. clock-names = "apb_pclk";
  3148. arm,coresight-loses-context-with-cpu;
  3149. out-ports {
  3150. port {
  3151. etm6_out: endpoint {
  3152. remote-endpoint =
  3153. <&apss_funnel_in6>;
  3154. };
  3155. };
  3156. };
  3157. };
  3158. etm@7740000 {
  3159. compatible = "arm,coresight-etm4x", "arm,primecell";
  3160. reg = <0 0x07740000 0 0x1000>;
  3161. cpu = <&CPU7>;
  3162. clocks = <&aoss_qmp>;
  3163. clock-names = "apb_pclk";
  3164. arm,coresight-loses-context-with-cpu;
  3165. out-ports {
  3166. port {
  3167. etm7_out: endpoint {
  3168. remote-endpoint =
  3169. <&apss_funnel_in7>;
  3170. };
  3171. };
  3172. };
  3173. };
  3174. funnel@7800000 { /* APSS Funnel */
  3175. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  3176. reg = <0 0x07800000 0 0x1000>;
  3177. clocks = <&aoss_qmp>;
  3178. clock-names = "apb_pclk";
  3179. out-ports {
  3180. port {
  3181. apss_funnel_out: endpoint {
  3182. remote-endpoint =
  3183. <&apss_merge_funnel_in>;
  3184. };
  3185. };
  3186. };
  3187. in-ports {
  3188. #address-cells = <1>;
  3189. #size-cells = <0>;
  3190. port@0 {
  3191. reg = <0>;
  3192. apss_funnel_in0: endpoint {
  3193. remote-endpoint =
  3194. <&etm0_out>;
  3195. };
  3196. };
  3197. port@1 {
  3198. reg = <1>;
  3199. apss_funnel_in1: endpoint {
  3200. remote-endpoint =
  3201. <&etm1_out>;
  3202. };
  3203. };
  3204. port@2 {
  3205. reg = <2>;
  3206. apss_funnel_in2: endpoint {
  3207. remote-endpoint =
  3208. <&etm2_out>;
  3209. };
  3210. };
  3211. port@3 {
  3212. reg = <3>;
  3213. apss_funnel_in3: endpoint {
  3214. remote-endpoint =
  3215. <&etm3_out>;
  3216. };
  3217. };
  3218. port@4 {
  3219. reg = <4>;
  3220. apss_funnel_in4: endpoint {
  3221. remote-endpoint =
  3222. <&etm4_out>;
  3223. };
  3224. };
  3225. port@5 {
  3226. reg = <5>;
  3227. apss_funnel_in5: endpoint {
  3228. remote-endpoint =
  3229. <&etm5_out>;
  3230. };
  3231. };
  3232. port@6 {
  3233. reg = <6>;
  3234. apss_funnel_in6: endpoint {
  3235. remote-endpoint =
  3236. <&etm6_out>;
  3237. };
  3238. };
  3239. port@7 {
  3240. reg = <7>;
  3241. apss_funnel_in7: endpoint {
  3242. remote-endpoint =
  3243. <&etm7_out>;
  3244. };
  3245. };
  3246. };
  3247. };
  3248. funnel@7810000 {
  3249. compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
  3250. reg = <0 0x07810000 0 0x1000>;
  3251. clocks = <&aoss_qmp>;
  3252. clock-names = "apb_pclk";
  3253. out-ports {
  3254. port {
  3255. apss_merge_funnel_out: endpoint {
  3256. remote-endpoint =
  3257. <&funnel2_in5>;
  3258. };
  3259. };
  3260. };
  3261. in-ports {
  3262. port {
  3263. apss_merge_funnel_in: endpoint {
  3264. remote-endpoint =
  3265. <&apss_funnel_out>;
  3266. };
  3267. };
  3268. };
  3269. };
  3270. sdhc_2: mmc@8804000 {
  3271. compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
  3272. reg = <0 0x08804000 0 0x1000>;
  3273. interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
  3274. <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
  3275. interrupt-names = "hc_irq", "pwr_irq";
  3276. clocks = <&gcc GCC_SDCC2_AHB_CLK>,
  3277. <&gcc GCC_SDCC2_APPS_CLK>,
  3278. <&rpmhcc RPMH_CXO_CLK>;
  3279. clock-names = "iface", "core", "xo";
  3280. iommus = <&apps_smmu 0xa0 0xf>;
  3281. power-domains = <&rpmhpd SDM845_CX>;
  3282. operating-points-v2 = <&sdhc2_opp_table>;
  3283. status = "disabled";
  3284. sdhc2_opp_table: opp-table {
  3285. compatible = "operating-points-v2";
  3286. opp-9600000 {
  3287. opp-hz = /bits/ 64 <9600000>;
  3288. required-opps = <&rpmhpd_opp_min_svs>;
  3289. };
  3290. opp-19200000 {
  3291. opp-hz = /bits/ 64 <19200000>;
  3292. required-opps = <&rpmhpd_opp_low_svs>;
  3293. };
  3294. opp-100000000 {
  3295. opp-hz = /bits/ 64 <100000000>;
  3296. required-opps = <&rpmhpd_opp_svs>;
  3297. };
  3298. opp-201500000 {
  3299. opp-hz = /bits/ 64 <201500000>;
  3300. required-opps = <&rpmhpd_opp_svs_l1>;
  3301. };
  3302. };
  3303. };
  3304. qspi_opp_table: opp-table-qspi {
  3305. compatible = "operating-points-v2";
  3306. opp-19200000 {
  3307. opp-hz = /bits/ 64 <19200000>;
  3308. required-opps = <&rpmhpd_opp_min_svs>;
  3309. };
  3310. opp-100000000 {
  3311. opp-hz = /bits/ 64 <100000000>;
  3312. required-opps = <&rpmhpd_opp_low_svs>;
  3313. };
  3314. opp-150000000 {
  3315. opp-hz = /bits/ 64 <150000000>;
  3316. required-opps = <&rpmhpd_opp_svs>;
  3317. };
  3318. opp-300000000 {
  3319. opp-hz = /bits/ 64 <300000000>;
  3320. required-opps = <&rpmhpd_opp_nom>;
  3321. };
  3322. };
  3323. qspi: spi@88df000 {
  3324. compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
  3325. reg = <0 0x088df000 0 0x600>;
  3326. #address-cells = <1>;
  3327. #size-cells = <0>;
  3328. interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
  3329. clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
  3330. <&gcc GCC_QSPI_CORE_CLK>;
  3331. clock-names = "iface", "core";
  3332. power-domains = <&rpmhpd SDM845_CX>;
  3333. operating-points-v2 = <&qspi_opp_table>;
  3334. status = "disabled";
  3335. };
  3336. slim: slim@171c0000 {
  3337. compatible = "qcom,slim-ngd-v2.1.0";
  3338. reg = <0 0x171c0000 0 0x2c000>;
  3339. interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
  3340. qcom,apps-ch-pipes = <0x780000>;
  3341. qcom,ea-pc = <0x270>;
  3342. status = "okay";
  3343. dmas = <&slimbam 3>, <&slimbam 4>,
  3344. <&slimbam 5>, <&slimbam 6>;
  3345. dma-names = "rx", "tx", "tx2", "rx2";
  3346. iommus = <&apps_smmu 0x1806 0x0>;
  3347. #address-cells = <1>;
  3348. #size-cells = <0>;
  3349. ngd@1 {
  3350. reg = <1>;
  3351. #address-cells = <2>;
  3352. #size-cells = <0>;
  3353. wcd9340_ifd: ifd@0{
  3354. compatible = "slim217,250";
  3355. reg = <0 0>;
  3356. };
  3357. wcd9340: codec@1{
  3358. compatible = "slim217,250";
  3359. reg = <1 0>;
  3360. slim-ifc-dev = <&wcd9340_ifd>;
  3361. #sound-dai-cells = <1>;
  3362. interrupts-extended = <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>;
  3363. interrupt-controller;
  3364. #interrupt-cells = <1>;
  3365. #clock-cells = <0>;
  3366. clock-frequency = <9600000>;
  3367. clock-output-names = "mclk";
  3368. qcom,micbias1-microvolt = <1800000>;
  3369. qcom,micbias2-microvolt = <1800000>;
  3370. qcom,micbias3-microvolt = <1800000>;
  3371. qcom,micbias4-microvolt = <1800000>;
  3372. #address-cells = <1>;
  3373. #size-cells = <1>;
  3374. wcdgpio: gpio-controller@42 {
  3375. compatible = "qcom,wcd9340-gpio";
  3376. gpio-controller;
  3377. #gpio-cells = <2>;
  3378. reg = <0x42 0x2>;
  3379. };
  3380. swm: swm@c85 {
  3381. compatible = "qcom,soundwire-v1.3.0";
  3382. reg = <0xc85 0x40>;
  3383. interrupts-extended = <&wcd9340 20>;
  3384. qcom,dout-ports = <6>;
  3385. qcom,din-ports = <2>;
  3386. qcom,ports-sinterval-low =/bits/ 8 <0x07 0x1F 0x3F 0x7 0x1F 0x3F 0x0F 0x0F>;
  3387. qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0C 0x6 0x12 0x0D 0x07 0x0A >;
  3388. qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x1F 0x00 0x00 0x1F 0x00 0x00>;
  3389. #sound-dai-cells = <1>;
  3390. clocks = <&wcd9340>;
  3391. clock-names = "iface";
  3392. #address-cells = <2>;
  3393. #size-cells = <0>;
  3394. };
  3395. };
  3396. };
  3397. };
  3398. lmh_cluster1: lmh@17d70800 {
  3399. compatible = "qcom,sdm845-lmh";
  3400. reg = <0 0x17d70800 0 0x400>;
  3401. interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  3402. cpus = <&CPU4>;
  3403. qcom,lmh-temp-arm-millicelsius = <65000>;
  3404. qcom,lmh-temp-low-millicelsius = <94500>;
  3405. qcom,lmh-temp-high-millicelsius = <95000>;
  3406. interrupt-controller;
  3407. #interrupt-cells = <1>;
  3408. };
  3409. lmh_cluster0: lmh@17d78800 {
  3410. compatible = "qcom,sdm845-lmh";
  3411. reg = <0 0x17d78800 0 0x400>;
  3412. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  3413. cpus = <&CPU0>;
  3414. qcom,lmh-temp-arm-millicelsius = <65000>;
  3415. qcom,lmh-temp-low-millicelsius = <94500>;
  3416. qcom,lmh-temp-high-millicelsius = <95000>;
  3417. interrupt-controller;
  3418. #interrupt-cells = <1>;
  3419. };
  3420. sound: sound {
  3421. };
  3422. usb_1_hsphy: phy@88e2000 {
  3423. compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
  3424. reg = <0 0x088e2000 0 0x400>;
  3425. status = "disabled";
  3426. #phy-cells = <0>;
  3427. clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
  3428. <&rpmhcc RPMH_CXO_CLK>;
  3429. clock-names = "cfg_ahb", "ref";
  3430. resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
  3431. nvmem-cells = <&qusb2p_hstx_trim>;
  3432. };
  3433. usb_2_hsphy: phy@88e3000 {
  3434. compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
  3435. reg = <0 0x088e3000 0 0x400>;
  3436. status = "disabled";
  3437. #phy-cells = <0>;
  3438. clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
  3439. <&rpmhcc RPMH_CXO_CLK>;
  3440. clock-names = "cfg_ahb", "ref";
  3441. resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
  3442. nvmem-cells = <&qusb2s_hstx_trim>;
  3443. };
  3444. usb_1_qmpphy: phy@88e9000 {
  3445. compatible = "qcom,sdm845-qmp-usb3-phy";
  3446. reg = <0 0x088e9000 0 0x18c>,
  3447. <0 0x088e8000 0 0x10>;
  3448. status = "disabled";
  3449. #address-cells = <2>;
  3450. #size-cells = <2>;
  3451. ranges;
  3452. clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
  3453. <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
  3454. <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
  3455. <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
  3456. clock-names = "aux", "cfg_ahb", "ref", "com_aux";
  3457. resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
  3458. <&gcc GCC_USB3_PHY_PRIM_BCR>;
  3459. reset-names = "phy", "common";
  3460. usb_1_ssphy: phy@88e9200 {
  3461. reg = <0 0x088e9200 0 0x128>,
  3462. <0 0x088e9400 0 0x200>,
  3463. <0 0x088e9c00 0 0x218>,
  3464. <0 0x088e9600 0 0x128>,
  3465. <0 0x088e9800 0 0x200>,
  3466. <0 0x088e9a00 0 0x100>;
  3467. #clock-cells = <0>;
  3468. #phy-cells = <0>;
  3469. clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
  3470. clock-names = "pipe0";
  3471. clock-output-names = "usb3_phy_pipe_clk_src";
  3472. };
  3473. };
  3474. usb_2_qmpphy: phy@88eb000 {
  3475. compatible = "qcom,sdm845-qmp-usb3-uni-phy";
  3476. reg = <0 0x088eb000 0 0x18c>;
  3477. status = "disabled";
  3478. #address-cells = <2>;
  3479. #size-cells = <2>;
  3480. ranges;
  3481. clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
  3482. <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
  3483. <&gcc GCC_USB3_SEC_CLKREF_CLK>,
  3484. <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
  3485. clock-names = "aux", "cfg_ahb", "ref", "com_aux";
  3486. resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
  3487. <&gcc GCC_USB3_PHY_SEC_BCR>;
  3488. reset-names = "phy", "common";
  3489. usb_2_ssphy: phy@88eb200 {
  3490. reg = <0 0x088eb200 0 0x128>,
  3491. <0 0x088eb400 0 0x1fc>,
  3492. <0 0x088eb800 0 0x218>,
  3493. <0 0x088eb600 0 0x70>;
  3494. #clock-cells = <0>;
  3495. #phy-cells = <0>;
  3496. clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
  3497. clock-names = "pipe0";
  3498. clock-output-names = "usb3_uni_phy_pipe_clk_src";
  3499. };
  3500. };
  3501. usb_1: usb@a6f8800 {
  3502. compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
  3503. reg = <0 0x0a6f8800 0 0x400>;
  3504. status = "disabled";
  3505. #address-cells = <2>;
  3506. #size-cells = <2>;
  3507. ranges;
  3508. dma-ranges;
  3509. clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
  3510. <&gcc GCC_USB30_PRIM_MASTER_CLK>,
  3511. <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
  3512. <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
  3513. <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
  3514. clock-names = "cfg_noc",
  3515. "core",
  3516. "iface",
  3517. "sleep",
  3518. "mock_utmi";
  3519. assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
  3520. <&gcc GCC_USB30_PRIM_MASTER_CLK>;
  3521. assigned-clock-rates = <19200000>, <150000000>;
  3522. interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
  3523. <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
  3524. <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
  3525. <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
  3526. interrupt-names = "hs_phy_irq", "ss_phy_irq",
  3527. "dm_hs_phy_irq", "dp_hs_phy_irq";
  3528. power-domains = <&gcc USB30_PRIM_GDSC>;
  3529. resets = <&gcc GCC_USB30_PRIM_BCR>;
  3530. interconnects = <&aggre2_noc MASTER_USB3_0 0 &mem_noc SLAVE_EBI1 0>,
  3531. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>;
  3532. interconnect-names = "usb-ddr", "apps-usb";
  3533. usb_1_dwc3: usb@a600000 {
  3534. compatible = "snps,dwc3";
  3535. reg = <0 0x0a600000 0 0xcd00>;
  3536. interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  3537. iommus = <&apps_smmu 0x740 0>;
  3538. snps,dis_u2_susphy_quirk;
  3539. snps,dis_enblslpm_quirk;
  3540. phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
  3541. phy-names = "usb2-phy", "usb3-phy";
  3542. };
  3543. };
  3544. usb_2: usb@a8f8800 {
  3545. compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
  3546. reg = <0 0x0a8f8800 0 0x400>;
  3547. status = "disabled";
  3548. #address-cells = <2>;
  3549. #size-cells = <2>;
  3550. ranges;
  3551. dma-ranges;
  3552. clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
  3553. <&gcc GCC_USB30_SEC_MASTER_CLK>,
  3554. <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
  3555. <&gcc GCC_USB30_SEC_SLEEP_CLK>,
  3556. <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>;
  3557. clock-names = "cfg_noc",
  3558. "core",
  3559. "iface",
  3560. "sleep",
  3561. "mock_utmi";
  3562. assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
  3563. <&gcc GCC_USB30_SEC_MASTER_CLK>;
  3564. assigned-clock-rates = <19200000>, <150000000>;
  3565. interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
  3566. <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
  3567. <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
  3568. <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
  3569. interrupt-names = "hs_phy_irq", "ss_phy_irq",
  3570. "dm_hs_phy_irq", "dp_hs_phy_irq";
  3571. power-domains = <&gcc USB30_SEC_GDSC>;
  3572. resets = <&gcc GCC_USB30_SEC_BCR>;
  3573. interconnects = <&aggre2_noc MASTER_USB3_1 0 &mem_noc SLAVE_EBI1 0>,
  3574. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>;
  3575. interconnect-names = "usb-ddr", "apps-usb";
  3576. usb_2_dwc3: usb@a800000 {
  3577. compatible = "snps,dwc3";
  3578. reg = <0 0x0a800000 0 0xcd00>;
  3579. interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
  3580. iommus = <&apps_smmu 0x760 0>;
  3581. snps,dis_u2_susphy_quirk;
  3582. snps,dis_enblslpm_quirk;
  3583. phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
  3584. phy-names = "usb2-phy", "usb3-phy";
  3585. };
  3586. };
  3587. venus: video-codec@aa00000 {
  3588. compatible = "qcom,sdm845-venus-v2";
  3589. reg = <0 0x0aa00000 0 0xff000>;
  3590. interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
  3591. power-domains = <&videocc VENUS_GDSC>,
  3592. <&videocc VCODEC0_GDSC>,
  3593. <&videocc VCODEC1_GDSC>,
  3594. <&rpmhpd SDM845_CX>;
  3595. power-domain-names = "venus", "vcodec0", "vcodec1", "cx";
  3596. operating-points-v2 = <&venus_opp_table>;
  3597. clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
  3598. <&videocc VIDEO_CC_VENUS_AHB_CLK>,
  3599. <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
  3600. <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
  3601. <&videocc VIDEO_CC_VCODEC0_AXI_CLK>,
  3602. <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
  3603. <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
  3604. clock-names = "core", "iface", "bus",
  3605. "vcodec0_core", "vcodec0_bus",
  3606. "vcodec1_core", "vcodec1_bus";
  3607. iommus = <&apps_smmu 0x10a0 0x8>,
  3608. <&apps_smmu 0x10b0 0x0>;
  3609. memory-region = <&venus_mem>;
  3610. interconnects = <&mmss_noc MASTER_VIDEO_P0 0 &mem_noc SLAVE_EBI1 0>,
  3611. <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_VENUS_CFG 0>;
  3612. interconnect-names = "video-mem", "cpu-cfg";
  3613. status = "disabled";
  3614. video-core0 {
  3615. compatible = "venus-decoder";
  3616. };
  3617. video-core1 {
  3618. compatible = "venus-encoder";
  3619. };
  3620. venus_opp_table: opp-table {
  3621. compatible = "operating-points-v2";
  3622. opp-100000000 {
  3623. opp-hz = /bits/ 64 <100000000>;
  3624. required-opps = <&rpmhpd_opp_min_svs>;
  3625. };
  3626. opp-200000000 {
  3627. opp-hz = /bits/ 64 <200000000>;
  3628. required-opps = <&rpmhpd_opp_low_svs>;
  3629. };
  3630. opp-320000000 {
  3631. opp-hz = /bits/ 64 <320000000>;
  3632. required-opps = <&rpmhpd_opp_svs>;
  3633. };
  3634. opp-380000000 {
  3635. opp-hz = /bits/ 64 <380000000>;
  3636. required-opps = <&rpmhpd_opp_svs_l1>;
  3637. };
  3638. opp-444000000 {
  3639. opp-hz = /bits/ 64 <444000000>;
  3640. required-opps = <&rpmhpd_opp_nom>;
  3641. };
  3642. opp-533000097 {
  3643. opp-hz = /bits/ 64 <533000097>;
  3644. required-opps = <&rpmhpd_opp_turbo>;
  3645. };
  3646. };
  3647. };
  3648. videocc: clock-controller@ab00000 {
  3649. compatible = "qcom,sdm845-videocc";
  3650. reg = <0 0x0ab00000 0 0x10000>;
  3651. clocks = <&rpmhcc RPMH_CXO_CLK>;
  3652. clock-names = "bi_tcxo";
  3653. #clock-cells = <1>;
  3654. #power-domain-cells = <1>;
  3655. #reset-cells = <1>;
  3656. };
  3657. camss: camss@acb3000 {
  3658. compatible = "qcom,sdm845-camss";
  3659. reg = <0 0xacb3000 0 0x1000>,
  3660. <0 0xacba000 0 0x1000>,
  3661. <0 0xacc8000 0 0x1000>,
  3662. <0 0xac65000 0 0x1000>,
  3663. <0 0xac66000 0 0x1000>,
  3664. <0 0xac67000 0 0x1000>,
  3665. <0 0xac68000 0 0x1000>,
  3666. <0 0xacaf000 0 0x4000>,
  3667. <0 0xacb6000 0 0x4000>,
  3668. <0 0xacc4000 0 0x4000>;
  3669. reg-names = "csid0",
  3670. "csid1",
  3671. "csid2",
  3672. "csiphy0",
  3673. "csiphy1",
  3674. "csiphy2",
  3675. "csiphy3",
  3676. "vfe0",
  3677. "vfe1",
  3678. "vfe_lite";
  3679. interrupts = <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
  3680. <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
  3681. <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
  3682. <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
  3683. <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
  3684. <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
  3685. <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
  3686. <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
  3687. <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
  3688. <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
  3689. interrupt-names = "csid0",
  3690. "csid1",
  3691. "csid2",
  3692. "csiphy0",
  3693. "csiphy1",
  3694. "csiphy2",
  3695. "csiphy3",
  3696. "vfe0",
  3697. "vfe1",
  3698. "vfe_lite";
  3699. power-domains = <&clock_camcc IFE_0_GDSC>,
  3700. <&clock_camcc IFE_1_GDSC>,
  3701. <&clock_camcc TITAN_TOP_GDSC>;
  3702. clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
  3703. <&clock_camcc CAM_CC_CPAS_AHB_CLK>,
  3704. <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
  3705. <&clock_camcc CAM_CC_IFE_0_CSID_CLK>,
  3706. <&clock_camcc CAM_CC_IFE_0_CSID_CLK_SRC>,
  3707. <&clock_camcc CAM_CC_IFE_1_CSID_CLK>,
  3708. <&clock_camcc CAM_CC_IFE_1_CSID_CLK_SRC>,
  3709. <&clock_camcc CAM_CC_IFE_LITE_CSID_CLK>,
  3710. <&clock_camcc CAM_CC_IFE_LITE_CSID_CLK_SRC>,
  3711. <&clock_camcc CAM_CC_CSIPHY0_CLK>,
  3712. <&clock_camcc CAM_CC_CSI0PHYTIMER_CLK>,
  3713. <&clock_camcc CAM_CC_CSI0PHYTIMER_CLK_SRC>,
  3714. <&clock_camcc CAM_CC_CSIPHY1_CLK>,
  3715. <&clock_camcc CAM_CC_CSI1PHYTIMER_CLK>,
  3716. <&clock_camcc CAM_CC_CSI1PHYTIMER_CLK_SRC>,
  3717. <&clock_camcc CAM_CC_CSIPHY2_CLK>,
  3718. <&clock_camcc CAM_CC_CSI2PHYTIMER_CLK>,
  3719. <&clock_camcc CAM_CC_CSI2PHYTIMER_CLK_SRC>,
  3720. <&clock_camcc CAM_CC_CSIPHY3_CLK>,
  3721. <&clock_camcc CAM_CC_CSI3PHYTIMER_CLK>,
  3722. <&clock_camcc CAM_CC_CSI3PHYTIMER_CLK_SRC>,
  3723. <&gcc GCC_CAMERA_AHB_CLK>,
  3724. <&gcc GCC_CAMERA_AXI_CLK>,
  3725. <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
  3726. <&clock_camcc CAM_CC_SOC_AHB_CLK>,
  3727. <&clock_camcc CAM_CC_IFE_0_AXI_CLK>,
  3728. <&clock_camcc CAM_CC_IFE_0_CLK>,
  3729. <&clock_camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
  3730. <&clock_camcc CAM_CC_IFE_0_CLK_SRC>,
  3731. <&clock_camcc CAM_CC_IFE_1_AXI_CLK>,
  3732. <&clock_camcc CAM_CC_IFE_1_CLK>,
  3733. <&clock_camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
  3734. <&clock_camcc CAM_CC_IFE_1_CLK_SRC>,
  3735. <&clock_camcc CAM_CC_IFE_LITE_CLK>,
  3736. <&clock_camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
  3737. <&clock_camcc CAM_CC_IFE_LITE_CLK_SRC>;
  3738. clock-names = "camnoc_axi",
  3739. "cpas_ahb",
  3740. "cphy_rx_src",
  3741. "csi0",
  3742. "csi0_src",
  3743. "csi1",
  3744. "csi1_src",
  3745. "csi2",
  3746. "csi2_src",
  3747. "csiphy0",
  3748. "csiphy0_timer",
  3749. "csiphy0_timer_src",
  3750. "csiphy1",
  3751. "csiphy1_timer",
  3752. "csiphy1_timer_src",
  3753. "csiphy2",
  3754. "csiphy2_timer",
  3755. "csiphy2_timer_src",
  3756. "csiphy3",
  3757. "csiphy3_timer",
  3758. "csiphy3_timer_src",
  3759. "gcc_camera_ahb",
  3760. "gcc_camera_axi",
  3761. "slow_ahb_src",
  3762. "soc_ahb",
  3763. "vfe0_axi",
  3764. "vfe0",
  3765. "vfe0_cphy_rx",
  3766. "vfe0_src",
  3767. "vfe1_axi",
  3768. "vfe1",
  3769. "vfe1_cphy_rx",
  3770. "vfe1_src",
  3771. "vfe_lite",
  3772. "vfe_lite_cphy_rx",
  3773. "vfe_lite_src";
  3774. iommus = <&apps_smmu 0x0808 0x0>,
  3775. <&apps_smmu 0x0810 0x8>,
  3776. <&apps_smmu 0x0c08 0x0>,
  3777. <&apps_smmu 0x0c10 0x8>;
  3778. status = "disabled";
  3779. ports {
  3780. #address-cells = <1>;
  3781. #size-cells = <0>;
  3782. };
  3783. };
  3784. cci: cci@ac4a000 {
  3785. compatible = "qcom,sdm845-cci";
  3786. #address-cells = <1>;
  3787. #size-cells = <0>;
  3788. reg = <0 0x0ac4a000 0 0x4000>;
  3789. interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>;
  3790. power-domains = <&clock_camcc TITAN_TOP_GDSC>;
  3791. clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
  3792. <&clock_camcc CAM_CC_SOC_AHB_CLK>,
  3793. <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
  3794. <&clock_camcc CAM_CC_CPAS_AHB_CLK>,
  3795. <&clock_camcc CAM_CC_CCI_CLK>,
  3796. <&clock_camcc CAM_CC_CCI_CLK_SRC>;
  3797. clock-names = "camnoc_axi",
  3798. "soc_ahb",
  3799. "slow_ahb_src",
  3800. "cpas_ahb",
  3801. "cci",
  3802. "cci_src";
  3803. assigned-clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
  3804. <&clock_camcc CAM_CC_CCI_CLK>;
  3805. assigned-clock-rates = <80000000>, <37500000>;
  3806. pinctrl-names = "default", "sleep";
  3807. pinctrl-0 = <&cci0_default &cci1_default>;
  3808. pinctrl-1 = <&cci0_sleep &cci1_sleep>;
  3809. status = "disabled";
  3810. cci_i2c0: i2c-bus@0 {
  3811. reg = <0>;
  3812. clock-frequency = <1000000>;
  3813. #address-cells = <1>;
  3814. #size-cells = <0>;
  3815. };
  3816. cci_i2c1: i2c-bus@1 {
  3817. reg = <1>;
  3818. clock-frequency = <1000000>;
  3819. #address-cells = <1>;
  3820. #size-cells = <0>;
  3821. };
  3822. };
  3823. clock_camcc: clock-controller@ad00000 {
  3824. compatible = "qcom,sdm845-camcc";
  3825. reg = <0 0x0ad00000 0 0x10000>;
  3826. #clock-cells = <1>;
  3827. #reset-cells = <1>;
  3828. #power-domain-cells = <1>;
  3829. clocks = <&rpmhcc RPMH_CXO_CLK>;
  3830. clock-names = "bi_tcxo";
  3831. };
  3832. dsi_opp_table: opp-table-dsi {
  3833. compatible = "operating-points-v2";
  3834. opp-19200000 {
  3835. opp-hz = /bits/ 64 <19200000>;
  3836. required-opps = <&rpmhpd_opp_min_svs>;
  3837. };
  3838. opp-180000000 {
  3839. opp-hz = /bits/ 64 <180000000>;
  3840. required-opps = <&rpmhpd_opp_low_svs>;
  3841. };
  3842. opp-275000000 {
  3843. opp-hz = /bits/ 64 <275000000>;
  3844. required-opps = <&rpmhpd_opp_svs>;
  3845. };
  3846. opp-328580000 {
  3847. opp-hz = /bits/ 64 <328580000>;
  3848. required-opps = <&rpmhpd_opp_svs_l1>;
  3849. };
  3850. opp-358000000 {
  3851. opp-hz = /bits/ 64 <358000000>;
  3852. required-opps = <&rpmhpd_opp_nom>;
  3853. };
  3854. };
  3855. mdss: mdss@ae00000 {
  3856. compatible = "qcom,sdm845-mdss";
  3857. reg = <0 0x0ae00000 0 0x1000>;
  3858. reg-names = "mdss";
  3859. power-domains = <&dispcc MDSS_GDSC>;
  3860. clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
  3861. <&dispcc DISP_CC_MDSS_MDP_CLK>;
  3862. clock-names = "iface", "core";
  3863. interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  3864. interrupt-controller;
  3865. #interrupt-cells = <1>;
  3866. interconnects = <&mmss_noc MASTER_MDP0 0 &mem_noc SLAVE_EBI1 0>,
  3867. <&mmss_noc MASTER_MDP1 0 &mem_noc SLAVE_EBI1 0>;
  3868. interconnect-names = "mdp0-mem", "mdp1-mem";
  3869. iommus = <&apps_smmu 0x880 0x8>,
  3870. <&apps_smmu 0xc80 0x8>;
  3871. status = "disabled";
  3872. #address-cells = <2>;
  3873. #size-cells = <2>;
  3874. ranges;
  3875. mdss_mdp: display-controller@ae01000 {
  3876. compatible = "qcom,sdm845-dpu";
  3877. reg = <0 0x0ae01000 0 0x8f000>,
  3878. <0 0x0aeb0000 0 0x2008>;
  3879. reg-names = "mdp", "vbif";
  3880. clocks = <&gcc GCC_DISP_AXI_CLK>,
  3881. <&dispcc DISP_CC_MDSS_AHB_CLK>,
  3882. <&dispcc DISP_CC_MDSS_AXI_CLK>,
  3883. <&dispcc DISP_CC_MDSS_MDP_CLK>,
  3884. <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
  3885. clock-names = "gcc-bus", "iface", "bus", "core", "vsync";
  3886. assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
  3887. assigned-clock-rates = <19200000>;
  3888. operating-points-v2 = <&mdp_opp_table>;
  3889. power-domains = <&rpmhpd SDM845_CX>;
  3890. interrupt-parent = <&mdss>;
  3891. interrupts = <0>;
  3892. ports {
  3893. #address-cells = <1>;
  3894. #size-cells = <0>;
  3895. port@0 {
  3896. reg = <0>;
  3897. dpu_intf1_out: endpoint {
  3898. remote-endpoint = <&dsi0_in>;
  3899. };
  3900. };
  3901. port@1 {
  3902. reg = <1>;
  3903. dpu_intf2_out: endpoint {
  3904. remote-endpoint = <&dsi1_in>;
  3905. };
  3906. };
  3907. };
  3908. mdp_opp_table: opp-table {
  3909. compatible = "operating-points-v2";
  3910. opp-19200000 {
  3911. opp-hz = /bits/ 64 <19200000>;
  3912. required-opps = <&rpmhpd_opp_min_svs>;
  3913. };
  3914. opp-171428571 {
  3915. opp-hz = /bits/ 64 <171428571>;
  3916. required-opps = <&rpmhpd_opp_low_svs>;
  3917. };
  3918. opp-344000000 {
  3919. opp-hz = /bits/ 64 <344000000>;
  3920. required-opps = <&rpmhpd_opp_svs_l1>;
  3921. };
  3922. opp-430000000 {
  3923. opp-hz = /bits/ 64 <430000000>;
  3924. required-opps = <&rpmhpd_opp_nom>;
  3925. };
  3926. };
  3927. };
  3928. dsi0: dsi@ae94000 {
  3929. compatible = "qcom,mdss-dsi-ctrl";
  3930. reg = <0 0x0ae94000 0 0x400>;
  3931. reg-names = "dsi_ctrl";
  3932. interrupt-parent = <&mdss>;
  3933. interrupts = <4>;
  3934. clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
  3935. <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
  3936. <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
  3937. <&dispcc DISP_CC_MDSS_ESC0_CLK>,
  3938. <&dispcc DISP_CC_MDSS_AHB_CLK>,
  3939. <&dispcc DISP_CC_MDSS_AXI_CLK>;
  3940. clock-names = "byte",
  3941. "byte_intf",
  3942. "pixel",
  3943. "core",
  3944. "iface",
  3945. "bus";
  3946. assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
  3947. assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;
  3948. operating-points-v2 = <&dsi_opp_table>;
  3949. power-domains = <&rpmhpd SDM845_CX>;
  3950. phys = <&dsi0_phy>;
  3951. phy-names = "dsi";
  3952. status = "disabled";
  3953. #address-cells = <1>;
  3954. #size-cells = <0>;
  3955. ports {
  3956. #address-cells = <1>;
  3957. #size-cells = <0>;
  3958. port@0 {
  3959. reg = <0>;
  3960. dsi0_in: endpoint {
  3961. remote-endpoint = <&dpu_intf1_out>;
  3962. };
  3963. };
  3964. port@1 {
  3965. reg = <1>;
  3966. dsi0_out: endpoint {
  3967. };
  3968. };
  3969. };
  3970. };
  3971. dsi0_phy: dsi-phy@ae94400 {
  3972. compatible = "qcom,dsi-phy-10nm";
  3973. reg = <0 0x0ae94400 0 0x200>,
  3974. <0 0x0ae94600 0 0x280>,
  3975. <0 0x0ae94a00 0 0x1e0>;
  3976. reg-names = "dsi_phy",
  3977. "dsi_phy_lane",
  3978. "dsi_pll";
  3979. #clock-cells = <1>;
  3980. #phy-cells = <0>;
  3981. clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
  3982. <&rpmhcc RPMH_CXO_CLK>;
  3983. clock-names = "iface", "ref";
  3984. status = "disabled";
  3985. };
  3986. dsi1: dsi@ae96000 {
  3987. compatible = "qcom,mdss-dsi-ctrl";
  3988. reg = <0 0x0ae96000 0 0x400>;
  3989. reg-names = "dsi_ctrl";
  3990. interrupt-parent = <&mdss>;
  3991. interrupts = <5>;
  3992. clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
  3993. <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
  3994. <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
  3995. <&dispcc DISP_CC_MDSS_ESC1_CLK>,
  3996. <&dispcc DISP_CC_MDSS_AHB_CLK>,
  3997. <&dispcc DISP_CC_MDSS_AXI_CLK>;
  3998. clock-names = "byte",
  3999. "byte_intf",
  4000. "pixel",
  4001. "core",
  4002. "iface",
  4003. "bus";
  4004. assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
  4005. assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;
  4006. operating-points-v2 = <&dsi_opp_table>;
  4007. power-domains = <&rpmhpd SDM845_CX>;
  4008. phys = <&dsi1_phy>;
  4009. phy-names = "dsi";
  4010. status = "disabled";
  4011. #address-cells = <1>;
  4012. #size-cells = <0>;
  4013. ports {
  4014. #address-cells = <1>;
  4015. #size-cells = <0>;
  4016. port@0 {
  4017. reg = <0>;
  4018. dsi1_in: endpoint {
  4019. remote-endpoint = <&dpu_intf2_out>;
  4020. };
  4021. };
  4022. port@1 {
  4023. reg = <1>;
  4024. dsi1_out: endpoint {
  4025. };
  4026. };
  4027. };
  4028. };
  4029. dsi1_phy: dsi-phy@ae96400 {
  4030. compatible = "qcom,dsi-phy-10nm";
  4031. reg = <0 0x0ae96400 0 0x200>,
  4032. <0 0x0ae96600 0 0x280>,
  4033. <0 0x0ae96a00 0 0x10e>;
  4034. reg-names = "dsi_phy",
  4035. "dsi_phy_lane",
  4036. "dsi_pll";
  4037. #clock-cells = <1>;
  4038. #phy-cells = <0>;
  4039. clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
  4040. <&rpmhcc RPMH_CXO_CLK>;
  4041. clock-names = "iface", "ref";
  4042. status = "disabled";
  4043. };
  4044. };
  4045. gpu: gpu@5000000 {
  4046. compatible = "qcom,adreno-630.2", "qcom,adreno";
  4047. reg = <0 0x5000000 0 0x40000>, <0 0x509e000 0 0x10>;
  4048. reg-names = "kgsl_3d0_reg_memory", "cx_mem";
  4049. /*
  4050. * Look ma, no clocks! The GPU clocks and power are
  4051. * controlled entirely by the GMU
  4052. */
  4053. interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
  4054. iommus = <&adreno_smmu 0>;
  4055. operating-points-v2 = <&gpu_opp_table>;
  4056. qcom,gmu = <&gmu>;
  4057. interconnects = <&mem_noc MASTER_GFX3D 0 &mem_noc SLAVE_EBI1 0>;
  4058. interconnect-names = "gfx-mem";
  4059. status = "disabled";
  4060. gpu_opp_table: opp-table {
  4061. compatible = "operating-points-v2";
  4062. opp-710000000 {
  4063. opp-hz = /bits/ 64 <710000000>;
  4064. opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
  4065. opp-peak-kBps = <7216000>;
  4066. };
  4067. opp-675000000 {
  4068. opp-hz = /bits/ 64 <675000000>;
  4069. opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
  4070. opp-peak-kBps = <7216000>;
  4071. };
  4072. opp-596000000 {
  4073. opp-hz = /bits/ 64 <596000000>;
  4074. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
  4075. opp-peak-kBps = <6220000>;
  4076. };
  4077. opp-520000000 {
  4078. opp-hz = /bits/ 64 <520000000>;
  4079. opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
  4080. opp-peak-kBps = <6220000>;
  4081. };
  4082. opp-414000000 {
  4083. opp-hz = /bits/ 64 <414000000>;
  4084. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
  4085. opp-peak-kBps = <4068000>;
  4086. };
  4087. opp-342000000 {
  4088. opp-hz = /bits/ 64 <342000000>;
  4089. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  4090. opp-peak-kBps = <2724000>;
  4091. };
  4092. opp-257000000 {
  4093. opp-hz = /bits/ 64 <257000000>;
  4094. opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
  4095. opp-peak-kBps = <1648000>;
  4096. };
  4097. };
  4098. };
  4099. adreno_smmu: iommu@5040000 {
  4100. compatible = "qcom,sdm845-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2";
  4101. reg = <0 0x5040000 0 0x10000>;
  4102. #iommu-cells = <1>;
  4103. #global-interrupts = <2>;
  4104. interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
  4105. <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
  4106. <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
  4107. <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
  4108. <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
  4109. <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
  4110. <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
  4111. <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
  4112. <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
  4113. <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
  4114. clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
  4115. <&gcc GCC_GPU_CFG_AHB_CLK>;
  4116. clock-names = "bus", "iface";
  4117. power-domains = <&gpucc GPU_CX_GDSC>;
  4118. };
  4119. gmu: gmu@506a000 {
  4120. compatible = "qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
  4121. reg = <0 0x506a000 0 0x30000>,
  4122. <0 0xb280000 0 0x10000>,
  4123. <0 0xb480000 0 0x10000>;
  4124. reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
  4125. interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
  4126. <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
  4127. interrupt-names = "hfi", "gmu";
  4128. clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
  4129. <&gpucc GPU_CC_CXO_CLK>,
  4130. <&gcc GCC_DDRSS_GPU_AXI_CLK>,
  4131. <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
  4132. clock-names = "gmu", "cxo", "axi", "memnoc";
  4133. power-domains = <&gpucc GPU_CX_GDSC>,
  4134. <&gpucc GPU_GX_GDSC>;
  4135. power-domain-names = "cx", "gx";
  4136. iommus = <&adreno_smmu 5>;
  4137. operating-points-v2 = <&gmu_opp_table>;
  4138. status = "disabled";
  4139. gmu_opp_table: opp-table {
  4140. compatible = "operating-points-v2";
  4141. opp-400000000 {
  4142. opp-hz = /bits/ 64 <400000000>;
  4143. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  4144. };
  4145. opp-200000000 {
  4146. opp-hz = /bits/ 64 <200000000>;
  4147. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  4148. };
  4149. };
  4150. };
  4151. dispcc: clock-controller@af00000 {
  4152. compatible = "qcom,sdm845-dispcc";
  4153. reg = <0 0x0af00000 0 0x10000>;
  4154. clocks = <&rpmhcc RPMH_CXO_CLK>,
  4155. <&gcc GCC_DISP_GPLL0_CLK_SRC>,
  4156. <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
  4157. <&dsi0_phy 0>,
  4158. <&dsi0_phy 1>,
  4159. <&dsi1_phy 0>,
  4160. <&dsi1_phy 1>,
  4161. <0>,
  4162. <0>;
  4163. clock-names = "bi_tcxo",
  4164. "gcc_disp_gpll0_clk_src",
  4165. "gcc_disp_gpll0_div_clk_src",
  4166. "dsi0_phy_pll_out_byteclk",
  4167. "dsi0_phy_pll_out_dsiclk",
  4168. "dsi1_phy_pll_out_byteclk",
  4169. "dsi1_phy_pll_out_dsiclk",
  4170. "dp_link_clk_divsel_ten",
  4171. "dp_vco_divided_clk_src_mux";
  4172. #clock-cells = <1>;
  4173. #reset-cells = <1>;
  4174. #power-domain-cells = <1>;
  4175. };
  4176. pdc_intc: interrupt-controller@b220000 {
  4177. compatible = "qcom,sdm845-pdc", "qcom,pdc";
  4178. reg = <0 0x0b220000 0 0x30000>;
  4179. qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>;
  4180. #interrupt-cells = <2>;
  4181. interrupt-parent = <&intc>;
  4182. interrupt-controller;
  4183. };
  4184. pdc_reset: reset-controller@b2e0000 {
  4185. compatible = "qcom,sdm845-pdc-global";
  4186. reg = <0 0x0b2e0000 0 0x20000>;
  4187. #reset-cells = <1>;
  4188. };
  4189. tsens0: thermal-sensor@c263000 {
  4190. compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
  4191. reg = <0 0x0c263000 0 0x1ff>, /* TM */
  4192. <0 0x0c222000 0 0x1ff>; /* SROT */
  4193. #qcom,sensors = <13>;
  4194. interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
  4195. <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
  4196. interrupt-names = "uplow", "critical";
  4197. #thermal-sensor-cells = <1>;
  4198. };
  4199. tsens1: thermal-sensor@c265000 {
  4200. compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
  4201. reg = <0 0x0c265000 0 0x1ff>, /* TM */
  4202. <0 0x0c223000 0 0x1ff>; /* SROT */
  4203. #qcom,sensors = <8>;
  4204. interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
  4205. <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
  4206. interrupt-names = "uplow", "critical";
  4207. #thermal-sensor-cells = <1>;
  4208. };
  4209. aoss_reset: reset-controller@c2a0000 {
  4210. compatible = "qcom,sdm845-aoss-cc";
  4211. reg = <0 0x0c2a0000 0 0x31000>;
  4212. #reset-cells = <1>;
  4213. };
  4214. aoss_qmp: power-controller@c300000 {
  4215. compatible = "qcom,sdm845-aoss-qmp", "qcom,aoss-qmp";
  4216. reg = <0 0x0c300000 0 0x400>;
  4217. interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
  4218. mboxes = <&apss_shared 0>;
  4219. #clock-cells = <0>;
  4220. cx_cdev: cx {
  4221. #cooling-cells = <2>;
  4222. };
  4223. ebi_cdev: ebi {
  4224. #cooling-cells = <2>;
  4225. };
  4226. };
  4227. sram@c3f0000 {
  4228. compatible = "qcom,sdm845-rpmh-stats";
  4229. reg = <0 0x0c3f0000 0 0x400>;
  4230. };
  4231. spmi_bus: spmi@c440000 {
  4232. compatible = "qcom,spmi-pmic-arb";
  4233. reg = <0 0x0c440000 0 0x1100>,
  4234. <0 0x0c600000 0 0x2000000>,
  4235. <0 0x0e600000 0 0x100000>,
  4236. <0 0x0e700000 0 0xa0000>,
  4237. <0 0x0c40a000 0 0x26000>;
  4238. reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
  4239. interrupt-names = "periph_irq";
  4240. interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
  4241. qcom,ee = <0>;
  4242. qcom,channel = <0>;
  4243. #address-cells = <2>;
  4244. #size-cells = <0>;
  4245. interrupt-controller;
  4246. #interrupt-cells = <4>;
  4247. cell-index = <0>;
  4248. };
  4249. sram@146bf000 {
  4250. compatible = "qcom,sdm845-imem", "syscon", "simple-mfd";
  4251. reg = <0 0x146bf000 0 0x1000>;
  4252. #address-cells = <1>;
  4253. #size-cells = <1>;
  4254. ranges = <0 0 0x146bf000 0x1000>;
  4255. pil-reloc@94c {
  4256. compatible = "qcom,pil-reloc-info";
  4257. reg = <0x94c 0xc8>;
  4258. };
  4259. };
  4260. apps_smmu: iommu@15000000 {
  4261. compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
  4262. reg = <0 0x15000000 0 0x80000>;
  4263. #iommu-cells = <2>;
  4264. #global-interrupts = <1>;
  4265. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
  4266. <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
  4267. <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
  4268. <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
  4269. <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
  4270. <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
  4271. <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
  4272. <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
  4273. <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
  4274. <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
  4275. <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
  4276. <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
  4277. <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
  4278. <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
  4279. <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
  4280. <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
  4281. <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
  4282. <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
  4283. <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
  4284. <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
  4285. <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
  4286. <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
  4287. <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
  4288. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
  4289. <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
  4290. <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
  4291. <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
  4292. <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
  4293. <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
  4294. <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
  4295. <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
  4296. <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
  4297. <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
  4298. <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
  4299. <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
  4300. <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
  4301. <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
  4302. <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
  4303. <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
  4304. <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
  4305. <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
  4306. <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
  4307. <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
  4308. <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
  4309. <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
  4310. <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
  4311. <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
  4312. <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
  4313. <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
  4314. <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
  4315. <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
  4316. <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
  4317. <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
  4318. <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
  4319. <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
  4320. <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
  4321. <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
  4322. <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
  4323. <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
  4324. <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
  4325. <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
  4326. <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
  4327. <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
  4328. <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
  4329. <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
  4330. };
  4331. lpasscc: clock-controller@17014000 {
  4332. compatible = "qcom,sdm845-lpasscc";
  4333. reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
  4334. reg-names = "cc", "qdsp6ss";
  4335. #clock-cells = <1>;
  4336. status = "disabled";
  4337. };
  4338. gladiator_noc: interconnect@17900000 {
  4339. compatible = "qcom,sdm845-gladiator-noc";
  4340. reg = <0 0x17900000 0 0xd080>;
  4341. #interconnect-cells = <2>;
  4342. qcom,bcm-voters = <&apps_bcm_voter>;
  4343. };
  4344. watchdog@17980000 {
  4345. compatible = "qcom,apss-wdt-sdm845", "qcom,kpss-wdt";
  4346. reg = <0 0x17980000 0 0x1000>;
  4347. clocks = <&sleep_clk>;
  4348. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
  4349. };
  4350. apss_shared: mailbox@17990000 {
  4351. compatible = "qcom,sdm845-apss-shared";
  4352. reg = <0 0x17990000 0 0x1000>;
  4353. #mbox-cells = <1>;
  4354. };
  4355. apps_rsc: rsc@179c0000 {
  4356. label = "apps_rsc";
  4357. compatible = "qcom,rpmh-rsc";
  4358. reg = <0 0x179c0000 0 0x10000>,
  4359. <0 0x179d0000 0 0x10000>,
  4360. <0 0x179e0000 0 0x10000>;
  4361. reg-names = "drv-0", "drv-1", "drv-2";
  4362. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  4363. <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
  4364. <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  4365. qcom,tcs-offset = <0xd00>;
  4366. qcom,drv-id = <2>;
  4367. qcom,tcs-config = <ACTIVE_TCS 2>,
  4368. <SLEEP_TCS 3>,
  4369. <WAKE_TCS 3>,
  4370. <CONTROL_TCS 1>;
  4371. power-domains = <&CLUSTER_PD>;
  4372. apps_bcm_voter: bcm-voter {
  4373. compatible = "qcom,bcm-voter";
  4374. };
  4375. rpmhcc: clock-controller {
  4376. compatible = "qcom,sdm845-rpmh-clk";
  4377. #clock-cells = <1>;
  4378. clock-names = "xo";
  4379. clocks = <&xo_board>;
  4380. };
  4381. rpmhpd: power-controller {
  4382. compatible = "qcom,sdm845-rpmhpd";
  4383. #power-domain-cells = <1>;
  4384. operating-points-v2 = <&rpmhpd_opp_table>;
  4385. rpmhpd_opp_table: opp-table {
  4386. compatible = "operating-points-v2";
  4387. rpmhpd_opp_ret: opp1 {
  4388. opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
  4389. };
  4390. rpmhpd_opp_min_svs: opp2 {
  4391. opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
  4392. };
  4393. rpmhpd_opp_low_svs: opp3 {
  4394. opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
  4395. };
  4396. rpmhpd_opp_svs: opp4 {
  4397. opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
  4398. };
  4399. rpmhpd_opp_svs_l1: opp5 {
  4400. opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
  4401. };
  4402. rpmhpd_opp_nom: opp6 {
  4403. opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
  4404. };
  4405. rpmhpd_opp_nom_l1: opp7 {
  4406. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
  4407. };
  4408. rpmhpd_opp_nom_l2: opp8 {
  4409. opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
  4410. };
  4411. rpmhpd_opp_turbo: opp9 {
  4412. opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
  4413. };
  4414. rpmhpd_opp_turbo_l1: opp10 {
  4415. opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
  4416. };
  4417. };
  4418. };
  4419. };
  4420. intc: interrupt-controller@17a00000 {
  4421. compatible = "arm,gic-v3";
  4422. #address-cells = <2>;
  4423. #size-cells = <2>;
  4424. ranges;
  4425. #interrupt-cells = <3>;
  4426. interrupt-controller;
  4427. reg = <0 0x17a00000 0 0x10000>, /* GICD */
  4428. <0 0x17a60000 0 0x100000>; /* GICR * 8 */
  4429. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  4430. msi-controller@17a40000 {
  4431. compatible = "arm,gic-v3-its";
  4432. msi-controller;
  4433. #msi-cells = <1>;
  4434. reg = <0 0x17a40000 0 0x20000>;
  4435. status = "disabled";
  4436. };
  4437. };
  4438. slimbam: dma-controller@17184000 {
  4439. compatible = "qcom,bam-v1.7.0";
  4440. qcom,controlled-remotely;
  4441. reg = <0 0x17184000 0 0x2a000>;
  4442. num-channels = <31>;
  4443. interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
  4444. #dma-cells = <1>;
  4445. qcom,ee = <1>;
  4446. qcom,num-ees = <2>;
  4447. iommus = <&apps_smmu 0x1806 0x0>;
  4448. };
  4449. timer@17c90000 {
  4450. #address-cells = <1>;
  4451. #size-cells = <1>;
  4452. ranges = <0 0 0 0x20000000>;
  4453. compatible = "arm,armv7-timer-mem";
  4454. reg = <0 0x17c90000 0 0x1000>;
  4455. frame@17ca0000 {
  4456. frame-number = <0>;
  4457. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
  4458. <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  4459. reg = <0x17ca0000 0x1000>,
  4460. <0x17cb0000 0x1000>;
  4461. };
  4462. frame@17cc0000 {
  4463. frame-number = <1>;
  4464. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
  4465. reg = <0x17cc0000 0x1000>;
  4466. status = "disabled";
  4467. };
  4468. frame@17cd0000 {
  4469. frame-number = <2>;
  4470. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  4471. reg = <0x17cd0000 0x1000>;
  4472. status = "disabled";
  4473. };
  4474. frame@17ce0000 {
  4475. frame-number = <3>;
  4476. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  4477. reg = <0x17ce0000 0x1000>;
  4478. status = "disabled";
  4479. };
  4480. frame@17cf0000 {
  4481. frame-number = <4>;
  4482. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  4483. reg = <0x17cf0000 0x1000>;
  4484. status = "disabled";
  4485. };
  4486. frame@17d00000 {
  4487. frame-number = <5>;
  4488. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  4489. reg = <0x17d00000 0x1000>;
  4490. status = "disabled";
  4491. };
  4492. frame@17d10000 {
  4493. frame-number = <6>;
  4494. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  4495. reg = <0x17d10000 0x1000>;
  4496. status = "disabled";
  4497. };
  4498. };
  4499. osm_l3: interconnect@17d41000 {
  4500. compatible = "qcom,sdm845-osm-l3";
  4501. reg = <0 0x17d41000 0 0x1400>;
  4502. clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
  4503. clock-names = "xo", "alternate";
  4504. #interconnect-cells = <1>;
  4505. };
  4506. cpufreq_hw: cpufreq@17d43000 {
  4507. compatible = "qcom,cpufreq-hw";
  4508. reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
  4509. reg-names = "freq-domain0", "freq-domain1";
  4510. interrupts-extended = <&lmh_cluster0 0>, <&lmh_cluster1 0>;
  4511. clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
  4512. clock-names = "xo", "alternate";
  4513. #freq-domain-cells = <1>;
  4514. };
  4515. wifi: wifi@18800000 {
  4516. compatible = "qcom,wcn3990-wifi";
  4517. status = "disabled";
  4518. reg = <0 0x18800000 0 0x800000>;
  4519. reg-names = "membase";
  4520. memory-region = <&wlan_msa_mem>;
  4521. clock-names = "cxo_ref_clk_pin";
  4522. clocks = <&rpmhcc RPMH_RF_CLK2>;
  4523. interrupts =
  4524. <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
  4525. <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
  4526. <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
  4527. <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
  4528. <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
  4529. <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
  4530. <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
  4531. <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
  4532. <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
  4533. <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
  4534. <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
  4535. <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
  4536. iommus = <&apps_smmu 0x0040 0x1>;
  4537. };
  4538. };
  4539. thermal-zones {
  4540. cpu0-thermal {
  4541. polling-delay-passive = <250>;
  4542. polling-delay = <1000>;
  4543. thermal-sensors = <&tsens0 1>;
  4544. trips {
  4545. cpu0_alert0: trip-point0 {
  4546. temperature = <90000>;
  4547. hysteresis = <2000>;
  4548. type = "passive";
  4549. };
  4550. cpu0_alert1: trip-point1 {
  4551. temperature = <95000>;
  4552. hysteresis = <2000>;
  4553. type = "passive";
  4554. };
  4555. cpu0_crit: cpu_crit {
  4556. temperature = <110000>;
  4557. hysteresis = <1000>;
  4558. type = "critical";
  4559. };
  4560. };
  4561. };
  4562. cpu1-thermal {
  4563. polling-delay-passive = <250>;
  4564. polling-delay = <1000>;
  4565. thermal-sensors = <&tsens0 2>;
  4566. trips {
  4567. cpu1_alert0: trip-point0 {
  4568. temperature = <90000>;
  4569. hysteresis = <2000>;
  4570. type = "passive";
  4571. };
  4572. cpu1_alert1: trip-point1 {
  4573. temperature = <95000>;
  4574. hysteresis = <2000>;
  4575. type = "passive";
  4576. };
  4577. cpu1_crit: cpu_crit {
  4578. temperature = <110000>;
  4579. hysteresis = <1000>;
  4580. type = "critical";
  4581. };
  4582. };
  4583. };
  4584. cpu2-thermal {
  4585. polling-delay-passive = <250>;
  4586. polling-delay = <1000>;
  4587. thermal-sensors = <&tsens0 3>;
  4588. trips {
  4589. cpu2_alert0: trip-point0 {
  4590. temperature = <90000>;
  4591. hysteresis = <2000>;
  4592. type = "passive";
  4593. };
  4594. cpu2_alert1: trip-point1 {
  4595. temperature = <95000>;
  4596. hysteresis = <2000>;
  4597. type = "passive";
  4598. };
  4599. cpu2_crit: cpu_crit {
  4600. temperature = <110000>;
  4601. hysteresis = <1000>;
  4602. type = "critical";
  4603. };
  4604. };
  4605. };
  4606. cpu3-thermal {
  4607. polling-delay-passive = <250>;
  4608. polling-delay = <1000>;
  4609. thermal-sensors = <&tsens0 4>;
  4610. trips {
  4611. cpu3_alert0: trip-point0 {
  4612. temperature = <90000>;
  4613. hysteresis = <2000>;
  4614. type = "passive";
  4615. };
  4616. cpu3_alert1: trip-point1 {
  4617. temperature = <95000>;
  4618. hysteresis = <2000>;
  4619. type = "passive";
  4620. };
  4621. cpu3_crit: cpu_crit {
  4622. temperature = <110000>;
  4623. hysteresis = <1000>;
  4624. type = "critical";
  4625. };
  4626. };
  4627. };
  4628. cpu4-thermal {
  4629. polling-delay-passive = <250>;
  4630. polling-delay = <1000>;
  4631. thermal-sensors = <&tsens0 7>;
  4632. trips {
  4633. cpu4_alert0: trip-point0 {
  4634. temperature = <90000>;
  4635. hysteresis = <2000>;
  4636. type = "passive";
  4637. };
  4638. cpu4_alert1: trip-point1 {
  4639. temperature = <95000>;
  4640. hysteresis = <2000>;
  4641. type = "passive";
  4642. };
  4643. cpu4_crit: cpu_crit {
  4644. temperature = <110000>;
  4645. hysteresis = <1000>;
  4646. type = "critical";
  4647. };
  4648. };
  4649. };
  4650. cpu5-thermal {
  4651. polling-delay-passive = <250>;
  4652. polling-delay = <1000>;
  4653. thermal-sensors = <&tsens0 8>;
  4654. trips {
  4655. cpu5_alert0: trip-point0 {
  4656. temperature = <90000>;
  4657. hysteresis = <2000>;
  4658. type = "passive";
  4659. };
  4660. cpu5_alert1: trip-point1 {
  4661. temperature = <95000>;
  4662. hysteresis = <2000>;
  4663. type = "passive";
  4664. };
  4665. cpu5_crit: cpu_crit {
  4666. temperature = <110000>;
  4667. hysteresis = <1000>;
  4668. type = "critical";
  4669. };
  4670. };
  4671. };
  4672. cpu6-thermal {
  4673. polling-delay-passive = <250>;
  4674. polling-delay = <1000>;
  4675. thermal-sensors = <&tsens0 9>;
  4676. trips {
  4677. cpu6_alert0: trip-point0 {
  4678. temperature = <90000>;
  4679. hysteresis = <2000>;
  4680. type = "passive";
  4681. };
  4682. cpu6_alert1: trip-point1 {
  4683. temperature = <95000>;
  4684. hysteresis = <2000>;
  4685. type = "passive";
  4686. };
  4687. cpu6_crit: cpu_crit {
  4688. temperature = <110000>;
  4689. hysteresis = <1000>;
  4690. type = "critical";
  4691. };
  4692. };
  4693. };
  4694. cpu7-thermal {
  4695. polling-delay-passive = <250>;
  4696. polling-delay = <1000>;
  4697. thermal-sensors = <&tsens0 10>;
  4698. trips {
  4699. cpu7_alert0: trip-point0 {
  4700. temperature = <90000>;
  4701. hysteresis = <2000>;
  4702. type = "passive";
  4703. };
  4704. cpu7_alert1: trip-point1 {
  4705. temperature = <95000>;
  4706. hysteresis = <2000>;
  4707. type = "passive";
  4708. };
  4709. cpu7_crit: cpu_crit {
  4710. temperature = <110000>;
  4711. hysteresis = <1000>;
  4712. type = "critical";
  4713. };
  4714. };
  4715. };
  4716. aoss0-thermal {
  4717. polling-delay-passive = <250>;
  4718. polling-delay = <1000>;
  4719. thermal-sensors = <&tsens0 0>;
  4720. trips {
  4721. aoss0_alert0: trip-point0 {
  4722. temperature = <90000>;
  4723. hysteresis = <2000>;
  4724. type = "hot";
  4725. };
  4726. };
  4727. };
  4728. cluster0-thermal {
  4729. polling-delay-passive = <250>;
  4730. polling-delay = <1000>;
  4731. thermal-sensors = <&tsens0 5>;
  4732. trips {
  4733. cluster0_alert0: trip-point0 {
  4734. temperature = <90000>;
  4735. hysteresis = <2000>;
  4736. type = "hot";
  4737. };
  4738. cluster0_crit: cluster0_crit {
  4739. temperature = <110000>;
  4740. hysteresis = <2000>;
  4741. type = "critical";
  4742. };
  4743. };
  4744. };
  4745. cluster1-thermal {
  4746. polling-delay-passive = <250>;
  4747. polling-delay = <1000>;
  4748. thermal-sensors = <&tsens0 6>;
  4749. trips {
  4750. cluster1_alert0: trip-point0 {
  4751. temperature = <90000>;
  4752. hysteresis = <2000>;
  4753. type = "hot";
  4754. };
  4755. cluster1_crit: cluster1_crit {
  4756. temperature = <110000>;
  4757. hysteresis = <2000>;
  4758. type = "critical";
  4759. };
  4760. };
  4761. };
  4762. gpu-top-thermal {
  4763. polling-delay-passive = <250>;
  4764. polling-delay = <1000>;
  4765. thermal-sensors = <&tsens0 11>;
  4766. trips {
  4767. gpu1_alert0: trip-point0 {
  4768. temperature = <90000>;
  4769. hysteresis = <2000>;
  4770. type = "hot";
  4771. };
  4772. };
  4773. };
  4774. gpu-bottom-thermal {
  4775. polling-delay-passive = <250>;
  4776. polling-delay = <1000>;
  4777. thermal-sensors = <&tsens0 12>;
  4778. trips {
  4779. gpu2_alert0: trip-point0 {
  4780. temperature = <90000>;
  4781. hysteresis = <2000>;
  4782. type = "hot";
  4783. };
  4784. };
  4785. };
  4786. aoss1-thermal {
  4787. polling-delay-passive = <250>;
  4788. polling-delay = <1000>;
  4789. thermal-sensors = <&tsens1 0>;
  4790. trips {
  4791. aoss1_alert0: trip-point0 {
  4792. temperature = <90000>;
  4793. hysteresis = <2000>;
  4794. type = "hot";
  4795. };
  4796. };
  4797. };
  4798. q6-modem-thermal {
  4799. polling-delay-passive = <250>;
  4800. polling-delay = <1000>;
  4801. thermal-sensors = <&tsens1 1>;
  4802. trips {
  4803. q6_modem_alert0: trip-point0 {
  4804. temperature = <90000>;
  4805. hysteresis = <2000>;
  4806. type = "hot";
  4807. };
  4808. };
  4809. };
  4810. mem-thermal {
  4811. polling-delay-passive = <250>;
  4812. polling-delay = <1000>;
  4813. thermal-sensors = <&tsens1 2>;
  4814. trips {
  4815. mem_alert0: trip-point0 {
  4816. temperature = <90000>;
  4817. hysteresis = <2000>;
  4818. type = "hot";
  4819. };
  4820. };
  4821. };
  4822. wlan-thermal {
  4823. polling-delay-passive = <250>;
  4824. polling-delay = <1000>;
  4825. thermal-sensors = <&tsens1 3>;
  4826. trips {
  4827. wlan_alert0: trip-point0 {
  4828. temperature = <90000>;
  4829. hysteresis = <2000>;
  4830. type = "hot";
  4831. };
  4832. };
  4833. };
  4834. q6-hvx-thermal {
  4835. polling-delay-passive = <250>;
  4836. polling-delay = <1000>;
  4837. thermal-sensors = <&tsens1 4>;
  4838. trips {
  4839. q6_hvx_alert0: trip-point0 {
  4840. temperature = <90000>;
  4841. hysteresis = <2000>;
  4842. type = "hot";
  4843. };
  4844. };
  4845. };
  4846. camera-thermal {
  4847. polling-delay-passive = <250>;
  4848. polling-delay = <1000>;
  4849. thermal-sensors = <&tsens1 5>;
  4850. trips {
  4851. camera_alert0: trip-point0 {
  4852. temperature = <90000>;
  4853. hysteresis = <2000>;
  4854. type = "hot";
  4855. };
  4856. };
  4857. };
  4858. video-thermal {
  4859. polling-delay-passive = <250>;
  4860. polling-delay = <1000>;
  4861. thermal-sensors = <&tsens1 6>;
  4862. trips {
  4863. video_alert0: trip-point0 {
  4864. temperature = <90000>;
  4865. hysteresis = <2000>;
  4866. type = "hot";
  4867. };
  4868. };
  4869. };
  4870. modem-thermal {
  4871. polling-delay-passive = <250>;
  4872. polling-delay = <1000>;
  4873. thermal-sensors = <&tsens1 7>;
  4874. trips {
  4875. modem_alert0: trip-point0 {
  4876. temperature = <90000>;
  4877. hysteresis = <2000>;
  4878. type = "hot";
  4879. };
  4880. };
  4881. };
  4882. };
  4883. };