1 Star 3 Fork 4

xiayang/am40

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
am40.dts 85.95 KB
一键复制 编辑 原始数据 按行查看 历史
dos7lo 提交于 2023-04-26 14:30 . Add files via upload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892
/dts-v1/;
/ {
compatible = "rockchip-box-rev1\0rockchip,rk3399-box";
interrupt-parent = <0x01>;
#address-cells = <0x02>;
#size-cells = <0x02>;
model = "Rockchip RK3399 Board rev1 (BOX)";
ddr_timing {
compatible = "rockchip,ddr-timing";
ddr3_speed_bin = <0x15>;
pd_idle = <0x00>;
sr_idle = <0x00>;
sr_mc_gate_idle = <0x00>;
srpd_lite_idle = <0x00>;
standby_idle = <0x00>;
dram_dll_dis_freq = <0x12c>;
phy_dll_dis_freq = <0x7d>;
ddr3_odt_dis_freq = <0x14d>;
ddr3_drv = <0x28>;
ddr3_odt = <0x78>;
phy_ddr3_ca_drv = <0x28>;
phy_ddr3_dq_drv = <0x28>;
phy_ddr3_odt = <0xf0>;
lpddr3_odt_dis_freq = <0x14d>;
lpddr3_drv = <0x22>;
lpddr3_odt = <0xf0>;
phy_lpddr3_ca_drv = <0x28>;
phy_lpddr3_dq_drv = <0x28>;
phy_lpddr3_odt = <0xf0>;
lpddr4_odt_dis_freq = <0x14d>;
lpddr4_drv = <0x3c>;
lpddr4_dq_odt = <0x28>;
lpddr4_ca_odt = <0x28>;
phy_lpddr4_ca_drv = <0x28>;
phy_lpddr4_ck_cs_drv = <0x50>;
phy_lpddr4_dq_drv = <0x50>;
phy_lpddr4_odt = <0x3c>;
linux,phandle = <0x8b>;
phandle = <0x8b>;
};
aliases {
i2c0 = "/i2c@ff3c0000";
i2c1 = "/i2c@ff110000";
i2c2 = "/i2c@ff120000";
i2c3 = "/i2c@ff130000";
i2c4 = "/i2c@ff3d0000";
i2c5 = "/i2c@ff140000";
i2c6 = "/i2c@ff150000";
i2c7 = "/i2c@ff160000";
i2c8 = "/i2c@ff3e0000";
serial0 = "/serial@ff180000";
serial1 = "/serial@ff190000";
serial2 = "/serial@ff1a0000";
serial3 = "/serial@ff1b0000";
serial4 = "/serial@ff370000";
};
cpus {
#address-cells = <0x02>;
#size-cells = <0x00>;
cpu-map {
cluster0 {
core0 {
cpu = <0x02>;
};
core1 {
cpu = <0x03>;
};
core2 {
cpu = <0x04>;
};
core3 {
cpu = <0x05>;
};
};
cluster1 {
core0 {
cpu = <0x06>;
};
core1 {
cpu = <0x07>;
};
};
};
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a53\0arm,armv8";
reg = <0x00 0x00>;
enable-method = "psci";
#cooling-cells = <0x02>;
dynamic-power-coefficient = <0x64>;
clocks = <0x08 0x08>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0b>;
sched-energy-costs = <0x0c 0x0d>;
cpu-supply = <0x0e>;
linux,phandle = <0x02>;
phandle = <0x02>;
};
cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a53\0arm,armv8";
reg = <0x00 0x01>;
enable-method = "psci";
clocks = <0x08 0x08>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0b>;
sched-energy-costs = <0x0c 0x0d>;
cpu-supply = <0x0e>;
linux,phandle = <0x03>;
phandle = <0x03>;
};
cpu@2 {
device_type = "cpu";
compatible = "arm,cortex-a53\0arm,armv8";
reg = <0x00 0x02>;
enable-method = "psci";
clocks = <0x08 0x08>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0b>;
sched-energy-costs = <0x0c 0x0d>;
cpu-supply = <0x0e>;
linux,phandle = <0x04>;
phandle = <0x04>;
};
cpu@3 {
device_type = "cpu";
compatible = "arm,cortex-a53\0arm,armv8";
reg = <0x00 0x03>;
enable-method = "psci";
clocks = <0x08 0x08>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0b>;
sched-energy-costs = <0x0c 0x0d>;
cpu-supply = <0x0e>;
linux,phandle = <0x05>;
phandle = <0x05>;
};
cpu@100 {
device_type = "cpu";
compatible = "arm,cortex-a72\0arm,armv8";
reg = <0x00 0x100>;
enable-method = "psci";
#cooling-cells = <0x02>;
dynamic-power-coefficient = <0x1b4>;
clocks = <0x08 0x09>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0f>;
sched-energy-costs = <0x10 0x11>;
cpu-supply = <0x12>;
linux,phandle = <0x06>;
phandle = <0x06>;
};
cpu@101 {
device_type = "cpu";
compatible = "arm,cortex-a72\0arm,armv8";
reg = <0x00 0x101>;
enable-method = "psci";
clocks = <0x08 0x09>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0f>;
sched-energy-costs = <0x10 0x11>;
cpu-supply = <0x12>;
linux,phandle = <0x07>;
phandle = <0x07>;
};
idle-states {
entry-method = "psci";
cpu-sleep {
compatible = "arm,idle-state";
local-timer-stop;
arm,psci-suspend-param = <0x10000>;
entry-latency-us = <0x78>;
exit-latency-us = <0xfa>;
min-residency-us = <0x384>;
linux,phandle = <0x09>;
phandle = <0x09>;
};
cluster-sleep {
compatible = "arm,idle-state";
local-timer-stop;
arm,psci-suspend-param = <0x1010000>;
entry-latency-us = <0x190>;
exit-latency-us = <0x1f4>;
min-residency-us = <0x7d0>;
linux,phandle = <0x0a>;
phandle = <0x0a>;
};
};
};
pmu_a53 {
compatible = "arm,cortex-a53-pmu";
interrupts = <0x01 0x07 0x08 0x13>;
};
pmu_a72 {
compatible = "arm,cortex-a72-pmu";
interrupts = <0x01 0x07 0x08 0x14>;
};
psci {
compatible = "arm,psci-1.0";
method = "smc";
};
timer {
compatible = "arm,armv8-timer";
interrupts = <0x01 0x0d 0x08 0x00 0x01 0x0e 0x08 0x00 0x01 0x0b 0x08 0x00 0x01 0x0a 0x08 0x00>;
};
xin24m {
compatible = "fixed-clock";
clock-frequency = <0x16e3600>;
clock-output-names = "xin24m";
#clock-cells = <0x00>;
};
dummy_cpll {
compatible = "fixed-clock";
clock-frequency = <0x00>;
clock-output-names = "dummy_cpll";
#clock-cells = <0x00>;
};
dummy_vpll {
compatible = "fixed-clock";
clock-frequency = <0x00>;
clock-output-names = "dummy_vpll";
#clock-cells = <0x00>;
};
amba {
compatible = "arm,amba-bus";
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
dma-controller@ff6d0000 {
compatible = "arm,pl330\0arm,primecell";
reg = <0x00 0xff6d0000 0x00 0x4000>;
interrupts = <0x00 0x05 0x04 0x00 0x00 0x06 0x04 0x00>;
#dma-cells = <0x01>;
clocks = <0x08 0xd3>;
clock-names = "apb_pclk";
peripherals-req-type-burst;
linux,phandle = <0x94>;
phandle = <0x94>;
};
dma-controller@ff6e0000 {
compatible = "arm,pl330\0arm,primecell";
reg = <0x00 0xff6e0000 0x00 0x4000>;
interrupts = <0x00 0x07 0x04 0x00 0x00 0x08 0x04 0x00>;
#dma-cells = <0x01>;
clocks = <0x08 0xd4>;
clock-names = "apb_pclk";
peripherals-req-type-burst;
};
};
ethernet@fe300000 {
compatible = "rockchip,rk3399-gmac";
reg = <0x00 0xfe300000 0x00 0x10000>;
rockchip,grf = <0x15>;
interrupts = <0x00 0x0c 0x04 0x00>;
interrupt-names = "macirq";
clocks = <0x08 0x69 0x08 0x67 0x08 0x68 0x08 0x66 0x08 0x6a 0x08 0xd5 0x08 0x166>;
clock-names = "stmmaceth\0mac_clk_rx\0mac_clk_tx\0clk_mac_ref\0clk_mac_refout\0aclk_mac\0pclk_mac";
resets = <0x08 0x89>;
reset-names = "stmmaceth";
status = "okay";
phy-supply = <0x16>;
phy-mode = "rgmii";
clock_in_out = "input";
snps,reset-gpio = <0x17 0x0f 0x01>;
snps,reset-active-low;
snps,reset-delays-us = <0x00 0x186a0 0x186a0>;
assigned-clocks = <0x08 0xa6>;
assigned-clock-parents = <0x18>;
pinctrl-names = "default";
pinctrl-0 = <0x19>;
tx_delay = <0x1e>;
rx_delay = <0x1e>;
lan_name = "RTL8211F";
wakeup_ms = <0x3a98>;
};
dwmmc@fe310000 {
compatible = "rockchip,rk3399-dw-mshc\0rockchip,rk3288-dw-mshc";
reg = <0x00 0xfe310000 0x00 0x4000>;
interrupts = <0x00 0x40 0x04 0x00>;
clock-freq-min-max = <0x30d40 0x5f5e100>;
clocks = <0x08 0x1ee 0x08 0x4d 0x08 0x9c 0x08 0x9d>;
clock-names = "biu\0ciu\0ciu-drive\0ciu-sample";
fifo-depth = <0x100>;
power-domains = <0x1a 0x1c>;
status = "disabled";
clock-frequency = <0x5f5e100>;
supports-sdio;
bus-width = <0x04>;
disable-wp;
cap-sd-highspeed;
cap-sdio-irq;
keep-power-in-suspend;
mmc-pwrseq = <0x1b>;
non-removable;
num-slots = <0x01>;
pinctrl-names = "default";
pinctrl-0 = <0x1c 0x1d 0x1e>;
sd-uhs-sdr104;
};
dwmmc@fe320000 {
compatible = "rockchip,rk3399-dw-mshc\0rockchip,rk3288-dw-mshc";
reg = <0x00 0xfe320000 0x00 0x4000>;
interrupts = <0x00 0x41 0x04 0x00>;
clock-freq-min-max = <0x186a0 0x5f5e100>;
clocks = <0x08 0x1ce 0x08 0x4c 0x08 0x9a 0x08 0x9b>;
clock-names = "biu\0ciu\0ciu-drive\0ciu-sample";
fifo-depth = <0x100>;
power-domains = <0x1a 0x1b>;
status = "okay";
clock-frequency = <0x5f5e100>;
supports-sd;
bus-width = <0x04>;
cap-mmc-highspeed;
cap-sd-highspeed;
disable-wp;
num-slots = <0x01>;
vqmmc-supply = <0x1f>;
pinctrl-names = "default";
pinctrl-0 = <0x20 0x21 0x22 0x23>;
card-detect-delay = <0x320>;
};
sdhci@fe330000 {
compatible = "rockchip,rk3399-sdhci-5.1\0arasan,sdhci-5.1";
reg = <0x00 0xfe330000 0x00 0x10000>;
interrupts = <0x00 0x0b 0x04 0x00>;
arasan,soc-ctl-syscon = <0x15>;
assigned-clocks = <0x08 0x4e>;
assigned-clock-rates = <0xbebc200>;
clocks = <0x08 0x4e 0x08 0xf0>;
clock-names = "clk_xin\0clk_ahb";
clock-output-names = "emmc_cardclock";
#clock-cells = <0x00>;
phys = <0x24>;
phy-names = "phy_arasan";
power-domains = <0x1a 0x17>;
status = "okay";
assigned-clock-parents = <0x08 0x05>;
bus-width = <0x08>;
mmc-hs400-1_8v;
supports-emmc;
non-removable;
mmc-hs400-enhanced-strobe;
linux,phandle = <0x92>;
phandle = <0x92>;
};
usb@fe380000 {
compatible = "generic-ehci";
reg = <0x00 0xfe380000 0x00 0x20000>;
interrupts = <0x00 0x1a 0x04 0x00>;
clocks = <0x08 0x1c8 0x08 0x1c9 0x08 0xa8>;
clock-names = "hclk_host0\0hclk_host0_arb\0usbphy0_480m";
phys = <0x25>;
phy-names = "usb";
power-domains = <0x1a 0x0e>;
status = "okay";
};
usb@fe3a0000 {
compatible = "generic-ohci";
reg = <0x00 0xfe3a0000 0x00 0x20000>;
interrupts = <0x00 0x1c 0x04 0x00>;
clocks = <0x08 0x1c8 0x08 0x1c9 0x08 0xa8>;
clock-names = "hclk_host0\0hclk_host0_arb\0usbphy0_480m";
phys = <0x25>;
phy-names = "usb";
power-domains = <0x1a 0x0e>;
status = "okay";
};
usb@fe3c0000 {
compatible = "generic-ehci";
reg = <0x00 0xfe3c0000 0x00 0x20000>;
interrupts = <0x00 0x1e 0x04 0x00>;
clocks = <0x08 0x1ca 0x08 0x1cb 0x08 0xa9>;
clock-names = "hclk_host1\0hclk_host1_arb\0usbphy1_480m";
phys = <0x26>;
phy-names = "usb";
power-domains = <0x1a 0x0e>;
status = "okay";
};
usb@fe3e0000 {
compatible = "generic-ohci";
reg = <0x00 0xfe3e0000 0x00 0x20000>;
interrupts = <0x00 0x20 0x04 0x00>;
clocks = <0x08 0x1ca 0x08 0x1cb 0x08 0xa9>;
clock-names = "hclk_host1\0hclk_host1_arb\0usbphy1_480m";
phys = <0x26>;
phy-names = "usb";
power-domains = <0x1a 0x0e>;
status = "okay";
};
usb@fe800000 {
compatible = "rockchip,rk3399-dwc3";
clocks = <0x08 0x81 0x08 0x83 0x08 0xf6 0x08 0xf9>;
clock-names = "ref_clk\0suspend_clk\0bus_clk\0grf_clk";
power-domains = <0x1a 0x18>;
resets = <0x08 0x125>;
reset-names = "usb3-otg";
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
status = "okay";
extcon = <0x27>;
dwc3@fe800000 {
compatible = "snps,dwc3";
reg = <0x00 0xfe800000 0x00 0x100000>;
interrupts = <0x00 0x69 0x04 0x00>;
dr_mode = "otg";
phys = <0x28 0x29>;
phy-names = "usb2-phy\0usb3-phy";
phy_type = "utmi_wide";
snps,dis_enblslpm_quirk;
snps,dis-u2-freeclk-exists-quirk;
snps,dis_u2_susphy_quirk;
snps,dis-del-phy-power-chg-quirk;
snps,tx-ipgap-linecheck-dis-quirk;
snps,xhci-slow-suspend-quirk;
snps,usb3-warm-reset-on-resume-quirk;
status = "okay";
};
};
usb@fe900000 {
compatible = "rockchip,rk3399-dwc3";
clocks = <0x08 0x82 0x08 0x84 0x08 0xf7 0x08 0xf9>;
clock-names = "ref_clk\0suspend_clk\0bus_clk\0grf_clk";
power-domains = <0x1a 0x18>;
resets = <0x08 0x126>;
reset-names = "usb3-otg";
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
status = "okay";
dwc3@fe900000 {
compatible = "snps,dwc3";
reg = <0x00 0xfe900000 0x00 0x100000>;
interrupts = <0x00 0x6e 0x04 0x00>;
dr_mode = "host";
phys = <0x2a 0x2b>;
phy-names = "usb2-phy\0usb3-phy";
phy_type = "utmi_wide";
snps,dis_enblslpm_quirk;
snps,dis-u2-freeclk-exists-quirk;
snps,dis_u2_susphy_quirk;
snps,dis-del-phy-power-chg-quirk;
snps,tx-ipgap-linecheck-dis-quirk;
snps,xhci-slow-suspend-quirk;
snps,usb3-warm-reset-on-resume-quirk;
status = "okay";
};
};
dp@fec00000 {
compatible = "rockchip,rk3399-cdn-dp";
reg = <0x00 0xfec00000 0x00 0x100000>;
interrupts = <0x00 0x09 0x04>;
clocks = <0x08 0x72 0x08 0x175 0x08 0xa1 0x08 0x16f>;
clock-names = "core-clk\0pclk\0spdif\0grf";
assigned-clocks = <0x08 0x72>;
assigned-clock-rates = <0x5f5e100>;
power-domains = <0x1a 0x15>;
phys = <0x2c 0x2d>;
resets = <0x08 0x103 0x08 0x148 0x08 0x14a 0x08 0xfd>;
reset-names = "spdif\0dptx\0apb\0core";
rockchip,grf = <0x15>;
#address-cells = <0x01>;
#size-cells = <0x00>;
#sound-dai-cells = <0x01>;
status = "okay";
extcon = <0x2e>;
dp_vop_sel = <0x01>;
linux,phandle = <0xce>;
phandle = <0xce>;
ports {
#address-cells = <0x01>;
#size-cells = <0x00>;
port {
#address-cells = <0x01>;
#size-cells = <0x00>;
endpoint@0 {
reg = <0x00>;
remote-endpoint = <0x2f>;
status = "disabled";
linux,phandle = <0xa4>;
phandle = <0xa4>;
};
endpoint@1 {
reg = <0x01>;
remote-endpoint = <0x30>;
linux,phandle = <0x9e>;
phandle = <0x9e>;
};
};
};
};
interrupt-controller@fee00000 {
compatible = "arm,gic-v3";
#interrupt-cells = <0x04>;
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
interrupt-controller;
reg = <0x00 0xfee00000 0x00 0x10000 0x00 0xfef00000 0x00 0xc0000 0x00 0xfff00000 0x00 0x10000 0x00 0xfff10000 0x00 0x10000 0x00 0xfff20000 0x00 0x10000>;
interrupts = <0x01 0x09 0x04 0x00>;
linux,phandle = <0x01>;
phandle = <0x01>;
interrupt-controller@fee20000 {
compatible = "arm,gic-v3-its";
msi-controller;
reg = <0x00 0xfee20000 0x00 0x20000>;
linux,phandle = <0x81>;
phandle = <0x81>;
};
ppi-partitions {
interrupt-partition-0 {
affinity = <0x02 0x03 0x04 0x05>;
linux,phandle = <0x13>;
phandle = <0x13>;
};
interrupt-partition-1 {
affinity = <0x06 0x07>;
linux,phandle = <0x14>;
phandle = <0x14>;
};
};
};
saradc@ff100000 {
compatible = "rockchip,rk3399-saradc";
reg = <0x00 0xff100000 0x00 0x100>;
interrupts = <0x00 0x3e 0x04 0x00>;
#io-channel-cells = <0x01>;
clocks = <0x08 0x50 0x08 0x165>;
clock-names = "saradc\0apb_pclk";
resets = <0x08 0xd4>;
reset-names = "saradc-apb";
status = "okay";
linux,phandle = <0xc4>;
phandle = <0xc4>;
};
i2c@ff3c0000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff3c0000 0x00 0x1000>;
clocks = <0x31 0x09 0x31 0x1b>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x39 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x32>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "okay";
i2c-scl-rising-time-ns = <0xa8>;
i2c-scl-falling-time-ns = <0x04>;
clock-frequency = <0x61a80>;
syr827@40 {
compatible = "silergy,syr827";
reg = <0x40>;
regulator-compatible = "fan53555-reg";
pinctrl-0 = <0x33>;
vsel-gpios = <0x34 0x11 0x00>;
regulator-name = "vdd_cpu_b";
regulator-min-microvolt = <0xadf34>;
regulator-max-microvolt = <0x16e360>;
regulator-ramp-delay = <0x3e8>;
fcs,suspend-voltage-selector = <0x01>;
regulator-always-on;
regulator-boot-on;
vin-supply = <0x35>;
linux,phandle = <0x12>;
phandle = <0x12>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
syr828@41 {
compatible = "silergy,syr828";
reg = <0x41>;
regulator-compatible = "fan53555-reg";
pinctrl-0 = <0x36>;
vsel-gpios = <0x34 0x0e 0x00>;
regulator-name = "vdd_gpu";
regulator-min-microvolt = <0xadf34>;
regulator-max-microvolt = <0x16e360>;
regulator-ramp-delay = <0x3e8>;
fcs,suspend-voltage-selector = <0x01>;
regulator-always-on;
regulator-boot-on;
vin-supply = <0x35>;
regulator-initial-mode = <0x01>;
linux,phandle = <0x99>;
phandle = <0x99>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
pmic@1b {
compatible = "rockchip,rk808";
reg = <0x1b>;
interrupt-parent = <0x34>;
interrupts = <0x15 0x08>;
pinctrl-names = "default";
pinctrl-0 = <0x37>;
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <0x01>;
clock-output-names = "xin32k\0rk808-clkout2";
vcc1-supply = <0x35>;
vcc2-supply = <0x35>;
vcc3-supply = <0x35>;
vcc4-supply = <0x35>;
vcc6-supply = <0x35>;
vcc7-supply = <0x35>;
vcc8-supply = <0x38>;
vcc9-supply = <0x35>;
vcc10-supply = <0x35>;
vcc11-supply = <0x35>;
vcc12-supply = <0x38>;
vddio-supply = <0x39>;
linux,phandle = <0xd4>;
phandle = <0xd4>;
rtc {
status = "disabled";
};
regulators {
DCDC_REG1 {
regulator-name = "vdd_center";
regulator-min-microvolt = <0xb71b0>;
regulator-max-microvolt = <0x149970>;
regulator-ramp-delay = <0x1771>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
DCDC_REG2 {
regulator-name = "vdd_cpu_l";
regulator-min-microvolt = <0xb71b0>;
regulator-max-microvolt = <0x149970>;
regulator-ramp-delay = <0x1771>;
regulator-always-on;
regulator-boot-on;
linux,phandle = <0x0e>;
phandle = <0x0e>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
DCDC_REG3 {
regulator-name = "vcc_ddr";
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
};
};
DCDC_REG4 {
regulator-name = "vcc_1v8";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
regulator-boot-on;
linux,phandle = <0x39>;
phandle = <0x39>;
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <0x1b7740>;
};
};
LDO_REG1 {
regulator-name = "vcc1v8_dvp";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <0x1b7740>;
};
};
LDO_REG2 {
regulator-name = "vcca1v8_hdmi";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO_REG3 {
regulator-name = "vcca_1v8";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <0x1b7740>;
};
};
LDO_REG4 {
regulator-name = "vcc_sd";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x2dc6c0>;
regulator-always-on;
regulator-boot-on;
linux,phandle = <0x1f>;
phandle = <0x1f>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO_REG5 {
regulator-name = "vcc3v0_sd";
regulator-min-microvolt = <0x2dc6c0>;
regulator-max-microvolt = <0x2dc6c0>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO_REG6 {
regulator-name = "vcc_1v5";
regulator-min-microvolt = <0x16e360>;
regulator-max-microvolt = <0x16e360>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO_REG7 {
regulator-name = "vcca0v9_hdmi";
regulator-min-microvolt = <0xdbba0>;
regulator-max-microvolt = <0xdbba0>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO_REG8 {
regulator-name = "vcc_3v0";
regulator-min-microvolt = <0x2dc6c0>;
regulator-max-microvolt = <0x2dc6c0>;
regulator-always-on;
regulator-boot-on;
linux,phandle = <0x91>;
phandle = <0x91>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
SWITCH_REG1 {
regulator-name = "vcc3v3_s3";
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
};
};
SWITCH_REG2 {
regulator-name = "vcc3v3_s0";
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
};
};
};
};
};
i2c@ff110000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff110000 0x00 0x1000>;
clocks = <0x08 0x41 0x08 0x155>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x3b 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3a>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
i2c@ff120000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff120000 0x00 0x1000>;
clocks = <0x08 0x42 0x08 0x156>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x23 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3b>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
i2c@ff130000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff130000 0x00 0x1000>;
clocks = <0x08 0x43 0x08 0x157>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x22 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3c>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
i2c@ff140000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff140000 0x00 0x1000>;
clocks = <0x08 0x44 0x08 0x158>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x26 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3d>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
i2c@ff150000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff150000 0x00 0x1000>;
clocks = <0x08 0x45 0x08 0x159>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x25 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3e>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
i2c@ff160000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff160000 0x00 0x1000>;
clocks = <0x08 0x46 0x08 0x15a>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x24 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3f>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
serial@ff180000 {
compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart";
reg = <0x00 0xff180000 0x00 0x100>;
clocks = <0x08 0x51 0x08 0x160>;
clock-names = "baudclk\0apb_pclk";
interrupts = <0x00 0x63 0x04 0x00>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
pinctrl-names = "default";
pinctrl-0 = <0x40 0x41>;
status = "okay";
assigned-clocks = <0x08 0xac>;
assigned-clock-parents = <0x08 0x05>;
};
serial@ff190000 {
compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart";
reg = <0x00 0xff190000 0x00 0x100>;
clocks = <0x08 0x52 0x08 0x161>;
clock-names = "baudclk\0apb_pclk";
interrupts = <0x00 0x62 0x04 0x00>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
pinctrl-names = "default";
pinctrl-0 = <0x42>;
status = "disabled";
assigned-clocks = <0x08 0xad>;
assigned-clock-parents = <0x08 0x05>;
};
serial@ff1a0000 {
compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart";
reg = <0x00 0xff1a0000 0x00 0x100>;
clocks = <0x08 0x53 0x08 0x162>;
clock-names = "baudclk\0apb_pclk";
interrupts = <0x00 0x64 0x04 0x00>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
pinctrl-names = "default";
pinctrl-0 = <0x43>;
status = "okay";
assigned-clocks = <0x08 0xad>;
assigned-clock-parents = <0x08 0x05>;
};
serial@ff1b0000 {
compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart";
reg = <0x00 0xff1b0000 0x00 0x100>;
clocks = <0x08 0x54 0x08 0x163>;
clock-names = "baudclk\0apb_pclk";
interrupts = <0x00 0x65 0x04 0x00>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
pinctrl-names = "default";
pinctrl-0 = <0x44 0x45 0x46>;
status = "disabled";
assigned-clocks = <0x08 0xad>;
assigned-clock-parents = <0x08 0x05>;
};
spi@ff1c0000 {
compatible = "rockchip,rk3399-spi\0rockchip,rk3066-spi";
reg = <0x00 0xff1c0000 0x00 0x1000>;
clocks = <0x08 0x47 0x08 0x15b>;
clock-names = "spiclk\0apb_pclk";
interrupts = <0x00 0x44 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x47 0x48 0x49 0x4a>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
spi@ff1d0000 {
compatible = "rockchip,rk3399-spi\0rockchip,rk3066-spi";
reg = <0x00 0xff1d0000 0x00 0x1000>;
clocks = <0x08 0x48 0x08 0x15c>;
clock-names = "spiclk\0apb_pclk";
interrupts = <0x00 0x35 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x4b 0x4c 0x4d 0x4e>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
spi@ff1e0000 {
compatible = "rockchip,rk3399-spi\0rockchip,rk3066-spi";
reg = <0x00 0xff1e0000 0x00 0x1000>;
clocks = <0x08 0x49 0x08 0x15d>;
clock-names = "spiclk\0apb_pclk";
interrupts = <0x00 0x34 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x4f 0x50 0x51 0x52>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
spi@ff1f0000 {
compatible = "rockchip,rk3399-spi\0rockchip,rk3066-spi";
reg = <0x00 0xff1f0000 0x00 0x1000>;
clocks = <0x08 0x4a 0x08 0x15e>;
clock-names = "spiclk\0apb_pclk";
interrupts = <0x00 0x43 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x53 0x54 0x55 0x56>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
spi@ff200000 {
compatible = "rockchip,rk3399-spi\0rockchip,rk3066-spi";
reg = <0x00 0xff200000 0x00 0x1000>;
clocks = <0x08 0x4b 0x08 0x15f>;
clock-names = "spiclk\0apb_pclk";
interrupts = <0x00 0x84 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x57 0x58 0x59 0x5a>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
thermal-zones {
soc-thermal {
polling-delay-passive = <0x14>;
polling-delay = <0x3e8>;
sustainable-power = <0x3e8>;
thermal-sensors = <0x5b 0x00>;
trips {
trip-point@0 {
temperature = <0x14c08>;
hysteresis = <0x7d0>;
type = "passive";
};
trip-point@1 {
temperature = <0x186a0>;
hysteresis = <0x7d0>;
type = "passive";
linux,phandle = <0x5c>;
phandle = <0x5c>;
};
soc-crit {
temperature = <0x19a28>;
hysteresis = <0x7d0>;
type = "critical";
};
};
cooling-maps {
map0 {
trip = <0x5c>;
cooling-device = <0x02 0xffffffff 0xffffffff>;
contribution = <0x1000>;
};
map1 {
trip = <0x5c>;
cooling-device = <0x06 0xffffffff 0xffffffff>;
contribution = <0x400>;
};
map2 {
trip = <0x5c>;
cooling-device = <0x5d 0xffffffff 0xffffffff>;
contribution = <0x1000>;
};
};
};
gpu-thermal {
polling-delay-passive = <0x64>;
polling-delay = <0x3e8>;
thermal-sensors = <0x5b 0x01>;
};
};
tsadc@ff260000 {
compatible = "rockchip,rk3399-tsadc";
reg = <0x00 0xff260000 0x00 0x100>;
interrupts = <0x00 0x61 0x04 0x00>;
rockchip,grf = <0x15>;
clocks = <0x08 0x4f 0x08 0x164>;
clock-names = "tsadc\0apb_pclk";
assigned-clocks = <0x08 0x4f>;
assigned-clock-rates = <0xb71b0>;
resets = <0x08 0xe8>;
reset-names = "tsadc-apb";
pinctrl-names = "init\0default\0sleep";
pinctrl-0 = <0x5e>;
pinctrl-1 = <0x5f>;
pinctrl-2 = <0x5e>;
#thermal-sensor-cells = <0x01>;
rockchip,hw-tshut-temp = <0x1adb0>;
status = "okay";
rockchip,hw-tshut-mode = <0x01>;
rockchip,hw-tshut-polarity = <0x01>;
linux,phandle = <0x5b>;
phandle = <0x5b>;
};
qos@ffa58000 {
compatible = "syscon";
reg = <0x00 0xffa58000 0x00 0x20>;
linux,phandle = <0x67>;
phandle = <0x67>;
};
qos@ffa5c000 {
compatible = "syscon";
reg = <0x00 0xffa5c000 0x00 0x20>;
};
qos@ffa60080 {
compatible = "syscon";
reg = <0x00 0xffa60080 0x00 0x20>;
linux,phandle = <0x69>;
phandle = <0x69>;
};
qos@ffa60100 {
compatible = "syscon";
reg = <0x00 0xffa60100 0x00 0x20>;
linux,phandle = <0x6a>;
phandle = <0x6a>;
};
qos@ffa60180 {
compatible = "syscon";
reg = <0x00 0xffa60180 0x00 0x20>;
linux,phandle = <0x6b>;
phandle = <0x6b>;
};
qos@ffa70000 {
compatible = "syscon";
reg = <0x00 0xffa70000 0x00 0x20>;
linux,phandle = <0x6e>;
phandle = <0x6e>;
};
qos@ffa70080 {
compatible = "syscon";
reg = <0x00 0xffa70080 0x00 0x20>;
linux,phandle = <0x6f>;
phandle = <0x6f>;
};
qos@ffa74000 {
compatible = "syscon";
reg = <0x00 0xffa74000 0x00 0x20>;
linux,phandle = <0x6c>;
phandle = <0x6c>;
};
qos@ffa76000 {
compatible = "syscon";
reg = <0x00 0xffa76000 0x00 0x20>;
linux,phandle = <0x6d>;
phandle = <0x6d>;
};
qos@ffa90000 {
compatible = "syscon";
reg = <0x00 0xffa90000 0x00 0x20>;
linux,phandle = <0x70>;
phandle = <0x70>;
};
qos@ffa98000 {
compatible = "syscon";
reg = <0x00 0xffa98000 0x00 0x20>;
linux,phandle = <0x60>;
phandle = <0x60>;
};
qos@ffaa0000 {
compatible = "syscon";
reg = <0x00 0xffaa0000 0x00 0x20>;
linux,phandle = <0x71>;
phandle = <0x71>;
};
qos@ffaa0080 {
compatible = "syscon";
reg = <0x00 0xffaa0080 0x00 0x20>;
linux,phandle = <0x72>;
phandle = <0x72>;
};
qos@ffaa8000 {
compatible = "syscon";
reg = <0x00 0xffaa8000 0x00 0x20>;
linux,phandle = <0x73>;
phandle = <0x73>;
};
qos@ffaa8080 {
compatible = "syscon";
reg = <0x00 0xffaa8080 0x00 0x20>;
linux,phandle = <0x74>;
phandle = <0x74>;
};
qos@ffab0000 {
compatible = "syscon";
reg = <0x00 0xffab0000 0x00 0x20>;
linux,phandle = <0x61>;
phandle = <0x61>;
};
qos@ffab0080 {
compatible = "syscon";
reg = <0x00 0xffab0080 0x00 0x20>;
linux,phandle = <0x62>;
phandle = <0x62>;
};
qos@ffab8000 {
compatible = "syscon";
reg = <0x00 0xffab8000 0x00 0x20>;
linux,phandle = <0x63>;
phandle = <0x63>;
};
qos@ffac0000 {
compatible = "syscon";
reg = <0x00 0xffac0000 0x00 0x20>;
linux,phandle = <0x64>;
phandle = <0x64>;
};
qos@ffac0080 {
compatible = "syscon";
reg = <0x00 0xffac0080 0x00 0x20>;
linux,phandle = <0x65>;
phandle = <0x65>;
};
qos@ffac8000 {
compatible = "syscon";
reg = <0x00 0xffac8000 0x00 0x20>;
linux,phandle = <0x75>;
phandle = <0x75>;
};
qos@ffac8080 {
compatible = "syscon";
reg = <0x00 0xffac8080 0x00 0x20>;
linux,phandle = <0x76>;
phandle = <0x76>;
};
qos@ffad0000 {
compatible = "syscon";
reg = <0x00 0xffad0000 0x00 0x20>;
linux,phandle = <0x77>;
phandle = <0x77>;
};
qos@ffad8080 {
compatible = "syscon";
reg = <0x00 0xffad8080 0x00 0x20>;
linux,phandle = <0x68>;
phandle = <0x68>;
};
qos@ffae0000 {
compatible = "syscon";
reg = <0x00 0xffae0000 0x00 0x20>;
linux,phandle = <0x66>;
phandle = <0x66>;
};
power-management@ff310000 {
compatible = "rockchip,rk3399-pmu\0syscon\0simple-mfd";
reg = <0x00 0xff310000 0x00 0x1000>;
power-controller {
compatible = "rockchip,rk3399-power-controller";
#power-domain-cells = <0x01>;
#address-cells = <0x01>;
#size-cells = <0x00>;
linux,phandle = <0x1a>;
phandle = <0x1a>;
pd_iep@34 {
reg = <0x22>;
clocks = <0x08 0xe1 0x08 0x1dd>;
pm_qos = <0x60>;
};
pd_rga@33 {
reg = <0x21>;
clocks = <0x08 0xdc 0x08 0x1e5>;
pm_qos = <0x61 0x62>;
};
pd_vcodec@31 {
reg = <0x1f>;
clocks = <0x08 0xeb 0x08 0x1ea>;
pm_qos = <0x63>;
};
pd_vdu@32 {
reg = <0x20>;
clocks = <0x08 0xed 0x08 0x1ec>;
pm_qos = <0x64 0x65>;
};
pd_gpu@35 {
reg = <0x23>;
clocks = <0x08 0xd0>;
pm_qos = <0x66>;
};
pd_edp@25 {
reg = <0x19>;
clocks = <0x08 0x16c>;
};
pd_emmc@23 {
reg = <0x17>;
clocks = <0x08 0xf0>;
pm_qos = <0x67>;
};
pd_perihp@14 {
reg = <0x0e>;
#address-cells = <0x01>;
#size-cells = <0x00>;
clocks = <0x08 0xc0>;
pm_qos = <0x68 0x69 0x6a 0x6b>;
pd_sd@27 {
reg = <0x1b>;
clocks = <0x08 0x1ce 0x08 0x4c>;
pm_qos = <0x6c>;
};
};
pd_sdioaudio@28 {
reg = <0x1c>;
clocks = <0x08 0x1ee>;
pm_qos = <0x6d>;
};
pd_usb3@24 {
reg = <0x18>;
clocks = <0x08 0xf4>;
pm_qos = <0x6e 0x6f>;
};
pd_vio@15 {
reg = <0x0f>;
#address-cells = <0x01>;
#size-cells = <0x00>;
pd_hdcp@21 {
reg = <0x15>;
clocks = <0x08 0xde 0x08 0x1e7 0x08 0x172>;
pm_qos = <0x70>;
};
pd_isp0@19 {
reg = <0x13>;
clocks = <0x08 0xe5 0x08 0x1df>;
pm_qos = <0x71 0x72>;
};
pd_isp1@20 {
reg = <0x14>;
clocks = <0x08 0xe6 0x08 0x1e0>;
pm_qos = <0x73 0x74>;
};
pd_tcpc0@RK3399_PD_TCPC0 {
reg = <0x08>;
clocks = <0x08 0x7e 0x08 0x7d>;
};
pd_tcpc1@RK3399_PD_TCPC1 {
reg = <0x09>;
clocks = <0x08 0x80 0x08 0x7f>;
};
pd_vo@16 {
reg = <0x10>;
#address-cells = <0x01>;
#size-cells = <0x00>;
pd_vopb@17 {
reg = <0x11>;
clocks = <0x08 0xd9 0x08 0x1d9>;
pm_qos = <0x75 0x76>;
};
pd_vopl@18 {
reg = <0x12>;
clocks = <0x08 0xdb 0x08 0x1db>;
pm_qos = <0x77>;
};
};
};
};
};
syscon@ff320000 {
compatible = "rockchip,rk3399-pmugrf\0syscon\0simple-mfd";
reg = <0x00 0xff320000 0x00 0x1000>;
#address-cells = <0x01>;
#size-cells = <0x01>;
linux,phandle = <0x89>;
phandle = <0x89>;
io-domains {
compatible = "rockchip,rk3399-pmu-io-voltage-domain";
status = "okay";
pmu1830-supply = <0x39>;
};
reboot-mode {
compatible = "syscon-reboot-mode";
offset = <0x300>;
mode-bootloader = <0x5242c301>;
mode-charge = <0x5242c30b>;
mode-fastboot = <0x5242c309>;
mode-loader = <0x5242c301>;
mode-normal = <0x5242c300>;
mode-recovery = <0x5242c303>;
mode-ums = <0x5242c30c>;
};
pmu-pvtm {
compatible = "rockchip,rk3399-pmu-pvtm";
clocks = <0x31 0x07>;
clock-names = "pmu";
status = "okay";
};
};
spi@ff350000 {
compatible = "rockchip,rk3399-spi\0rockchip,rk3066-spi";
reg = <0x00 0xff350000 0x00 0x1000>;
clocks = <0x31 0x03 0x31 0x1f>;
clock-names = "spiclk\0apb_pclk";
interrupts = <0x00 0x3c 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x78 0x79 0x7a 0x7b>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
serial@ff370000 {
compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart";
reg = <0x00 0xff370000 0x00 0x100>;
clocks = <0x31 0x06 0x31 0x22>;
clock-names = "baudclk\0apb_pclk";
interrupts = <0x00 0x66 0x04 0x00>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
pinctrl-names = "default";
pinctrl-0 = <0x7c>;
status = "okay";
assigned-clocks = <0x08 0xad>;
assigned-clock-parents = <0x08 0x05>;
};
i2c@ff3d0000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff3d0000 0x00 0x1000>;
clocks = <0x31 0x0a 0x31 0x1c>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x38 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x7d>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "okay";
pt7c4563@51 {
compatible = "Diodes,PT7C4563";
reg = <0x51>;
clock-frequency = <0x8000>;
clock-output-names = "xin32k";
irq-status = "okay";
interrupt-parent = <0x7e>;
interrupts = <0x06 0x08>;
pinctrl-names = "default";
pinctrl-0 = <0x7f>;
status = "okay";
};
};
i2c@ff3e0000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff3e0000 0x00 0x1000>;
clocks = <0x31 0x0b 0x31 0x1d>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x3a 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x80>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
phy@e220 {
compatible = "rockchip,rk3399-pcie-phy";
#phy-cells = <0x00>;
rockchip,grf = <0x15>;
clocks = <0x08 0x8a>;
clock-names = "refclk";
resets = <0x08 0x87>;
reset-names = "phy";
status = "okay";
linux,phandle = <0x83>;
phandle = <0x83>;
};
pcie@f8000000 {
compatible = "rockchip,rk3399-pcie";
#address-cells = <0x03>;
#size-cells = <0x02>;
aspm-no-l0s;
clocks = <0x08 0xc5 0x08 0xc4 0x08 0x147 0x08 0xa0>;
clock-names = "aclk\0aclk-perf\0hclk\0pm";
bus-range = <0x00 0x01>;
max-link-speed = <0x01>;
linux,pci-domain = <0x00>;
msi-map = <0x00 0x81 0x00 0x1000>;
interrupts = <0x00 0x31 0x04 0x00 0x00 0x32 0x04 0x00 0x00 0x33 0x04 0x00>;
interrupt-names = "sys\0legacy\0client";
#interrupt-cells = <0x01>;
interrupt-map-mask = <0x00 0x00 0x00 0x07>;
interrupt-map = <0x00 0x00 0x00 0x01 0x82 0x00 0x00 0x00 0x00 0x02 0x82 0x01 0x00 0x00 0x00 0x03 0x82 0x02 0x00 0x00 0x00 0x04 0x82 0x03>;
phys = <0x83>;
phy-names = "pcie-phy";
ranges = <0x82000000 0x00 0xfa000000 0x00 0xfa000000 0x00 0x600000 0x81000000 0x00 0xfa600000 0x00 0xfa600000 0x00 0x100000>;
reg = <0x00 0xf8000000 0x00 0x2000000 0x00 0xfd000000 0x00 0x1000000>;
reg-names = "axi-base\0apb-base";
resets = <0x08 0x82 0x08 0x83 0x08 0x84 0x08 0x85 0x08 0x86 0x08 0x81 0x08 0x80>;
reset-names = "core\0mgmt\0mgmt-sticky\0pipe\0pm\0pclk\0aclk";
status = "okay";
ep-gpios = <0x7e 0x0d 0x00>;
num-lanes = <0x04>;
pinctrl-names = "default";
pinctrl-0 = <0x84>;
interrupt-controller {
interrupt-controller;
#address-cells = <0x00>;
#interrupt-cells = <0x01>;
linux,phandle = <0x82>;
phandle = <0x82>;
};
};
pwm@ff420000 {
compatible = "rockchip,rk3399-pwm\0rockchip,rk3288-pwm";
reg = <0x00 0xff420000 0x00 0x10>;
#pwm-cells = <0x03>;
pinctrl-names = "default";
pinctrl-0 = <0x85>;
clocks = <0x31 0x1e>;
clock-names = "pwm";
status = "disabled";
};
pwm@ff420010 {
compatible = "rockchip,rk3399-pwm\0rockchip,rk3288-pwm";
reg = <0x00 0xff420010 0x00 0x10>;
#pwm-cells = <0x03>;
pinctrl-names = "default";
pinctrl-0 = <0x86>;
clocks = <0x31 0x1e>;
clock-names = "pwm";
status = "disabled";
};
pwm@ff420020 {
compatible = "rockchip,rk3399-pwm\0rockchip,rk3288-pwm";
reg = <0x00 0xff420020 0x00 0x10>;
#pwm-cells = <0x03>;
pinctrl-names = "default";
pinctrl-0 = <0x87>;
clocks = <0x31 0x1e>;
clock-names = "pwm";
status = "okay";
linux,phandle = <0xd1>;
phandle = <0xd1>;
};
pwm@ff420030 {
compatible = "rockchip,rk3399-pwm\0rockchip,rk3288-pwm";
reg = <0x00 0xff420030 0x00 0x10>;
#pwm-cells = <0x03>;
pinctrl-names = "default";
pinctrl-0 = <0x88>;
clocks = <0x31 0x1e>;
clock-names = "pwm";
status = "disabled";
};
dfi@ff630000 {
reg = <0x00 0xff630000 0x00 0x4000>;
compatible = "rockchip,rk3399-dfi";
rockchip,pmu = <0x89>;
clocks = <0x08 0x179>;
clock-names = "pclk_ddr_mon";
status = "disabled";
linux,phandle = <0x8a>;
phandle = <0x8a>;
};
dmc {
compatible = "rockchip,rk3399-dmc";
devfreq-events = <0x8a>;
interrupts = <0x00 0x01 0x04 0x00>;
clocks = <0x08 0xaa>;
clock-names = "dmc_clk";
ddr_timing = <0x8b>;
status = "disabled";
operating-points-v2 = <0x8c>;
};
vpu_service@ff650000 {
compatible = "rockchip,vpu_service";
rockchip,grf = <0x15>;
iommus = <0x8d>;
iommu_enabled = <0x01>;
reg = <0x00 0xff650000 0x00 0x800>;
interrupts = <0x00 0x71 0x04 0x00 0x00 0x72 0x04 0x00>;
interrupt-names = "irq_dec\0irq_enc";
clocks = <0x08 0xeb 0x08 0x1ea>;
clock-names = "aclk_vcodec\0hclk_vcodec";
resets = <0x08 0x53 0x08 0x51>;
reset-names = "video_h\0video_a";
power-domains = <0x1a 0x1f>;
dev_mode = <0x00>;
allocator = <0x01>;
status = "okay";
};
iommu@ff650800 {
compatible = "rockchip,iommu";
reg = <0x00 0xff650800 0x00 0x40>;
interrupts = <0x00 0x73 0x04 0x00>;
interrupt-names = "vpu_mmu";
clocks = <0x08 0xeb 0x08 0x1ea>;
clock-names = "aclk\0hclk";
power-domains = <0x1a 0x1f>;
#iommu-cells = <0x00>;
linux,phandle = <0x8d>;
phandle = <0x8d>;
};
rkvdec@ff660000 {
compatible = "rockchip,rkvdec";
rockchip,grf = <0x15>;
iommus = <0x8e>;
iommu_enabled = <0x01>;
reg = <0x00 0xff660000 0x00 0x400>;
interrupts = <0x00 0x74 0x04 0x00>;
interrupt-names = "irq_dec";
clocks = <0x08 0xed 0x08 0x1ec 0x08 0x9f 0x08 0x9e>;
clock-names = "aclk_vcodec\0hclk_vcodec\0clk_cabac\0clk_core";
resets = <0x08 0x5b 0x08 0x59>;
reset-names = "video_h\0video_a";
power-domains = <0x1a 0x20>;
dev_mode = <0x02>;
allocator = <0x01>;
status = "okay";
};
iommu@ff660480 {
compatible = "rockchip,iommu";
reg = <0x00 0xff660480 0x00 0x40 0x00 0xff6604c0 0x00 0x40>;
interrupts = <0x00 0x75 0x04 0x00>;
interrupt-names = "vdec_mmu";
clocks = <0x08 0xed 0x08 0x1ec>;
clock-names = "aclk\0hclk";
power-domains = <0x1a 0x20>;
#iommu-cells = <0x00>;
linux,phandle = <0x8e>;
phandle = <0x8e>;
};
iep@ff670000 {
compatible = "rockchip,iep";
iommu_enabled = <0x01>;
iommus = <0x8f>;
reg = <0x00 0xff670000 0x00 0x800>;
interrupts = <0x00 0x2a 0x04 0x00>;
clocks = <0x08 0xe1 0x08 0x1dd>;
clock-names = "aclk_iep\0hclk_iep";
power-domains = <0x1a 0x22>;
allocator = <0x01>;
version = <0x02>;
status = "okay";
};
iommu@ff670800 {
compatible = "rockchip,iommu";
reg = <0x00 0xff670800 0x00 0x40>;
interrupts = <0x00 0x2a 0x04 0x00>;
interrupt-names = "iep_mmu";
#iommu-cells = <0x00>;
status = "okay";
linux,phandle = <0x8f>;
phandle = <0x8f>;
};
rga@ff680000 {
compatible = "rockchip,rga2";
reg = <0x00 0xff680000 0x00 0x1000>;
interrupts = <0x00 0x37 0x04 0x00>;
interrupt-names = "rga";
clocks = <0x08 0xdc 0x08 0x1e5 0x08 0x6d>;
clock-names = "aclk_rga\0hclk_rga\0clk_rga";
resets = <0x08 0x6a 0x08 0x67 0x08 0x69>;
reset-names = "core\0axi\0ahb";
power-domains = <0x1a 0x21>;
status = "okay";
dev_mode = <0x01>;
dma-coherent;
};
efuse@ff690000 {
compatible = "rockchip,rk3399-efuse";
reg = <0x00 0xff690000 0x00 0x80>;
#address-cells = <0x01>;
#size-cells = <0x01>;
clocks = <0x08 0x17d>;
clock-names = "pclk_efuse";
id {
reg = <0x07 0x10>;
linux,phandle = <0xc2>;
phandle = <0xc2>;
};
cpul-leakage {
reg = <0x1a 0x01>;
};
cpub-leakage {
reg = <0x17 0x01>;
};
gpu-leakage {
reg = <0x18 0x01>;
};
center-leakage {
reg = <0x19 0x01>;
};
logic-leakage {
reg = <0x1b 0x01>;
};
wafer-info {
reg = <0x1c 0x01>;
};
};
pmu-clock-controller@ff750000 {
compatible = "rockchip,rk3399-pmucru";
reg = <0x00 0xff750000 0x00 0x1000>;
#clock-cells = <0x01>;
#reset-cells = <0x01>;
assigned-clocks = <0x31 0x01>;
assigned-clock-rates = <0x284af100>;
linux,phandle = <0x31>;
phandle = <0x31>;
};
clock-controller@ff760000 {
compatible = "rockchip,rk3399-cru";
reg = <0x00 0xff760000 0x00 0x1000>;
#clock-cells = <0x01>;
#reset-cells = <0x01>;
assigned-clocks = <0x08 0xc0 0x08 0xc2 0x08 0x1c2 0x08 0x4c 0x08 0xf0 0x08 0xcd 0x08 0x1cd 0x08 0x9f 0x08 0x9e 0x08 0xf4 0x08 0xbe 0x08 0xc9 0x08 0x186 0x08 0xd5 0x08 0x88 0x08 0x87 0x08 0x08 0x08 0x09 0x08 0x06 0x08 0xd0 0x08 0x05 0x08 0xc0 0x08 0x1c0 0x08 0x140 0x08 0xc2 0x08 0x1c1 0x08 0x142 0x08 0x1c2 0x08 0x143 0x08 0x41 0x08 0x42 0x08 0x43 0x08 0x44 0x08 0x45 0x08 0x46 0x08 0x47 0x08 0x48 0x08 0x49 0x08 0x4a 0x08 0x4b 0x08 0xfa 0x08 0xe5 0x08 0xe6 0x08 0x6b 0x08 0x6c 0x08 0x16a 0x08 0xde 0x08 0xe3 0x08 0x1cd 0x08 0x85 0x08 0x86 0x08 0x4e 0x08 0xf0 0x08 0xcd 0x08 0xe1 0x08 0xdc 0x08 0x6d 0x08 0xed 0x08 0xeb 0x08 0x178 0x08 0xd5 0x08 0x9f 0x08 0x9e 0x08 0xf4 0x08 0xbe 0x08 0xc9 0x08 0x186 0x08 0x88 0x08 0x87 0x08 0xd9 0x08 0x1d9 0x08 0xdb 0x08 0x1db>;
assigned-clock-rates = <0x47868c0 0x2faf080 0x2faf080 0x2faf080 0x2faf080 0x5f5e100 0x2faf080 0x8f0d180 0x8f0d180 0x8f0d180 0x2faf080 0x8f0d180 0x2faf080 0x5f5e100 0x47868c0 0x47868c0 0x30a32c00 0x30a32c00 0x23c34600 0xbebc200 0x2faf0800 0x8f0d180 0x47868c0 0x23c3460 0x5f5e100 0x5f5e100 0x2faf080 0x5f5e100 0x2faf080 0x5f5e100 0x5f5e100 0x5f5e100 0x5f5e100 0x5f5e100 0x5f5e100 0x2faf080 0x2faf080 0x2faf080 0x2faf080 0x2faf080 0xbebc200 0x17d78400 0x17d78400 0x5f5e100 0x5f5e100 0x5f5e100 0x17d78400 0x17d78400 0xbebc200 0x5f5e100 0xbebc200 0xbebc200 0x5f5e100 0x17d78400 0x17d78400 0x17d78400 0x17d78400 0x11e1a300 0x17d78400 0xbebc200 0x17d78400 0x11e1a300 0x11e1a300 0x11e1a300 0x11e1a300 0x11e1a300 0x5f5e100 0x8f0d180 0x8f0d180 0x17d78400 0x5f5e100 0x17d78400 0x5f5e100>;
linux,phandle = <0x08>;
phandle = <0x08>;
};
syscon@ff770000 {
compatible = "rockchip,rk3399-grf\0syscon\0simple-mfd";
reg = <0x00 0xff770000 0x00 0x10000>;
#address-cells = <0x01>;
#size-cells = <0x01>;
linux,phandle = <0x15>;
phandle = <0x15>;
io-domains {
compatible = "rockchip,rk3399-io-voltage-domain";
status = "okay";
bt656-supply = <0x90>;
audio-supply = <0x90>;
sdmmc-supply = <0x1f>;
gpio1830-supply = <0x91>;
};
phy@f780 {
compatible = "rockchip,rk3399-emmc-phy";
reg = <0xf780 0x24>;
clocks = <0x92>;
clock-names = "emmcclk";
#phy-cells = <0x00>;
status = "okay";
linux,phandle = <0x24>;
phandle = <0x24>;
};
usb2-phy@e450 {
compatible = "rockchip,rk3399-usb2phy";
reg = <0xe450 0x10>;
clocks = <0x08 0x7b>;
clock-names = "phyclk";
#clock-cells = <0x00>;
clock-output-names = "clk_usbphy0_480m";
status = "okay";
otg-vbus-gpios = <0x34 0x16 0x00>;
linux,phandle = <0x27>;
phandle = <0x27>;
otg-port {
#phy-cells = <0x00>;
interrupts = <0x00 0x67 0x04 0x00 0x00 0x68 0x04 0x00 0x00 0x6a 0x04 0x00>;
interrupt-names = "otg-bvalid\0otg-id\0linestate";
status = "okay";
linux,phandle = <0x28>;
phandle = <0x28>;
};
host-port {
#phy-cells = <0x00>;
interrupts = <0x00 0x1b 0x04 0x00>;
interrupt-names = "linestate";
status = "okay";
phy-supply = <0x93>;
linux,phandle = <0x25>;
phandle = <0x25>;
};
};
usb2-phy@e460 {
compatible = "rockchip,rk3399-usb2phy";
reg = <0xe460 0x10>;
clocks = <0x08 0x7c>;
clock-names = "phyclk";
#clock-cells = <0x00>;
clock-output-names = "clk_usbphy1_480m";
status = "okay";
otg-port {
#phy-cells = <0x00>;
interrupts = <0x00 0x6c 0x04 0x00 0x00 0x6d 0x04 0x00 0x00 0x6f 0x04 0x00>;
interrupt-names = "otg-bvalid\0otg-id\0linestate";
status = "okay";
linux,phandle = <0x2a>;
phandle = <0x2a>;
};
host-port {
#phy-cells = <0x00>;
interrupts = <0x00 0x1f 0x04 0x00>;
interrupt-names = "linestate";
status = "okay";
phy-supply = <0x93>;
linux,phandle = <0x26>;
phandle = <0x26>;
};
};
pvtm {
compatible = "rockchip,rk3399-pvtm";
clocks = <0x08 0x73 0x08 0x74 0x08 0x75 0x08 0x76>;
clock-names = "core_l\0core_b\0gpu\0ddr";
status = "okay";
};
};
phy@ff7c0000 {
compatible = "rockchip,rk3399-typec-phy";
reg = <0x00 0xff7c0000 0x00 0x40000>;
rockchip,grf = <0x15>;
#phy-cells = <0x01>;
clocks = <0x08 0x7e 0x08 0x7d>;
clock-names = "tcpdcore\0tcpdphy-ref";
assigned-clocks = <0x08 0x7e>;
assigned-clock-rates = <0x2faf080>;
power-domains = <0x1a 0x08>;
resets = <0x08 0x95 0x08 0x94 0x08 0x14c>;
reset-names = "uphy\0uphy-pipe\0uphy-tcphy";
rockchip,typec-conn-dir = <0xe580 0x00 0x10>;
rockchip,usb3tousb2-en = <0xe580 0x03 0x13>;
rockchip,usb3-host-disable = <0x2434 0x00 0x10>;
rockchip,usb3-host-port = <0x2434 0x0c 0x1c>;
rockchip,external-psm = <0xe588 0x0e 0x1e>;
rockchip,pipe-status = <0xe5c0 0x00 0x00>;
rockchip,uphy-dp-sel = <0x6268 0x13 0x13>;
status = "okay";
extcon = <0x2e>;
dp-port {
#phy-cells = <0x00>;
linux,phandle = <0x2c>;
phandle = <0x2c>;
};
usb3-port {
#phy-cells = <0x00>;
linux,phandle = <0x29>;
phandle = <0x29>;
};
};
phy@ff800000 {
compatible = "rockchip,rk3399-typec-phy";
reg = <0x00 0xff800000 0x00 0x40000>;
rockchip,grf = <0x15>;
#phy-cells = <0x01>;
clocks = <0x08 0x80 0x08 0x7f>;
clock-names = "tcpdcore\0tcpdphy-ref";
assigned-clocks = <0x08 0x80>;
assigned-clock-rates = <0x2faf080>;
power-domains = <0x1a 0x09>;
resets = <0x08 0x9d 0x08 0x9c 0x08 0x14d>;
reset-names = "uphy\0uphy-pipe\0uphy-tcphy";
rockchip,typec-conn-dir = <0xe58c 0x00 0x10>;
rockchip,usb3tousb2-en = <0xe58c 0x03 0x13>;
rockchip,usb3-host-disable = <0x2444 0x00 0x10>;
rockchip,usb3-host-port = <0x2444 0x0c 0x1c>;
rockchip,external-psm = <0xe594 0x0e 0x1e>;
rockchip,pipe-status = <0xe5c0 0x10 0x10>;
rockchip,uphy-dp-sel = <0x6268 0x03 0x13>;
status = "okay";
dp-port {
#phy-cells = <0x00>;
linux,phandle = <0x2d>;
phandle = <0x2d>;
};
usb3-port {
#phy-cells = <0x00>;
linux,phandle = <0x2b>;
phandle = <0x2b>;
};
};
watchdog@ff848000 {
compatible = "snps,dw-wdt";
reg = <0x00 0xff848000 0x00 0x100>;
clocks = <0x08 0x17c>;
interrupts = <0x00 0x78 0x04 0x00>;
};
rktimer@ff850000 {
compatible = "rockchip,rk3399-timer";
reg = <0x00 0xff850000 0x00 0x1000>;
interrupts = <0x00 0x51 0x04 0x00>;
clocks = <0x08 0x168 0x08 0x5a>;
clock-names = "pclk\0timer";
};
spdif@ff870000 {
compatible = "rockchip,rk3399-spdif";
reg = <0x00 0xff870000 0x00 0x1000>;
interrupts = <0x00 0x42 0x04 0x00>;
dmas = <0x94 0x07>;
dma-names = "tx";
clock-names = "mclk\0hclk";
clocks = <0x08 0x55 0x08 0x1d7>;
pinctrl-names = "default";
pinctrl-0 = <0x95>;
power-domains = <0x1a 0x1c>;
status = "okay";
assigned-clocks = <0x08 0xb1>;
assigned-clock-parents = <0x08 0x05>;
#sound-dai-cells = <0x00>;
linux,phandle = <0xd2>;
phandle = <0xd2>;
};
i2s@ff880000 {
compatible = "rockchip,rk3399-i2s\0rockchip,rk3066-i2s";
reg = <0x00 0xff880000 0x00 0x1000>;
rockchip,grf = <0x15>;
interrupts = <0x00 0x27 0x04 0x00>;
dmas = <0x94 0x00 0x94 0x01>;
dma-names = "tx\0rx";
clock-names = "i2s_clk\0i2s_hclk";
clocks = <0x08 0x56 0x08 0x1d4>;
pinctrl-names = "default";
pinctrl-0 = <0x96>;
power-domains = <0x1a 0x1c>;
status = "okay";
assigned-clocks = <0x08 0xae>;
assigned-clock-parents = <0x08 0x05>;
rockchip,i2s-broken-burst-len;
rockchip,playback-channels = <0x08>;
rockchip,capture-channels = <0x08>;
#sound-dai-cells = <0x00>;
};
i2s@ff890000 {
compatible = "rockchip,rk3399-i2s\0rockchip,rk3066-i2s";
reg = <0x00 0xff890000 0x00 0x1000>;
interrupts = <0x00 0x28 0x04 0x00>;
dmas = <0x94 0x02 0x94 0x03>;
dma-names = "tx\0rx";
clock-names = "i2s_clk\0i2s_hclk";
clocks = <0x08 0x57 0x08 0x1d5>;
pinctrl-names = "default";
pinctrl-0 = <0x97>;
power-domains = <0x1a 0x1c>;
status = "disabled";
assigned-clocks = <0x08 0xaf>;
assigned-clock-parents = <0x08 0x05>;
};
i2s@ff8a0000 {
compatible = "rockchip,rk3399-i2s\0rockchip,rk3066-i2s";
reg = <0x00 0xff8a0000 0x00 0x1000>;
interrupts = <0x00 0x29 0x04 0x00>;
dmas = <0x94 0x04 0x94 0x05>;
dma-names = "tx\0rx";
clock-names = "i2s_clk\0i2s_hclk";
clocks = <0x08 0x58 0x08 0x1d6>;
power-domains = <0x1a 0x1c>;
status = "okay";
assigned-clocks = <0x08 0xb0>;
assigned-clock-parents = <0x08 0x05>;
#sound-dai-cells = <0x00>;
linux,phandle = <0xcc>;
phandle = <0xcc>;
};
gpu@ff9a0000 {
compatible = "arm,malit860\0arm,malit86x\0arm,malit8xx\0arm,mali-midgard";
reg = <0x00 0xff9a0000 0x00 0x10000>;
interrupts = <0x00 0x13 0x04 0x00 0x00 0x14 0x04 0x00 0x00 0x15 0x04 0x00>;
interrupt-names = "GPU\0JOB\0MMU";
clocks = <0x08 0xd0>;
clock-names = "clk_mali";
#cooling-cells = <0x02>;
power-domains = <0x1a 0x23>;
power-off-delay-ms = <0xc8>;
status = "okay";
operating-points-v2 = <0x98>;
mali-supply = <0x99>;
linux,phandle = <0x5d>;
phandle = <0x5d>;
power_model {
compatible = "arm,mali-simple-power-model";
voltage = <0x384>;
frequency = <0x1f4>;
static-power = <0x12c>;
dynamic-power = <0x18c>;
ts = <0x7d00 0x125c 0xffffffb0 0x02>;
thermal-zone = "gpu-thermal";
};
};
vop@ff8f0000 {
compatible = "rockchip,rk3399-vop-lit";
reg = <0x00 0xff8f0000 0x00 0x1ffc 0x00 0xff8f2000 0x00 0x400>;
interrupts = <0x00 0x77 0x04 0x00>;
clocks = <0x08 0xdb 0x08 0xb5 0x08 0x1db>;
clock-names = "aclk_vop\0dclk_vop\0hclk_vop";
resets = <0x08 0x113 0x08 0x117 0x08 0x119>;
reset-names = "axi\0ahb\0dclk";
power-domains = <0x1a 0x12>;
iommus = <0x9a>;
status = "okay";
assigned-clocks = <0x08 0xb7>;
assigned-clock-parents = <0x08 0x04>;
port {
#address-cells = <0x01>;
#size-cells = <0x00>;
linux,phandle = <0xaf>;
phandle = <0xaf>;
endpoint@0 {
reg = <0x00>;
remote-endpoint = <0x9b>;
linux,phandle = <0xaa>;
phandle = <0xaa>;
};
endpoint@1 {
reg = <0x01>;
remote-endpoint = <0x9c>;
linux,phandle = <0xad>;
phandle = <0xad>;
};
endpoint@2 {
reg = <0x02>;
remote-endpoint = <0x9d>;
linux,phandle = <0xa8>;
phandle = <0xa8>;
};
endpoint@3 {
reg = <0x03>;
remote-endpoint = <0x9e>;
linux,phandle = <0x30>;
phandle = <0x30>;
};
};
};
voppwm@ff8f01a0 {
compatible = "rockchip,vop-pwm";
reg = <0x00 0xff8f01a0 0x00 0x10>;
#pwm-cells = <0x03>;
pinctrl-names = "default";
pinctrl-0 = <0x9f>;
clocks = <0x08 0x6c>;
clock-names = "pwm";
status = "disabled";
};
iommu@ff8f3f00 {
compatible = "rockchip,iommu";
reg = <0x00 0xff8f3f00 0x00 0x100>;
interrupts = <0x00 0x77 0x04 0x00>;
interrupt-names = "vopl_mmu";
clocks = <0x08 0xdb 0x08 0x1db>;
clock-names = "aclk\0hclk";
power-domains = <0x1a 0x12>;
#iommu-cells = <0x00>;
status = "okay";
linux,phandle = <0x9a>;
phandle = <0x9a>;
};
vop@ff900000 {
compatible = "rockchip,rk3399-vop-big";
reg = <0x00 0xff900000 0x00 0x1ffc 0x00 0xff902000 0x00 0x1000>;
interrupts = <0x00 0x76 0x04 0x00>;
clocks = <0x08 0xd9 0x08 0xb4 0x08 0x1d9>;
clock-names = "aclk_vop\0dclk_vop\0hclk_vop";
resets = <0x08 0x112 0x08 0x116 0x08 0x118>;
reset-names = "axi\0ahb\0dclk";
power-domains = <0x1a 0x11>;
iommus = <0xa0>;
status = "okay";
assigned-clocks = <0x08 0xb6>;
assigned-clock-parents = <0x08 0x07>;
port {
#address-cells = <0x01>;
#size-cells = <0x00>;
linux,phandle = <0xae>;
phandle = <0xae>;
endpoint@0 {
reg = <0x00>;
remote-endpoint = <0xa1>;
linux,phandle = <0xac>;
phandle = <0xac>;
};
endpoint@1 {
reg = <0x01>;
remote-endpoint = <0xa2>;
linux,phandle = <0xa9>;
phandle = <0xa9>;
};
endpoint@2 {
reg = <0x02>;
remote-endpoint = <0xa3>;
linux,phandle = <0xa7>;
phandle = <0xa7>;
};
endpoint@3 {
reg = <0x03>;
remote-endpoint = <0xa4>;
linux,phandle = <0x2f>;
phandle = <0x2f>;
};
};
};
voppwm@ff9001a0 {
compatible = "rockchip,vop-pwm";
reg = <0x00 0xff9001a0 0x00 0x10>;
#pwm-cells = <0x03>;
pinctrl-names = "default";
pinctrl-0 = <0xa5>;
clocks = <0x08 0x6b>;
clock-names = "pwm";
status = "disabled";
};
iommu@ff903f00 {
compatible = "rockchip,iommu";
reg = <0x00 0xff903f00 0x00 0x100>;
interrupts = <0x00 0x76 0x04 0x00>;
interrupt-names = "vopb_mmu";
clocks = <0x08 0xd9 0x08 0x1d9>;
clock-names = "aclk\0hclk";
power-domains = <0x1a 0x11>;
#iommu-cells = <0x00>;
status = "okay";
linux,phandle = <0xa0>;
phandle = <0xa0>;
};
iommu@ff914000 {
compatible = "rockchip,iommu";
reg = <0x00 0xff914000 0x00 0x100 0x00 0xff915000 0x00 0x100>;
interrupts = <0x00 0x2b 0x04 0x00>;
interrupt-names = "isp0_mmu";
#iommu-cells = <0x00>;
clocks = <0x08 0xe7 0x08 0x1e1>;
clock-names = "aclk\0hclk";
power-domains = <0x1a 0x13>;
rk_iommu,disable_reset_quirk;
status = "disabled";
linux,phandle = <0xca>;
phandle = <0xca>;
};
iommu@ff924000 {
compatible = "rockchip,iommu";
reg = <0x00 0xff924000 0x00 0x100 0x00 0xff925000 0x00 0x100>;
interrupts = <0x00 0x2c 0x04 0x00>;
interrupt-names = "isp1_mmu";
#iommu-cells = <0x00>;
clocks = <0x08 0xe8 0x08 0x1e2>;
clock-names = "aclk\0hclk";
power-domains = <0x1a 0x14>;
rk_iommu,disable_reset_quirk;
status = "disabled";
linux,phandle = <0xcb>;
phandle = <0xcb>;
};
hdmi@ff940000 {
compatible = "rockchip,rk3399-dw-hdmi";
reg = <0x00 0xff940000 0x00 0x20000>;
reg-io-width = <0x04>;
rockchip,grf = <0x15>;
pinctrl-names = "default";
pinctrl-0 = <0xa6>;
power-domains = <0x1a 0x15>;
interrupts = <0x00 0x17 0x04 0x00>;
clocks = <0x08 0x174 0x08 0x71 0x08 0x07 0x08 0x16f>;
clock-names = "iahb\0isfr\0vpll\0grf";
status = "okay";
#address-cells = <0x01>;
#size-cells = <0x00>;
#sound-dai-cells = <0x00>;
ddc-i2c-scl-high-time-ns = <0x2599>;
ddc-i2c-scl-low-time-ns = <0x2710>;
rockchip,phy-table = <0x46cf710 0x8009 0x04 0x272 0x9d5b340 0x802b 0x04 0x209 0x11b3dc40 0x802d 0x05 0xed 0x2367b880 0x8029 0x00 0x2d 0x00 0x00 0x00 0x00>;
rockchip,hdmi_video_source = <0x00>;
linux,phandle = <0xcd>;
phandle = <0xcd>;
ports {
port {
#address-cells = <0x01>;
#size-cells = <0x00>;
endpoint@0 {
reg = <0x00>;
remote-endpoint = <0xa7>;
linux,phandle = <0xa3>;
phandle = <0xa3>;
};
endpoint@1 {
reg = <0x01>;
remote-endpoint = <0xa8>;
status = "disabled";
linux,phandle = <0x9d>;
phandle = <0x9d>;
};
};
};
};
hdmihdcp2@ff988000 {
compatible = "rockchip,rk3399-hdmi-hdcp2";
reg = <0x00 0xff988000 0x00 0x2000>;
interrupts = <0x00 0x16 0x04>;
clocks = <0x08 0xe0 0x08 0x176 0x08 0x1e9>;
clock-names = "aclk_hdcp2\0pclk_hdcp2\0hdcp2_clk_hdmi";
status = "okay";
};
mipi@ff960000 {
compatible = "rockchip,rk3399-mipi-dsi\0snps,dw-mipi-dsi";
reg = <0x00 0xff960000 0x00 0x8000>;
interrupts = <0x00 0x2d 0x04 0x00>;
clocks = <0x08 0x77 0x08 0x170 0x08 0xa3>;
clock-names = "ref\0pclk\0phy_cfg";
power-domains = <0x1a 0x0f>;
rockchip,grf = <0x15>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
ports {
#address-cells = <0x01>;
#size-cells = <0x00>;
reg = <0x01>;
port {
#address-cells = <0x01>;
#size-cells = <0x00>;
endpoint@0 {
reg = <0x00>;
remote-endpoint = <0xa9>;
linux,phandle = <0xa2>;
phandle = <0xa2>;
};
endpoint@1 {
reg = <0x01>;
remote-endpoint = <0xaa>;
linux,phandle = <0x9b>;
phandle = <0x9b>;
};
};
};
};
edp@ff970000 {
compatible = "rockchip,rk3399-edp";
reg = <0x00 0xff970000 0x00 0x8000>;
interrupts = <0x00 0x0a 0x04 0x00>;
clocks = <0x08 0x16a 0x08 0x16c>;
clock-names = "dp\0pclk";
power-domains = <0x1a 0x19>;
resets = <0x08 0x11d>;
reset-names = "dp";
rockchip,grf = <0x15>;
status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <0xab>;
ports {
#address-cells = <0x01>;
#size-cells = <0x00>;
port@0 {
reg = <0x00>;
#address-cells = <0x01>;
#size-cells = <0x00>;
endpoint@0 {
reg = <0x00>;
remote-endpoint = <0xac>;
linux,phandle = <0xa1>;
phandle = <0xa1>;
};
endpoint@1 {
reg = <0x01>;
remote-endpoint = <0xad>;
linux,phandle = <0x9c>;
phandle = <0x9c>;
};
};
};
};
display-subsystem {
compatible = "rockchip,display-subsystem";
ports = <0xae 0xaf>;
status = "okay";
memory-region = <0xb0>;
secure-memory-region = <0xb1>;
route {
route-hdmi {
status = "okay";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "fullscreen";
charge_logo,mode = "center";
connect = <0xa7>;
};
route-mipi {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "fullscreen";
charge_logo,mode = "center";
connect = <0xa9>;
};
route-edp {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "fullscreen";
charge_logo,mode = "center";
connect = <0xac>;
};
};
};
pinctrl {
compatible = "rockchip,rk3399-pinctrl";
rockchip,grf = <0x15>;
rockchip,pmu = <0x89>;
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
pinctrl-names = "default\0sleep";
pinctrl-0 = <0xb2 0xb3 0xb4>;
pinctrl-1 = <0xb5 0xb6>;
gpio0@ff720000 {
compatible = "rockchip,gpio-bank";
reg = <0x00 0xff720000 0x00 0x100>;
clocks = <0x31 0x17>;
interrupts = <0x00 0x0e 0x04 0x00>;
gpio-controller;
#gpio-cells = <0x02>;
interrupt-controller;
#interrupt-cells = <0x02>;
linux,phandle = <0x7e>;
phandle = <0x7e>;
};
gpio1@ff730000 {
compatible = "rockchip,gpio-bank";
reg = <0x00 0xff730000 0x00 0x100>;
clocks = <0x31 0x18>;
interrupts = <0x00 0x0f 0x04 0x00>;
gpio-controller;
#gpio-cells = <0x02>;
interrupt-controller;
#interrupt-cells = <0x02>;
linux,phandle = <0x34>;
phandle = <0x34>;
};
gpio2@ff780000 {
compatible = "rockchip,gpio-bank";
reg = <0x00 0xff780000 0x00 0x100>;
clocks = <0x08 0x150>;
interrupts = <0x00 0x10 0x04 0x00>;
gpio-controller;
#gpio-cells = <0x02>;
interrupt-controller;
#interrupt-cells = <0x02>;
};
gpio3@ff788000 {
compatible = "rockchip,gpio-bank";
reg = <0x00 0xff788000 0x00 0x100>;
clocks = <0x08 0x151>;
interrupts = <0x00 0x11 0x04 0x00>;
gpio-controller;
#gpio-cells = <0x02>;
interrupt-controller;
#interrupt-cells = <0x02>;
linux,phandle = <0x17>;
phandle = <0x17>;
};
gpio4@ff790000 {
compatible = "rockchip,gpio-bank";
reg = <0x00 0xff790000 0x00 0x100>;
clocks = <0x08 0x152>;
interrupts = <0x00 0x12 0x04 0x00>;
gpio-controller;
#gpio-cells = <0x02>;
interrupt-controller;
#interrupt-cells = <0x02>;
linux,phandle = <0xd8>;
phandle = <0xd8>;
};
pcfg-pull-up {
bias-pull-up;
linux,phandle = <0xb7>;
phandle = <0xb7>;
};
pcfg-pull-down {
bias-pull-down;
linux,phandle = <0xc1>;
phandle = <0xc1>;
};
pcfg-pull-none {
bias-disable;
linux,phandle = <0xb9>;
phandle = <0xb9>;
};
pcfg-pull-up-20ma {
bias-pull-up;
drive-strength = <0x14>;
linux,phandle = <0xbc>;
phandle = <0xbc>;
};
pcfg-pull-none-20ma {
bias-disable;
drive-strength = <0x14>;
linux,phandle = <0xbd>;
phandle = <0xbd>;
};
pcfg-pull-none-18ma {
bias-disable;
drive-strength = <0x12>;
linux,phandle = <0xbf>;
phandle = <0xbf>;
};
pcfg-pull-none-12ma {
bias-disable;
drive-strength = <0x0c>;
linux,phandle = <0xbb>;
phandle = <0xbb>;
};
pcfg-pull-up-8ma {
bias-pull-up;
drive-strength = <0x08>;
linux,phandle = <0xbe>;
phandle = <0xbe>;
};
pcfg-pull-down-4ma {
bias-pull-down;
drive-strength = <0x04>;
};
pcfg-pull-up-2ma {
bias-pull-up;
drive-strength = <0x02>;
};
pcfg-pull-down-12ma {
bias-pull-down;
drive-strength = <0x0c>;
};
pcfg-pull-none-13ma {
bias-disable;
drive-strength = <0x0d>;
linux,phandle = <0xb8>;
phandle = <0xb8>;
};
pcfg-output-high {
output-high;
linux,phandle = <0xc0>;
phandle = <0xc0>;
};
pcfg-output-low {
output-low;
linux,phandle = <0xba>;
phandle = <0xba>;
};
pcfg-input {
input-enable;
};
emmc {
emmc-pwr {
rockchip,pins = <0x00 0x05 0x01 0xb7>;
};
};
gmac {
rgmii-pins {
rockchip,pins = <0x03 0x11 0x01 0xb8 0x03 0x0e 0x01 0xb9 0x03 0x0d 0x01 0xb9 0x03 0x0c 0x01 0xb8 0x03 0x0b 0x01 0xb9 0x03 0x09 0x01 0xb9 0x03 0x08 0x01 0xb9 0x03 0x07 0x01 0xb9 0x03 0x06 0x01 0xb9 0x03 0x05 0x01 0xb8 0x03 0x04 0x01 0xb8 0x03 0x03 0x01 0xb9 0x03 0x02 0x01 0xb9 0x03 0x01 0x01 0xb8 0x03 0x00 0x01 0xb8>;
linux,phandle = <0x19>;
phandle = <0x19>;
};
rmii-pins {
rockchip,pins = <0x03 0x0d 0x01 0xb9 0x03 0x0c 0x01 0xb8 0x03 0x0b 0x01 0xb9 0x03 0x0a 0x01 0xb9 0x03 0x09 0x01 0xb9 0x03 0x08 0x01 0xb9 0x03 0x07 0x01 0xb9 0x03 0x06 0x01 0xb9 0x03 0x05 0x01 0xb8 0x03 0x04 0x01 0xb8>;
};
rgmii-sleep-pins {
rockchip,pins = <0x03 0x0f 0x00 0xba>;
};
};
i2c0 {
i2c0-xfer {
rockchip,pins = <0x01 0x0f 0x02 0xb9 0x01 0x10 0x02 0xb9>;
linux,phandle = <0x32>;
phandle = <0x32>;
};
};
i2c1 {
i2c1-xfer {
rockchip,pins = <0x04 0x02 0x01 0xb9 0x04 0x01 0x01 0xb9>;
linux,phandle = <0x3a>;
phandle = <0x3a>;
};
};
i2c2 {
i2c2-xfer {
rockchip,pins = <0x02 0x01 0x02 0xbb 0x02 0x00 0x02 0xbb>;
linux,phandle = <0x3b>;
phandle = <0x3b>;
};
};
i2c3 {
i2c3-xfer {
rockchip,pins = <0x04 0x11 0x01 0xb9 0x04 0x10 0x01 0xb9>;
linux,phandle = <0x3c>;
phandle = <0x3c>;
};
i2c3_gpio {
rockchip,pins = <0x04 0x11 0x00 0xb9 0x04 0x10 0x00 0xb9>;
};
};
i2c4 {
i2c4-xfer {
rockchip,pins = <0x01 0x0c 0x01 0xb9 0x01 0x0b 0x01 0xb9>;
linux,phandle = <0x7d>;
phandle = <0x7d>;
};
};
i2c5 {
i2c5-xfer {
rockchip,pins = <0x03 0x0b 0x02 0xb9 0x03 0x0a 0x02 0xb9>;
linux,phandle = <0x3d>;
phandle = <0x3d>;
};
};
i2c6 {
i2c6-xfer {
rockchip,pins = <0x02 0x0a 0x02 0xb9 0x02 0x09 0x02 0xb9>;
linux,phandle = <0x3e>;
phandle = <0x3e>;
};
};
i2c7 {
i2c7-xfer {
rockchip,pins = <0x02 0x08 0x02 0xb9 0x02 0x07 0x02 0xb9>;
linux,phandle = <0x3f>;
phandle = <0x3f>;
};
};
i2c8 {
i2c8-xfer {
rockchip,pins = <0x01 0x15 0x01 0xb9 0x01 0x14 0x01 0xb9>;
linux,phandle = <0x80>;
phandle = <0x80>;
};
};
i2s0 {
i2s0-8ch-bus {
rockchip,pins = <0x03 0x18 0x01 0xb9 0x03 0x19 0x01 0xb9 0x03 0x1a 0x01 0xb9 0x03 0x1b 0x01 0xb9 0x03 0x1c 0x01 0xb9 0x03 0x1d 0x01 0xb9 0x03 0x1e 0x01 0xb9 0x03 0x1f 0x01 0xb9 0x04 0x00 0x01 0xb9>;
linux,phandle = <0x96>;
phandle = <0x96>;
};
};
i2s1 {
i2s1-2ch-bus {
rockchip,pins = <0x04 0x03 0x01 0xb9 0x04 0x04 0x01 0xb9 0x04 0x05 0x01 0xb9 0x04 0x06 0x01 0xb9 0x04 0x07 0x01 0xb9>;
linux,phandle = <0x97>;
phandle = <0x97>;
};
};
sdio0 {
sdio0-bus1 {
rockchip,pins = <0x02 0x14 0x01 0xbc>;
};
sdio0-bus4 {
rockchip,pins = <0x02 0x14 0x01 0xbc 0x02 0x15 0x01 0xbc 0x02 0x16 0x01 0xbc 0x02 0x17 0x01 0xbc>;
linux,phandle = <0x1c>;
phandle = <0x1c>;
};
sdio0-cmd {
rockchip,pins = <0x02 0x18 0x01 0xbc>;
linux,phandle = <0x1d>;
phandle = <0x1d>;
};
sdio0-clk {
rockchip,pins = <0x02 0x19 0x01 0xbd>;
linux,phandle = <0x1e>;
phandle = <0x1e>;
};
sdio0-cd {
rockchip,pins = <0x02 0x1a 0x01 0xb7>;
};
sdio0-pwr {
rockchip,pins = <0x02 0x1b 0x01 0xb7>;
};
sdio0-bkpwr {
rockchip,pins = <0x02 0x1c 0x01 0xb7>;
};
sdio0-wp {
rockchip,pins = <0x00 0x03 0x01 0xb7>;
};
sdio0-int {
rockchip,pins = <0x00 0x04 0x01 0xb7>;
};
};
sdmmc {
sdmmc-bus1 {
rockchip,pins = <0x04 0x08 0x01 0xbe>;
};
sdmmc-bus4 {
rockchip,pins = <0x04 0x08 0x01 0xbe 0x04 0x09 0x01 0xbe 0x04 0x0a 0x01 0xbe 0x04 0x0b 0x01 0xbe>;
linux,phandle = <0x23>;
phandle = <0x23>;
};
sdmmc-clk {
rockchip,pins = <0x04 0x0c 0x01 0xbf>;
linux,phandle = <0x20>;
phandle = <0x20>;
};
sdmmc-cmd {
rockchip,pins = <0x04 0x0d 0x01 0xbe>;
linux,phandle = <0x21>;
phandle = <0x21>;
};
sdmcc-cd {
rockchip,pins = <0x00 0x07 0x01 0xb7>;
linux,phandle = <0x22>;
phandle = <0x22>;
};
sdmmc-wp {
rockchip,pins = <0x00 0x08 0x01 0xb7>;
};
sdmmc-en {
rockchip,pins = <0x00 0x01 0x01 0xc0>;
linux,phandle = <0xb3>;
phandle = <0xb3>;
};
sdmmc-sleep {
rockchip,pins = <0x00 0x01 0x01 0xba>;
linux,phandle = <0xb5>;
phandle = <0xb5>;
};
};
spdif {
spdif-bus {
rockchip,pins = <0x04 0x15 0x01 0xb9>;
};
spdif-bus-1 {
rockchip,pins = <0x03 0x10 0x03 0xb9>;
linux,phandle = <0x95>;
phandle = <0x95>;
};
};
spi0 {
spi0-clk {
rockchip,pins = <0x03 0x06 0x02 0xb7>;
linux,phandle = <0x47>;
phandle = <0x47>;
};
spi0-cs0 {
rockchip,pins = <0x03 0x07 0x02 0xb7>;
linux,phandle = <0x4a>;
phandle = <0x4a>;
};
spi0-cs1 {
rockchip,pins = <0x03 0x08 0x02 0xb7>;
};
spi0-tx {
rockchip,pins = <0x03 0x05 0x02 0xb7>;
linux,phandle = <0x48>;
phandle = <0x48>;
};
spi0-rx {
rockchip,pins = <0x03 0x04 0x02 0xb7>;
linux,phandle = <0x49>;
phandle = <0x49>;
};
};
spi1 {
spi1-clk {
rockchip,pins = <0x01 0x09 0x02 0xb7>;
linux,phandle = <0x4b>;
phandle = <0x4b>;
};
spi1-cs0 {
rockchip,pins = <0x01 0x0a 0x02 0xb7>;
linux,phandle = <0x4e>;
phandle = <0x4e>;
};
spi1-rx {
rockchip,pins = <0x01 0x07 0x02 0xb7>;
linux,phandle = <0x4d>;
phandle = <0x4d>;
};
spi1-tx {
rockchip,pins = <0x01 0x08 0x02 0xb7>;
linux,phandle = <0x4c>;
phandle = <0x4c>;
};
};
spi2 {
spi2-clk {
rockchip,pins = <0x02 0x0b 0x01 0xb7>;
linux,phandle = <0x4f>;
phandle = <0x4f>;
};
spi2-cs0 {
rockchip,pins = <0x02 0x0c 0x01 0xb7>;
linux,phandle = <0x52>;
phandle = <0x52>;
};
spi2-rx {
rockchip,pins = <0x02 0x09 0x01 0xb7>;
linux,phandle = <0x51>;
phandle = <0x51>;
};
spi2-tx {
rockchip,pins = <0x02 0x0a 0x01 0xb7>;
linux,phandle = <0x50>;
phandle = <0x50>;
};
};
spi3 {
spi3-clk {
rockchip,pins = <0x01 0x11 0x01 0xb7>;
linux,phandle = <0x78>;
phandle = <0x78>;
};
spi3-cs0 {
rockchip,pins = <0x01 0x12 0x01 0xb7>;
linux,phandle = <0x7b>;
phandle = <0x7b>;
};
spi3-rx {
rockchip,pins = <0x01 0x0f 0x01 0xb7>;
linux,phandle = <0x7a>;
phandle = <0x7a>;
};
spi3-tx {
rockchip,pins = <0x01 0x10 0x01 0xb7>;
linux,phandle = <0x79>;
phandle = <0x79>;
};
};
spi4 {
spi4-clk {
rockchip,pins = <0x03 0x02 0x02 0xb7>;
linux,phandle = <0x53>;
phandle = <0x53>;
};
spi4-cs0 {
rockchip,pins = <0x03 0x03 0x02 0xb7>;
linux,phandle = <0x56>;
phandle = <0x56>;
};
spi4-rx {
rockchip,pins = <0x03 0x00 0x02 0xb7>;
linux,phandle = <0x55>;
phandle = <0x55>;
};
spi4-tx {
rockchip,pins = <0x03 0x01 0x02 0xb7>;
linux,phandle = <0x54>;
phandle = <0x54>;
};
};
spi5 {
spi5-clk {
rockchip,pins = <0x02 0x16 0x02 0xb7>;
linux,phandle = <0x57>;
phandle = <0x57>;
};
spi5-cs0 {
rockchip,pins = <0x02 0x17 0x02 0xb7>;
linux,phandle = <0x5a>;
phandle = <0x5a>;
};
spi5-rx {
rockchip,pins = <0x02 0x14 0x02 0xb7>;
linux,phandle = <0x59>;
phandle = <0x59>;
};
spi5-tx {
rockchip,pins = <0x02 0x15 0x02 0xb7>;
linux,phandle = <0x58>;
phandle = <0x58>;
};
};
tsadc {
otp-gpio {
rockchip,pins = <0x01 0x06 0x00 0xb9>;
linux,phandle = <0x5e>;
phandle = <0x5e>;
};
otp-out {
rockchip,pins = <0x01 0x06 0x01 0xb9>;
linux,phandle = <0x5f>;
phandle = <0x5f>;
};
};
uart0 {
uart0-xfer {
rockchip,pins = <0x02 0x10 0x01 0xb7 0x02 0x11 0x01 0xb9>;
linux,phandle = <0x40>;
phandle = <0x40>;
};
uart0-cts {
rockchip,pins = <0x02 0x12 0x01 0xb9>;
linux,phandle = <0x41>;
phandle = <0x41>;
};
uart0-rts {
rockchip,pins = <0x02 0x13 0x01 0xb9>;
linux,phandle = <0xd6>;
phandle = <0xd6>;
};
};
uart1 {
uart1-xfer {
rockchip,pins = <0x03 0x0c 0x02 0xb7 0x03 0x0d 0x02 0xb9>;
linux,phandle = <0x42>;
phandle = <0x42>;
};
};
uart2a {
uart2a-xfer {
rockchip,pins = <0x04 0x08 0x02 0xb7 0x04 0x09 0x02 0xb9>;
};
};
uart2b {
uart2b-xfer {
rockchip,pins = <0x04 0x10 0x02 0xb7 0x04 0x11 0x02 0xb9>;
};
};
uart2c {
uart2c-xfer {
rockchip,pins = <0x04 0x13 0x01 0xb7 0x04 0x14 0x01 0xb9>;
linux,phandle = <0x43>;
phandle = <0x43>;
};
};
uart3 {
uart3-xfer {
rockchip,pins = <0x03 0x0e 0x02 0xb7 0x03 0x0f 0x02 0xb9>;
linux,phandle = <0x44>;
phandle = <0x44>;
};
uart3-cts {
rockchip,pins = <0x03 0x12 0x02 0xb9>;
linux,phandle = <0x45>;
phandle = <0x45>;
};
uart3-rts {
rockchip,pins = <0x03 0x13 0x02 0xb9>;
linux,phandle = <0x46>;
phandle = <0x46>;
};
};
uart4 {
uart4-xfer {
rockchip,pins = <0x01 0x07 0x01 0xb7 0x01 0x08 0x01 0xb9>;
linux,phandle = <0x7c>;
phandle = <0x7c>;
};
};
uarthdcp {
uarthdcp-xfer {
rockchip,pins = <0x04 0x15 0x02 0xb7 0x04 0x16 0x02 0xb9>;
};
};
pwm0 {
pwm0-pin {
rockchip,pins = <0x04 0x12 0x01 0xb9>;
linux,phandle = <0x85>;
phandle = <0x85>;
};
vop0-pwm-pin {
rockchip,pins = <0x04 0x12 0x02 0xb9>;
linux,phandle = <0xa5>;
phandle = <0xa5>;
};
};
pwm1 {
pwm1-pin {
rockchip,pins = <0x04 0x16 0x01 0xb9>;
linux,phandle = <0x86>;
phandle = <0x86>;
};
vop1-pwm-pin {
rockchip,pins = <0x04 0x12 0x03 0xb9>;
linux,phandle = <0x9f>;
phandle = <0x9f>;
};
};
pwm2 {
pwm2-pin {
rockchip,pins = <0x01 0x13 0x01 0xb9>;
linux,phandle = <0x87>;
phandle = <0x87>;
};
};
pwm3a {
pwm3a-pin {
rockchip,pins = <0x00 0x06 0x01 0xb9>;
linux,phandle = <0x88>;
phandle = <0x88>;
};
};
pwm3b {
pwm3b-pin {
rockchip,pins = <0x01 0x0e 0x01 0xb9>;
};
};
edp {
edp-hpd {
rockchip,pins = <0x04 0x17 0x02 0xb9>;
linux,phandle = <0xab>;
phandle = <0xab>;
};
};
hdmi {
hdmi-i2c-xfer {
rockchip,pins = <0x04 0x11 0x03 0xb9 0x04 0x10 0x03 0xb9>;
linux,phandle = <0xa6>;
phandle = <0xa6>;
};
hdmi-cec {
rockchip,pins = <0x04 0x17 0x01 0xb9>;
};
hdmi-en {
rockchip,pins = <0x01 0x0d 0x00 0xc0 0x04 0x1c 0x00 0xc0>;
linux,phandle = <0xb2>;
phandle = <0xb2>;
};
hdmi-sleep {
rockchip,pins = <0x04 0x1c 0x00 0xba>;
};
};
pcie {
pci-clkreqn {
rockchip,pins = <0x02 0x1a 0x02 0xb9>;
linux,phandle = <0x84>;
phandle = <0x84>;
};
pci-clkreqnb {
rockchip,pins = <0x04 0x18 0x01 0xb9>;
};
pci-clkreqn-cpm {
rockchip,pins = <0x02 0x1a 0x00 0xb9>;
};
pci-clkreqnb-cpm {
rockchip,pins = <0x04 0x18 0x00 0xb9>;
};
};
isp {
cif-clkout {
rockchip,pins = <0x02 0x0b 0x03 0xb9>;
linux,phandle = <0xc5>;
phandle = <0xc5>;
};
isp-dvp-d0d7 {
rockchip,pins = <0x02 0x00 0x03 0xb9 0x02 0x01 0x03 0xb9 0x02 0x02 0x03 0xb9 0x02 0x03 0x03 0xb9 0x02 0x04 0x03 0xb9 0x02 0x05 0x03 0xb9 0x02 0x06 0x03 0xb9 0x02 0x07 0x03 0xb9 0x02 0x08 0x03 0xb9 0x02 0x09 0x03 0xb9 0x02 0x0a 0x03 0xb9>;
linux,phandle = <0xc6>;
phandle = <0xc6>;
};
isp-shutter {
rockchip,pins = <0x01 0x01 0x01 0xb9 0x01 0x00 0x01 0xb9>;
};
isp-flash-trigger {
rockchip,pins = <0x01 0x03 0x01 0xb9>;
linux,phandle = <0xc9>;
phandle = <0xc9>;
};
isp-prelight {
rockchip,pins = <0x01 0x04 0x01 0xb9>;
linux,phandle = <0xc7>;
phandle = <0xc7>;
};
isp_flash_trigger_as_gpio {
rockchip,pins = <0x01 0x03 0x00 0xb9>;
linux,phandle = <0xc8>;
phandle = <0xc8>;
};
};
sdio-pwrseq {
wifi-enable-h {
rockchip,pins = <0x01 0x04 0x00 0xb9>;
linux,phandle = <0xd5>;
phandle = <0xd5>;
};
};
wireless-bluetooth {
uart0-gpios {
rockchip,pins = <0x02 0x13 0x00 0xb9>;
linux,phandle = <0xd7>;
phandle = <0xd7>;
};
};
usb2 {
host-vbus-drv {
rockchip,pins = <0x01 0x03 0x00 0xb9>;
linux,phandle = <0xd0>;
phandle = <0xd0>;
};
};
eth_phy {
eth-phy-pwr {
rockchip,pins = <0x01 0x0d 0x00 0xb9>;
linux,phandle = <0xcf>;
phandle = <0xcf>;
};
};
pmic {
pmic-int-l {
rockchip,pins = <0x01 0x15 0x00 0xb7>;
linux,phandle = <0x37>;
phandle = <0x37>;
};
vsel1-gpio {
rockchip,pins = <0x01 0x11 0x00 0xc1>;
linux,phandle = <0x33>;
phandle = <0x33>;
};
vsel2-gpio {
rockchip,pins = <0x01 0x0e 0x00 0xc1>;
linux,phandle = <0x36>;
phandle = <0x36>;
};
};
am40_gpio {
pwr-en {
rockchip,pins = <0x00 0x0a 0x00 0xc0 0x00 0x0b 0x00 0xc0 0x01 0x04 0x00 0xc0>;
linux,phandle = <0xb4>;
phandle = <0xb4>;
};
pwr-sleep {
rockchip,pins = <0x02 0x1c 0x00 0xba 0x04 0x1d 0x00 0xba>;
linux,phandle = <0xb6>;
phandle = <0xb6>;
};
};
pt7c_irq {
pt7c4563-irq {
rockchip,pins = <0x00 0x06 0x00 0xb7>;
linux,phandle = <0x7f>;
phandle = <0x7f>;
};
};
};
rockchip-suspend {
compatible = "rockchip,pm-rk3399";
status = "okay";
rockchip,sleep-debug-en = <0x01>;
rockchip,virtual-poweroff = <0x00>;
rockchip,sleep-mode-config = <0xce>;
rockchip,wakeup-config = <0x84>;
rockchip,pwm-regulator-config = <0x04>;
rockchip,power-ctrl = <0x34 0x11 0x00 0x34 0x0e 0x00>;
};
chosen {
bootargs = "earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1";
};
cpuinfo {
compatible = "rockchip,cpuinfo";
nvmem-cells = <0xc2>;
nvmem-cell-names = "id";
};
ramoops_mem {
reg = <0x00 0x110000 0x00 0xf0000>;
reg-names = "ramoops_mem";
linux,phandle = <0xc3>;
phandle = <0xc3>;
};
ramoops {
compatible = "ramoops";
record-size = <0x00 0x20000>;
console-size = <0x00 0x80000>;
ftrace-size = <0x00 0x00>;
pmsg-size = <0x00 0x50000>;
memory-region = <0xc3>;
};
fiq-debugger {
compatible = "rockchip,fiq-debugger";
rockchip,serial-id = <0x02>;
rockchip,signal-irq = <0xb6>;
rockchip,wake-irq = <0x00>;
rockchip,irq-mode-enable = <0x01>;
rockchip,baudrate = <0x16e360>;
pinctrl-names = "default";
pinctrl-0 = <0x43>;
};
reserved-memory {
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
drm-logo@00000000 {
compatible = "rockchip,drm-logo";
reg = <0x00 0x00 0x00 0x00>;
linux,phandle = <0xb0>;
phandle = <0xb0>;
};
secure-memory@00000000 {
compatible = "rockchip,secure-memory";
reg = <0x00 0x00 0x00 0x00>;
linux,phandle = <0xb1>;
phandle = <0xb1>;
};
};
rockchip-key {
compatible = "rockchip,key";
status = "okay";
io-channels = <0xc4 0x01>;
vol-up-key {
linux,code = <0x73>;
label = "volume up";
rockchip,adc_value = <0x01>;
};
vol-down-key {
linux,code = <0x72>;
label = "volume down";
rockchip,adc_value = <0xaa>;
};
power-key {
gpios = <0x7e 0x05 0x01>;
linux,code = <0x74>;
label = "power";
gpio-key,wakeup;
};
menu-key {
linux,code = <0x3b>;
label = "menu";
rockchip,adc_value = <0x2ea>;
};
home-key {
linux,code = <0x66>;
label = "home";
rockchip,adc_value = <0x163>;
};
back-key {
linux,code = <0x9e>;
label = "back";
rockchip,adc_value = <0x230>;
};
camera-key {
linux,code = <0xd4>;
label = "camera";
rockchip,adc_value = <0x1c2>;
};
};
isp@ff910000 {
compatible = "rockchip,rk3399-isp\0rockchip,isp";
reg = <0x00 0xff910000 0x00 0x4000>;
interrupts = <0x00 0x2b 0x04 0x00>;
clocks = <0x08 0x89 0x08 0x89 0x08 0xa4 0x08 0x77 0x08 0xe7 0x08 0xe9 0x08 0x1e1 0x08 0x1e3 0x08 0x6e 0x08 0xa5>;
clock-names = "clk_cif_out\0clk_cif_pll\0pclk_dphytxrx\0pclk_dphy_ref\0aclk_isp0_noc\0aclk_isp0_wrapper\0hclk_isp0_noc\0hclk_isp0_wrapper\0clk_isp0\0pclk_dphyrx";
pinctrl-names = "cif_clkout\0isp_dvp8bit0\0isp_mipi_fl\0isp_mipi_fl_prefl\0isp_flash_as_gpio\0isp_flash_as_trigger_out";
pinctrl-0 = <0xc5>;
pinctrl-1 = <0xc6>;
pinctrl-2 = <0xc5>;
pinctrl-3 = <0xc7>;
pinctrl-4 = <0xc8>;
pinctrl-5 = <0xc9>;
rockchip,isp,mipiphy = <0x02>;
rockchip,isp,cifphy = <0x01>;
rockchip,isp,dsiphy,reg = <0xff968000 0x8000>;
rockchip,grf = <0x15>;
rockchip,cru = <0x08>;
rockchip,gpios = <0x34 0x03 0x00>;
rockchip,isp,iommu-enable = <0x01>;
power-domains = <0x1a 0x13>;
iommus = <0xca>;
status = "disabled";
};
isp@ff920000 {
compatible = "rockchip,rk3399-isp\0rockchip,isp";
reg = <0x00 0xff920000 0x00 0x4000>;
interrupts = <0x00 0x2c 0x04 0x00>;
clocks = <0x08 0xe8 0x08 0xea 0x08 0x1e2 0x08 0x1e4 0x08 0x6f 0x08 0x89 0x08 0x89 0x08 0xa4 0x08 0x77 0x08 0x17b 0x08 0xa5 0x08 0x171 0x08 0x78>;
clock-names = "aclk_isp1_noc\0aclk_isp1_wrapper\0hclk_isp1_noc\0hclk_isp1_wrapper\0clk_isp1\0clk_cif_out\0clk_cif_pll\0pclk_dphytxrx\0pclk_dphy_ref\0pclk_isp1\0pclk_dphyrx\0pclk_mipi_dsi\0mipi_dphy_cfg";
pinctrl-names = "cif_clkout\0isp_dvp8bit0\0isp_mipi_fl\0isp_mipi_fl_prefl\0isp_flash_as_gpio\0isp_flash_as_trigger_out";
pinctrl-0 = <0xc5>;
pinctrl-1 = <0xc6>;
pinctrl-2 = <0xc5>;
pinctrl-3 = <0xc7>;
pinctrl-4 = <0xc8>;
pinctrl-5 = <0xc9>;
rockchip,isp,mipiphy = <0x02>;
rockchip,isp,cifphy = <0x01>;
rockchip,isp,dsiphy,reg = <0xff968000 0x8000>;
rockchip,grf = <0x15>;
rockchip,cru = <0x08>;
rockchip,gpios = <0x34 0x03 0x00>;
rockchip,isp,iommu-enable = <0x01>;
power-domains = <0x1a 0x14>;
iommus = <0xcb>;
status = "disabled";
};
uboot-charge {
compatible = "rockchip,uboot-charge";
rockchip,uboot-charge-on = <0x01>;
rockchip,android-charge-on = <0x00>;
};
hdmi-dp-sound {
status = "okay";
compatible = "rockchip,rk3399-hdmi-dp";
rockchip,cpu = <0xcc>;
rockchip,codec = <0xcd 0xce>;
};
energy-costs {
rk3399-core-cost0 {
busy-cost-data = <0x6c 0x2e 0x9f 0x43 0xd8 0x5a 0x10b 0x78 0x13e 0x99 0x177 0xc6 0x191 0xde>;
idle-cost-data = <0x06 0x06 0x00 0x00>;
linux,phandle = <0x0c>;
phandle = <0x0c>;
};
rk3399-core-cost1 {
busy-cost-data = <0xd2 0x81 0x134 0xb8 0x1a3 0xf6 0x206 0x14f 0x269 0x1ac 0x2d8 0x23d 0x33b 0x2d4 0x39d 0x384 0x400 0x454>;
idle-cost-data = <0x0f 0x0f 0x00 0x00>;
linux,phandle = <0x10>;
phandle = <0x10>;
};
rk3399-cluster-cost0 {
busy-cost-data = <0x6c 0x2e 0x9f 0x43 0xd8 0x5a 0x10b 0x78 0x13e 0x99 0x177 0xc6 0x191 0xde>;
idle-cost-data = <0x38 0x38 0x38 0x38>;
linux,phandle = <0x0d>;
phandle = <0x0d>;
};
rk3399-cluster-cost1 {
busy-cost-data = <0xd2 0x81 0x134 0xb8 0x1a3 0xf6 0x206 0x14f 0x269 0x1ac 0x2d8 0x23d 0x33b 0x2d4 0x39d 0x384 0x400 0x454>;
idle-cost-data = <0x41 0x41 0x41 0x41>;
linux,phandle = <0x11>;
phandle = <0x11>;
};
};
opp-table0 {
compatible = "operating-points-v2";
opp-shared;
linux,phandle = <0x0b>;
phandle = <0x0b>;
opp-408000000 {
opp-hz = <0x00 0x18519600>;
opp-microvolt = <0xc3500>;
clock-latency-ns = <0x9c40>;
};
opp-600000000 {
opp-hz = <0x00 0x23c34600>;
opp-microvolt = <0xc3500>;
clock-latency-ns = <0x9c40>;
};
opp-816000000 {
opp-hz = <0x00 0x30a32c00>;
opp-microvolt = <0xe1d48>;
clock-latency-ns = <0x9c40>;
opp-suspend;
};
opp-1008000000 {
opp-hz = <0x00 0x3c14dc00>;
opp-microvolt = <0xe1d48>;
clock-latency-ns = <0x9c40>;
};
opp-1200000000 {
opp-hz = <0x00 0x47868c00>;
opp-microvolt = <0xf4240>;
clock-latency-ns = <0x9c40>;
};
opp-1416000000 {
opp-hz = <0x00 0x54667200>;
opp-microvolt = <0x112a88>;
clock-latency-ns = <0x9c40>;
};
};
opp-table1 {
compatible = "operating-points-v2";
opp-shared;
linux,phandle = <0x0f>;
phandle = <0x0f>;
opp-408000000 {
opp-hz = <0x00 0x18519600>;
opp-microvolt = <0xc3500>;
clock-latency-ns = <0x9c40>;
};
opp-600000000 {
opp-hz = <0x00 0x23c34600>;
opp-microvolt = <0xc3500>;
clock-latency-ns = <0x9c40>;
};
opp-816000000 {
opp-hz = <0x00 0x30a32c00>;
opp-microvolt = <0xd59f8>;
clock-latency-ns = <0x9c40>;
opp-suspend;
};
opp-1008000000 {
opp-hz = <0x00 0x3c14dc00>;
opp-microvolt = <0xd59f8>;
clock-latency-ns = <0x9c40>;
};
opp-1200000000 {
opp-hz = <0x00 0x47868c00>;
opp-microvolt = <0xe7ef0>;
clock-latency-ns = <0x9c40>;
};
opp-1416000000 {
opp-hz = <0x00 0x54667200>;
opp-microvolt = <0xfa3e8>;
clock-latency-ns = <0x9c40>;
};
opp-1608000000 {
opp-hz = <0x00 0x5fd82200>;
opp-microvolt = <0x10c8e0>;
clock-latency-ns = <0x9c40>;
};
opp-1800000000 {
opp-hz = <0x00 0x6b49d200>;
opp-microvolt = <0x124f80>;
clock-latency-ns = <0x9c40>;
};
};
opp-table2 {
compatible = "operating-points-v2";
linux,phandle = <0x98>;
phandle = <0x98>;
opp-200000000 {
opp-hz = <0x00 0xbebc200>;
opp-microvolt = <0xc3500>;
};
opp-297000000 {
opp-hz = <0x00 0x11b3dc40>;
opp-microvolt = <0xc3500>;
};
opp-400000000 {
opp-hz = <0x00 0x17d78400>;
opp-microvolt = <0xc96a8>;
};
opp-500000000 {
opp-hz = <0x00 0x1dcd6500>;
opp-microvolt = <0xd59f8>;
};
opp-594000000 {
opp-hz = <0x00 0x2367b880>;
opp-microvolt = <0xe1d48>;
};
opp-800000000 {
opp-hz = <0x00 0x2faf0800>;
opp-microvolt = <0x10c8e0>;
};
};
opp-table3 {
compatible = "operating-points-v2";
linux,phandle = <0x8c>;
phandle = <0x8c>;
opp-200000000 {
opp-hz = <0x00 0xbebc200>;
opp-microvolt = <0xc96a8>;
};
opp-297000000 {
opp-hz = <0x00 0x11b3dc40>;
opp-microvolt = <0xcf850>;
};
opp-400000000 {
opp-hz = <0x00 0x17d78400>;
opp-microvolt = <0xcf850>;
};
opp-594000000 {
opp-hz = <0x00 0x2367b880>;
opp-microvolt = <0xdbba0>;
};
opp-800000000 {
opp-hz = <0x00 0x2faf0800>;
opp-microvolt = <0xdbba0>;
};
};
vcc1v8-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc1v8_s0";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
linux,phandle = <0x90>;
phandle = <0x90>;
};
vcc-sys {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";
regulator-min-microvolt = <0x4c4b40>;
regulator-max-microvolt = <0x4c4b40>;
regulator-always-on;
linux,phandle = <0x35>;
phandle = <0x35>;
};
vcc-phy-regulator {
compatible = "regulator-fixed";
enable-active-high;
regulator-name = "vcc_phy";
gpio = <0x34 0x0d 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0xcf>;
regulator-always-on;
regulator-boot-on;
linux,phandle = <0x16>;
phandle = <0x16>;
};
vcc3v3-sys {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_sys";
regulator-min-microvolt = <0x325aa0>;
regulator-max-microvolt = <0x325aa0>;
regulator-always-on;
vin-supply = <0x35>;
linux,phandle = <0x38>;
phandle = <0x38>;
};
vcc5v0-host-regulator {
compatible = "regulator-fixed";
enable-active-high;
gpio = <0x34 0x03 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0xd0>;
regulator-name = "vcc5v0_host";
regulator-always-on;
linux,phandle = <0x93>;
phandle = <0x93>;
};
vdd-log {
compatible = "pwm-regulator";
pwms = <0xd1 0x00 0x61a8 0x01>;
regulator-name = "vdd_log";
regulator-min-microvolt = <0xc3500>;
regulator-max-microvolt = <0x155cc0>;
regulator-always-on;
regulator-boot-on;
rockchip,pwm_id = <0x02>;
rockchip,pwm_voltage = <0xdbba0>;
vin-supply = <0x35>;
};
external-gmac-clock {
compatible = "fixed-clock";
clock-frequency = <0x7735940>;
clock-output-names = "clkin_gmac";
#clock-cells = <0x00>;
linux,phandle = <0x18>;
phandle = <0x18>;
};
spdif-sound {
status = "okay";
compatible = "simple-audio-card";
simple-audio-card,name = "ROCKCHIP,SPDIF";
simple-audio-card,cpu {
sound-dai = <0xd2>;
};
simple-audio-card,codec {
sound-dai = <0xd3>;
};
};
spdif-out {
status = "okay";
compatible = "linux,spdif-dit";
#sound-dai-cells = <0x00>;
linux,phandle = <0xd3>;
phandle = <0xd3>;
};
sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
clocks = <0xd4 0x01>;
clock-names = "ext_clock";
pinctrl-names = "default";
pinctrl-0 = <0xd5>;
reset-gpios = <0x7e 0x0a 0x01>;
linux,phandle = <0x1b>;
phandle = <0x1b>;
};
wireless-wlan {
compatible = "wlan-platdata";
rockchip,grf = <0x15>;
wifi_chip_type = "ap6354";
sdio_vref = <0x708>;
WIFI,host_wake_irq = <0x7e 0x03 0x00>;
status = "disabled";
};
wireless-bluetooth {
compatible = "bluetooth-platdata";
clocks = <0xd4 0x01>;
clock-names = "ext_clock";
pinctrl-names = "default\0rts_gpio";
pinctrl-0 = <0xd6>;
pinctrl-1 = <0xd7>;
status = "okay";
};
test-power {
status = "okay";
};
power-led {
compatible = "power,am40-led";
power-led-gpios = <0xd8 0x12 0x01>;
};
virtual-pd0 {
compatible = "linux,extcon-pd-virtual";
dp-det-gpios = <0xd8 0x19 0x01>;
hdmi-5v-gpios = <0xd8 0x1c 0x01>;
vpd,init-flip = <0x00>;
vpd,init-ss = <0x00>;
vpd,init-mode = <0x03>;
linux,phandle = <0x2e>;
phandle = <0x2e>;
};
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiayang0521/am40.git
git@gitee.com:xiayang0521/am40.git
xiayang0521
am40
am40
main

搜索帮助