diff --git a/.gitignore b/.gitignore index 828fc5408..9850e069c 100755 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,6 @@ configs/rtos/cfg_565_HUNTING_EVB_LINUX_4G_S530/nvt-evb.tmp.dts build/nvt-tools/__pycache__/pyfdt.cpython-36.pyc rtos/build/nvt-tools/__pycache__/pyfdt.cpython-36.pyc logs/ -output/ \ No newline at end of file +output/ +build/.nvt_modelcfg +rtos/.vscode \ No newline at end of file diff --git a/build/.nvt_modelcfg b/build/.nvt_modelcfg deleted file mode 100644 index 5687ccfbf..000000000 --- a/build/.nvt_modelcfg +++ /dev/null @@ -1,63 +0,0 @@ -#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -#!automatically-generated file. do not edit!! -#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -BOARD_DRAM_ADDR = 0x00000000 -BOARD_DRAM_SIZE = 0x08000000 -BOARD_SHMEM_ADDR = 0x00007E00 -BOARD_SHMEM_SIZE = 0x00000200 -BOARD_LOADER_ADDR = 0x01000000 -BOARD_LOADER_SIZE = 0x00080000 -BOARD_FDT_ADDR = 0x01800000 -BOARD_FDT_SIZE = 0x00040000 -BOARD_RTOS_ADDR = 0x01840000 -BOARD_RTOS_SIZE = 0x00FC0000 -BOARD_LINUXTMP_ADDR = 0x02800000 -BOARD_LINUXTMP_SIZE = 0x04000000 -BOARD_UBOOT_ADDR = 0x06800000 -BOARD_UBOOT_SIZE = 0x01640000 -BOARD_LOGO-FB_ADDR = 0x07E40000 -BOARD_LOGO-FB_SIZE = 0x001C0000 -BOARD_LINUX_ADDR = 0x00000000 -BOARD_LINUX_SIZE = 0x01800000 -BOARD_LINUX_MAXBLK_ADDR = 0x00000000 -BOARD_LINUX_MAXBLK_SIZE = 0x01800000 -BOARD_MEDIA_ADDR = 0x03600000 -BOARD_MEDIA_SIZE = 0x04A00000 -BIN_NAME = FW98565A -BIN_NAME_T = FW98565T -RTOS_APP_MAIN = cardv -EMBMEM_BLK_SIZE = 0x10000 -EMBMEM = EMBMEM_SPI_NOR -FW_TYPE = FW_TYPE_PARTIAL -UI_STYLE = UI_STYLE_LVGL -NVT_CFG_APP_EXTERNAL = hostapd wireless_tool iperf-3 wpa_supplicant dhd_priv -NVT_CFG_APP = mem cardv memcpy isp_demon sf_app -NVT_ROOTFS_ETC = -NVT_BINARY_FILE_STRIP = yes -NVT_CFG_KERNEL_CFG = na51089_evb_cardv_defconfig_release -NVT_MAKE_POST = make_post.sh -NVT_SAMPLES_INSTALL = DISABLE -NVT_CFG_UBOOT_CFG = -NVT_LINUX_SMP = NVT_LINUX_SMP_OFF -NVT_CHIP_ID = CHIP_NA51089 -NVT_LINUX_COMPRESS = NVT_LINUX_COMPRESS_GZ -NVT_DEFAULT_NETWORK_BOOT_PROTOCOL = NVT_DEFAULT_NETWORK_BOOT_PROTOCOL_STATIC_IP -NVT_ROOTFS_TYPE = NVT_ROOTFS_TYPE_RAMDISK -LCD1 = disp_if8b_lcd1_psd200_st7789v -SENSOR1 = sen_os05b10 -SENSOR1_CFG = sen_os05b10_565 -SENSOR2 = sen_off -SENSOR2_CFG = sen_off -NVT_ROOTFS_RW_PART_EN = NVT_ROOTFS_RW_PART_EN_ON -NVT_ETHERNET = NVT_ETHERNET_NONE -NVT_SDIO_WIFI = NVT_SDIO_WIFI_RTK -NVT_USB_WIFI = NVT_USB_WIFI_NONE -NVT_USB_4G = NVT_USB_4G_NONE -WIFI_RTK_MDL = WIFI_RTK_MDL_8189 -WIFI_BRCM_MDL = WIFI_BRCM_MDL_43456c5_ampk6256c5 -WIFI_NVT_MDL = WIFI_NVT_MDL_18211 -NVT_CURL_SSL = NVT_CURL_SSL_OPENSSL -NVT_UBOOT_ENV_IN_STORG_SUPPORT = NVT_UBOOT_ENV_IN_STORG_SUPPORT_OFF -TOUCH = TOUCH_OFF -UBOOT_ONLY_LOAD_LINUX = UBOOT_ONLY_LOAD_LINUX_ON diff --git a/configs/Linux/cfg_565_HUNTING_EVB_LINUX_4G_S550/nvt-evb.dtb b/configs/Linux/cfg_565_HUNTING_EVB_LINUX_4G_S550/nvt-evb.dtb deleted file mode 100644 index cb42afa51..000000000 Binary files a/configs/Linux/cfg_565_HUNTING_EVB_LINUX_4G_S550/nvt-evb.dtb and /dev/null differ diff --git a/configs/Linux/cfg_565_HUNTING_EVB_LINUX_4G_S550/nvt-evb.tmp.dts b/configs/Linux/cfg_565_HUNTING_EVB_LINUX_4G_S550/nvt-evb.tmp.dts deleted file mode 100644 index 7191afdf4..000000000 --- a/configs/Linux/cfg_565_HUNTING_EVB_LINUX_4G_S550/nvt-evb.tmp.dts +++ /dev/null @@ -1,1183 +0,0 @@ -# 1 "nvt-evb.dts" -# 1 "" -# 1 "" -# 1 "nvt-evb.dts" - - - - - - - -/dts-v1/; -# 1 "/home/payton/S530/BSP/linux-kernel/include/dt-bindings/gpio/nvt-gpio.h" 1 -# 13 "/home/payton/S530/BSP/linux-kernel/include/dt-bindings/gpio/nvt-gpio.h" -# 1 "/home/payton/S530/BSP/linux-kernel/include/dt-bindings/gpio/gpio.h" 1 -# 14 "/home/payton/S530/BSP/linux-kernel/include/dt-bindings/gpio/nvt-gpio.h" 2 -# 10 "nvt-evb.dts" 2 -# 1 "nvt-peri.dtsi" 1 -# 10 "nvt-peri.dtsi" -# 1 "nvt-basic.dtsi" 1 -# 9 "nvt-basic.dtsi" -# 1 "/home/payton/S530/BSP/linux-kernel/include/dt-bindings/interrupt-controller/arm-gic.h" 1 -# 9 "/home/payton/S530/BSP/linux-kernel/include/dt-bindings/interrupt-controller/arm-gic.h" -# 1 "/home/payton/S530/BSP/linux-kernel/include/dt-bindings/interrupt-controller/irq.h" 1 -# 10 "/home/payton/S530/BSP/linux-kernel/include/dt-bindings/interrupt-controller/arm-gic.h" 2 -# 10 "nvt-basic.dtsi" 2 - -/ { - model = "Novatek NA51089"; - compatible = "novatek,na51089", "nvt,ca9"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0x0>; - next-level-cache = <&L2>; - clock-frequency = <960000000>; - }; - }; - - cg@f0020000 { - compatible = "nvt,core_clk"; - reg = <0xf0020000 0x1000>; - }; - - - periph_clk: periph_clk { - compatible = "nvt,periph_clk"; - #clock-cells = <0>; - clock-output-names = "periph_clk"; - }; - - global_timer@ffd00200 { - compatible = "arm,cortex-a9-global-timer"; - reg = <0xffd00200 0x20>; - interrupts = <1 11 0xf01>; - clocks = <&periph_clk>; - }; - - private_timer@ffd00600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xffd00600 0x20>; - interrupts = <1 13 0xf01>; - clocks = <&periph_clk>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 112 4>; - interrupt-affinity = <&cpu0>; - }; - - L2: cache-controller@ffe00000 { - compatible = "arm,pl310-cache"; - reg = <0xffe00000 0x1000>; - interrupts = <0 96 4>; - cache-unified; - arm,shared-override; - cache-level = <2>; - arm,data-latency = <2 2 2>; - arm,tag-latency = <2 2 2>; - }; - - gic: interrupt-controller@0xffd00000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - reg = <0xffd01000 0x1000>, - <0xffd00100 0x1000>; - }; - - scu: snoop-control-unit@0xffd00000 { - compatible = "arm,cortex-a9-scu"; - reg = <0xffd00000 0x100>; - }; -}; -# 11 "nvt-peri.dtsi" 2 - -/ { - chosen { - bootargs = " "; - }; - - aliases { - mmc0 = &mmc0; - mmc1 = &mmc1; - }; - - uart@f0290000 { - compatible = "ns16550a"; - reg = <0xf0290000 0x1000>; - interrupts = <0 43 4>; - baud = <115200>; - reg-shift = <2>; - reg-io-width = <4>; - no-loopback-test = <1>; - clock-frequency = <24000000>; - fifo-size = <64>; - uart_id = <0>; - }; - - uart@f0300000 { - compatible = "ns16550a"; - reg = <0xf0300000 0x1000>; - interrupts = <0 44 4>; - baud = <115200>; - reg-shift = <2>; - reg-io-width = <4>; - no-loopback-test = <1>; - clock-frequency = <48000000>; - fifo-size = <64>; - hw_flowctrl = <0>; - rx_trig_level = <3>; - uart_id = <1>; - }; - - uart@f0310000 { - compatible = "ns16550a"; - reg = <0xf0310000 0x1000>; - interrupts = <0 45 4>; - baud = <115200>; - reg-shift = <2>; - reg-io-width = <4>; - no-loopback-test = <1>; - clock-frequency = <48000000>; - fifo-size = <64>; - hw_flowctrl = <0>; - rx_trig_level = <3>; - uart_id = <2>; - }; - - kdrv_rpc: cc@f0090000 { - compatible = "kdrv_rpc"; - reg = <0xf0090000 0x300>; - interrupts = <0 59 4>; - }; - - mmc0: mmc@f0420000 { - compatible = "nvt,nvt_mmc"; - reg = <0xf0420000 0x1000>; - interrupts = <0 30 4>; - max-frequency = <48000000>; - voltage-switch = <0>; - max-voltage = <3300>; - bus-width = <4>; - neg-sample-edge = <0>; - driving = <15 15 15 20 15 15 25 25 25 25 25 25>; - cd_gpio = <(9) 0x0 0x0>; - card_power_gpio = <(7 + 0x20) 0x0>; - - - }; - - mmc1: mmc@f0500000 { - compatible = "nvt,nvt_mmc2"; - reg = <0xf0500000 0x1000>; - interrupts = <0 31 4>; - max-frequency = <48000000>; - voltage-switch = <0>; - max-voltage = <3300>; - bus-width = <4>; - neg-sample-edge = <0>; - driving = <15 8 8 20 8 8 20 8 8 20 8 8>; - cd_gpio = <0 0x0 0x1>; - - - - }; - - nand: nand@f0400000 { - #address-cells = <2>; - #size-cells = <2>; - compatible = "nvt,nvt_spinand"; - reg = <0xf0400000 0x1000>; - interrupts = <0 29 4>; - clock-frequency = <96000000>; - nvt-devname = "spi_nand.0"; - }; - - nor: nor@f0400000 { - #address-cells = <2>; - #size-cells = <2>; - compatible = "nvt,nvt_spinor"; - reg = <0xf0400000 0x1000>; - interrupts = <0 29 4>; - clock-frequency = <120000000>; - nvt-devname = "spi_nor.0"; - trace-stdtable = <0>; - }; - - gpio: gpio@f0070000 { - compatible = "nvt,nvt_gpio"; - reg = <0xf0070000 0x10000>; - interrupts = <0 24 4>; - #gpio-cells = <2>; - }; - - eth@f02b0000 { - compatible = "nvt,synopsys_eth"; - reg = <0xf02b0000 0x3800>; - interrupts = <0 34 4>; - sp-clk = <0>; - ref-clk-out = <0>; - }; - - phy@f02b3800 { - compatible = "nvt,eth_phy"; - reg = <0xf02b3800 0x400>; - }; - - wdt@f0050000 { - compatible = "nvt,nvt_wdt"; - reg = <0xf0050000 0x10000>; - interrupts = <0 57 4>; - }; - - pwm: pwm@f0210000 { - compatible = "nvt,nvt_kdrv_pwm"; - reg = <0xf0210000 0x2000>; - interrupts = <0 26 4>; - }; - - adc@f0260000 { - compatible = "nvt,nvt_adc"; - reg = <0xf0260000 0x1000>; - interrupts = <0 47 4>; - #io-channel-cells = <1>; - }; - - rtc@f0060000 { - compatible = "nvt,nvt_rtc"; - reg = <0xf0060000 0x100>; - interrupts = <0 56 4>; - }; - - drtc@f00b0000 { - compatible = "nvt,nvt_drtc"; - reg = <0xf00b0000 0x100>; - }; - - crypto: crypto@f0620000 { - compatible = "nvt,nvt_crypto"; - reg = <0xf0620000 0x100>; - interrupts = <0 38 4>; - mclk = <1>; - }; - - hash: hash@f0670000 { - compatible = "nvt,nvt_hash"; - reg = <0xf0670000 0x100>; - interrupts = <0 28 4>; - mclk = <1>; - }; - - rsa: rsa@f06a0000 { - compatible = "nvt,nvt_rsa"; - reg = <0xf06a0000 0x100>; - interrupts = <0 20 4>; - mclk = <1>; - }; - - top: top@f0010000 { - compatible = "nvt,nvt_top"; - reg = <0xf0010000 0x2000 - 0xf0030000 0x2000 - 0xf0070000 0x10000>; - }; - - sie@f0c00000 { - compatible = "nvt,drv_sie"; - reg = <0xf0c00000 0x900 - 0xf0d20000 0x900 - 0xF0D30000 0x900>; - interrupts = <0 1 4 - 0 2 4 - 0 3 4>; - - }; - - tge@f0cc0000 { - compatible = "nvt,kdrv_tge"; - reg = <0xf0cc0000 0x150>; - interrupts = <0 22 4>; - }; - - rhe@f0ce0000 { - compatible = "nvt,kdrv_rhe"; - reg = <0xf0ce0000 0x900>; - interrupts = <0 13 4>; - }; - - ime@f0c40000 { - compatible = "nvt,kdrv_ime"; - reg = <0xf0c40000 0x1000>; - interrupts = <0 6 4>; - }; - - ife2@f0d00000 { - compatible = "nvt,kdrv_ife2"; - reg = <0xf0d00000 0x100>; - interrupts = <0 9 4>; - }; - - ise@f0c90000 { - compatible = "nvt,kdrv_ise"; - reg = <0xf0c90000 0x100>; - interrupts = <0 21 4 - 0 85 4>; - }; - - ipe@f0c30000 { - compatible = "nvt,kdrv_ipe"; - reg = <0xf0c30000 0x900>; - interrupts = <0 5 4>; - }; - - ife@f0c70000 { - compatible = "nvt,kdrv_ife"; - reg = <0xf0c70000 0x800>; - interrupts = <0 8 4>; - }; - - vpe@f0cd0000 { - compatible = "nvt,kdrv_vpe"; - reg = <0xf0cd0000 0x1040>; - interrupts = <0 62 4>; - }; - - ai@f0c60000 { - compatible = "nvt,kdrv_ai"; - reg = <0xf0c60000 0x23c - 0xf0d50000 0x114 - 0xf0cb0000 0x22c>; - interrupts = <0 14 4 - 0 13 4 - 0 11 4>; - clock-frequency = <600000000 480000000 600000000>; - }; - - md@f0c10000 { - compatible = "nvt,kdrv_md"; - reg = <0xf0c10000 0x150>; - interrupts = <0 46 4>; - clock-frequency = <240000000>; - }; - dis@f0c50000 { - compatible = "nvt,kdrv_dis"; - reg = <0xf0c50000 0x114>; - interrupts = <0 10 4>; - }; - - coe@f0a11000 { - compatible = "nvt,nvt_coe"; - reg = <0xf0a11000 0x2c0>; - }; - - dce@f0c20000 { - compatible = "nvt,kdrv_dce"; - reg = <0xf0c20000 0x650>; - interrupts = <0 7 4>; - }; - - ive@f0d70000 { - compatible = "nvt,kdrv_ive"; - reg = <0xf0d70000 0x6c>; - interrupts = <0 53 4>; - }; - - sde@f0d90000 { - compatible = "nvt,kdrv_sde"; - reg = <0xf0d90000 0x90>; - interrupts = <0 74 4>; - }; - - ide@f0800000 { - compatible = "nvt,nvt_ide"; - reg = <0xf0800000 0x1000>; - interrupts = <0 48 4>; - }; - - dsi@f0840000 { - compatible = "nvt,nvt_dsi"; - reg = <0xf0840000 0x1000>; - interrupts = <0 50 4>; - }; - - csi@f0280000 { - compatible = "nvt,nvt_csi"; - reg = <0xf0280000 0x100 - 0xf0330000 0x100>; - interrupts = <0 54 4 - 0 55 4>; - }; - - lvds@f0270000 { - compatible = "nvt,nvt_lvds"; - reg = <0xF0270000 0x200 - 0xF0370000 0x200>; - interrupts = <0 54 4 - 0 55 4>; - }; - - senphy@f06b0000 { - compatible = "nvt,nvt_senphy"; - reg = <0xF06B0000 0x100>; - }; - - ssenif@f0xx0000 { - compatible = "nvt,nvt_ssenif"; - reg = <0xF02C0000 0x2000>; - interrupts = <0 61 4>; - }; - - sif@f0240000 { - compatible = "nvt,nvt_sif"; - reg = <0xf0240000 0x200>; - interrupts = <0 40 4>; - clock-frequency = <1000000>; - }; - - graphic@f0c80000 { - compatible = "nvt,nvt_graphic"; - reg = <0xF0C80000 0x300 - 0xF0D10000 0x100>; - interrupts = <0 18 4 - 0 19 4>; - }; - - affine@f0ca0000 { - compatible = "nvt,nvt_affine"; - reg = <0xF0CA0000 0x100>; - interrupts = <0 52 4>; - }; - - h26x@f0a10000 { - compatible = "nvt,nvt_h26x"; - reg = <0xf0a10000 0xa00>; - interrupts = <0 16 4>; - power_saving = <0>; - }; - - timer@f0040000 { - compatible = "nvt,nvt_timer"; - reg = <0xf0040000 0x300>; - interrupts = <0 0 4>; - }; - - eac@f0640000 { - compatible = "nvt,nvt_eac"; - reg = <0xF0640000 0x200>; - }; - - jpg@f0a00000 { - compatible = "nvt,nvt_jpg"; - reg = <0xf0a00000 0x100>; - interrupts = <0 17 4>; - }; - - nvt_usb2host@f0600000 { - compatible = "nvt,ehci-nvtivot"; - reg = <0xf0600000 0x10000>; - interrupts = <0 27 4>; - }; - - nvt_usb2dev@f0600000 { - compatible = "nvt,fotg200_udc"; - reg = <0xf0600000 0x10000>; - interrupts = <0 27 4>; - }; - - nvt_usb_chrg@f0600000 { - compatible = "nvt,nvt_usb_chrgdet"; - reg = <0xf0600000 0x10000>; - }; - - dai@f0630000 { - compatible = "nvt,nvt_dai"; - reg = <0xF0630000 0xbc>; - interrupts = <0 15 4>; - }; - - rotate@f0cf0000 { - compatible = "nvt,nvt_rotation"; - reg = <0xF0CF0000 0x100>; - interrupts = <0 81 4>; - }; - - drvdump@0 { - compatible = "nvt,nvt_drvdump"; - }; - - dsp@f1430000 { - compatible = "nvt,nvt_dsp"; - reg = <0xF1430000 0x200 - 0xF2000000 0x1000000 - 0xF1440000 0x200 - 0xF3000000 0x1000000>; - interrupts = <0 76 4 - 0 77 4>; - }; - - spi0: spi@f0230000 { - compatible = "nvt,nvt_spi"; - reg = <0xf0230000 0x10000>; - interrupts = <0 35 4>; - dma-support = <0>; - nvt-devname = <0>; - }; - - spi1: spi@f0320000 { - compatible = "nvt,nvt_spi"; - reg = <0xf0320000 0x10000>; - interrupts = <0 36 4>; - dma-support = <0>; - nvt-devname = <1>; - }; - - spi2: spi@f0340000 { - compatible = "nvt,nvt_spi"; - reg = <0xf0340000 0x10000>; - interrupts = <0 37 4>; - dma-support = <0>; - nvt-devname = <2>; - }; - - sdp@f0390000 { - compatible = "nvt,nvt_sdp"; - reg = <0xf0390000 0x28>; - interrupts = <0 12 4>; - }; - - tse@f0650000 { - compatible = "nvt,nvt_tse"; - reg = <0xF0650000 0x90>; - interrupts = <0 23 4>; - }; - - remote@f0250000 { - compatible = "nvt,nvt_remote"; - reg = <0xf0250000 0x28>; - interrupts = <0 25 4>; - }; - - rng: rng@f0680000 { - compatible = "nvt,nvt_rng"; - reg = <0xf0680000 0x100>; - }; - - nvt_arb@f0000000 { - compatible = "nvt,nvt_arb"; - reg = <0xF0000000 0xA000 - 0xF0FE0000 0x300>; - interrupts = <0 33 4>; - }; - - nvt_otp@f0660000 { - compatible = "nvt,nvt_otp"; - reg = <0xF0660000 0x70>; - }; - - kdrv_ipp { - clock-frequency = <240000000>; - }; - - uvcp: uvcp@f0690000 { - compatible = "nvt,nvt_uvcp"; - reg = <0xf0690000 0x200>; - interrupts = <0 59 4>; - }; - pll_preset@0 { - pll3{pll_config = <3 0 0>;}; - pll4{pll_config = <4 0 0>;}; - pll5{pll_config = <5 297000000 1>;}; - pll6{pll_config = <6 0 0>;}; - pll7{pll_config = <7 0 0>;}; - pll8{pll_config = <8 0 0>;}; - pll9{pll_config = <9 0 0>;}; - pll11{pll_config = <11 0 0>;}; - pll12{pll_config = <12 0 1>;}; - }; -}; -# 11 "nvt-evb.dts" 2 -# 1 "nvt-top.dtsi" 1 -&top { - sdio{pinmux = <0x5>;}; - sdio2{pinmux = <0x5>;}; - sdio3{pinmux = <0x0>;}; - nand{pinmux = <0x5>;}; - sensor{pinmux = <0x0>;}; - sensor2{pinmux = <0x0>;}; - mipi_lvds{pinmux = <0x0>;}; - i2c{pinmux = <0x40>;}; - sif{pinmux = <0x0>;}; - uart{pinmux = <0x1825>;}; - spi{pinmux = <0x0>;}; - sdp{pinmux = <0x0>;}; - remote{pinmux = <0x0>;}; - pwm{pinmux = <0x8000>;}; - - pwm2{pinmux = <0x0000000>;}; - ccnt{pinmux = <0x0>;}; - audio{pinmux = <0x0>;}; - lcd{pinmux = <0x10000000>;}; - tv{pinmux = <0x0>;}; - eth{pinmux = <0x0>;}; - misc{pinmux = <0x0>;}; -}; -# 12 "nvt-evb.dts" 2 -# 1 "nvt-i2c.dtsi" 1 - - - - - - - -/ { - i2c0: i2c@f0220000 { compatible = "nvt,nvt_i2c"; reg = <0xf0220000 0x100>; interrupts = <0 41 4>; clock-frequency = <400000>; id = <0>; }; - i2c1: i2c2@f0350000 { compatible = "nvt,nvt_i2c"; reg = <0xf0350000 0x100>; interrupts = <0 42 4>; clock-frequency = <400000>; id = <1>; }; - i2c2: i2c3@f03a0000 { compatible = "nvt,nvt_i2c"; reg = <0xf03a0000 0x100>; interrupts = <0 60 4>; clock-frequency = <50000>; id = <2>; }; -}; -# 13 "nvt-evb.dts" 2 -# 1 "nvt-gpio.dtsi" 1 -&top { -# 201 "nvt-gpio.dtsi" - pgpio10{gpio_config = <(10 + 0x20) 0>;}; - sgpio3{gpio_config = <(3 + 0x40) 1>;}; - - -}; -# 14 "nvt-evb.dts" 2 -# 1 "nvt-peri-dev.dtsi" 1 -# 11 "nvt-peri-dev.dtsi" -&i2c0 { - #address-cells = <1>; - #size-cells = <0>; - - - - - - -}; - -&i2c1 { - #address-cells = <1>; - #size-cells = <0>; -}; - -&i2c2 { - #address-cells = <1>; - #size-cells = <0>; -}; - -&spi0 { - status = "okay"; - #address-cells = <1>; - #size-cells = <0>; -# 44 "nvt-peri-dev.dtsi" -}; - -&spi1 { - status = "okay"; -}; - -&spi2 { - status = "okay"; -}; -# 15 "nvt-evb.dts" 2 -# 1 "nvt-audio.dtsi" 1 - - - - - - - -/ { - audio@1 { type = "none"; i2s_ctrl = <0>; sif_channel = <0>; gpio_cold_reset = <0>; gpio_data = <0>; gpio_clk = <0>; gpio_cs = <0>; adc_zero = <0>; }; - audio@2 { type = "embedded"; i2s_ctrl = <4>; sif_channel = <0>; gpio_cold_reset = <0>; gpio_data = <0>; gpio_clk = <0>; gpio_cs = <0>; adc_zero = <0>; }; -}; -# 16 "nvt-evb.dts" 2 -# 1 "nvt-display.dtsi" 1 - - - - - - - -# 1 "/home/payton/S530/BSP/linux-kernel/include/dt-bindings/pinctrl/nvt_lcd.h" 1 -# 9 "nvt-display.dtsi" 2 -# 25 "nvt-display.dtsi" -/ { - display { type = "lcd"; lcd_ctrl = <1>; sif_channel = <4>; gpio_cs = <(7 + 0x20)>; gpio_clk = <(8 + 0x20)>; gpio_data = <(9 + 0x20)>; }; - logo { enable = <1>; lcd_type = <5>; lcd_rotate = <270>; lcd_reset = <(1 + 0x60)>; lcd_bl_gpio = <(3 + 0x40) 1>; lcd_power = <(8 + 0x20) 1>;}; -}; -# 17 "nvt-evb.dts" 2 -# 1 "nvt-media.dtsi" 1 -# 10 "nvt-media.dtsi" -# 1 "nvt-basic.dtsi" 1 -# 11 "nvt-basic.dtsi" -/ { - model = "Novatek NA51089"; - compatible = "novatek,na51089", "nvt,ca9"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0x0>; - next-level-cache = <&L2>; - clock-frequency = <960000000>; - }; - }; - - cg@f0020000 { - compatible = "nvt,core_clk"; - reg = <0xf0020000 0x1000>; - }; - - - periph_clk: periph_clk { - compatible = "nvt,periph_clk"; - #clock-cells = <0>; - clock-output-names = "periph_clk"; - }; - - global_timer@ffd00200 { - compatible = "arm,cortex-a9-global-timer"; - reg = <0xffd00200 0x20>; - interrupts = <1 11 0xf01>; - clocks = <&periph_clk>; - }; - - private_timer@ffd00600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xffd00600 0x20>; - interrupts = <1 13 0xf01>; - clocks = <&periph_clk>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 112 4>; - interrupt-affinity = <&cpu0>; - }; - - L2: cache-controller@ffe00000 { - compatible = "arm,pl310-cache"; - reg = <0xffe00000 0x1000>; - interrupts = <0 96 4>; - cache-unified; - arm,shared-override; - cache-level = <2>; - arm,data-latency = <2 2 2>; - arm,tag-latency = <2 2 2>; - }; - - gic: interrupt-controller@0xffd00000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - reg = <0xffd01000 0x1000>, - <0xffd00100 0x1000>; - }; - - scu: snoop-control-unit@0xffd00000 { - compatible = "arm,cortex-a9-scu"; - reg = <0xffd00000 0x100>; - }; -}; -# 11 "nvt-media.dtsi" 2 - -/ { - nvtmpp { - compatible = "nvt,nvtmpp"; - }; - - isf_stream { - compatible = "nvt,isf_stream"; - }; - - isf_flow { - compatible = "nvt,isf_flow"; - }; - - isf_vdocap { - compatible = "nvt,isf_vdocap"; - }; - - isf_vdoprc { - compatible = "nvt,isf_vdoprc"; - }; - - isf_dummy { - compatible = "nvt,isf_dummy"; - }; - - isf_vdoenc { - compatible = "nvt,isf_vdoenc"; - }; - - isf_vdodec { - compatible = "nvt,isf_vdodec"; - }; - - isf_vdoout { - compatible = "nvt,isf_vdoout"; - }; - - dispobj { - compatible = "nvt,nvt_dispobj"; - }; - - dispdev { - compatible = "nvt,nvt_dispdev"; - }; - - audio { - compatible = "nvt,nvt_audio"; - }; - - msdcnvt { - compatible = "nvt,msdcnvt"; - }; - - msdcnvt_adj { - compatible = "nvt,msdcnvt_adj"; - }; - - msdcnvt_custom_si { - compatible = "nvt,msdcnvt_custom_si"; - }; - - wavstudio { - compatible = "nvt,wavstudio"; - }; - - isf_audenc { - compatible = "nvt,isf_audenc"; - }; - - isf_auddec { - compatible = "nvt,isf_auddec"; - }; - - isf_audcap { - compatible = "nvt,isf_audcap"; - }; - - isf_audout { - compatible = "nvt,isf_audout"; - }; - - nvt_ipc { - compatible = "nvt,nvt_ipc"; - }; -}; -# 18 "nvt-evb.dts" 2 -# 1 "nvt-mem-tbl.dtsi" 1 - - - - - - -/ { - - nvt_memory_cfg { - #address-cells = <1>; - #size-cells = <1>; - dram { reg = <0x00000000 0x08000000>; }; - shmem{ reg = <0x00007E00 0x00000200>; }; - loader { reg = <0x01000000 0x00080000>; }; - fdt { reg = <0x01800000 0x00040000>; }; - rtos { reg = <0x01840000 0x00FC0000>; }; - linuxtmp{ reg = <0x02800000 0x04000000>; }; - uboot{ reg = <0x06800000 0x01640000>; }; - logo-fb{ reg = <0x07E40000 0x001C0000>; }; - }; - - - memory { device_type = "memory"; reg = <0x00000000 0x01800000 0x02000000 0x01600000>; }; - - - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - }; - - - - - - - libc-heap { size = <0x00200000>; }; - - hdal-memory { - #address-cells = <1>; - #size-cells = <1>; - media { reg = <0x03700000 0x04900000>; }; - }; - - hdal-maxpath-cfg { - - vdocap_active_list = <1 0 0 0 0 0 0 0>; - vdoprc_maxdevice = <2>; - vdoenc_maxpath = <4>; - vdodec_maxpath = <3>; - vdoout_maxdevice = <1>; - adocap_maxdevice = <1>; - adoout_maxdevice = <2>; - adoenc_maxpath = <1>; - adodec_maxpath = <1>; - - gfx_maxjob = <2>; - - stamp_maximg = <9>; - - vdoprc_maxstamp = <4 4>; - - vdoprc_maxmask = <4 4>; - vdoenc_maxstamp = <9 9>; - vdoenc_maxmask = <0 64>; - vdoout_maxstamp = <0 16>; - vdoout_maxmask = <0 64>; - }; -}; -# 19 "nvt-evb.dts" 2 -# 1 "nvt-storage-partition.dtsi" 1 - - - - - - - -&nor { - partition_loader { label = "loader"; reg = <0x0 0x0000000 0x0 0x10000>; }; - partition_fdt { label = "fdt"; reg = <0x0 0x10000 0x0 0x10000>; }; - partition_fdt.restore { label = "fdt.restore"; reg = <0x0 0x20000 0x0 0x10000>; }; - partition_fdt.app { label = "fdt.app"; reg = <0x0 0x30000 0x0 0x20000>; }; - partition_uboot { label = "uboot"; reg = <0x0 0x50000 0x0 0xA0000>; }; - partition_uenv { label = "uenv"; reg = <0x0 0xF0000 0x0 0x10000>; }; - partition_kernel { label = "kernel"; reg = <0x0 0x100000 0x0 0x290000>; }; - partition_rootfs { label = "rootfs"; reg = <0x0 0x390000 0x0 0x3E0000>; }; - partition_rootfs1 { label = "rootfs1"; reg = <0x0 0x770000 0x0 0xB00000>; }; - partition_rtos { label = "rtos"; reg = <0x0 0x1270000 0x0 0x930000>; }; - partition_app { label = "app"; reg = <0x0 0x1BA0000 0x0 0x50000>; }; - partition_sys { label = "sys"; reg = <0x0 0x1D10000 0x0 0x10000>; }; - partition_all { label = "all"; reg = <0x0 0x0000000 0x0 0x2000000>; }; -}; -# 20 "nvt-evb.dts" 2 -# 1 "nvt-info.dtsi" 1 - - - - - - - -/ { - nvt_info { - BIN_NAME = "FW98565A"; - BIN_NAME_T = "FW98565T"; - RTOS_APP_MAIN = "cardv"; - - EMBMEM_BLK_SIZE = "0x10000"; -# 24 "nvt-info.dtsi" - EMBMEM = "EMBMEM_SPI_NOR"; -# 34 "nvt-info.dtsi" - FW_TYPE = "FW_TYPE_PARTIAL"; - - - - - - UI_STYLE = "UI_STYLE_LVGL"; - - - - - - NVT_CFG_APP_EXTERNAL = "hostapd wireless_tool iperf-3 wpa_supplicant dhd_priv"; - - NVT_CFG_APP = "mem cardv memcpy isp_demon sf_app"; - - NVT_ROOTFS_ETC = ""; - - NVT_BINARY_FILE_STRIP = "yes"; - - NVT_CFG_KERNEL_CFG = "na51089_evb_cardv_defconfig_release"; - - NVT_MAKE_POST = "make_post.sh"; - - NVT_SAMPLES_INSTALL = "DISABLE"; - - NVT_CFG_UBOOT_CFG = ""; - - - - - - - - NVT_LINUX_SMP = "NVT_LINUX_SMP_OFF"; - - - - - - - - NVT_CHIP_ID = "CHIP_NA51089"; - - - - - - - - NVT_LINUX_COMPRESS = "NVT_LINUX_COMPRESS_GZ"; - - - - - - - - NVT_DEFAULT_NETWORK_BOOT_PROTOCOL = "NVT_DEFAULT_NETWORK_BOOT_PROTOCOL_STATIC_IP"; -# 103 "nvt-info.dtsi" - NVT_ROOTFS_TYPE = "NVT_ROOTFS_TYPE_RAMDISK"; -# 113 "nvt-info.dtsi" - LCD1 = "disp_if8b_lcd1_psd200_st7789v"; -# 126 "nvt-info.dtsi" - SENSOR1 = "sen_os05b10"; - SENSOR1_CFG = "sen_os05b10_565"; - SENSOR2 = "sen_off"; - SENSOR2_CFG = "sen_off"; - - - - - - NVT_ROOTFS_RW_PART_EN = "NVT_ROOTFS_RW_PART_EN_ON"; - - - - - - - NVT_ETHERNET = "NVT_ETHERNET_NONE"; -# 151 "nvt-info.dtsi" - NVT_SDIO_WIFI = "NVT_SDIO_WIFI_RTK"; - - - - - - NVT_USB_WIFI = "NVT_USB_WIFI_NONE"; - - - - - - NVT_USB_4G = "NVT_USB_4G_NONE"; - - - - - - - WIFI_RTK_MDL = "WIFI_RTK_MDL_8189"; - - - - - - - - WIFI_BRCM_MDL = "WIFI_BRCM_MDL_43456c5_ampk6256c5"; - - - - - - - WIFI_NVT_MDL = "WIFI_NVT_MDL_18211"; - - - - - - - NVT_CURL_SSL = "NVT_CURL_SSL_OPENSSL"; -# 201 "nvt-info.dtsi" - NVT_UBOOT_ENV_IN_STORG_SUPPORT = "NVT_UBOOT_ENV_IN_STORG_SUPPORT_OFF"; - - - - - - - TOUCH = "TOUCH_OFF"; - - - - - - - UBOOT_ONLY_LOAD_LINUX = "UBOOT_ONLY_LOAD_LINUX_ON"; - - }; -}; -# 21 "nvt-evb.dts" 2 -# 1 "nvt-nvtpack.dtsi" 1 - - - - - - - -&nor { - - - - - nvtpack { - ver = "NVTPACK_FW_INI_16072017"; - method = <1>; - index { - id0 { partition_name = "loader"; source_file = ""; }; - id1 { partition_name = "fdt"; source_file = "nvt-evb.bin"; }; - id2 { partition_name = "fdt.restore"; source_file = ""; }; - id3 { partition_name = "fdt.app"; source_file = "../rtos/output/application.bin"; }; - id4 { partition_name = "uboot"; source_file = "u-boot.bin"; }; - id5 { partition_name = "uenv"; source_file = ""; }; - id6 { partition_name = "kernel"; source_file = "uImage.bin"; }; - id7 { partition_name = "rootfs"; source_file = "rootfs.ramdisk.bin"; }; - id8 { partition_name = "rootfs1"; source_file = "rootfs_1.squash.bin"; }; - id9 { partition_name = "rtos"; source_file = "../rtos/output/rtos-main.bin"; }; - id10 { partition_name = "app"; source_file = "appfs.cardv.jffs2.nor.bin"; }; - id11 { partition_name = "sys"; source_file = ""; }; - }; - }; -}; -# 21 "nvt-evb.dts" 2