123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202 |
- /* SPDX-License-Identifier: GPL-2.0 */
- /*
- * Copyright (C) 2021-2022 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";
- chosen {
- bootargs = "console=ttyS0,115200 crashkernel=256M-:128M earlycon clk_ignore_unused sram=0xffe0000000,0x180000";
- stdout-path = "serial0:115200n8";
- };
- leds {
- compatible = "gpio-leds";
- led0 {
- label = "SYS_STATUS";
- gpios = <&gpio1_porta 15 0>; /* GPIO_ACTIVE_HIGH: 0 */
- default-state = "off";
- };
- };
- 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>;
- };
- lcd1_backlight: pwm-backlight@1 {
- compatible = "pwm-backlight";
- pwms = <&pwm 1 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 = <&pcal6408ahk_a 3 1>;
- enable-active-high;
- regulator-always-on;
- };
- reg_tp1_pwr_en: regulator-tp1-pwr-en {
- compatible = "regulator-fixed";
- regulator-name = "PWR_EN";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- gpio = <&pcal6408ahk_a 6 1>;
- enable-active-high;
- regulator-always-on;
- };
- lcd0_1v8: regulator-lcd0-vdd18 {
- compatible = "regulator-fixed";
- regulator-name = "lcd0_en";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- gpio = <&pcal6408ahk_a 2 0>;
- enable-active-high;
- };
- lcd0_5v7: regulator-lcd0-vspn57 {
- compatible = "regulator-fixed";
- regulator-name = "lcd0_bias_en";
- regulator-min-microvolt = <5700000>;
- regulator-max-microvolt = <5700000>;
- gpio = <&pcal6408ahk_a 4 0>;
- enable-active-high;
- };
- lcd1_1v8: regulator-lcd1-vdd18 {
- compatible = "regulator-fixed";
- regulator-name = "lcd1_en";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- gpio = <&pcal6408ahk_a 5 0>;
- enable-active-high;
- };
- lcd1_5v7: regulator-lcd1-vspn57 {
- compatible = "regulator-fixed";
- regulator-name = "lcd1_bias_en";
- regulator-min-microvolt = <5700000>;
- regulator-max-microvolt = <5700000>;
- gpio = <&pcal6408ahk_a 7 0>;
- enable-active-high;
- };
- 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 26 0>;
- WIFI,reset_n = <&gpio2_porta 28 0>;
- status = "disabled";
- };
- wcn_bt: wireless-bluetooth {
- compatible = "bluetooth-platdata";
- pinctrl-names = "default", "rts_gpio";
- BT,power_gpio = <&gpio2_porta 29 0>;
- status = "disabled";
- };
- gpio_keys: gpio_keys{
- compatible = "gpio-keys";
- pinctrl-0 = <&pinctrl_volume>;
- pinctrl-names = "default";
- status = "disabled";
- key-volumedown {
- label = "Volume Down Key";
- linux,code = <KEY_1>;
- debounce-interval = <2>;
- gpios = <&ao_gpio_porta 4 GPIO_ACTIVE_LOW>;
- };
- key-volumeup {
- label = "Volume Up Key";
- linux,code = <KEY_2>;
- debounce-interval = <2>;
- gpios = <&ao_gpio_porta 5 GPIO_ACTIVE_LOW>;
- };
- };
- 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>;
- };
- aon_reg_dialog: light-dialog-reg {
- compatible = "thead,light-dialog-pmic";
- 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_vext_2v8_reg: soc_vext_2v8 {
- regulator-name = "soc_vext_2v8";
- regulator-boot-on;
- regulator-always-on;
- };
- 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";
- };
- soc_avdd28_rgb_reg: soc_avdd28_rgb {
- regulator-name = "soc_avdd28_rgb";
- regulator-min-microvolt = <2200000>;
- regulator-max-microvolt = <3475000>;
- regulator-boot-on;
- regulator-always-on;
- };
- soc_dovdd18_rgb_reg: soc_dovdd18_rgb {
- regulator-name = "soc_dovdd18_rgb";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <3600000>;
- regulator-boot-on;
- regulator-always-on;
- };
- soc_dvdd12_rgb_reg: soc_dvdd12_rgb {
- regulator-name = "soc_dvdd12_rgb";
- regulator-min-microvolt = <400000>;
- regulator-max-microvolt = <1675000>;
- regulator-boot-on;
- regulator-always-on;
- };
- soc_avdd25_ir_reg: soc_avdd25_ir {
- regulator-name = "soc_avdd25_ir";
- regulator-min-microvolt = <2200000>;
- regulator-max-microvolt = <3475000>;
- regulator-boot-on;
- regulator-always-on;
- };
- soc_dovdd18_ir_reg: soc_dovdd18_ir {
- regulator-name = "soc_dovdd18_ir";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <3600000>;
- regulator-boot-on;
- regulator-always-on;
- };
- soc_dvdd12_ir_reg: soc_dvdd12_ir {
- regulator-name = "soc_dvdd12_ir";
- regulator-min-microvolt = <400000>;
- regulator-max-microvolt = <1675000>;
- regulator-boot-on;
- regulator-always-on;
- };
- };
- c910_cpufreq {
- compatible = "thead,light-mpw-cpufreq";
- status = "okay";
- };
- test: light-aon-test {
- compatible = "thead,light-aon-test";
- };
- };
- };
- &cmamem {
- alloc-ranges = <0 0xe4000000 0 0x14000000>; // [0xE400_0000 ~ 0xF800_0000]
- };
- &resmem {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
- tee_mem: memory@1a000000 {
- reg = <0x0 0x1a000000 0 0x4000000>;
- 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@0f800000 {
- reg = <0x0 0x0F800000 0x0 0x05400000 /* vi_mem_pool_region[0] 84 MB (default) */
- 0x0 0x14C00000 0x0 0x01D00000 /* vi_mem_pool_region[1] 29 MB */
- 0x0 0x16900000 0x0 0x03200000>; /* vi_mem_pool_region[2] 50 MB */
- no-map;
- };
- facelib_mem: memory@22000000 {
- reg = <0x0 0x22000000 0x0 0x10000000>;
- no-map;
- };
- };
- &adc {
- vref-supply = <®_vref_1v8>;
- status = "okay";
- };
- &i2c0 {
- clock-frequency = <400000>;
- status = "okay";
- eeprom@50 {
- compatible = "atmel,24c32";
- reg = <0x50>;
- pagesize = <32>;
- };
- codec: wm8960@1a {
- #sound-dai-cells = <0>;
- compatible = "wlf,wm8960";
- reg = <0x1a>;
- wlf,shared-lrclk;
- wlf,hp-cfg = <3 2 3>;
- wlf,gpio-cfg = <1 3>;
- };
- 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>;
- };
- };
- &i2c1 {
- clock-frequency = <400000>;
- status = "okay";
- touch1@5d {
- #gpio-cells = <2>;
- compatible = "goodix,gt911";
- reg = <0x5d>;
- interrupt-parent = <&gpio1_porta>;
- interrupts = <12 0>;
- irq-gpios = <&gpio1_porta 12 0>;
- reset-gpios = <&gpio1_porta 11 0>;
- AVDD28-supply = <®_tp1_pwr_en>;
- touchscreen-size-x = <720>;
- touchscreen-size-y = <1280>;
- };
- };
- &spi0 {
- num-cs = <1>;
- cs-gpios = <&gpio2_porta 15 0>; // GPIO_ACTIVE_HIGH: 0
- rx-sample-delay-ns = <10>;
- status = "okay";
- 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 {
- num-cs = <1>;
- cs-gpios = <&gpio0_porta 1 0>;
- status = "disabled";
- spi-flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "spi-nand";
- spi-max-frequency = <66000000>;
- spi-tx-bus-width = <4>;
- spi-rx-bus-width = <4>;
- reg = <0>;
- partition@0 {
- label = "ubi2";
- reg = <0x00000000 0x08000000>;
- };
- };
- };
- &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 = "okay";
- };
- &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 = "disabled";
- };
- &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 */
- FM_GPIO3_3 0x1 0x208 /* pwm1 */
- >;
- };
- };
- };
- &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
- FM_QSPI1_D2_WP 0x0 0x23a
- FM_QSPI1_D3_HOLD 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
- >;
- };
- };
- };
- &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
- >;
- };
- pinctrl_volume: volume_grp {
- thead,pins = <
- FM_CPU_JTG_TDI 0x3 0x208
- FM_CPU_JTG_TDO 0x3 0x208
- >;
- };
- };
- };
- &i2c2 {
- clock-frequency = <400000>;
- status = "okay";
- eeprom@50 {
- compatible = "atmel,24c32";
- reg = <0x50>;
- pagesize = <32>;
- };
- };
- &i2c3 {
- clock-frequency = <400000>;
- status = "okay";
- eeprom@50 {
- compatible = "atmel,24c32";
- reg = <0x50>;
- pagesize = <32>;
- };
- };
- &i2c4 {
- clock-frequency = <400000>;
- status = "okay";
- eeprom@50 {
- compatible = "atmel,24c32";
- reg = <0x50>;
- pagesize = <32>;
- };
- pcal6408ahk_a: gpio@20 {
- compatible = "nxp,pcal9554b";
- reg = <0x20>;
- gpio-controller;
- #gpio-cells = <2>;
- };
- };
- &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 25 0>;
- //projection_i2c_bus = /bits/ 8 <2>;
- flash_led_touch_pin = <&gpio1_porta 27 0>; //flash led touch pin
- status = "okay";
- };
- &vvcam_sensor0 {
- sensor_name = "SC2310";
- sensor_regulators = "DOVDD18_RGB", "DVDD12_RGB", "AVDD28_RGB";
- sensor_regulator_timing_us = <70 50 20>;
- 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 = "OV5693";
- i2c_bus = /bits/ 8 <3>;
- i2c_reg_width = /bits/ 8 <1>;
- i2c_data_width = /bits/ 8 <1>;
- status = "disabled";
- };
- &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 = <60>; //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 = "SC2310";
- sensor_regulators = "DOVDD18_SCAN", "DVDD12_SCAN", "AVDD28_SCAN";
- sensor_regulator_timing_us = <70 50 20>;
- sensor_pdn = <&gpio1_porta 30 0>; //powerdown pin / shutdown pin
- sensor_rst = <&gpio1_porta 29 0>;
- sensor_pdn_delay_us = <4000>; //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_bus = /bits/ 8 <4>;
- status = "okay";
- };
- &vvcam_sensor4 {
- sensor_name = "SC132GS";
- sensor_regulators = "DOVDD18_IR", "DVDD12_IR", "AVDD25_IR";
- sensor_regulator_timing_us = <70 1000 2000>;
- i2c_addr = /bits/ 8 <0x31>;
- 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_sensor5 {
- sensor_name = "OV12870";
- sensor_regulators = "DOVDD18_RGB", "DVDD12_RGB", "AVDD28_RGB";
- sensor_regulator_timing_us = <100 50 0>;
- sensor_rst = <&gpio1_porta 16 0>;
- sensor_pdn_delay_us = <60>; //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_addr = /bits/ 8 <0x10>;
- i2c_reg_width = /bits/ 8 <2>;
- i2c_data_width = /bits/ 8 <1>;
- i2c_bus = /bits/ 8 <3>;
- status = "okay";
- };
- &vvcam_sensor6 {
- sensor_name = "GC02M1B";
- sensor_regulators = "DOVDD18_RGB", "DVDD12_RGB", "AVDD28_RGB";
- sensor_regulator_timing_us = <70 50 20>;
- sensor_rst = <&gpio1_porta 16 0>;
- sensor_pdn_delay_us = <1000>; //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 <1>;
- i2c_data_width = /bits/ 8 <1>;
- i2c_addr = /bits/ 8 <0x37>;
- i2c_bus = /bits/ 8 <3>;
- 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 = <1>; //<1>=CSI2X2_B
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_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>;
- };
- };
- };
- pipline1 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- 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 = <1>; //<1>=CSI2X2_B
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- 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 = <1>; //<1>=CSI2X2_B
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_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>;
- };
- };
- 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 = <1>; //<1>=CSI2X2_B
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_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>;
- };
- };
- 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 = <1>; //<1>=CSI2X2_B
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_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>;
- };
- };
- 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>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_MP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <16>;
- frame_count = <3>;
- };
- };
- };
- pipline1 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_SP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <16>;
- frame_count = <3>;
- };
- };
- };
- pipline2 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- isp {
- subdev_name = "isp";
- idx = <1>;
- path_type = "ISP_MI_PATH_SP2_BP";
- output {
- max_width = <1920>;
- max_height = <1088>;
- bit_per_pixel = <16>;
- frame_count = <3>;
- };
- };
- };
- };
- &video3{
- vi_mem_pool_region = <0>; // vi_mem: framebuffer, region[0]
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <0>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- 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>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- 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>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- 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>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- 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>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- 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>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- 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>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- 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>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- 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>; //sc2310
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- };
- 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 = <4>; //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 = <4>; //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 = <1>; //<1>=CSI2X2_B
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- 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 = <1>; //<1>=CSI2X2_B
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- 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 = <1>; //<1>=CSI2X2_B
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- 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 = <1>; //<1>=CSI2X2_B
- mode_idx = <3>;
- path_type = "SENSOR_1296x972_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- };
- 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 = <4>; //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{
- pipline0 {
- sensor0 {
- subdev_name = "vivcam";
- idx = <2>; //<2>=vivcam2 : gc5035
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1080P_RAW10_LINER"; //SENSOR_VGA_RAW10_LINER//
- skip_init = <1>;
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <3>; //<3>=vivcam3 : sc2310
- csi_idx = <1>; //<1>=CSI2X2_B
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- skip_init = <1>;
- };
- };
- };
- &video11{
- pipline0 {
- pipline_id = <0>;
- status = "okay";
- sensor0 {
- subdev_name = "vivcam";
- idx = <4>; //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 = <0>; //<0>=CSI2
- mode_idx = <1>;
- path_type = "SENSOR_1920X1088_26FPS_RAW12_LINER";
- skip_init = <1>;
- };
- sensor1 {
- subdev_name = "vivcam";
- idx = <6>; //gc02m1b
- csi_idx = <0>; //<0>=CSI2
- mode_idx = <0>;
- path_type = "SENSOR_1600x1200_RAW10_LINER";
- skip_init = <1>;
- };
- };
- };
- &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";
- };
- &cpus {
- c910_0: cpu@0 {
- operating-points = <
- /* kHz uV */
- 300000 650000
- 800000 700000
- 1500000 800000
- 1848000 1000000
- >;
- light,dvddm-operating-points = <
- /* kHz uV */
- 300000 800000
- 800000 800000
- 1500000 800000
- 1848000 1000000
- >;
- };
- c910_1: cpu@1 {
- operating-points = <
- /* kHz uV */
- 300000 650000
- 800000 700000
- 1500000 800000
- 1848000 1000000
- >;
- light,dvddm-operating-points = <
- /* kHz uV */
- 300000 800000
- 800000 800000
- 1500000 800000
- 1848000 1000000
- >;
- };
- c910_2: cpu@2 {
- operating-points = <
- /* kHz uV */
- 300000 650000
- 800000 700000
- 1500000 800000
- 1848000 1000000
- >;
- light,dvddm-operating-points = <
- /* kHz uV */
- 300000 800000
- 800000 800000
- 1500000 800000
- 1848000 1000000
- >;
- };
- c910_3: cpu@3 {
- operating-points = <
- /* kHz uV */
- 300000 650000
- 800000 700000
- 1500000 800000
- 1848000 1000000
- >;
- light,dvddm-operating-points = <
- /* kHz uV */
- 300000 800000
- 800000 800000
- 1500000 800000
- 1848000 1000000
- >;
- };
- };
|