| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056 |
- /*
- * Mediatek's MT6753 SoC device tree source
- *
- * Copyright (c) 2013 MediaTek Co., Ltd.
- * http://www.mediatek.com
- *
- */
- #include <dt-bindings/clock/mt6735-clk.h>
- #include <dt-bindings/interrupt-controller/arm-gic.h>
- #include <dt-bindings/interrupt-controller/irq.h>
- #include "mt6735-pinfunc.h"
- #include <dt-bindings/mmc/mt67xx-msdc.h>
- / {
- model = "MT6753";
- compatible = "mediatek,MT6735";
- interrupt-parent = <&gic>;
- #address-cells = <2>;
- #size-cells = <2>;
- /* chosen */
- chosen {
- bootargs = "console=tty0 console=ttyMT0,921600n1 root=/dev/ram \
- initrd=0x44000000,0x300000 loglevel=8 androidboot.hardware=mt6735";
- };
- /* Do not put any bus before mtk-msdc, because it should be mtk-msdc.0 for partition device node usage */
- /*workaround for .0*/
- mtk-msdc.0 {
- compatible = "simple-bus";
- #address-cells = <1>;
- #size-cells = <1>;
- ranges = <0 0 0 0xffffffff>;
- mmc0: msdc0@11230000{
- compatible = "mediatek,mt6753-mmc";
- reg = <0x11230000 0x10000 /* MSDC0_BASE */
- 0x10000e84 0x2>; /* FPGA PWR_GPIO, PWR_GPIO_EO */
- interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_LOW>;
- status = "disabled";
- };
- mmc1: msdc1@11240000{
- compatible = "mediatek,mt6753-mmc";
- reg = <0x11240000 0x10000 /* MSDC1_BASE */
- 0x10000e84 0x2>; /* FPGA PWR_GPIO, PWR_GPIO_EO */
- interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_LOW>;
- status = "disabled";
- };
- mmc2: msdc2@11250000{
- compatible = "mediatek,mt6735-mmc";
- reg = <0x11250000 0x10000 /* MSDC2_BASE */
- 0x10000e84 0x2>; /* FPGA PWR_GPIO, PWR_GPIO_EO */
- interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_LOW>;
- status = "disabled";
- };
- mmc3: msdc3@11260000{
- compatible = "mediatek,mt6735-mmc";
- reg = <0x11260000 0x10000 /* MSDC2_BASE */
- 0x10000e84 0x2>; /* FPGA PWR_GPIO, PWR_GPIO_EO */
- interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>;
- status = "disabled";
- };
- /* only used for old way of DCT, can be removed in new platform */
- msdc1_ins: default {
- compatible = "mediatek, msdc1_ins-eint";
- };
- };
- psci {
- compatible = "arm,psci";
- method = "smc";
- cpu_suspend = <0x84000001>;
- cpu_off = <0x84000002>;
- cpu_on = <0x84000003>;
- affinity_info = <0x84000004>;
- };
- cpus { #address-cells = <1>;
- #size-cells = <0>;
- cpu0: cpu@000 {
- device_type = "cpu";
- compatible = "arm,cortex-a53";
- reg = <0x000>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x40000200>;
- clock-frequency = <1300000000>;
- };
- cpu1: cpu@001 {
- device_type = "cpu";
- compatible = "arm,cortex-a53";
- reg = <0x001>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x40000200>;
- clock-frequency = <1300000000>;
- };
- cpu2: cpu@002 {
- device_type = "cpu";
- compatible = "arm,cortex-a53";
- reg = <0x002>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x40000200>;
- clock-frequency = <1300000000>;
- };
- cpu3: cpu@003 {
- device_type = "cpu";
- compatible = "arm,cortex-a53";
- reg = <0x003>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x40000200>;
- clock-frequency = <1300000000>;
- };
- cpu4: cpu@100 {
- device_type = "cpu";
- compatible = "arm,cortex-a53";
- reg = <0x100>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x40000200>;
- clock-frequency = <1300000000>;
- };
- cpu5: cpu@101 {
- device_type = "cpu";
- compatible = "arm,cortex-a53";
- reg = <0x101>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x40000200>;
- clock-frequency = <1300000000>;
- };
- cpu6: cpu@102 {
- device_type = "cpu";
- compatible = "arm,cortex-a53";
- reg = <0x102>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x40000200>;
- clock-frequency = <1300000000>;
- };
- cpu7: cpu@103 {
- device_type = "cpu";
- compatible = "arm,cortex-a53";
- reg = <0x103>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x40000200>;
- clock-frequency = <1300000000>;
- };
- cpu-map {
- cluster0 {
- core0 {
- cpu = <&cpu0>;
- };
- core1 {
- cpu = <&cpu1>;
- };
- core2 {
- cpu = <&cpu2>;
- };
- core3 {
- cpu = <&cpu3>;
- };
- };
- cluster1 {
- core0 {
- cpu = <&cpu4>;
- };
- core1 {
- cpu = <&cpu5>;
- };
- core2 {
- cpu = <&cpu6>;
- };
- core3 {
- cpu = <&cpu7>;
- };
- };
- };
- };
- memory@00000000 {
- device_type = "memory";
- reg = <0 0x40000000 0 0x40000000>;
- };
- reserved-memory {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
- /* reserve 192KB at DRAM start + 48MB */
- atf-reserved-memory@43000000 {
- compatible = "mediatek,mt6735-atf-reserved-memory",
- "mediatek,mt6735m-atf-reserved-memory",
- "mediatek,mt6753-atf-reserved-memory";
- no-map;
- reg = <0 0x43000000 0 0x30000>;
- };
- reserve-memory-ccci_md1 {
- compatible = "mediatek,reserve-memory-ccci_md1";
- no-map;
- size = <0 0x3810000>; // md_size+smem_size
- alignment = <0 0x2000000>;
- alloc-ranges = <0 0x40000000 0 0xC0000000>;
- };
- consys-reserve-memory {
- compatible = "mediatek,consys-reserve-memory";
- no-map;
- size = <0 0x100000>;
- alignment = <0 0x200000>;
- };
- ram_console-reserved-memory@43f00000 {
- compatible = "mediatek,ram_console";
- reg = <0 0x43f00000 0 0x10000>;
- };
- minirdump-reserved-memory@43ff0000 {
- compatible = "mediatek, minirdump";
- reg = <0 0x43ff0000 0 0x10000>;
- };
- pstore-reserved-memory@43f10000 {
- compatible = "mediatek,pstore";
- reg = <0 0x43f10000 0 0xe0000>;
- };
- };
- gic: interrupt-controller@10220000 {
- compatible = "mediatek,mt6735-gic";
- #interrupt-cells = <3>;
- #address-cells = <0>;
- interrupt-controller;
- reg = <0 0x10221000 0 0x1000>,
- <0 0x10222000 0 0x1000>,
- <0 0x10200620 0 0x1000>;
- mediatek,wdt_irq = <160>;
- gic-cpuif@0 {
- compatible = "arm,gic-cpuif";
- cpuif-id = <0>;
- cpu = <&cpu0>;
- };
- gic-cpuif@1 {
- compatible = "arm,gic-cpuif";
- cpuif-id = <1>;
- cpu = <&cpu1>;
- };
- gic-cpuif@2 {
- compatible = "arm,gic-cpuif";
- cpuif-id = <2>;
- cpu = <&cpu2>;
- };
- gic-cpuif@3 {
- compatible = "arm,gic-cpuif";
- cpuif-id = <3>;
- cpu = <&cpu3>;
- };
- };
- clocks {
- clk_null: clk_null {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <0>;
- };
- clk26m: clk26m {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <26000000>;
- };
- clk32k: clk32k {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <32000>;
- };
- };
- soc {
- compatible = "simple-bus";
- #address-cells = <1>;
- #size-cells = <1>;
- ranges;
- chipid@08000000 {
- compatible = "mediatek,chipid";
- reg = <0x08000000 0x0004>,
- <0x08000004 0x0004>,
- <0x08000008 0x0004>,
- <0x0800000C 0x0004>;
- };
- topckgen: topckgen@0x10210000 {
- compatible = "mediatek,mt6735-topckgen";
- reg = <0x10210000 0x1000>;
- #clock-cells = <1>;
- };
- infrasys: infrasys@0x10000000 {
- compatible = "mediatek,mt6735-infrasys";
- reg = <0x10000000 0x1000>;
- #clock-cells = <1>;
- };
- perisys: perisys@0x10002000 {
- compatible = "mediatek,mt6735-perisys";
- reg = <0x10002000 0x1000>;
- #clock-cells = <1>;
- };
- gpio_usage_mapping:gpio {
- compatible = "mediatek,gpio_usage_mapping";
- };
- gpio: gpio@10211000 {
- compatible = "mediatek,gpio";
- reg = <0x10211000 0x1000>;
- };
- dramc_nao: dramc_nao@1020e000 {
- compatible = "mediatek,mt6735-dramc_nao";
- reg = <0x1020e000 0x1000>;
- };
- ddrphy: ddrphy@10213000 {
- compatible = "mediatek,mt6735-ddrphy";
- reg = <0x10213000 0x1000>;
- };
- dramc: dramc@10214000 {
- compatible = "mediatek,mt6735-dramc";
- reg = <0x10214000 0x1000>;
- clocks = <&infrasys INFRA_GCE>;
- clock-names = "infra-cqdma";
- };
- cpuxgpt: cpuxgpt@10200000 {
- compatible = "mediatek,mt6735-cpuxgpt";
- reg = <0x10200000 0x1000>;
- interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
- };
- apxgpt: apxgpt@10004000 {
- compatible = "mediatek,mt6735-apxgpt";
- reg = <0x10004000 0x1000>;
- interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_LOW>;
- clock-frequency = <13000000>;
- };
- timer {
- compatible = "arm,armv8-timer";
- interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /*Secure Physical Timer Event*/
- <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /*Non-Secure Physical Timer Event*/
- <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /*Virtual Timer Event*/
- <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /*Hypervisor Timer Event*/
- clock-frequency = <13000000>;
- };
- mt_pmic_regulator {
- compatible = "mediatek,mt_pmic";
- /*reg = <0x01>*/
- buck_regulators {
- compatible = "mediatek,mt_pmic_buck_regulators";
- mt_pmic_vpa_buck_reg: buck_vpa {
- regulator-name = "vpa";
- regulator-min-microvolt = <500000>;
- regulator-max-microvolt = <3650000>;
- regulator-ramp-delay = <50000>;
- regulator-enable-ramp-delay = <180>;
- };
- mt_pmic_vproc_buck_reg: buck_vproc {
- regulator-name = "vproc";
- regulator-min-microvolt = <600000>;
- regulator-max-microvolt = <1393750>;
- regulator-ramp-delay = <6250>;
- regulator-enable-ramp-delay = <180>;
- regulator-always-on;
- regulator-boot-on;
- };
- mt_pmic_vcore1_buck_reg: buck_vcore1 {
- regulator-name = "vcore1";
- regulator-min-microvolt = <600000>;
- regulator-max-microvolt = <1393750>;
- regulator-ramp-delay = <6250>;
- regulator-enable-ramp-delay = <180>;
- regulator-always-on;
- regulator-boot-on;
- };
- mt_pmic_vsys22_buck_reg: buck_vsys22 {
- regulator-name = "vsys22";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <1993750>;
- regulator-ramp-delay = <6250>;
- regulator-enable-ramp-delay = <180>;
- regulator-always-on;
- regulator-boot-on;
- };
- mt_pmic_vlte_buck_reg: buck_vlte {
- regulator-name = "vlte";
- regulator-min-microvolt = <600000>;
- regulator-max-microvolt = <1393750>;
- regulator-ramp-delay = <6250>;
- regulator-enable-ramp-delay = <180>;
- regulator-always-on;
- regulator-boot-on;
- };
- }; /* End of buck_regulators */
- ldo_regulators {
- compatible = "mediatek,mt_pmic_ldo_regulators";
- mt_pmic_vaux18_ldo_reg: ldo_vaux18 {
- regulator-name = "vaux18";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- regulator-enable-ramp-delay = <264>;
- regulator-boot-on;
- };
- mt_pmic_vtcxo_0_ldo_reg: ldo_vtcxo_0 {
- regulator-name = "vtcxo_0";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- regulator-enable-ramp-delay = <110>;
- regulator-boot-on;
- };
- mt_pmic_vtcxo_1_ldo_reg: ldo_vtcxo_1 {
- regulator-name = "vtcxo_1";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- regulator-enable-ramp-delay = <110>;
- };
- mt_pmic_vaud28_ldo_reg: ldo_vaud28 {
- regulator-name = "vaud28";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- regulator-enable-ramp-delay = <264>;
- regulator-boot-on;
- };
- mt_pmic_vcn28_ldo_reg: ldo_vcn28 {
- regulator-name = "vcn28";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- regulator-enable-ramp-delay = <264>;
- };
- mt_pmic_vcama_ldo_reg: ldo_vcama {
- regulator-name = "vcama";
- regulator-min-microvolt = <1500000>;
- regulator-max-microvolt = <2800000>;
- regulator-enable-ramp-delay = <264>;
- };
- mt_pmic_vcn33_bt_ldo_reg: ldo_vcn33_bt {
- regulator-name = "vcn33_bt";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3600000>;
- regulator-enable-ramp-delay = <264>;
- };
- mt_pmic_vcn33_wifi_ldo_reg: ldo_vcn33_wifi {
- regulator-name = "vcn33_wifi";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3600000>;
- regulator-enable-ramp-delay = <264>;
- };
- mt_pmic_vusb33_ldo_reg: ldo_vusb33 {
- regulator-name = "vusb33";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-enable-ramp-delay = <264>;
- regulator-boot-on;
- };
- mt_pmic_vefuse_ldo_reg: ldo_vefuse {
- regulator-name = "vefuse";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <2200000>;
- regulator-enable-ramp-delay = <264>;
- };
- mt_pmic_vsim1_ldo_reg: ldo_vsim1 {
- regulator-name = "vsim1";
- regulator-min-microvolt = <1700000>;
- regulator-max-microvolt = <2100000>;
- regulator-enable-ramp-delay = <264>;
- };
- mt_pmic_vsim2_ldo_reg: ldo_vsim2 {
- regulator-name = "vsim2";
- regulator-min-microvolt = <1700000>;
- regulator-max-microvolt = <2100000>;
- regulator-enable-ramp-delay = <264>;
- };
- mt_pmic_vemc33_ldo_reg: ldo_vemc_3v3 {
- regulator-name = "vemc_3v3";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- regulator-enable-ramp-delay = <264>;
- regulator-boot-on;
- };
- mt_pmic_vmch_ldo_reg: ldo_vmch {
- regulator-name = "vmch";
- regulator-min-microvolt = <2900000>;
- regulator-max-microvolt = <3300000>;
- regulator-enable-ramp-delay = <44>;
- regulator-boot-on;
- };
- mt_pmic_vtref_ldo_reg: ldo_vtref {
- regulator-name = "vtref";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- regulator-enable-ramp-delay = <240>;
- };
- mt_pmic_vmc_ldo_reg: ldo_vmc {
- regulator-name = "vmc";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- regulator-enable-ramp-delay = <44>;
- regulator-boot-on;
- };
- mt_pmic_vcam_af_ldo_reg: ldo_vcamaf {
- regulator-name = "vcamaf";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <3300000>;
- regulator-enable-ramp-delay = <264>;
- };
- mt_pmic_vio28_ldo_reg: ldo_vio28 {
- regulator-name = "vio28";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- regulator-enable-ramp-delay = <264>;
- regulator-boot-on;
- };
- mt_pmic_vgp1_ldo_reg: ldo_vgp1 {
- regulator-name = "vgp1";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <3300000>;
- regulator-enable-ramp-delay = <264>;
- };
- mt_pmic_vibr_ldo_reg: ldo_vibr {
- regulator-name = "vibr";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <3300000>;
- regulator-enable-ramp-delay = <44>;
- };
- mt_pmic_vcamd_ldo_reg: ldo_vcamd {
- regulator-name = "vcamd";
- regulator-min-microvolt = <900000>;
- regulator-max-microvolt = <1500000>;
- regulator-enable-ramp-delay = <264>;
- };
- mt_pmic_vrf18_0_ldo_reg: ldo_vrf18_0 {
- regulator-name = "vrf18_0";
- regulator-min-microvolt = <1825000>;
- regulator-max-microvolt = <1825000>;
- regulator-enable-ramp-delay = <220>;
- };
- mt_pmic_vrf18_1_ldo_reg: ldo_vrf18_1 {
- regulator-name = "vrf18_1";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <1825000>;
- regulator-enable-ramp-delay = <220>;
- };
- mt_pmic_vio18_ldo_reg: ldo_vio18 {
- regulator-name = "vio18";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- regulator-enable-ramp-delay = <264>;
- regulator-boot-on;
- };
- mt_pmic_vcn18_ldo_reg: ldo_vcn18 {
- regulator-name = "vcn18";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- regulator-enable-ramp-delay = <44>;
- };
- mt_pmic_vcam_io_ldo_reg: ldo_vcamio {
- regulator-name = "vcamio";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <1800000>;
- regulator-enable-ramp-delay = <220>;
- };
- mt_pmic_vsram_ldo_reg: ldo_vsram {
- regulator-name = "vsram";
- regulator-min-microvolt = <700000>;
- regulator-max-microvolt = <1493750>;
- regulator-enable-ramp-delay = <220>;
- regulator-ramp-delay = <6250>;
- regulator-boot-on;
- };
- mt_pmic_vm_ldo_reg: ldo_vm {
- regulator-name = "vm";
- regulator-min-microvolt = <1240000>;
- regulator-max-microvolt = <1540000>;
- regulator-enable-ramp-delay = <264>;
- regulator-boot-on;
- };
- };/* End of ldo_regulators */
- regulators_supply {
- compatible = "mediatek,mt_pmic_regulator_supply";
- vaux18-supply = <&mt_pmic_vaux18_ldo_reg>;
- vtcxo_0-supply = <&mt_pmic_vtcxo_0_ldo_reg>;
- vtcxo_1-supply = <&mt_pmic_vtcxo_1_ldo_reg>;
- vaud28-supply = <&mt_pmic_vaud28_ldo_reg>;
- vefuse-supply = <&mt_pmic_vefuse_ldo_reg>;
- vsim1-supply = <&mt_pmic_vsim1_ldo_reg>;
- vsim2-supply = <&mt_pmic_vsim2_ldo_reg>;
- vemc_3v3-supply = <&mt_pmic_vemc33_ldo_reg>;
- vmch-supply = <&mt_pmic_vmch_ldo_reg>;
- vtref-supply = <&mt_pmic_vtref_ldo_reg>;
- vmc-supply = <&mt_pmic_vmc_ldo_reg>;
- vio28-supply = <&mt_pmic_vio28_ldo_reg>;
- vibr-supply = <&mt_pmic_vibr_ldo_reg>;
- vrf18_0-supply = <&mt_pmic_vrf18_0_ldo_reg>;
- vrf18_1-supply = <&mt_pmic_vrf18_1_ldo_reg>;
- vio18-supply = <&mt_pmic_vio18_ldo_reg>;
- vsram-supply = <&mt_pmic_vsram_ldo_reg>;
- vm-supply = <&mt_pmic_vm_ldo_reg>;
- };/* End of regulators_supply */
- };/* End of mt_pmic_regulator */
- sys_cirq: sys_cirq@10204000 {
- compatible = "mediatek,mt6735-sys_cirq";
- reg = <0x10204000 0x1000>;
- interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_LOW>;
- mediatek,cirq_num = <159>;
- mediatek,spi_start_offset = <72>;
- };
- apmixedsys: apmixedsys@0x10209000 {
- compatible = "mediatek,mt6735-apmixedsys";
- reg = <0x10209000 0x1000>;
- #clock-cells = <1>;
- };
- toprgu: toprgu@10212000 {
- compatible = "mediatek,mt6735-rgu";
- reg = <0x10212000 0x1000>;
- interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_FALLING>;
- };
- auxadc: adc_hw@11001000 {
- compatible = "mediatek,mt6735-auxadc";
- reg = <0x11001000 0x1000>;
- interrupts = <GIC_SPI 76 IRQ_TYPE_EDGE_FALLING>;
- clocks = <&perisys PERI_AUXADC>;
- clock-names = "auxadc-main";
- };
- audiosys: audiosys@0x11220000 {
- compatible = "mediatek,mt6735-audiosys";
- reg = <0x11220000 0x10000>;
- #clock-cells = <1>;
- };
- mfgsys: mfgsys@0x13000000 {
- compatible = "mediatek,mt6735-mfgsys";
- reg = <0x13000000 0x1000>;
- #clock-cells = <1>;
- };
- mmsys: mmsys@0x14000000 {
- compatible = "mediatek,mt6735-mmsys";
- reg = <0x14000000 0x1000>;
- #clock-cells = <1>;
- };
- imgsys: imgsys@0x15000000 {
- compatible = "mediatek,mt6735-imgsys";
- reg = <0x15000000 0x1000>;
- #clock-cells = <1>;
- };
- vdecsys: vdecsys@0x16000000 {
- compatible = "mediatek,mt6735-vdecsys";
- reg = <0x16000000 0x1000>;
- interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_LOW>;
- #clock-cells = <1>;
- };
- vencsys: vencsys@0x17000000 {
- compatible = "mediatek,mt6735-vencsys";
- reg = <0x17000000 0x1000>;
- interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_LOW>;
- #clock-cells = <1>;
- };
- scpsys: scpsys@0x10000000 {
- compatible = "mediatek,mt6735-scpsys";
- reg = <0x10000000 0x1000>, <0x10006000 0x1000>;
- #clock-cells = <1>;
- };
- vdec_gcon: vdec_gcon@16000000 {
- compatible = "mediatek,mt6735-vdec_gcon";
- reg = <0x16000000 0x1000>;
- interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_LOW>;
- clocks =
- <&mmsys MM_DISP0_SMI_COMMON>,
- <&vdecsys VDEC0_VDEC>,
- <&vdecsys VDEC1_LARB>,
- <&vencsys VENC_VENC>,
- <&vencsys VENC_LARB>,
- <&topckgen TOP_MUX_VDEC>,
- <&topckgen TOP_SYSPLL1_D2>,
- <&topckgen TOP_SYSPLL1_D4>,
- <&scpsys SCP_SYS_VDE>,
- <&scpsys SCP_SYS_VEN>,
- <&scpsys SCP_SYS_DIS>;
- clock-names =
- "MT_CG_DISP0_SMI_COMMON",
- "MT_CG_VDEC0_VDEC",
- "MT_CG_VDEC1_LARB",
- "MT_CG_VENC_VENC",
- "MT_CG_VENC_LARB",
- "MT_CG_TOP_MUX_VDEC",
- "MT_CG_TOP_SYSPLL1_D2",
- "MT_CG_TOP_SYSPLL1_D4",
- "MT_SCP_SYS_VDE",
- "MT_SCP_SYS_VEN",
- "MT_SCP_SYS_DIS";
- };
- vdec: vdec@16020000 {
- compatible = "mediatek,mt6735-vdec";
- reg = <0x16020000 0x10000>;
- interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_LOW>;
- };
- venc_gcon: venc_gcon@17000000 {
- compatible = "mediatek,mt6735-venc_gcon";
- reg = <0x17000000 0x1000>;
- interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_LOW>;
- };
- venc: venc@17002000 {
- compatible = "mediatek,mt6735-venc";
- reg = <0x17002000 0x1000>;
- interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_LOW>;
- };
- jpgenc@17003000 {
- compatible = "mediatek,jpgenc";
- reg = <0x17003000 0x1000>;
- interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_LOW>;
- clocks = <&scpsys SCP_SYS_DIS>,
- <&mmsys MM_DISP0_SMI_COMMON>,
- <&scpsys SCP_SYS_VEN>,
- <&vencsys VENC_LARB>,
- <&vencsys VENC_JPGENC>;
- clock-names = "disp-mtcmos",
- "disp-smi",
- "venc-mtcmos",
- "venc-larb",
- "venc-jpgenc";
- };
- jpgdec@17004000 {
- compatible = "mediatek,jpgdec";
- reg = <0x17004000 0x1000>;
- interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_LOW>;
- clocks = <&scpsys SCP_SYS_DIS>,
- <&mmsys MM_DISP0_SMI_COMMON>,
- <&scpsys SCP_SYS_VEN>,
- <&vencsys VENC_LARB>,
- <&vencsys VENC_JPGDEC>;
- clock-names = "disp-mtcmos",
- "disp-smi",
- "venc-mtcmos",
- "venc-larb",
- "venc-jpgdec";
- };
- keypad: keypad@10003000 {
- compatible = "mediatek,mt6735-keypad";
- reg = <0x10003000 0x1000>;
- interrupts = <GIC_SPI 164 IRQ_TYPE_EDGE_FALLING>;
- };
- apirtx:irtx@11011000 {
- compatible = "mediatek,irtx";
- reg = <0x11011000 0x1000>;
- interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
- pwm_ch = <0>;
- clock-frequency = <26000000>;
- clock-div = <1>;
- clocks = <&perisys PERI_IRTX>;
- clock-names = "clk-irtx-main";
- };
- apuart0: apuart0@11002000 {
- cell-index = <0>;
- compatible = "mediatek,mt6735-uart";
- reg = <0x11002000 0x1000>, /* UART base */
- <0x11000400 0x1000>, /* DMA Tx base */
- <0x11000480 0x80>; /* DMA Rx base */
- interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>, /* UART IRQ */
- <GIC_SPI 103 IRQ_TYPE_LEVEL_LOW>, /* DMA Tx IRQ */
- <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>; /* DMA Rx IRQ */
- clock-frequency = <26000000>;
- clock-div = <1>;
- clocks = <&perisys PERI_UART0>, <&perisys PERI_APDMA>;
- clock-names = "uart0-main", "uart-apdma";
- };
- apuart1: apuart1@11003000 {
- cell-index = <1>;
- compatible = "mediatek,mt6735-uart";
- reg = <0x11003000 0x1000>, /* UART base */
- <0x11000500 0x80>, /* DMA Tx base */
- <0x11000580 0x80>; /* DMA Rx base */
- interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>, /* UART IRQ */
- <GIC_SPI 105 IRQ_TYPE_LEVEL_LOW>, /* DMA Tx IRQ */
- <GIC_SPI 106 IRQ_TYPE_LEVEL_LOW>; /* DMA Rx IRQ */
- clock-frequency = <26000000>;
- clock-div = <1>;
- clocks = <&perisys PERI_UART1>;
- clock-names = "uart1-main";
- };
- apuart2: apuart2@11004000 {
- cell-index = <2>;
- compatible = "mediatek,mt6735-uart";
- reg = <0x11004000 0x1000>, /* UART base */
- <0x11000600 0x80>, /* DMA Tx base */
- <0x11000680 0x80>; /* DMA Rx base */
- interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>, /* UART IRQ */
- <GIC_SPI 107 IRQ_TYPE_LEVEL_LOW>, /* DMA Tx IRQ */
- <GIC_SPI 108 IRQ_TYPE_LEVEL_LOW>; /* DMA Rx IRQ */
- clock-frequency = <26000000>;
- clock-div = <1>;
- clocks = <&perisys PERI_UART2>;
- clock-names = "uart2-main";
- };
- apuart3: apuart3@11005000 {
- cell-index = <3>;
- compatible = "mediatek,mt6735-uart";
- reg = <0x11005000 0x1000>, /* UART base */
- <0x11000700 0x80>, /* DMA Tx base */
- <0x11000780 0x80>; /* DMA Rx base */
- interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_LOW>, /* UART IRQ */
- <GIC_SPI 109 IRQ_TYPE_LEVEL_LOW>, /* DMA Tx IRQ */
- <GIC_SPI 110 IRQ_TYPE_LEVEL_LOW>; /* DMA Rx IRQ */
- clock-frequency = <26000000>;
- clock-div = <1>;
- clocks = <&perisys PERI_UART3>;
- clock-names = "uart3-main";
- };
- apuart4: apuart4@1100d000 {
- cell-index = <4>;
- compatible = "mediatek,mt6735-uart";
- reg = <0x1100d000 0x1000>, /* UART base */
- <0x11000800 0x80>, /* DMA Tx base */
- <0x11000880 0x80>; /* DMA Rx base */
- interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_LOW>, /* UART IRQ */
- <GIC_SPI 111 IRQ_TYPE_LEVEL_LOW>, /* DMA Tx IRQ */
- <GIC_SPI 112 IRQ_TYPE_LEVEL_LOW>; /* DMA Rx IRQ */
- clock-frequency = <26000000>;
- clock-div = <1>;
- clocks = <&perisys PERI_UART4>;
- clock-names = "uart4-main";
- };
- spi0:spi@1100a000 {
- compatible = "mediatek,mt6753-spi";
- cell-index = <0>;
- spi-padmacro = <0>;
- reg = <0x1100a000 0x1000>;
- interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_LOW>;
- };
- btif_tx:btif_tx@11000900 {
- compatible = "mediatek,btif_tx";
- reg = <0x11000900 0x80>;
- interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
- };
- btif_rx:btif_rx@11000980 {
- compatible = "mediatek,btif_rx";
- reg = <0x11000980 0x80>;
- interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_LOW>;
- };
- btif:btif@1100c000 {
- compatible = "mediatek,btif";
- reg = <0x1100c000 0x1000>;
- interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_LOW>;
- };/* End of btif */
- btcvsd@10000000 {
- compatible = "mediatek,audio_bt_cvsd";
- offset = <0x700 0x800 0xfd0 0xfd4 0xfd8>;
- /*INFRA MISC, conn_bt_cvsd_mask, cvsd_mcu_read, write, packet_indicator*/
- reg = <0x10000000 0x1000>, /*AUDIO_INFRA_BASE_PHYSICAL*/
- <0x18000000 0x10000>, /*PKV_PHYSICAL_BASE*/
- <0x18080000 0x8000>; /*SRAM_BANK2*/
- interrupts = <GIC_SPI 230 IRQ_TYPE_LEVEL_LOW>;
- };
- consys:consys@18070000 {
- compatible = "mediatek,mt6753-consys",
- "mediatek,mt6735-consys";
- reg = <0x18070000 0x0200>, /*CONN_MCU_CONFIG_BASE */
- <0x10212000 0x0100>, /*AP_RGU_BASE */
- <0x10000000 0x2000>, /*TOPCKGEN_BASE */
- <0x10006000 0x1000>; /*SPM_BASE */
- interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_LOW>, /* BGF_EINT */
- <GIC_SPI 227 IRQ_TYPE_LEVEL_LOW>; /* WDT_EINT */
- };
- wifi@180F0000 {
- compatible = "mediatek,wifi";
- reg = <0x180F0000 0x005c>;
- interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_LOW>;
- };
- met_smi: met_smi@14017000 {
- compatible = "mediatek,met_smi";
- reg = <0x14017000 0x1000>, /* SMI_COMMON_EXT */
- <0x14016000 0x1000>, /* LARB 0 */
- <0x16010000 0x1000>, /* LARB 1 */
- <0x15001000 0x1000>, /* LARB 2 */
- <0x17001000 0x1000>; /* LARB 3 */
- /*
- clocks = <&mmsys MM_DISP0_SMI_COMMON>,
- <&mmsys MM_DISP0_SMI_LARB0>,
- <&imgsys IMG_IMAGE_LARB2_SMI>,
- <&vdecsys VDEC0_VDEC>,
- <&vdecsys VDEC1_LARB>,
- <&vencsys VENC_LARB>,
- <&vencsys VENC_VENC>;
- clock-names = "smi-common",
- "smi-larb0",
- "img-larb2",
- "vdec0-vdec",
- "vdec1-larb",
- "venc-larb",
- "venc-venc";
- */
- };
- gce@10217000 {
- compatible = "mediatek,gce";
- reg = <0x10217000 0x1000>;
- interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_LOW>,
- <GIC_SPI 148 IRQ_TYPE_LEVEL_LOW>;
- disp_mutex_reg = <0x14015000 0x1000>;
- g3d_config_base = <0x13000000 0 0xffff0000>;
- mmsys_config_base = <0x14000000 1 0xffff0000>;
- disp_dither_base = <0x14010000 2 0xffff0000>;
- mm_na_base = <0x14020000 3 0xffff0000>;
- imgsys_base = <0x15000000 4 0xffff0000>;
- vdec_gcon_base = <0x16000000 5 0xffff0000>;
- venc_gcon_base = <0x17000000 6 0xffff0000>;
- conn_peri_base = <0x18000000 7 0xffff0000>;
- topckgen_base = <0x10000000 8 0xffff0000>;
- kp_base = <0x10010000 9 0xffff0000>;
- scp_sram_base = <0x10020000 10 0xffff0000>;
- infra_na3_base = <0x10030000 11 0xffff0000>;
- infra_na4_base = <0x10040000 12 0xffff0000>;
- scp_base = <0x10050000 13 0xffff0000>;
- mcucfg_base = <0x10200000 14 0xffff0000>;
- gcpu_base = <0x10210000 15 0xffff0000>;
- usb0_base = <0x11200000 16 0xffff0000>;
- usb_sif_base = <0x11210000 17 0xffff0000>;
- audio_base = <0x11220000 18 0xffff0000>;
- msdc0_base = <0x11230000 19 0xffff0000>;
- msdc1_base = <0x11240000 20 0xffff0000>;
- msdc2_base = <0x11250000 21 0xffff0000>;
- msdc3_base = <0x11260000 22 0xffff0000>;
- pwm_sw_base = <0x1100E000 99 0xfffff000>;
- mdp_rdma0_sof = <0>;
- mdp_rsz0_sof = <1>;
- mdp_rsz1_sof = <2>;
- mdp_tdshp_sof = <3>;
- mdp_wdma_sof = <4>;
- mdp_wrot_sof = <5>;
- disp_ovl0_sof = <6>;
- disp_ovl1_sof = <7>;
- disp_rdma0_sof = <8>;
- disp_rdma1_sof = <9>;
- disp_wdma0_sof = <10>;
- disp_ccorr_sof = <11>;
- disp_color_sof = <12>;
- disp_aal_sof = <13>;
- disp_gamma_sof = <14>;
- disp_dither_sof = <15>;
- disp_pwm0_sof = <17>;
- disp_od_sof = <18>;
- mdp_rdma0_frame_done = <19>;
- mdp_rsz0_frame_done = <20>;
- mdp_rsz1_frame_done = <21>;
- mdp_tdshp_frame_done = <22>;
- mdp_wdma_frame_done = <23>;
- mdp_wrot_write_frame_done = <24>;
- mdp_wrot_read_frame_done = <25>;
- disp_ovl0_frame_done = <26>;
- disp_ovl1_frame_done = <27>;
- disp_rdma0_frame_done = <28>;
- disp_rdma1_frame_done = <29>;
- disp_wdma0_frame_done = <30>;
- disp_ccorr_frame_done = <31>;
- disp_color_frame_done = <32>;
- disp_aal_frame_done = <33>;
- disp_gamma_frame_done = <34>;
- disp_dither_frame_done = <35>;
- disp_od_frame_done = <37>;
- disp_dpi0_frame_done = <38>;
- disp_dsi0_frame_done = <39>;
- stream_done_0 = <40>;
- stream_done_1 = <41>;
- stream_done_2 = <42>;
- stream_done_3 = <43>;
- stream_done_4 = <44>;
- stream_done_5 = <45>;
- stream_done_6 = <46>;
- stream_done_7 = <47>;
- stream_done_8 = <48>;
- stream_done_9 = <49>;
- buf_underrun_event_0 = <50>;
- buf_underrun_event_1 = <51>;
- dsi0_te_event = <52>;
- isp_frame_done_p2_2 = <65>;
- isp_frame_done_p2_1 = <66>;
- isp_frame_done_p2_0 = <67>;
- isp_frame_done_p1_1 = <68>;
- isp_frame_done_p1_0 = <69>;
- camsv_2_pass1_done = <70>;
- camsv_1_pass1_done = <71>;
- seninf_cam1_2_3_fifo_full = <72>;
- seninf_cam0_fifo_full = <73>;
- venc_done = <129>;
- jpgenc_done = <130>;
- jpgdec_done = <131>;
- venc_mb_done = <132>;
- venc_128byte_cnt_done = <133>;
- apxgpt2_count = <0x10004028>;
- };
- smi_larb0@14016000 {
- compatible = "mediatek,smi_larb0";
- reg = <0x14016000 0x1000>;
- };
- smi_larb1@16010000 {
- compatible = "mediatek,smi_larb1";
- reg = <0x16010000 0x1000>;
- interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_LOW>;
- };
- smi_larb2@15001000 {
- compatible = "mediatek,smi_larb2";
- reg = <0x15001000 0x1000>;
- interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_LOW>;
- };
- smi_larb3@17001000 {
- compatible = "mediatek,smi_larb3";
- reg = <0x17001000 0x1000>;
- interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_LOW>;
- };
- smi_common@14017000 {
- compatible = "mediatek,smi_common";
- reg = <0x14017000 0x1000>, /* SMI_COMMON_EXT */
- <0x14016000 0x1000>, /* LARB 0 */
- <0x16010000 0x1000>, /* LARB 1 */
- <0x15001000 0x1000>, /* LARB 2 */
- <0x17001000 0x1000>; /* LARB 3 */
- clocks = <&mmsys MM_DISP0_SMI_COMMON>,
- <&mmsys MM_DISP0_SMI_LARB0>,
- <&imgsys IMG_IMAGE_LARB2_SMI>,
- <&vdecsys VDEC0_VDEC>,
- <&vdecsys VDEC1_LARB>,
- <&vencsys VENC_LARB>,
- <&vencsys VENC_VENC>,
- <&scpsys SCP_SYS_VEN>,
- <&scpsys SCP_SYS_VDE>,
- <&scpsys SCP_SYS_ISP>,
- <&scpsys SCP_SYS_DIS>;
- clock-names = "smi-common", "smi-larb0", "img-larb2", "vdec0-vdec", "vdec1-larb", "venc-larb",
- "venc-venc", "mtcmos-ven", "mtcmos-vde", "mtcmos-isp", "mtcmos-dis";
- };
- mmsys_config@14000000 {
- compatible = "mediatek,mmsys_config";
- reg = <0x14000000 0x1000>;
- interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_LOW>;
- };
- ispsys@15000000 {
- compatible = "mediatek,mt6735-ispsys";
- reg = <0x15004000 0x9000>, /*ISP_ADDR */
- <0x1500D000 0x1000>, /*INNER_ISP_ADDR */
- <0x15000000 0x10000>, /*IMGSYS_CONFIG_ADDR */
- <0x10215000 0x3000>, /*MIPI_ANA_ADDR */
- <0x10211000 0x1000>; /*GPIO_ADDR */
- interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_LOW>, /* CAM0 */
- <GIC_SPI 184 IRQ_TYPE_LEVEL_LOW>, /* CAM1 */
- <GIC_SPI 185 IRQ_TYPE_LEVEL_LOW>, /* CAM2 */
- <GIC_SPI 206 IRQ_TYPE_LEVEL_LOW>, /* CAMSV0 */
- <GIC_SPI 207 IRQ_TYPE_LEVEL_LOW>; /* CAMSV1 */
- };
- kd_camera_hw1:kd_camera_hw1@15008000 {
- compatible = "mediatek,camera_hw";
- reg = <0x15008000 0x1000>; /* SENINF_ADDR */
- };
- kd_camera_hw2:kd_camera_hw2@15008000 {
- compatible = "mediatek,camera_hw2";
- reg = <0x15008000 0x1000>; /* SENINF_ADDR */
- };
- SENINF_TOP@0x15008000 {
- compatible = "mediatek,SENINF_TOP";
- reg = <0x15008000 0x1000>;
- interrupts = <0 182 0x8>;
- };
- fdvt@1500b000 {
- compatible = "mediatek,fdvt";
- reg = <0x1500b000 0x1000>;
- interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_LOW>;
- clocks = <&scpsys SCP_SYS_DIS>,
- <&scpsys SCP_SYS_ISP>,
- <&mmsys MM_DISP0_SMI_COMMON>,
- <&imgsys IMG_IMAGE_FD>;
- clock-names = "FD-SCP_SYS_DIS",
- "FD-SCP_SYS_ISP",
- "FD-MM_DISP0_SMI_COMMON",
- "FD-IMG_IMAGE_FD";
- };
- mdp_rdma@14001000 {
- compatible = "mediatek,mdp_rdma";
- reg = <0x14001000 0x1000>;
- interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_LOW>;
- };
- mdp_rsz0@14002000 {
- compatible = "mediatek,mdp_rsz0";
- reg = <0x14002000 0x1000>;
- interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_LOW>;
- };
- mdp_rsz1@14003000 {
- compatible = "mediatek,mdp_rsz1";
- reg = <0x14003000 0x1000>;
- interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_LOW>;
- };
- mdp_wdma@14004000 {
- compatible = "mediatek,mdp_wdma";
- reg = <0x14004000 0x1000>;
- interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_LOW>;
- };
- mdp_wrot@14005000 {
- compatible = "mediatek,mdp_wrot";
- reg = <0x14005000 0x1000>;
- interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_LOW>;
- };
- mdp_tdshp@14006000 {
- compatible = "mediatek,mdp_tdshp";
- reg = <0x14006000 0x1000>;
- interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_LOW>;
- };
- hacc:hacc@10008000 {
- compatible = "mediatek,hacc";
- reg = <0x10008000 0x1000>;
- interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_LOW>;
- };
- als: als {
- compatible = "mediatek, als-eint";
- };
- gse_1: gse_1 {
- compatible = "mediatek, gse_1-eint";
- status = "disabled";
- };
- ext_buck_oc: ext_buck_oc {
- compatible = "mediatek, ext_buck_oc-eint";
- status = "disabled";
- };
- };
- vcorefs {
- compatible = "mediatek,mt6735-vcorefs";
- clocks = <&topckgen TOP_MUX_AXI>,
- <&topckgen TOP_SYSPLL_D5>,
- <&topckgen TOP_SYSPLL1_D4>;
- clock-names = "mux_axi",
- "syspll_d5",
- "syspll1_d4";
- };
- bus {
- compatible = "simple-bus";
- #address-cells = <1>;
- #size-cells = <1>;
- ranges = <0 0 0 0xffffffff>;
- MCUCFG@0x10200000 {
- compatible = "mediatek,MCUCFG";
- reg = <0x10200000 0x200>;
- interrupts = <0 71 0x4>;
- };
- mcucfg: mcucfg@10200000 {
- compatible = "mediatek,mt6735-mcucfg";
- reg = <0x10200000 0x200>;
- interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
- };
- INFRACFG_AO@0x10000000 {
- compatible = "mediatek,INFRACFG_AO";
- reg = <0x10000000 0x1000>;
- };
- CKSYS@0x10210000 {
- compatible = "mediatek,CKSYS";
- reg = <0x10210000 0x1000>;
- };
- PERICFG@0x10002000 {
- compatible = "mediatek,PERICFG";
- reg = <0x10002000 0x1000>;
- };
- ap_dma:dma@11000000 {
- compatible = "mediatek,ap_dma";
- reg = <0x11000000 0x1000>;
- interrupts = <0 114 0x8>;
- };
- i2c0:i2c@11007000 {
- compatible = "mediatek,mt6753-i2c";
- cell-index = <0>;
- reg = <0x11007000 0x1000>;
- interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>,
- <GIC_SPI 98 IRQ_TYPE_LEVEL_LOW>;
- def_speed = <100>;
- };
- i2c1:i2c@11008000 {
- compatible = "mediatek,mt6753-i2c";
- cell-index = <1>;
- reg = <0x11008000 0x1000>;
- interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>,
- <GIC_SPI 99 IRQ_TYPE_LEVEL_LOW>;
- def_speed = <100>;
- };
- i2c2:i2c@11009000 {
- compatible = "mediatek,mt6753-i2c";
- cell-index = <2>;
- reg = <0x11009000 0x1000>;
- interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>,
- <GIC_SPI 100 IRQ_TYPE_LEVEL_LOW>;
- def_speed = <100>;
- };
- i2c3:i2c@1100f000 {
- compatible = "mediatek,mt6753-i2c";
- cell-index = <3>;
- reg = <0x1100f000 0x1000>;
- interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>,
- <GIC_SPI 101 IRQ_TYPE_LEVEL_LOW>;
- def_speed = <100>;
- };
- i2c4:i2c@11012000 {
- compatible = "mediatek,mt6753-i2c";
- cell-index = <4>;
- reg = <0x11012000 0x1000>;
- interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>,
- <GIC_SPI 102 IRQ_TYPE_LEVEL_LOW>;
- def_speed = <100>;
- };
- eintc: eintc@10005000 {
- compatible = "mediatek,mt-eic";
- reg = <0x10005000 0x1000>;
- interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
- #interrupt-cells = <2>;
- interrupt-controller;
- mediatek,max_eint_num = <213>;
- mediatek,mapping_table_entry = <0>;
- };
- SLEEP@0x10006000 {
- compatible = "mediatek,SLEEP";
- reg = <0x10006000 0x1000>;
- interrupts = <0 165 0x8>,
- <0 166 0x8>,
- <0 167 0x8>,
- <0 168 0x8>;
- };
- BAT_METTER {
- compatible = "mediatek,bat_meter";
- };
- BAT_NOTIFY {
- compatible = "mediatek,bat_notify";
- };
- BATTERY {
- compatible = "mediatek,battery";
- };
- DEVAPC_AO@10007000 {
- compatible = "mediatek,DEVAPC_AO";
- reg = <0x10007000 0x1000>;
- };
- gcpu@10216000 {
- compatible = "mediatek,gcpu";
- reg = <0x10216000 0x1000>;
- interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_LOW>;
- };
- cqdma@10217c00 {
- compatible = "mediatek,cqdma";
- reg = <0x10217c00 0xc00>;
- interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_LOW>;
- nr_channel = <1>;
- };
- EMI@0x10203000 {
- compatible = "mediatek,EMI";
- reg = <0x10203000 0x1000>;
- interrupts = <0 136 0x4>;
- };
- m4u@10205000 {
- cell-index = <0>;
- compatible = "mediatek,m4u";
- reg = <0x10205000 0x1000>;
- interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_LOW>;
- clocks = <&infrasys INFRA_M4U>,
- <&mmsys MM_DISP0_SMI_COMMON>,
- <&mmsys MM_DISP0_SMI_LARB0>,
- <&vdecsys VDEC0_VDEC>,
- <&vdecsys VDEC1_LARB>,
- <&imgsys IMG_IMAGE_LARB2_SMI>,
- <&vencsys VENC_VENC>,
- <&vencsys VENC_LARB>;
- clock-names = "infra_m4u",
- "smi_common",
- "m4u_disp0_smi_larb0",
- "m4u_vdec0_vdec",
- "m4u_vdec1_larb",
- "m4u_img_image_larb2_smi",
- "m4u_venc_venc",
- "m4u_venc_larb";
- };
- ccci_off@0 {
- compatible = "mediatek,ccci_off";
- clocks = <&scpsys SCP_SYS_MD1>;
- clock-names = "scp-sys-md1-main";
- };
- mdcldma:mdcldma@1000A000 {
- compatible = "mediatek,mdcldma";
- reg = <0x1000A000 0x1000>, /*AP_CLDMA_AO*/
- <0x1000B000 0x1000>, /*MD_CLDMA_AO*/
- <0x1021A000 0x1000>, /*AP_CLDMA_PDN*/
- <0x1021B000 0x1000>, /*MD_CLDMA_PDN*/
- <0x1020A000 0x1000>, /*AP_CCIF_BASE*/
- <0x1020B000 0x1000>; /*MD_CCIF_BASE*/
- interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, /*IRQ_CLDMA*/
- <GIC_SPI 140 IRQ_TYPE_LEVEL_LOW>, /*IRQ_CCIF*/
- <GIC_SPI 223 IRQ_TYPE_EDGE_FALLING>; /*IRQ_MDWDT*/
- mediatek,md_id = <0>;
- mediatek,cldma_capability = <2>;
- mediatek,md_smem_size = <0x10000>; /* md share memory size */
- };
- mdc2k@3a00b01c {
- compatible = "mediatek,mdc2k";
- reg = <0x3a00b01c 0x10>, /*C2K CHIP ID*/
- <0x1021c800 0x300>, /*MD1 PCCIF*/
- <0x1021d800 0x300>; /*MD3 PCCIF*/
- interrupts = <GIC_SPI 221 IRQ_TYPE_EDGE_FALLING>; /*WDT*/
- clocks = <&scpsys SCP_SYS_MD2>;
- clock-names = "scp-sys-md2-main";
- };
- c2k_sdio@0 {
- compatible = "mediatek,mt6735-c2k_sdio";
- interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_LOW>;
- };
- dbgapb_base@1011A000{
- compatible = "mediatek,dbgapb_base";
- reg = <0x1011A000 0x100>;/* MD debug register */
- };
- ssw:simswitch@0 {
- compatible = "mediatek,sim_switch";
- pinctrl-names = "default",
- "hot_plug_mode1",
- "hot_plug_mode2",
- "two_sims_bound_to_md1",
- "sim1_md3_sim2_md1";
- pinctrl-0 = <&ssw_default>;
- pinctrl-1 = <&ssw_hot_plug_mode1>;
- pinctrl-2 = <&ssw_hot_plug_mode2>;
- pinctrl-3 = <&ssw_two_sims_bound_to_md1>;
- pinctrl-4 = <&ssw_sim1_md3_sim2_md1>;
- };
- EFUSEC@10206000 {
- compatible = "mediatek,EFUSEC";
- reg = <0x10206000 0x1000>;
- };
- DEVAPC@10207000 {
- compatible = "mediatek,DEVAPC";
- reg = <0x10207000 0x1000>;
- interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_LOW>;
- };
- bus_dbg@10208000 {
- compatible = "mediatek,bus_dbg-v1";
- reg = <0x10208000 0x1000>;
- interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_LOW>;
- };
- APMIXED@0x10209000 {
- compatible = "mediatek,APMIXED";
- reg = <0x10209000 0x1000>;
- };
- FHCTL@0x10209F00 {
- compatible = "mediatek,FHCTL";
- reg = <0x10209F00 0x100>;
- };
- THERM_CTRL@0x1100B000 {
- compatible = "mediatek,THERM_CTRL";
- reg = <0x1100B000 0x1000>;
- interrupts = <0 78 0x8>;
- };
- ptp_fsm@1100b000 {
- compatible = "mediatek,ptp_fsm_v1";
- reg = <0x1100b000 0x1000>;
- interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_LOW>;
- };
- dispsys@14007000 {
- compatible = "mediatek,dispsys";
- reg = <0x14007000 0x1000>, /*DISP_OVL0 */
- <0x14008000 0x1000>, /*DISP_OVL1 */
- <0x14009000 0x1000>, /*DISP_RDMA0 */
- <0x1400a000 0x1000>, /*DISP_RDMA1 */
- <0x1400b000 0x1000>, /*DISP_WDMA0 */
- <0x1400c000 0x1000>, /*DISP_COLOR */
- <0x1400d000 0x1000>, /*DISP_CCORR */
- <0x1400e000 0x1000>, /*DISP_AAL */
- <0x1400f000 0x1000>, /*DISP_GAMMA */
- <0x14010000 0x1000>, /*DISP_DITHER */
- <0 0>, /*DISP_UFOE */
- <0x1100e000 0x1000>, /*DISP_PWM */
- <0 0>, /*DISP_WDMA1 */
- <0x14015000 0x1000>, /*DISP_MUTEX */
- <0x14013000 0x1000>, /*DISP_DSI0 */
- <0x14014000 0x1000>, /*DISP_DPI0 */
- <0x14000000 0x1000>, /*DISP_CONFIG */
- <0x14016000 0x1000>, /*DISP_SMI_LARB0 */
- <0x14017000 0x1000>, /*DISP_SMI_COMMOM*/
- <0x14018000 0x1000>, /*MIPITX0,real chip would use this:<0x14017000 0x1000>;*/
- <0x10206000 0x1000>, /*DISP_CONFIG2*/
- <0x10210000 0x1000>, /*DISP_CONFIG3*/
- <0x10211a70 0x000c>, /*DISP_DPI_IO_DRIVING1 */
- <0x10211974 0x000c>, /*DISP_DPI_IO_DRIVING2 */
- <0x10211b70 0x000c>, /*DISP_DPI_IO_DRIVING3 */
- <0x10206044 0x000c>, /*DISP_DPI_EFUSE */
- <0x10206514 0x000c>, /*DISP_DPI_EFUSE_PERMISSION */
- <0x10206558 0x000c>, /*DISP_DPI_EFUSE_KEY */
- <0x102100a0 0x1000>, /*DISP_TVDPLL_CFG6 */
- <0x10209270 0x1000>, /*DISP_TVDPLL_CON0 */
- <0x10209274 0x1000>, /*DISP_TVDPLL_CON1 */
- <0x14012000 0x1000>, /*DISP_OD */
- <0x10209000 0x1000>; /*DISP_VENCPLL */
- interrupts = <0 193 8>, /*DISP_OVL0 */
- <0 211 8>, /*DISP_OVL1 */
- <0 194 8>, /*DISP_RDMA0 */
- <0 195 8>, /*DISP_RDMA1 */
- <0 196 8>, /*DISP_WDMA0 */
- <0 197 8>, /*DISP_COLOR */
- <0 198 8>, /*DISP_CCORR */
- <0 199 8>, /*DISP_AAL */
- <0 200 8>, /*DISP_GAMMA */
- <0 201 8>, /*DISP_DITHER */
- <0 0 8>, /*DISP_UFOE */
- <0 117 8>, /*DISP_PWM */
- <0 0 8>, /*DISP_WDMA1 */
- <0 186 8>, /*DISP_MUTEX */
- <0 203 8>, /*DISP_DSI0 */
- <0 204 8>, /*DISP_DPI0 */
- <0 205 8>, /*DISP_CONFIG, 0 means no IRQ*/
- <0 176 8>, /*DISP_SMI_LARB0 */
- <0 0 8>, /*DISP_SMI_COMMOM*/
- <0 0 8>, /*MIPITX0,real chip would use this:<0x14017000 0x1000>;*/
- <0 0 8>, /*DISP_CONFIG2*/
- <0 0 8>, /*DISP_CONFIG3*/
- <0 0 8>, /*DISP_DPI_IO_DRIVING1 */
- <0 0 8>, /*DISP_DPI_IO_DRIVING2 */
- <0 0 8>, /*DISP_DPI_IO_DRIVING3 */
- <0 0 8>, /*DISP_DPI_EFUSE */
- <0 0 8>, /*DISP_DPI_EFUSE_PERMISSION */
- <0 0 8>, /*DISP_DPI_EFUSE_KEY */
- <0 0 8>, /*DISP_TVDPLL_CFG6 */
- <0 0 8>, /*DISP_TVDPLL_CON0 */
- <0 0 8>, /*DISP_TVDPLL_CON1 */
- <0 210 8>, /*DISP_OD */
- <0 0 8>; /*DISP_VENCPLL */
- };
- lcm_mode: lcm_mode {
- compatible = "mediatek,lcm_mode";
- };
- cpu_dbgapb: cpu_dbgapb {
- compatible = "mediatek,mt6735-dbg_debug";
- num = <8>;
- reg = <0x10810000 0x1000
- 0x10910000 0x1000
- 0x10A10000 0x1000
- 0x10B10000 0x1000
- 0x10C10000 0x1000
- 0x10D10000 0x1000
- 0x10E10000 0x1000
- 0x10F10000 0x1000>;
- };
- syscfg_pctl_a: syscfg_pctl_a {
- compatible = "mediatek,mt6735-pctl-a-syscfg", "syscon";
- reg = <0 10211000 0 1000>;
- };
- pio: pinctrl {
- compatible = "mediatek,mt6735-pinctrl";
- reg = <0 10211000 0 1000>;
- mediatek,pctl-regmap = <&syscfg_pctl_a>;
- pins-are-numbered;
- gpio-controller;
- #gpio-cells = <2>;
- };
- usb0:usb20@11200000 {
- compatible = "mediatek,mt6735-usb20";
- cell-index = <0>;
- reg = <0x11200000 0x10000>,
- <0x11210000 0x10000>;
- interrupts = <0 72 0x8>;
- mode = <2>;
- multipoint = <1>;
- dyn_fifo = <1>;
- soft_con = <1>;
- dma = <1>;
- num_eps = <16>;
- dma_channels = <8>;
- clocks = <&perisys PERI_USB0>;
- clock-names = "usb0";
- VUSB33-supply = <&mt_pmic_vusb33_ldo_reg>;
- iddig_gpio = <0 1>;
- drvvbus_gpio = <83 2>;
- };
- audio@11220000 {
- compatible = "mediatek,audio";
- reg = <0x11220000 0x10000>;
- interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
- };
- mt_soc_dl1_pcm@11220000 {
- compatible = "mediatek,mt-soc-dl1-pcm";
- reg = <0x11220000 0x1000>;
- interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
- audclk-gpio = <143 0>;
- audmiso-gpio = <144 0>;
- audmosi-gpio = <145 0>;
- vowclk-gpio = <148 0>;
- extspkamp-gpio = <117 0>;
- i2s1clk-gpio = <80 0>;
- i2s1dat-gpio = <78 0>;
- i2s1mclk-gpio = <9 0>;
- i2s1ws-gpio = <79 0>;
- };
- mt_soc_ul1_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_capture";
- };
- mt_soc_voice_md1@11220000 {
- compatible = "mediatek,mt_soc_pcm_voice_md1";
- };
- mt_soc_hdmi_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_hdmi";
- };
- mt_soc_uldlloopback_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_uldlloopback";
- };
- mt_soc_i2s0_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_dl1_i2s0";
- };
- mt_soc_mrgrx_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_mrgrx";
- };
- mt_soc_mrgrx_awb_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_mrgrx_awb";
- };
- mt_soc_fm_i2s_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_fm_i2s";
- };
- mt_soc_fm_i2s_awb_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_fm_i2s_awb";
- };
- mt_soc_i2s0dl1_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_dl1_i2s0Dl1";
- };
- mt_soc_dl1_awb_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_dl1_awb";
- };
- mt_soc_voice_md1_bt@11220000 {
- compatible = "mediatek,mt_soc_pcm_voice_md1_bt";
- };
- mt_soc_voip_bt_out@11220000 {
- compatible = "mediatek,mt_soc_pcm_dl1_bt";
- };
- mt_soc_voip_bt_in@11220000 {
- compatible = "mediatek,mt_soc_pcm_bt_dai";
- };
- mt_soc_tdmrx_pcm@11220000 {
- compatible = "mediatek,mt_soc_tdm_capture";
- };
- mt_soc_fm_mrgtx_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_fmtx";
- };
- mt_soc_ul2_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_capture2";
- };
- mt_soc_i2s0_awb_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_i2s0_awb";
- };
- mt_soc_voice_md2@11220000 {
- compatible = "mediatek,mt_soc_pcm_voice_md2";
- };
- mt_soc_routing_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_routing";
- i2s1clk-gpio = <7 6>;
- i2s1dat-gpio = <5 6>;
- i2s1mclk-gpio = <9 6>;
- i2s1ws-gpio = <6 6>;
- };
- mt_soc_voice_md2_bt@11220000 {
- compatible = "mediatek,mt_soc_pcm_voice_md2_bt";
- };
- mt_soc_hp_impedance_pcm@11220000 {
- compatible = "mediatek,Mt_soc_pcm_hp_impedance";
- };
- mt_soc_codec_name@11220000 {
- compatible = "mediatek,mt_soc_codec_63xx";
- };
- mt_soc_dummy_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_dummy";
- };
- mt_soc_codec_dummy_name@11220000 {
- compatible = "mediatek,mt_soc_codec_dummy";
- };
- mt_soc_routing_dai_name@11220000 {
- compatible = "mediatek,mt_soc_dai_routing";
- };
- mt_soc_dai_name@11220000 {
- compatible = "mediatek,mt_soc_dai_stub";
- };
- mt_soc_offload_gdma@11220000 {
- compatible = "mediatek,mt_soc_pcm_offload_gdma";
- };
- mt_soc_dl2_pcm@11220000 {
- compatible = "mediatek,mt_soc_pcm_dl2";
- };
- pwrap {
- compatible = "mediatek,PWRAP";
- reg = <0x10001000 0x1000>;
- interrupts = <0 163 0x4>;
- };
- touch: touch@ {
- compatible = "mediatek,mt6735-touch",
- "mediatek,mt6735m-touch",
- "mediatek,mt6753-touch";
- vtouch-supply = <&mt_pmic_vgp1_ldo_reg>;
- };
- accdet: accdet@ {
- compatible = "mediatek,mt6735-accdet",
- "mediatek,mt6735m-accdet",
- "mediatek,mt6753-accdet";
- };
- G3D_CONFIG@0x13000000 {
- compatible = "mediatek,G3D_CONFIG";
- reg = <0x13000000 0x1000>;
- };
- MALI@0x13040000 {
- compatible = "arm,malit720", "arm,mali-t72x", "arm,malit7xx", "arm,mali-midgard";
- reg = <0x13040000 0x4000>;
- interrupts = <0 214 0x8>, <0 213 0x8>, <0 212 0x8>;
- interrupt-names = "JOB", "MMU", "GPU";
- clock-frequency = <450000000>;
- clocks = <&mfgsys MFG_BG3D>, <&mmsys MM_DISP0_SMI_COMMON>,
- <&scpsys SCP_SYS_MFG>, <&scpsys SCP_SYS_DIS>;
- clock-names = "mfg-main", "mfg-smi-common", "mtcmos-mfg", "mtcmos-display";
- };
- pwm:pwm@11006000 {
- compatible = "mediatek,pwm";
- reg = <0x11006000 0x1000>;
- interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>;
- };
- };
- /* NFC start */
- nfc:nfc@0 {
- compatible = "mediatek,nfc-gpio-v2";
- gpio-ven = <4>;
- gpio-rst = <3>;
- gpio-eint = <1>;
- gpio-irq = <2>;
- };
- /* NFC end */
- gps {
- compatible = "mediatek,mt3326-gps";
- };
- rf_clock_buffer_ctrl:rf_clock_buffer {
- compatible = "mediatek,rf_clock_buffer";
- mediatek,clkbuf-quantity = <4>;
- mediatek,clkbuf-config = <2 1 1 1>;
- };
- MOBICORE {
- compatible = "trustonic,mobicore";
- interrupts = <GIC_SPI 248 IRQ_TYPE_EDGE_RISING>;
- };
- /* sensor part */
- hwmsensor@0 {
- compatible = "mediatek,hwmsensor";
- };
- gsensor@0 {
- compatible = "mediatek,gsensor";
- };
- alsps:als_ps@0 {
- compatible = "mediatek,als_ps";
- };
- m_acc_pl@0 {
- compatible = "mediatek,m_acc_pl";
- };
- m_alsps_pl@0 {
- compatible = "mediatek,m_alsps_pl";
- };
- m_batch_pl@0 {
- compatible = "mediatek,m_batch_pl";
- };
- batchsensor@0 {
- compatible = "mediatek,batchsensor";
- };
- gyro:gyroscope@0 {
- compatible = "mediatek,gyroscope";
- };
- m_gyro_pl@0 {
- compatible = "mediatek,m_gyro_pl";
- };
- barometer@0 {
- compatible = "mediatek,barometer";
- };
- m_baro_pl@0 {
- compatible = "mediatek,m_baro_pl";
- };
- msensor@0 {
- compatible = "mediatek,msensor";
- };
- m_mag_pl@0 {
- compatible = "mediatek,m_mag_pl";
- };
- orientation@0 {
- compatible = "mediatek,orientation";
- };
- /* sensor end */
- };
- #include "cust.dtsi"
- &eintc {
- pmic@206 {
- compatible = "mediatek, pmic-eint";
- interrupt-parent = <&eintc>;
- interrupts = <206 4>;
- debounce = <206 1000>;
- };
- };
- &pio {
- ssw_default:ssw0default {
- };
- ssw_hot_plug_mode1:ssw@1 {
- pins_cmd0_dat {
- pins = <PINMUX_GPIO8__FUNC_MD_EINT1>;
- };
- pins_cmd1_dat {
- pins = <PINMUX_GPIO9__FUNC_MD_EINT2>;
- };
- };
- ssw_hot_plug_mode2:ssw@2 {
- pins_cmd0_dat {
- pins = <PINMUX_GPIO8__FUNC_C2K_UIM0_HOT_PLUG_IN>;
- };
- pins_cmd1_dat {
- pins = <PINMUX_GPIO9__FUNC_MD_EINT2>;
- };
- };
- ssw_two_sims_bound_to_md1:ssw@3 {
- pins_cmd0_dat {
- pins = <PINMUX_GPIO163__FUNC_MD_SIM1_SCLK>;
- slew-rate = <1>;
- };
- pins_cmd1_dat {
- pins = <PINMUX_GPIO164__FUNC_MD_SIM1_SRST>;
- slew-rate = <1>;
- };
- pins_cmd2_dat {
- pins = <PINMUX_GPIO165__FUNC_MD_SIM1_SDAT>;
- slew-rate = <0>;
- bias-pull-up = <00>;
- };
- pins_cmd3_dat {
- pins = <PINMUX_GPIO160__FUNC_MD_SIM2_SCLK>;
- slew-rate = <1>;
- };
- pins_cmd4_dat {
- pins = <PINMUX_GPIO161__FUNC_MD_SIM2_SRST>;
- slew-rate = <1>;
- };
- pins_cmd5_dat {
- pins = <PINMUX_GPIO162__FUNC_MD_SIM2_SDAT>;
- slew-rate = <0>;
- bias-pull-up = <00>;
- };
- };
- ssw_sim1_md3_sim2_md1:ssw@4 {
- pins_cmd0_dat {
- pins = <PINMUX_GPIO163__FUNC_UIM0_CLK>;
- };
- pins_cmd1_dat {
- pins = <PINMUX_GPIO164__FUNC_UIM0_RST>;
- };
- pins_cmd2_dat {
- pins = <PINMUX_GPIO165__FUNC_UIM0_IO>;
- };
- pins_cmd3_dat {
- pins = <PINMUX_GPIO160__FUNC_MD_SIM2_SCLK>;
- };
- pins_cmd4_dat {
- pins = <PINMUX_GPIO161__FUNC_MD_SIM2_SRST>;
- };
- pins_cmd5_dat {
- pins = <PINMUX_GPIO162__FUNC_MD_SIM2_SDAT>;
- };
- };
- };
- /*SSW end*/
- /*GPIO standardization CLDMA*/
- &mdcldma {
- pinctrl-names = "default", "vsram_output_low", "vsram_output_high", "RFIC0_01_mode", "RFIC0_04_mode";
- pinctrl-0 = <&vsram_default>;
- pinctrl-1 = <&vsram_output_low>;
- pinctrl-2 = <&vsram_output_high>;
- pinctrl-3 = <&RFIC0_01_mode>;
- pinctrl-4 = <&RFIC0_04_mode>;
- };
- &pio {
- vsram_default: vsram0default {
- };
- vsram_output_low: vsram@1 {
- pins_cmd_dat {
- pins = <PINMUX_GPIO140__FUNC_GPIO140>;
- slew-rate = <1>;
- output-low;
- };
- };
- vsram_output_high: vsram@2 {
- pins_cmd_dat {
- pins = <PINMUX_GPIO140__FUNC_GPIO140>;
- slew-rate = <1>;
- output-high;
- };
- };
- RFIC0_01_mode: clockbuf@1{
- pins_cmd0_dat {
- pins = <PINMUX_GPIO110__FUNC_RFIC0_BSI_EN>;
- };
- pins_cmd1_dat {
- pins = <PINMUX_GPIO111__FUNC_RFIC0_BSI_CK>;
- };
- pins_cmd2_dat {
- pins = <PINMUX_GPIO112__FUNC_RFIC0_BSI_D2>;
- };
- pins_cmd3_dat {
- pins = <PINMUX_GPIO113__FUNC_RFIC0_BSI_D1>;
- };
- pins_cmd4_dat {
- pins = <PINMUX_GPIO114__FUNC_RFIC0_BSI_D0>;
- };
- };
- RFIC0_04_mode: clockbuf@2{
- pins_cmd0_dat {
- pins = <PINMUX_GPIO110__FUNC_SPM_BSI_EN>;
- };
- pins_cmd1_dat {
- pins = <PINMUX_GPIO111__FUNC_SPM_BSI_CLK>;
- };
- pins_cmd2_dat {
- pins = <PINMUX_GPIO112__FUNC_SPM_BSI_D2>;
- };
- pins_cmd3_dat {
- pins = <PINMUX_GPIO113__FUNC_SPM_BSI_D1>;
- };
- pins_cmd4_dat {
- pins = <PINMUX_GPIO114__FUNC_SPM_BSI_D0>;
- };
- };
- };
- /*CLDMA end*/
- #include <trusty.dtsi>
|