1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380 |
- /* SPDX-License-Identifier: GPL-2.0 */
- /*
- * Copyright (C) 2021 Alibaba Group Holding Limited.
- */
- /dts-v1/;
- #include "light.dtsi"
- #include <dt-bindings/input/linux-event-codes.h>
- #include <dt-bindings/gpio/gpio.h>
- #include "light-vi-devices.dtsi"
- / {
- model = "T-HEAD Light val board";
- compatible = "thead,light-val", "thead,light";
- memory@0 {
- device_type = "memory";
- reg = <0x0 0x00000000 0x0 0x80000000>;
- };
- chosen {
- bootargs = "console=ttyS0,115200 crashkernel=256M-:128M earlycon clk_ignore_unused sram=0xffe0000000,0x180000";
- stdout-path = "serial0:115200n8";
- };
- leds {
- compatible = "gpio-leds";
- status = "disabled";
- led0 {
- label = "SYS_STATUS";
- gpios = <&gpio1_porta 15 0>; /* GPIO_ACTIVE_HIGH: 0 */
- default-state = "off";
- };
- };
- display-subsystem {
- status = "okay";
- };
- lcd0_backlight: pwm-backlight@0 {
- compatible = "pwm-backlight";
- pwms = <&pwm 0 5000000>;
- brightness-levels = <0 4 8 16 32 64 128 255>;
- default-brightness-level = <7>;
- };
- light_iopmp: iopmp {
- compatible = "thead,light-iopmp";
- /* config#1: multiple valid regions */
- iopmp_emmc: IOPMP_EMMC {
- regions = <0x000000 0x100000>,
- <0x100000 0x200000>;
- attr = <0xFFFFFFFF>;
- dummy_slave= <0x800000>;
- };
- /* config#2: iopmp bypass */
- iopmp_sdio0: IOPMP_SDIO0 {
- bypass_en;
- };
- /* config#3: iopmp default region set */
- iopmp_sdio1: IOPMP_SDIO1 {
- attr = <0xFFFFFFFF>;
- is_default_region;
- };
- iopmp_usb0: IOPMP_USB0 {
- attr = <0xFFFFFFFF>;
- is_default_region;
- };
- iopmp_ao: IOPMP_AO {
- is_default_region;
- };
- iopmp_aud: IOPMP_AUD {
- is_default_region;
- };
- iopmp_chip_dbg: IOPMP_CHIP_DBG {
- is_default_region;
- };
- iopmp_eip120i: IOPMP_EIP120I {
- is_default_region;
- };
- iopmp_eip120ii: IOPMP_EIP120II {
- is_default_region;
- };
- iopmp_eip120iii: IOPMP_EIP120III {
- is_default_region;
- };
- iopmp_isp0: IOPMP_ISP0 {
- is_default_region;
- };
- iopmp_isp1: IOPMP_ISP1 {
- is_default_region;
- };
- iopmp_dw200: IOPMP_DW200 {
- is_default_region;
- };
- iopmp_vipre: IOPMP_VIPRE {
- is_default_region;
- };
- iopmp_venc: IOPMP_VENC {
- is_default_region;
- };
- iopmp_vdec: IOPMP_VDEC {
- is_default_region;
- };
- iopmp_g2d: IOPMP_G2D {
- is_default_region;
- };
- iopmp_fce: IOPMP_FCE {
- is_default_region;
- };
- iopmp_npu: IOPMP_NPU {
- is_default_region;
- };
- iopmp0_dpu: IOPMP0_DPU {
- bypass_en;
- };
- iopmp1_dpu: IOPMP1_DPU {
- bypass_en;
- };
- iopmp_gpu: IOPMP_GPU {
- is_default_region;
- };
- iopmp_gmac1: IOPMP_GMAC1 {
- is_default_region;
- };
- iopmp_gmac2: IOPMP_GMAC2 {
- is_default_region;
- };
- iopmp_dmac: IOPMP_DMAC {
- is_default_region;
- };
- iopmp_tee_dmac: IOPMP_TEE_DMAC {
- is_default_region;
- };
- iopmp_dsp0: IOPMP_DSP0 {
- is_default_region;
- };
- iopmp_dsp1: IOPMP_DSP1 {
- is_default_region;
- };
- };
- mbox_910t_client1: mbox_910t_client1 {
- compatible = "thead,light-mbox-client";
- mbox-names = "902";
- mboxes = <&mbox_910t 1 0>;
- status = "disabled";
- };
- mbox_910t_client2: mbox_910t_client2 {
- compatible = "thead,light-mbox-client";
- mbox-names = "906";
- mboxes = <&mbox_910t 2 0>;
- status = "disabled";
- };
- lightsound: lightsound@1 {
- compatible = "simple-audio-card";
- simple-audio-card,name = "Light-Sound-Card";
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- dummy_codec: dummy_codec {
- #sound-dai-cells = <1>;
- compatible = "linux,bt-sco";
- status = "okay";
- };
- reg_vref_1v8: regulator-adc-verf {
- compatible = "regulator-fixed";
- regulator-name = "vref-1v8";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- status = "okay";
- };
- reg_tp_pwr_en: regulator-pwr-en {
- compatible = "regulator-fixed";
- regulator-name = "PWR_EN";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- gpio = <&gpio1_porta 12 1>;
- enable-active-high;
- regulator-always-on;
- };
- wcn_wifi: wireless-wlan {
- compatible = "wlan-platdata";
- clock-names = "clk_wifi";
- ref-clock-frequency = <24000000>;
- keep_wifi_power_on;
- pinctrl-names = "default";
- wifi_chip_type = "rtl8723ds";
- WIFI,poweren_gpio = <&gpio2_porta 29 0>;
- WIFI,reset_n = <&gpio2_porta 22 0>;
- status = "okay";
- };
- wcn_bt: wireless-bluetooth {
- compatible = "bluetooth-platdata";
- pinctrl-names = "default", "rts_gpio";
- BT,power_gpio = <&gpio2_porta 29 0>;
- status = "okay";
- };
- gpio-keys {
- compatible = "gpio-keys";
- pinctrl-0 = <&pinctrl_volume>;
- pinctrl-names = "default";
- key-volumedown {
- label = "Volume Down Key";
- linux,code = <KEY_VOLUMEDOWN>;
- debounce-interval = <1>;
- gpios = <&gpio1_porta 19 0x1>;
- };
- key-volumeup {
- label = "Volume Up Key";
- linux,code = <KEY_VOLUMEUP>;
- debounce-interval = <1>;
- gpios = <&gpio2_porta 25 0x1>;
- };
- };
- aon: aon {
- compatible = "thead,light-aon";
- mbox-names = "aon";
- mboxes = <&mbox_910t 1 0>;
- status = "okay";
- pd: light-aon-pd {
- compatible = "thead,light-aon-pd";
- #power-domain-cells = <1>;
- };
- soc_aud_3v3_en_reg: soc_aud_3v3_en {
- compatible = "regulator-fixed";
- regulator-name = "soc_aud_3v3_en";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpio = <&ao_gpio_porta 7 1>;
- enable-active-high;
- regulator-always-on;
- };
- soc_aud_1v8_en_reg: soc_aud_1v8_en {
- compatible = "regulator-fixed";
- regulator-name = "soc_aud_1v8_en";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- gpio = <&ao_gpio_porta 8 1>;
- enable-active-high;
- regulator-always-on;
- };
- soc_vdd_3v3_en_reg: soc_vdd_3v3_en {
- compatible = "regulator-fixed";
- regulator-name = "soc_vdd_3v3_en";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpio = <&gpio0_porta 30 1>;
- enable-active-high;
- regulator-always-on;
- };
- soc_lcd0_bias_en_reg: soc_lcd0_bias_en {
- compatible = "regulator-fixed";
- regulator-name = "soc_lcd0_bias_en";
- regulator-min-microvolt = <5700000>;
- regulator-max-microvolt = <5700000>;
- gpio = <&gpio1_porta 10 1>;
- enable-active-high;
- };
- soc_vdd18_lcd0_en_reg: soc_lcd0_en {
- compatible = "regulator-fixed";
- regulator-name = "soc_lcd0_en";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- gpio = <&gpio1_porta 9 1>;
- enable-active-high;
- };
- soc_vdd5v_se_en_reg: soc_vdd5v_se_en {
- compatible = "regulator-fixed";
- regulator-name = "soc_vdd5v_se_en";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpio = <&gpio2_porta 14 1>;
- enable-active-high;
- regulator-always-on;
- };
- soc_wcn33_en_reg: soc_wcn33_en {
- compatible = "regulator-fixed";
- regulator-name = "soc_wcn33_en";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpio = <&gpio2_porta 29 1>;
- enable-active-high;
- regulator-always-on;
- };
- soc_vbus_en_reg: soc_vbus_en {
- compatible = "regulator-fixed";
- regulator-name = "soc_vbus_en";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpio = <&gpio2_porta 28 1>;
- enable-active-high;
- regulator-always-on;
- };
- soc_avdd28_rgb_reg: soc_avdd28_rgb {
- compatible = "regulator-fixed";
- regulator-name = "soc_avdd28_rgb";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- gpio = <&gpio1_porta 15 1>;
- enable-active-high;
- };
- soc_dovdd18_rgb_reg: soc_dovdd18_rgb {
- compatible = "regulator-fixed";
- regulator-name = "soc_dovdd18_rgb";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- gpio = <&gpio1_porta 13 1>;
- enable-active-high;
- };
- soc_dvdd12_rgb_reg: soc_dvdd12_rgb {
- compatible = "regulator-fixed";
- regulator-name = "soc_dvdd12_rgb";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- gpio = <&gpio1_porta 14 1>;
- enable-active-high;
- };
- soc_avdd25_ir_reg: soc_avdd25_ir {
- compatible = "regulator-fixed";
- regulator-name = "soc_avdd25_ir";
- regulator-min-microvolt = <2500000>;
- regulator-max-microvolt = <2500000>;
- gpio = <&gpio0_porta 28 1>;
- enable-active-high;
- };
- soc_dovdd18_ir_reg: soc_dovdd18_ir {
- compatible = "regulator-fixed";
- regulator-name = "soc_dovdd18_ir";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- gpio = <&gpio1_porta 13 1>;
- enable-active-high;
- };
- soc_dvdd12_ir_reg: soc_dvdd12_ir {
- compatible = "regulator-fixed";
- regulator-name = "soc_dvdd12_ir";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <1200000>;
- gpio = <&gpio0_porta 29 1>;
- enable-active-high;
- };
- aon_reg_dialog: light-dialog-reg {
- compatible = "thead,light-dialog-pmic-ant";
- status = "okay";
- dvdd_cpu_reg: appcpu_dvdd {
- regulator-name = "appcpu_dvdd";
- regulator-min-microvolt = <300000>;
- regulator-max-microvolt = <1570000>;
- regulator-boot-on;
- regulator-always-on;
- };
- dvddm_cpu_reg: appcpu_dvddm {
- regulator-name = "appcpu_dvddm";
- regulator-min-microvolt = <300000>;
- regulator-max-microvolt = <1570000>;
- regulator-boot-on;
- regulator-always-on;
- };
- soc_dvdd18_aon_reg: soc_dvdd18_aon {
- regulator-name = "soc_dvdd18_aon";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_avdd33_usb3_reg: soc_avdd33_usb3 {
- regulator-name = "soc_avdd33_usb3";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_dvdd08_aon_reg: soc_dvdd08_aon {
- regulator-name = "soc_dvdd08_aon";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_dvdd08_ddr_reg: soc_dvdd08_ddr {
- regulator-name = "soc_dvdd08_ddr";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_vdd_ddr_1v8_reg: soc_vdd_ddr_1v8 {
- regulator-name = "soc_vdd_ddr_1v8";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_vdd_ddr_1v1_reg: soc_vdd_ddr_1v1 {
- regulator-name = "soc_vdd_ddr_1v1";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_vdd_ddr_0v6_reg: soc_vdd_ddr_0v6 {
- regulator-name = "soc_vdd_ddr_0v6";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_dvdd18_ap_reg: soc_dvdd18_ap {
- regulator-name = "soc_dvdd18_ap";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_avdd08_mipi_hdmi_reg: soc_avdd08_mipi_hdmi {
- regulator-name = "soc_avdd08_mipi_hdmi";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_avdd18_mipi_hdmi_reg: soc_avdd18_mipi_hdmi {
- regulator-name = "soc_avdd18_mipi_hdmi";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_vdd33_emmc_reg: soc_vdd33_emmc {
- regulator-name = "soc_vdd33_emmc";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_vdd18_emmc_reg: soc_vdd18_emmc {
- regulator-name = "soc_vdd18_emmc";
- regulator-boot-on;
- regulator-always-on;
- };
- soc_dovdd18_scan_reg: soc_dovdd18_scan {
- regulator-name = "soc_dovdd18_scan";
- regulator-min-microvolt = <900000>;
- regulator-max-microvolt = <3600000>;
- };
- soc_dvdd12_scan_reg: soc_dvdd12_scan {
- regulator-name = "soc_dvdd12_scan";
- regulator-min-microvolt = <900000>;
- regulator-max-microvolt = <3600000>;
- };
- soc_avdd28_scan_en_reg: soc_avdd28_scan_en {
- regulator-name = "soc_avdd28_scan_en";
- regulator-min-microvolt = <900000>;
- regulator-max-microvolt = <3600000>;
- };
- };
- c910_cpufreq {
- compatible = "thead,light-mpw-cpufreq";
- status = "okay";
- };
- test: light-aon-test {
- compatible = "thead,light-aon-test";
- };
- };
- };
- &resmem {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
- tee_mem: memory@1c000000 {
- reg = <0x0 0x1c000000 0 0x2000000>;
- no-map;
- };
- dsp0_mem: memory@20000000 { /**0x2000_0000~0x2040_0000 4M**/
- reg = <0x0 0x20000000 0x0 0x00280000 /* DSP FW code&data section 2.5M*/
- 0x0 0x20280000 0x0 0x00001000 /* DSP communication area 4K*/
- 0x0 0x20281000 0x0 0x00007000 /* Panic/log page 28K */
- 0x0 0x20288000 0x0 0x00178000>; /* DSP shared memory 1.5M-32K*/
- no-map;
- };
- dsp1_mem: memory@20400000 { /**0x2040_0000~0x2080_0000 4M**/
- reg = <0x0 0x20400000 0x0 0x00280000 /* DSP FW code&data section */
- 0x0 0x20680000 0x0 0x00001000 /* DSP communication area */
- 0x0 0x20681000 0x0 0x00007000 /* Panic/log page*/
- 0x0 0x20688000 0x0 0x00178000>; /* DSP shared memory */
- no-map;
- };
- vi_mem: framebuffer@10000000 {
- reg = <0x0 0x10000000 0x0 0x02C00000 /* vi_mem_pool_region[0] 44 MB (default) */
- 0x0 0x12C00000 0x0 0x01D00000 /* vi_mem_pool_region[1] 29 MB */
- 0x0 0x14900000 0x0 0x01E00000>; /* vi_mem_pool_region[2] 30 MB */
- no-map;
- };
- facelib_mem: memory@17000000 {
- reg = <0x0 0x17000000 0 0x02000000>;
- no-map;
- };
- };
- &adc {
- vref-supply = <®_vref_1v8>;
- #io-channel-cells = <1>;
- status = "okay";
- };
- &i2c0 {
- clock-frequency = <100000>;
- status = "okay";
- touch@5d {
- #gpio-cells = <2>;
- compatible = "goodix,gt911";
- reg = <0x5d>;
- interrupt-parent = <&gpio1_porta>;
- interrupts = <8 0>;
- irq-gpios = <&gpio1_porta 8 0>;
- reset-gpios = <&gpio1_porta 7 0>;
- AVDD28-supply = <®_tp_pwr_en>;
- touchscreen-size-x = <720>;
- touchscreen-size-y = <1280>;
- };
- };
- &audio_i2c0 {
- clock-frequency = <100000>;
- status = "okay";
- es8156_audio_codec: es8156@8 {
- #sound-dai-cells = <0>;
- compatible = "everest,es8156";
- reg = <0x08>;
- };
- es7210_audio_codec: es7210@40 {
- #sound-dai-cells = <0>;
- compatible = "MicArray_0";
- reg = <0x40>;
- };
- audio_aw87519_pa@58 {
- compatible = "awinic,aw87519_pa";
- reg = <0x58>;
- reset-gpio = <&ao_gpio4_porta 9 0x1>;
- status = "okay";
- };
- };
- &i2c1 {
- clock-frequency = <100000>;
- status = "okay";
- };
- &spi0 {
- num-cs = <1>;
- cs-gpios = <&gpio2_porta 15 0>; // GPIO_ACTIVE_HIGH: 0
- rx-sample-delay-ns = <10>;
- status = "disabled";
- spi_norflash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "winbond,w25q64jwm", "jedec,spi-nor";
- reg = <0>;
- spi-max-frequency = <50000000>;
- w25q,fast-read;
- };
- spidev@1 {
- compatible = "spidev";
- #address-cells = <0x1>;
- #size-cells = <0x1>;
- reg = <0x1>;
- spi-max-frequency = <50000000>;
- };
- };
- &uart0 {
- clock-frequency = <100000000>;
- };
- &qspi0 {
- num-cs = <1>;
- cs-gpios = <&gpio2_porta 3 0>;
- rx-sample-dly = <4>;
- status = "disabled";
- spi-flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "spi-nand";
- spi-max-frequency = <100000000>;
- spi-tx-bus-width = <4>;
- spi-rx-bus-width = <4>;
- reg = <0>;
- partition@0 {
- label = "ubi1";
- reg = <0x00000000 0x08000000>;
- };
- };
- };
- &qspi1 {
- compatible = "snps,dw-apb-ssi";
- num-cs = <1>;
- cs-gpios = <&gpio0_porta 1 0>;
- status = "okay";
- spidev@0 {
- compatible = "spidev";
- #address-cells = <0x1>;
- #size-cells = <0x1>;
- reg = <0x0>;
- spi-max-frequency = <50000000>;
- };
- };
- &gmac0 {
- phy-mode = "rgmii-id";
- rx-clk-delay = <0x00>; /* for RGMII */
- tx-clk-delay = <0x00>; /* for RGMII */
- phy-handle = <&phy_88E1111_0>;
- status = "okay";
- mdio0 {
- #address-cells = <1>;
- #size-cells = <0>;
- compatible = "snps,dwmac-mdio";
- phy_88E1111_0: ethernet-phy@0 {
- reg = <0x1>;
- };
- phy_88E1111_1: ethernet-phy@1 {
- reg = <0x2>;
- };
- };
- };
- &gmac1 {
- phy-mode = "rgmii-id";
- rx-clk-delay = <0x00>; /* for RGMII */
- tx-clk-delay = <0x00>; /* for RGMII */
- phy-handle = <&phy_88E1111_1>;
- status = "disabled";
- };
- &emmc {
- max-frequency = <198000000>;
- non-removable;
- mmc-hs400-1_8v;
- io_fixed_1v8;
- is_emmc;
- no-sdio;
- no-sd;
- pull_up;
- bus-width = <8>;
- status = "okay";
- };
- &sdhci0 {
- max-frequency = <198000000>;
- bus-width = <4>;
- pull_up;
- wprtn_ignore;
- status = "okay";
- };
- &sdhci1 {
- max-frequency = <100000000>;
- bus-width = <4>;
- pull_up;
- no-sd;
- no-mmc;
- non-removable;
- io_fixed_1v8;
- post-power-on-delay-ms = <50>;
- wprtn_ignore;
- cap-sd-highspeed;
- keep-power-in-suspend;
- wakeup-source;
- status = "okay";
- };
- &padctrl0_apsys { /* right-pinctrl */
- light-evb-padctrl0 {
- /*
- * Pin Configuration Node:
- * Format: <pin_id mux_node config>
- */
- pinctrl_uart0: uart0grp {
- thead,pins = <
- FM_UART0_TXD 0x0 0x72
- FM_UART0_RXD 0x0 0x72
- >;
- };
- pinctrl_spi0: spi0grp {
- thead,pins = <
- FM_SPI_CSN 0x3 0x20a
- FM_SPI_SCLK 0x0 0x20a
- FM_SPI_MISO 0x0 0x23a
- FM_SPI_MOSI 0x0 0x23a
- >;
- };
- pinctrl_qspi0: qspi0grp {
- thead,pins = <
- FM_QSPI0_SCLK 0x0 0x20f
- FM_QSPI0_CSN0 0x3 0x20f
- FM_QSPI0_CSN1 0x0 0x20f
- FM_QSPI0_D0_MOSI 0x0 0x23f
- FM_QSPI0_D1_MISO 0x0 0x23f
- FM_QSPI0_D2_WP 0x0 0x23f
- FM_QSPI0_D3_HOLD 0x0 0x23f
- >;
- };
- pinctrl_audio_i2s0: i2s0grp {
- thead,pins = <
- FM_QSPI0_SCLK 0x2 0x208
- FM_QSPI0_CSN0 0x2 0x238
- FM_QSPI0_CSN1 0x2 0x208
- FM_QSPI0_D0_MOSI 0x2 0x238
- FM_QSPI0_D1_MISO 0x2 0x238
- FM_QSPI0_D2_WP 0x2 0x238
- FM_QSPI0_D3_HOLD 0x2 0x238
- >;
- };
- pinctrl_pwm: pwmgrp {
- thead,pins = <
- FM_GPIO3_2 0x1 0x208 /* pwm0 */
- >;
- };
- };
- };
- &padctrl1_apsys { /* left-pinctrl */
- light-evb-padctrl1 {
- /*
- * Pin Configuration Node:
- * Format: <pin_id mux_node config>
- */
- pinctrl_uart3: uart3grp {
- thead,pins = <
- FM_UART3_TXD 0x0 0x72
- FM_UART3_RXD 0x0 0x72
- >;
- };
- pinctrl_uart4: uart4grp {
- thead,pins = <
- FM_UART4_TXD 0x0 0x72
- FM_UART4_RXD 0x0 0x72
- FM_UART4_CTSN 0x0 0x72
- FM_UART4_RTSN 0x0 0x72
- >;
- };
- pinctrl_qspi1: qspi1grp {
- thead,pins = <
- FM_QSPI1_SCLK 0x0 0x20a
- FM_QSPI1_CSN0 0x3 0x20a
- FM_QSPI1_D0_MOSI 0x0 0x23a
- FM_QSPI1_D1_MISO 0x0 0x23a
- >;
- };
- pinctrl_iso7816: iso7816grp {
- thead,pins = <
- FM_QSPI1_SCLK 0x1 0x208
- FM_QSPI1_D0_MOSI 0x1 0x238
- FM_QSPI1_D1_MISO 0x1 0x238
- FM_QSPI1_D2_WP 0x1 0x238
- FM_QSPI1_D3_HOLD 0x1 0x238
- >;
- };
- pinctrl_volume: volume_grp {
- thead,pins = <
- FM_CLK_OUT_2 0x3 0x208
- >;
- };
- };
- };
- &padctrl_aosys {
- light-aon-padctrl {
- /*
- * Pin Configuration Node:
- * Format: <pin_id mux_node config>
- */
- pinctrl_audiopa1: audiopa1_grp {
- thead,pins = <
- FM_AUDIO_PA1 0x3 0x72
- >;
- };
- pinctrl_audiopa2: audiopa2_grp {
- thead,pins = <
- FM_AUDIO_PA2 0x0 0x72
- >;
- };
- };
- };
- &i2c0 {
- clock-frequency = <400000>;
- status = "okay";
- };
- &i2c1 {
- clock-frequency = <400000>;
- status = "okay";
- };
- &i2c2 {
- clock-frequency = <400000>;
- status = "okay";
- };
- &i2c3 {
- clock-frequency = <400000>;
- status = "okay";
- };
- &i2c4 {
- clock-frequency = <400000>;
- status = "okay";
- };
- &isp0 {
- status = "okay";
- };
- &isp1 {
- status = "okay";
- };
- &isp_ry0 {
- status = "okay";
- };
- &dewarp {
- status = "okay";
- };
- &dec400_isp0 {
- status = "okay";
- };
- &dec400_isp1 {
- status = "okay";
- };
- &dec400_isp2 {
- status = "okay";
- };
- &bm_visys {
- status = "okay";
- };
- &bm_csi0 {
- status = "okay";
- };
- &bm_csi1 {
- status = "okay";
- };
- &bm_csi2 {
- status = "okay";
- };
- &vi_pre {
- //vi_pre_irq_en = <1>;
- status = "okay";
- };
- &xtensa_dsp {
- status = "okay";
- };
- &xtensa_dsp0 {
- status = "okay";
- memory-region = <&dsp0_mem>;
- };
- &xtensa_dsp1 {
- status = "okay";
- memory-region = <&dsp1_mem>;
- };
- &vvcam_flash_led0{
- flash_led_name = "aw36413_aw36515";
- floodlight_i2c_bus = /bits/ 8 <2>;
- floodlight_en_pin = <&gpio1_porta 26 0>;
- projection_i2c_bus = /bits/ 8 <1>;
- flash_led_touch_pin = <&gpio1_porta 27 0>; //flash led touch pin
- io-channels = <&adc 2>;
- io-channel-names = "projection_adc";
- status = "okay";
- };
- &vvcam_sensor0 {
- sensor_name = "SC2310";
- sensor_regulators = "DOVDD18_RGB", "DVDD12_RGB", "AVDD28_RGB";
- sensor_regulator_timing_us = <70 50 20>;
- sensor_pdn = <&gpio1_porta 21 0>; //powerdown pin / shutdown pin
- sensor_rst = <&gpio1_porta 16 0>;
- sensor_pdn_delay_us = <4000>; //powerdown pin / shutdown pin actived till I2C ready
- DOVDD18_RGB-supply = <&soc_dovdd18_rgb_reg>;
- DVDD12_RGB-supply = <&soc_dvdd12_rgb_reg>;
- AVDD28_RGB-supply = <&soc_avdd28_rgb_reg>;
- i2c_reg_width = /bits/ 8 <2>;
- i2c_data_width = /bits/ 8 <1>;
- i2c_addr = /bits/ 8 <0x30>;
- i2c_bus = /bits/ 8 <3>;
- status = "okay";
- };
- &vvcam_sensor1 {
- sensor_name = "SC132GS";
- sensor_regulators = "DOVDD18_IR", "DVDD12_IR", "AVDD25_IR";
- sensor_regulator_timing_us = <70 1000 2000>;
- i2c_addr = /bits/ 8 <0x31>;
- sensor_pdn = <&gpio1_porta 28 0>; //powerdown pin / shutdown pin
- sensor_rst = <&gpio1_porta 24 0>;
- sensor_pdn_delay_us = <2000>; //powerdown pin / shutdown pin actived till I2C ready
- DOVDD18_IR-supply = <&soc_dovdd18_ir_reg>;
- DVDD12_IR-supply = <&soc_dvdd12_ir_reg>;
- AVDD25_IR-supply = <&soc_avdd25_ir_reg>;
- i2c_reg_width = /bits/ 8 <2>;
- i2c_data_width = /bits/ 8 <1>;
- i2c_bus = /bits/ 8 <2>;
- status = "okay";
- };
- &vvcam_sensor2 {
- sensor_name = "GC5035";
- sensor_regulators = "DOVDD18_SCAN", "DVDD12_SCAN", "AVDD28_SCAN";
- sensor_regulator_timing_us = <100 50 0>;
- sensor_pdn = <&gpio1_porta 30 0>; //powerdown pin / shutdown pin
- sensor_rst = <&gpio1_porta 29 0>;
- sensor_pdn_delay_us = <1000>; //powerdown pin / shutdown pin actived till I2C ready
- DOVDD18_SCAN-supply = <&soc_dovdd18_scan_reg>;
- DVDD12_SCAN-supply = <&soc_dvdd12_scan_reg>;
- AVDD28_SCAN-supply = <&soc_avdd28_scan_en_reg>;
- i2c_addr = /bits/ 8 <0x37>;
- i2c_bus = /bits/ 8 <4>;
- i2c_reg_width = /bits/ 8 <1>;
- i2c_data_width = /bits/ 8 <1>;
- status = "okay";
- };
- &vvcam_sensor3 {
- sensor_name = "GC02M1B";
- sensor_regulators = "DOVDD18_SCAN", "DVDD12_SCAN", "AVDD28_SCAN";
- sensor_regulator_timing_us = <100 50 0>;
- sensor_pdn = <&gpio1_porta 30 0>; //powerdown pin / shutdown pin
- sensor_rst = <&gpio1_porta 29 0>;
- sensor_pdn_delay_us = <1000>; //powerdown pin / shutdown pin actived till I2C ready
- DOVDD18_SCAN-supply = <&soc_dovdd18_scan_reg>;
- DVDD12_SCAN-supply = <&soc_dvdd12_scan_reg>;
- AVDD28_SCAN-supply = <&soc_avdd28_scan_en_reg>;
- i2c_addr = /bits/ 8 <0x37>;
- i2c_bus = /bits/ 8 <4>;
- i2c_reg_width = /bits/ 8 <1>;
- i2c_data_width = /bits/ 8 <1>;
- status = "okay";
- };
- &video0{
- vi_mem_pool_region = <2>; // vi_mem: framebuffer, region[2]
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- dma {
- path_type = "VIPRE_CSI0_ISP0";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- pipline1 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- dma {
- path_type = "VIPRE_CSI0_ISP0";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_PATH_SP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- pipline2 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- dma {
- path_type = "VIPRE_CSI0_ISP0";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_PATH_SP2_BP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- };
- &video1{
- vi_mem_pool_region = <2>; // vi_mem: framebuffer, region[2]
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- dma {
- path_type = "VIPRE_CSI0_ISP0";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE0";
- dw_dst_depth = <2>;
- };
- };
- pipline1 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- dma {
- path_type = "VIPRE_CSI0_ISP0";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE1";
- dw_dst_depth = <2>;
- };
- };
- pipline2 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- dma {
- path_type = "VIPRE_CSI0_ISP0";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE2";
- dw_dst_depth = <2>;
- };
- };
- };
- &video2{
- vi_mem_pool_region = <0>; // vi_mem: framebuffer, region[0]
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- pipline1 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_SP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- pipline2 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_SP2_BP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- };
- &video3{
- vi_mem_pool_region = <0>; // vi_mem: framebuffer, region[0]
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE0";
- dw_dst_depth = <2>;
- };
- };
- pipline1 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE1";
- dw_dst_depth = <2>;
- };
- };
- pipline2 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE2";
- dw_dst_depth = <2>;
- };
- };
- };
- &video4{
- vi_mem_pool_region = <0>; // vi_mem: framebuffer, region[0]
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_PP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dsp {
- subdev_name = "dsp";
- idx = <0>;
- path_type = "DSP_PATH_ISP_RY";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- ry {
- subdev_name = "ry";
- idx = <0>;
- path_type = "ISP_RY_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- pipline1 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_PP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dsp {
- subdev_name = "dsp";
- idx = <0>;
- path_type = "DSP_PATH_ISP_RY";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- ry {
- subdev_name = "ry";
- idx = <0>;
- path_type = "ISP_RY_MI_PATH_SP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- pipline2 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_PP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dsp {
- subdev_name = "dsp";
- idx = <0>;
- path_type = "DSP_PATH_ISP_RY";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- ry {
- subdev_name = "ry";
- idx = <0>;
- path_type = "ISP_RY_MI_PATH_SP2_BP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- };
- &video5{
- vi_mem_pool_region = <0>; // vi_mem: framebuffer, region[0]
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_PP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dsp {
- subdev_name = "dsp";
- idx = <0>;
- path_type = "DSP_PATH_ISP_RY";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- ry {
- subdev_name = "ry";
- idx = <0>;
- path_type = "ISP_RY_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE0";
- dw_dst_depth = <2>;
- };
- };
- pipline1 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_PP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dsp {
- subdev_name = "dsp";
- idx = <0>;
- path_type = "DSP_PATH_ISP_RY";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- ry {
- subdev_name = "ry";
- idx = <0>;
- path_type = "ISP_RY_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE1";
- dw_dst_depth = <2>;
- };
- };
- pipline2 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //vivcam0 sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- };
- dma {
- path_type = "VIPRE_CSI1_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_PP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dsp {
- subdev_name = "dsp";
- idx = <0>;
- path_type = "DSP_PATH_ISP_RY";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- ry {
- subdev_name = "ry";
- idx = <0>;
- path_type = "ISP_RY_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE2";
- dw_dst_depth = <2>;
- };
- };
- };
- &video6{
- vi_mem_pool_region = <1>; // vi_mem: framebuffer, region[1]
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <1>; // vivcam1 sc132gs
- csi_idx = <2>; //<2>=CSI2X2_A
- flash_led_idx = <0>;
- mode_idx = <0>;
- path_type = "SENSOR_1080X1280_30FPS_RAW10_LINER";
- };
- dsp{
- output {
- max_width = <1080>;
- max_height = <1280>;
- bit_per_pixel = <16>;
- frame_count = <3>;
- };
- };
- };
- pipline1 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <1>; //vivcam1 sc132gs
- csi_idx = <2>; //<2>=CSI2X2_A
- flash_led_idx = <0>;
- mode_idx = <0>;
- path_type = "SENSOR_1080X1280_30FPS_RAW10_LINER";
- };
- dsp{
- output {
- max_width = <1080>;
- max_height = <1280>;
- bit_per_pixel = <16>;
- frame_count = <3>;
- };
- };
- };
- };
- &video7{
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- dma {
- path_type = "VIPRE_CSI0_ISP0";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_PATH_PP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dsp {
- subdev_name = "dsp";
- idx = <1>;
- path_type = "DSP_PATH_ISP_RY";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- ry {
- subdev_name = "ry";
- idx = <0>;
- path_type = "ISP_RY_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE0";
- dw_dst_depth = <2>;
- };
- };
- pipline1 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- dma {
- path_type = "VIPRE_CSI0_ISP0";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_PATH_PP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dsp {
- subdev_name = "dsp";
- idx = <1>;
- path_type = "DSP_PATH_ISP_RY";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- ry {
- subdev_name = "ry";
- idx = <0>;
- path_type = "ISP_RY_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE1";
- dw_dst_depth = <2>;
- };
- };
- pipline2 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- dma {
- path_type = "VIPRE_CSI0_ISP0";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_PATH_PP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dsp {
- subdev_name = "dsp";
- idx = <1>;
- path_type = "DSP_PATH_ISP_RY";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- ry {
- subdev_name = "ry";
- idx = <0>;
- path_type = "ISP_RY_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- dw {
- subdev_name = "dw";
- idx = <0>;
- path_type = "DW_DWE_VSE2";
- dw_dst_depth = <2>;
- };
- };
- };
- &video8{
- vi_mem_pool_region = <1>; // vi_mem: framebuffer, region[1]
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- dma {
- path_type = "VIPRE_CSI0_DSP";
- };
- dsp {
- subdev_name = "dsp";
- idx = <0>;
- path_type = "DSP_PATH_VIPRE_DDR";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- };
- &video9{
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <1>; //vivcam1 sc132gs
- csi_idx = <2>; //<2>=CSI2X2_A
- mode_idx = <0>;
- path_type = "SENSOR_1080X1280_30FPS_RAW10_LINER";
- };
- dsp{
- output {
- max_width = <1080>;
- max_height = <1280>;
- bit_per_pixel = <16>;
- frame_count = <3>;
- };
- };
- };
- };
- &video10{ // TUNINGTOOL
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1080P_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- skip_init = <1>;
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- skip_init = <1>;
- };
- dma {
- path_type = "VIPRE_CSI0_ISP0";
- };
- };
- };
- &video11{
- pipline0 {
- pipline_id = <0>;
- status = "okay";
- sensor0 {
- subdev_name = "vivcam";
- idx = <1>; //sc132gs
- csi_idx = <2>; //<2>=CSI2X2_A
- flash_led_idx = <0>;
- mode_idx = <0>;
- path_type = "SENSOR_1080X1280_30FPS_RAW10_LINER";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <12>;
- frame_count = <3>;
- };
- };
- };
- };
- &video12{ // TUNINGTOOL
- pipline0 { // CSI2
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_30FPS_RAW12_LINER";
- skip_init = <1>;
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- skip_init = <1>;
- };
- };
- dma {
- path_type = "VIPRE_CSI1_ISP0";
- };
- };
- &video13{
- status = "okay";
- //vi_mem_pool_region = <0>;
- pipline0 {
- pipline_id = <0>;
- status = "okay";
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //sc2310
- csi_idx = <1>; //<1>=CSI2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- dma {
- subdev_name = "vipre";
- idx = <0>;
- path_type = "VIPRE_CSI0_ISP0";
- };
- isp {
- subdev_name = "isp";
- idx = <0>;
- path_type = "ISP_MI_MCM_WR0";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <16>;
- frame_count = <3>;
- };
- };
- };
- };
- &video14{
- vi_mem_pool_region = <2>; // vi_mem: framebuffer, region[0]
- status = "okay";
- pipline0 {
- pipline_id = <0>;
- status = "okay";
- sensor0 {
- subdev_name = "vivcam";
- idx = <1>; //sc132gs
- csi_idx = <2>; //<2>=CSI2X2_A
- flash_led_idx = <0>;
- mode_idx = <0>;
- path_type = "SENSOR_1080X1280_30FPS_RAW10_LINER";
- };
- dma {
- subdev_name = "vipre";
- idx = <0>;
- path_type = "VIPRE_CSI2_ISP1";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_MCM_WR0";
- output {
- max_width = <1080>;
- max_height = <1280>;
- bit_per_pixel = <16>;
- frame_count = <3>;
- };
- };
- };
- };
- &video15{
- status = "okay";
- //vi_mem_pool_region = <0>;
- pipline0 {
- pipline_id = <0>;
- status = "okay";
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //<0>=vivcam0 :2310
- csi_idx = <1>; //<1>=CSI2_B
- flash_led_idx = <0>;
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- dma {
- subdev_name = "vipre";
- idx = <0>;
- path_type = "VIPRE_CSI0_DDR";
- };
- };
- };
- &trng {
- status = "disabled";
- };
- &eip_28 {
- status = "okay";
- };
- &vdec {
- status = "okay";
- };
- &venc {
- status = "okay";
- };
- &isp_venc_shake {
- status = "okay";
- };
- &vidmem {
- status = "okay";
- memory-region = <&vi_mem>;
- };
- &gpu {
- status = "okay";
- };
- &npu {
- vha_clk_rate = <1000000000>;
- status = "okay";
- };
- &fce {
- memory-region = <&facelib_mem>;
- status = "okay";
- };
- &dpu_enc0 {
- status = "okay";
- ports {
- /* output */
- port@1 {
- reg = <1>;
- enc0_out: endpoint {
- remote-endpoint = <&dsi0_in>;
- };
- };
- };
- };
- &dpu_enc1 {
- ports {
- /delete-node/ port@0;
- };
- };
- &dpu {
- status = "okay";
- };
- &dsi0 {
- status = "okay";
- };
- &dhost_0 {
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- port@0 {
- reg = <0>;
- dsi0_in: endpoint {
- remote-endpoint = <&enc0_out>;
- };
- };
- port@1 {
- reg = <1>;
- dsi0_out: endpoint {
- remote-endpoint = <&panel0_in>;
- };
- };
- };
- panel0@0 {
- compatible = "txd,dy800qwxpab";
- reg = <0>;
- backlight = <&lcd0_backlight>;
- reset-gpio = <&gpio1_porta 5 1>; /* active low */
- vdd1v8-supply = <&soc_vdd18_lcd0_en_reg>;
- vspn5v7-supply = <&soc_lcd0_bias_en_reg>;
- port {
- panel0_in: endpoint {
- remote-endpoint = <&dsi0_out>;
- };
- };
- };
- };
- &disp1_out {
- remote-endpoint = <&hdmi_tx_in>;
- };
- &hdmi_tx {
- status = "okay";
- port@0 {
- /* input */
- hdmi_tx_in: endpoint {
- remote-endpoint = <&disp1_out>;
- };
- };
- };
- &lightsound {
- status = "okay";
- simple-audio-card,dai-link@0 { /* I2S - AUDIO SYS CODEC 8156*/
- reg = <0>;
- format = "i2s";
- cpu {
- sound-dai = <&i2s1 0>;
- };
- codec {
- sound-dai = <&es8156_audio_codec>;
- };
- };
- simple-audio-card,dai-link@1 { /* I2S - AUDIO SYS CODEC 7210*/
- reg = <1>;
- format = "i2s";
- cpu {
- sound-dai = <&i2s3 0>;
- };
- codec {
- sound-dai = <&es7210_audio_codec>;
- };
- };
- simple-audio-card,dai-link@2 { /* I2S - HDMI */
- reg = <2>;
- format = "i2s";
- cpu {
- sound-dai = <&light_i2s 1>;
- };
- codec {
- sound-dai = <&dummy_codec 2>;
- };
- };
- };
- &light_i2s {
- status = "okay";
- };
- &i2s0 {
- status = "okay";
- };
- &i2s1 {
- status = "okay";
- };
- &i2s3 {
- status = "okay";
- };
- &cpus {
- c910_0: cpu@0 {
- operating-points = <
- /* kHz uV */
- 300000 650000
- 800000 700000
- 1500000 800000
- >;
- light,dvddm-operating-points = <
- /* kHz uV */
- 300000 800000
- 800000 800000
- 1500000 800000
- >;
- };
- c910_1: cpu@1 {
- operating-points = <
- /* kHz uV */
- 300000 650000
- 800000 700000
- 1500000 800000
- >;
- light,dvddm-operating-points = <
- /* kHz uV */
- 300000 800000
- 800000 800000
- 1500000 800000
- >;
- };
- c910_2: cpu@2 {
- operating-points = <
- /* kHz uV */
- 300000 650000
- 800000 700000
- 1500000 800000
- >;
- light,dvddm-operating-points = <
- /* kHz uV */
- 300000 800000
- 800000 800000
- 1500000 800000
- >;
- };
- c910_3: cpu@3 {
- operating-points = <
- /* kHz uV */
- 300000 650000
- 800000 700000
- 1500000 800000
- >;
- light,dvddm-operating-points = <
- /* kHz uV */
- 300000 800000
- 800000 800000
- 1500000 800000
- >;
- };
- };
|