Tool/software:
What is happening is I am trying to probe cc33xx , but i am not getting any logs of it in dmesg .
I don't know what is getting wrong!
Attaching below device tree
// SPDX-License-Identifier: GPL-2.0 /* * AM62A SK: https://www.ti.com/lit/zip/sprr459 * * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ */ /dts-v1/; #include <dt-bindings/leds/common.h> #include <dt-bindings/input/input.h> #include <dt-bindings/net/ti-dp83867.h> #include "k3-am62a7.dtsi" / { compatible = "ti,am62a7-sk", "ti,am62a7"; model = "Texas Instruments AM62A7 SK"; aliases { serial2 = &main_uart0; serial3 = &main_uart1; mmc0 = &sdhci0; mmc1 = &sdhci1; mmc2 = &sdhci2; }; chosen { stdout-path = "serial2:115200n8"; }; memory@80000000 { device_type = "memory"; /* 4G RAM */ reg = <0x00000000 0x80000000 0x00000000 0x80000000>, <0x00000008 0x80000000 0x00000000 0x80000000>; }; battery: battery { compatible = "simple-battery"; constant-charge-current-max-microamp = <2500000>; // 5 A > I > 0.05 A //9 A to for body but ic support only 5ASS constant-charge-voltage-max-microvolt = <4200000>; // 18.8 > V > 3 V //4.2 for 1S bodycam precharge-current-microamp = <180000>; charge-term-current-microamp = <180000>; }; fuel_gauge: battery { compatible = "simple-battery"; voltage-min-design-microvolt = <3200000>; // 3200000 2.5V min energy-full-design-microwatt-hours = <37800000>; // 5290000 mWh (9000mAh * 3.6V NominalVlt) (9000mAh * 4.2V MaxVlt) charge-full-design-microamp-hours = <9000000>; // 9000mAh }; dma_buf_phys { compatible = "ti,dma-buf-phys"; }; reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; /* global cma region */ linux,cma { compatible = "shared-dma-pool"; reusable; size = <0x00 0x24000000>; alloc-ranges = <0x00 0xc0000000 0x00 0x24000000>; linux,cma-default; }; secure_tfa_ddr: tfa@9e780000 { reg = <0x00 0x9e780000 0x00 0x80000>; alignment = <0x1000>; no-map; }; secure_ddr: optee@9e800000 { reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ alignment = <0x1000>; no-map; }; wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9c800000 { compatible = "shared-dma-pool"; reg = <0x00 0x9c800000 0x00 0x100000>; no-map; }; wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 { compatible = "shared-dma-pool"; reg = <0x00 0x9c900000 0x00 0x01e00000>; no-map; }; mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@9b800000 { compatible = "shared-dma-pool"; reg = <0x00 0x9b800000 0x00 0x100000>; no-map; }; mcu_r5fss0_core0_memory_region: r5f-dma-memory@9b900000 { compatible = "shared-dma-pool"; reg = <0x00 0x9b900000 0x00 0x0f00000>; no-map; }; c7x_0_dma_memory_region: c7x-dma-memory@99800000 { compatible = "shared-dma-pool"; reg = <0x00 0x99800000 0x00 0x100000>; no-map; }; c7x_0_memory_region: c7x-memory@99900000 { compatible = "shared-dma-pool"; reg = <0x00 0x99900000 0x00 0x01efffff>; no-map; }; edgeai_rtos_ipc_memory_region: edgeai-rtos-ipc-memory-region { reg = <0x00 0xa0000000 0x00 0x01000000>; no-map; }; edgeai_memory_region: edgeai-dma-memory@a1000000 { compatible = "shared-dma-pool"; reg = <0x00 0xa1000000 0x00 0x02000000>; no-map; }; edgeai_shared_region: edgeai_shared-memories { compatible = "dma-heap-carveout"; reg = <0x00 0xa3000000 0x00 0x0b000000>; }; edgeai_core_heaps: edgeai-core-heap-memory@ae000000 { compatible = "shared-dma-pool"; reg = <0x00 0xae000000 0x00 0x12000000>; no-map; }; }; vmain_pd: regulator-0 { /* TPS25750 PD CONTROLLER OUTPUT */ compatible = "regulator-fixed"; regulator-name = "vmain_pd"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-always-on; regulator-boot-on; }; vcc_5v0: regulator-1 { /* Output of TPS63070 */ compatible = "regulator-fixed"; regulator-name = "vcc_5v0"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vmain_pd>; regulator-always-on; regulator-boot-on; }; vcc_3v3_main: regulator-2 { /* output of LM5141-Q1 */ compatible = "regulator-fixed"; regulator-name = "vcc_3v3_main"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vmain_pd>; regulator-always-on; regulator-boot-on; }; vcc_3v3_sys: regulator-4 { /* output of TPS222965DSGT */ compatible = "regulator-fixed"; regulator-name = "vcc_3v3_sys"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vcc_3v3_main>; regulator-always-on; regulator-boot-on; }; vddshv_sdio: regulator-5 { compatible = "regulator-gpio"; regulator-name = "vddshv_sdio"; pinctrl-names = "default"; pinctrl-0 = <&vddshv_sdio_pins_default>; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-boot-on; vin-supply = <&ldo1>; gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; states = <1800000 0x0>, <3300000 0x1>; }; wlan_lten: regulator-6 { compatible = "regulator-fixed"; regulator-name = "wlan_lten"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vcc_3v3_sys>; gpios = <&exp1 8 GPIO_ACTIVE_HIGH>; enable-active-high; }; wlan_en: regulator-7 { compatible = "regulator-fixed"; regulator-name = "wlan_en"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; vin-supply = <&wlan_lten>; enable-active-high; gpios = <&main_gpio0 71 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&wlan_en_pins_default>; }; bt_en: regulator-8 { compatible = "regulator-fixed"; regulator-name = "bt_en"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; vin-supply = <&wlan_en>; regulator-always-on; gpios = <&exp1 10 GPIO_ACTIVE_LOW>; }; leds { compatible = "gpio-leds"; backlight { label = "backlight"; gpios = <&exp1 2 GPIO_ACTIVE_HIGH>; default-state = "on"; }; vibration { label = "vibration"; gpios = <&exp1 3 GPIO_ACTIVE_HIGH>; default-state = "on"; }; audio_l { label = "audio_l"; gpios = <&exp1 12 GPIO_ACTIVE_HIGH>; default-state = "on"; }; audio_r { label = "audio_r"; gpios = <&exp1 11 GPIO_ACTIVE_HIGH>; default-state = "on"; }; gps { label = "gps"; gpios = <&exp1 20 GPIO_ACTIVE_LOW>; default-state = "off"; }; emmc { label = "emmc"; gpios = <&exp1 10 GPIO_ACTIVE_HIGH>; default-state = "on"; }; }; wlan_en_pins_default: wlan-en-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x124, PIN_OUTPUT, 7) /* (F22) MMC2_SDCD.GPIO0_71 */ >; }; bodycam_keys: bodycam-keys { compatible = "gpio-keys"; autorepeat; pinctrl-names = "default"; pinctrl-0 = <&push_button_pins_default>; switch-record { label = "Btn-Record"; linux,code = <KEY_R>; // gpios = <&main_gpio1 25 GPIO_ACTIVE_LOW>; interrupts-extended = <&main_gpio1 25 IRQ_TYPE_EDGE_RISING>, <&main_pmx0 0x1dc>; interrupt-names = "irq", "wakeup"; }; switch-capture { label = "Btn-Capture"; linux,code = <KEY_C>; // gpios = <&main_gpio0 40 GPIO_ACTIVE_LOW>; interrupts-extended = <&main_gpio0 40 IRQ_TYPE_EDGE_RISING>, <&main_pmx0 0x0a4>; interrupt-names = "irq", "wakeup"; }; switch-menu { label = "Btn-Menu"; linux,code = <KEY_M>; gpios = <&main_gpio0 38 GPIO_ACTIVE_LOW>; }; switch-forward { label = "Btn-Forward"; linux,code = <KEY_RIGHT>; gpios = <&main_gpio0 33 GPIO_ACTIVE_LOW>; }; switch-backward { label = "Btn-Backward"; linux,code = <KEY_LEFT>; gpios = <&main_gpio1 10 GPIO_ACTIVE_LOW>; }; switch-select { label = "Btn-Select"; linux,code = <KEY_ENTER>; gpios = <&main_gpio0 39 GPIO_ACTIVE_LOW>; }; switch-back { label = "Btn-Back"; linux,code = <KEY_BACKSPACE>; gpios = <&main_gpio0 36 GPIO_ACTIVE_LOW>; }; switch-audio { label = "Btn-Audio"; linux,code = <KEY_A>; // gpios = <&main_gpio0 41 GPIO_ACTIVE_LOW>; interrupts-extended = <&main_gpio0 41 IRQ_TYPE_EDGE_RISING>, <&main_pmx0 0x0a8>; interrupt-names = "irq", "wakeup"; }; switch-function { label = "Btn-Function"; linux,code = <KEY_F>; gpios = <&main_gpio0 42 GPIO_ACTIVE_LOW>; }; switch-reset { label = "Btn-Reset"; linux,code = <KEY_X>; gpios = <&main_gpio1 9 GPIO_ACTIVE_LOW>; }; }; tlv320_mclk: clk-0 { #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <12288000>; }; codec_audio: sound { compatible = "simple-audio-card"; simple-audio-card,name = "AM62Ax-SKEVM"; simple-audio-card,widgets = "Headphone", "Headphone Jack", "Line", "Line Out", "Line", "Line In", "Microphone", "Microphone Jack"; simple-audio-card,routing = "Headphone Jack", "HPLOUT", "Headphone Jack", "HPROUT", "Line Out", "LLOUT", "Line Out", "RLOUT", "LINE1L", "Line In", "LINE1R", "Line In", "MIC3R", "Microphone Jack", "Microphone Jack", "Mic Bias"; simple-audio-card,format = "dsp_b"; simple-audio-card,bitclock-master = <&sound_master>; simple-audio-card,frame-master = <&sound_master>; simple-audio-card,bitclock-inversion; simple-audio-card,cpu { sound-dai = <&mcasp1>; }; sound_master: simple-audio-card,codec { sound-dai = <&tlv320aic3106>; clocks = <&tlv320_mclk>; }; }; clk_imx219_fixed: imx219-xclk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <24000000>; }; }; &main_pmx0 { main_uart0_pins_default: main-uart0-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */ AM62AX_IOPAD(0x1cc, PIN_OUTPUT_PULLUP, 0) /* (E14) UART0_TXD */ >; }; main_uart1_pins_default: main-uart1-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x1ac, PIN_INPUT, 2) AM62AX_IOPAD(0x1b0, PIN_OUTPUT_PULLUP, 2) >; }; main_i2c0_pins_default: main-i2c0-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */ AM62AX_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */ >; }; main_i2c1_pins_default: main-i2c1-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ AM62AX_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ >; }; main_i2c2_pins_default: main-i2c2-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x0b0, PIN_INPUT_PULLUP, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ AM62AX_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ >; }; main_mmc1_pins_default: main-mmc1-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ AM62AX_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */ AM62AX_IOPAD(0x230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */ AM62AX_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */ AM62AX_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */ AM62AX_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */ AM62AX_IOPAD(0x240, PIN_INPUT, 0) /* (D17) MMC1_SDCD */ >; }; main_spi0_pins_default: main-spi0-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x1bc, PIN_OUTPUT, 0) /* (A17) SPI0_CLK */ AM62AX_IOPAD(0x1c0, PIN_INPUT, 0) /* (B15) SPI0_D0 */ /* MISO */ AM62AX_IOPAD(0x1c4, PIN_OUTPUT, 0) /* (E15) SPI0_D1 */ /* MOSI */ AM62AX_IOPAD(0x1b4, PIN_OUTPUT_PULLUP, 0) /* (D16) SPI0_CS0 */ AM62AX_IOPAD(0x1b8, PIN_OUTPUT, 0) /* (C16) SPI0_CS1 */ >; }; push_button_pins_default:push-button-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x088, PIN_INPUT, 7) /* GPIO0_33 */ AM62AX_IOPAD(0x094, PIN_INPUT, 7) /* (M18) GPMC0_BE1n.GPIO0_36 */ AM62AX_IOPAD(0x09c, PIN_INPUT, 7) /* (R17) GPMC0_WAIT1.GPIO0_38 */ AM62AX_IOPAD(0x0a0, PIN_INPUT, 7) /* (K17) GPMC0_WPn.GPIO0_39 */ AM62AX_IOPAD(0x0a4, PIN_INPUT, 7) /* (K18) GPMC0_DIR.GPIO0_40 */ AM62AX_IOPAD(0x0a8, PIN_INPUT, 7) /* (M19) GPMC0_CSn0.GPIO0_41 */ AM62AX_IOPAD(0x0ac, PIN_INPUT, 7) /* (M21) GPMC0_CSn1.GPIO0_42 */ AM62AX_IOPAD(0x19c, PIN_INPUT, 7) /* (B18) MCASP0_AXR1.GPIO1_9 */ AM62AX_IOPAD(0x1a0, PIN_INPUT, 7) /* (B20) MCASP0_AXR0.GPIO1_10 */ AM62AX_IOPAD(0x1dc, PIN_INPUT, 7) /* (C18) MCAN0_RX.GPIO1_25 */ >; }; main_mcasp1_pins_default: main-mcasp1-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x090, PIN_INPUT, 2) /* (L19) GPMC0_BE0n_CLE.MCASP1_ACLKX */ AM62AX_IOPAD(0x098, PIN_INPUT, 2) /* (R18) GPMC0_WAIT0.MCASP1_AFSX */ AM62AX_IOPAD(0x08c, PIN_OUTPUT, 2) /* (K19) GPMC0_WEn.MCASP1_AXR0 */ AM62AX_IOPAD(0x084, PIN_INPUT, 2) /* (L18) GPMC0_ADVn_ALE.MCASP1_AXR2 */ >; }; main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C15) UART0_RTSn.GPIO1_23 */ >; }; main_dss0_pins_default: main-dss0-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x100, PIN_OUTPUT, 0) /* (V17) VOUT0_VSYNC */ AM62AX_IOPAD(0x0f8, PIN_OUTPUT, 0) /* (T18) VOUT0_HSYNC */ AM62AX_IOPAD(0x104, PIN_OUTPUT, 0) /* (AA22) VOUT0_PCLK */ AM62AX_IOPAD(0x0fc, PIN_OUTPUT, 0) /* (U17) VOUT0_DE */ AM62AX_IOPAD(0x0b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ AM62AX_IOPAD(0x0bc, PIN_OUTPUT, 0) /* (U21) VOUT0_DATA1 */ AM62AX_IOPAD(0x0c0, PIN_OUTPUT, 0) /* (U20) VOUT0_DATA2 */ AM62AX_IOPAD(0x0c4, PIN_OUTPUT, 0) /* (U19) VOUT0_DATA3 */ AM62AX_IOPAD(0x0c8, PIN_OUTPUT, 0) /* (T19) VOUT0_DATA4 */ AM62AX_IOPAD(0x0cc, PIN_OUTPUT, 0) /* (U18) VOUT0_DATA5 */ AM62AX_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (V22) VOUT0_DATA6 */ AM62AX_IOPAD(0x0d4, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA7 */ AM62AX_IOPAD(0x0d8, PIN_OUTPUT, 0) /* (V19) VOUT0_DATA8 */ AM62AX_IOPAD(0x0dc, PIN_OUTPUT, 0) /* (V18) VOUT0_DATA9 */ AM62AX_IOPAD(0x0e0, PIN_OUTPUT, 0) /* (W22) VOUT0_DATA10 */ AM62AX_IOPAD(0x0e4, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA11 */ AM62AX_IOPAD(0x0e8, PIN_OUTPUT, 0) /* (W20) VOUT0_DATA12 */ AM62AX_IOPAD(0x0ec, PIN_OUTPUT, 0) /* (W19) VOUT0_DATA13 */ AM62AX_IOPAD(0x0f0, PIN_OUTPUT, 0) /* (Y21) VOUT0_DATA14 */ AM62AX_IOPAD(0x0f4, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA15 */ AM62AX_IOPAD(0x05c, PIN_OUTPUT, 1) /* (P22) GPMC0_AD8.VOUT0_DATA16 */ AM62AX_IOPAD(0x060, PIN_OUTPUT, 1) /* (R19) GPMC0_AD9.VOUT0_DATA17 */ >; }; main_mmc0_pins_default: main-mmc0-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */ AM62AX_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLKLB */ AM62AX_IOPAD(0x21c, PIN_INPUT, 0) /* (AB1) MMC0_CLK */ AM62AX_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */ AM62AX_IOPAD(0x210, PIN_INPUT_PULLUP, 0) /* (AA1) MMC0_DAT1 */ AM62AX_IOPAD(0x20c, PIN_INPUT_PULLUP, 0) /* (AA3) MMC0_DAT2 */ AM62AX_IOPAD(0x208, PIN_INPUT_PULLUP, 0) /* (Y4) MMC0_DAT3 */ AM62AX_IOPAD(0x204, PIN_INPUT_PULLUP, 0) /* (AB2) MMC0_DAT4 */ AM62AX_IOPAD(0x200, PIN_INPUT_PULLUP, 0) /* (AC1) MMC0_DAT5 */ AM62AX_IOPAD(0x1fc, PIN_INPUT_PULLUP, 0) /* (AD2) MMC0_DAT6 */ AM62AX_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */ >; }; main_mmc2_pins_default: main-mmc2-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x120, PIN_INPUT, 0) /* (G22) MMC2_CMD */ AM62AX_IOPAD(0x118, PIN_INPUT, 0) /* (H22) MMC2_CLK */ AM62AX_IOPAD(0x114, PIN_INPUT, 0) /* (E20) MMC2_DAT0 */ AM62AX_IOPAD(0x110, PIN_INPUT, 0) /* (F21) MMC2_DAT1 */ AM62AX_IOPAD(0x10c, PIN_INPUT, 0) /* (F20) MMC2_DAT2 */ AM62AX_IOPAD(0x108, PIN_INPUT, 0) /* (G21) MMC2_DAT3 */ AM62AX_IOPAD(0x11c, PIN_INPUT, 0) /* (#N/A) MMC2_CLKB */ >; }; main_wlirq_pins_default: main-wlirq-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x128, PIN_INPUT, 7) /* (E21) MMC2_SDWP.GPIO0_72 */ >; }; main_uart1_pins_default: main-uart1-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x1ac, PIN_INPUT, 2) /* (B21) MCASP0_AFSR.UART1_RXD */ AM62AX_IOPAD(0x198, PIN_OUTPUT, 2) /* (B19) MCASP0_AXR2.UART1_RTSn */ AM62AX_IOPAD(0x194, PIN_INPUT, 2) /* (C19) MCASP0_AXR3.UART1_CTSn */ AM62AX_IOPAD(0x1b0, PIN_OUTPUT, 2) /* (A21) MCASP0_ACLKR.UART1_TXD */ >; }; vddshv_sdio_pins_default: vddshv-sdio-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */ >; }; }; &mcu_pmx0 { status = "okay"; pmic_irq_pins_default: pmic-irq-pins-default { pinctrl-single,pins = < AM62AX_MCU_IOPAD(0x000, PIN_INPUT, 7) /* (E11) MCU_GPIO0_0 */ >; }; }; &sdhci2 { status = "okay"; vmmc-supply = <&wlan_en>; pinctrl-names = "default"; pinctrl-0 = <&main_mmc2_pins_default>; bus-width = <4>; non-removable; ti,fails-without-test-cd; cap-power-off-card; keep-power-in-suspend; ti,driver-strength-ohm = <50>; /* assigned-clocks = <&k3_clks 157 158>; assigned-clock-parents = <&k3_clks 157 160>; */ #address-cells = <1>; #size-cells = <0>; wlcore: wlcore@2 { compatible = "ti,cc33xx"; reg = <2>; pinctrl-names = "default"; pinctrl-0 = <&main_wlirq_pins_default>; interrupt-parent = <&main_gpio0>; interrupts = <72 IRQ_TYPE_EDGE_FALLING>; }; }; &main_uart1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart1_pins_default>; bluetooth { compatible = "ti,cc33xx-bt"; cc33xx-supply = <&bt_en>; max-speed = <115200>; }; }; &mcu_gpio0 { status = "okay"; }; &main_i2c0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c0_pins_default>; clock-frequency = <100000>; lux-sensor@10{ compatible = "vishay,veml7700"; reg = <0x10>; }; exp0: gpio@21 { compatible = "ti,tca6416"; reg = <0x21>; gpio-controller; #gpio-cells = <2>; gpio-line-names = "LED_BATT_RED", "GPIO_IR_CUT", "LED_IR_ARRAY", "LED_FLASHER_RED", "LED_WHITE", "", "", "", "", "LED_BATT_GREEN", "LED_STATUS_GREEN", "LED_STATUS_RED", "LED_STATUS_BLUE", "LED_FLASHER_BLUE", "", ""; }; typec_pd0: usb-power-controller@3f { compatible = "ti,tps6598x"; reg = <0x3f>; }; tps659312: pmic@48 { compatible = "ti,tps6593-q1"; reg = <0x48>; ti,primary-pmic; system-power-controller; gpio-controller; #gpio-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pmic_irq_pins_default>; interrupt-parent = <&mcu_gpio0>; interrupts = <0 IRQ_TYPE_EDGE_FALLING>; buck123-supply = <&vcc_3v3_sys>; buck4-supply = <&vcc_3v3_sys>; buck5-supply = <&vcc_3v3_sys>; ldo1-supply = <&vcc_3v3_sys>; ldo2-supply = <&vcc_3v3_sys>; ldo3-supply = <&buck5>; ldo4-supply = <&vcc_3v3_sys>; regulators { buck123: buck123 { regulator-name = "vcc_core"; regulator-min-microvolt = <715000>; regulator-max-microvolt = <895000>; regulator-boot-on; regulator-always-on; }; buck4: buck4 { regulator-name = "vcc_1v1"; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; regulator-boot-on; regulator-always-on; }; buck5: buck5 { regulator-name = "vcc_1v8_sys"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; }; ldo1: ldo1 { regulator-name = "vddshv5_sdio"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; }; ldo2: ldo2 { regulator-name = "vpp_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; }; ldo3: ldo3 { regulator-name = "vcc_0v75"; regulator-min-microvolt = <750000>; regulator-max-microvolt = <750000>; regulator-boot-on; regulator-always-on; }; ldo4: ldo4 { regulator-name = "vdda_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; }; }; }; fuel-gauge@55 { compatible = "ti,bq27541"; reg = <0x55>; monitored-battery = <&fuel_gauge>; }; charger@6b { compatible = "ti,bq25790"; reg = <0x6b>; monitored-battery = <&battery>; ti,watchdog-timeout-ms = <40000>; // 160000 > W > 0 input-voltage-limit-microvolt = <4500000>; // 4.5 or 4.7 input-current-limit-microamp = <3300000>; // 3300000 > I > 100000 status = "okay"; }; }; &main_i2c1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c1_pins_default>; clock-frequency = <100000>; exp1: gpio@22 { compatible = "ti,tca6424"; reg = <0x22>; gpio-controller; #gpio-cells = <2>; interrupt-parent = <&main_gpio1>; interrupts = <23 IRQ_TYPE_EDGE_FALLING>; interrupt-controller; #interrupt-cells = <2>; gpio-line-names = "CSI_GPIO0", "CSI_GPIO1", "SOC_WIFI_PWR", "SOC_LTE_PWR", "LEPTON_PWR_DWN", "LEPTON_RESET", "PD_I2C_IRQ", "VPP_EN", "DISP_TE", "GPIO_AUD_RSTn", "GPIO_eMMC_RSTn", "AUD_SHT_SDR#", "AUD_SHT_SDL#", "SOC_DISP_EN", "CPSW_RST", "GPOUT", "DISP_RST", "LT_WLAN_SDIO_RST", "GPS_EXTINT", "GPS_RST_N", "SOC_GPS_ENABLE", "LT_RESET_IN_N", "LT_PWR_ON_N", "LT_WAKE_UP"; pinctrl-names = "default"; pinctrl-0 = <&main_gpio1_ioexp_intr_pins_default>; }; tlv320aic3106: audio-codec@1b { #sound-dai-cells = <0>; compatible = "ti,tlv320aic3106"; reg = <0x1b>; ai3x-micbias-vg = <1>; /* 2.0V */ ai3x-ocmv = <1>; /* 1.5V */ /* Regulators */ AVDD-supply = <&vcc_3v3_sys>; IOVDD-supply = <&vcc_3v3_sys>; DRVDD-supply = <&vcc_3v3_sys>; }; }; &main_i2c2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c2_pins_default>; clock-frequency = <400000>; #address-cells = <1>; #size-cells = <0>; rtc@68{ compatible = "dallas,ds1307"; reg = <0x68>; #clock-cells = <1>; }; gyro@6a { compatible = "st,lsm6dsm"; reg = <0x6a>; }; /*ov5640: camera@10 { compatible = "sony,imx219"; reg = <0x10>; clocks = <&clk_imx219_fixed>; clock-names = "xclk"; reset-gpios = <&exp1 0 GPIO_ACTIVE_HIGH>; port { csi2_cam0: endpoint { remote-endpoint = <&csi2rx0_in_sensor>; link-frequencies = /bits/ 64 <496000000>; clock-lanes = <0>; data-lanes = <1 2 3 4>; }; }; }; */ tevi_ar0521_otp_1: tevi_ar0521_otp@54 { compatible = "atmel,24c1024"; //compatible = "st,m24m01-d", "atmel,24cm02"; reg = <0x54>; pagesize = <128>; status="okay"; //read-only; }; tevi_ap1302_0: camera-sensor@3d{ compatible = "tn,tevi-ap1302"; reg = <0x3d>; //reset-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; //pinctrl-names = "default"; //pinctrl-0 = <&pinctrl_csi_pwn>, <&pinctrl_csi_rst>; clocks = <&clk_imx219_fixed>; clock-names = "xclk"; host-power-gpios = <&exp1 14 GPIO_ACTIVE_HIGH>; // need to check reset-gpios = <&exp1 0 GPIO_ACTIVE_HIGH>; device-power-gpios = <&exp1 1 GPIO_ACTIVE_HIGH>; // need to check standby-gpios = <&exp1 7 GPIO_ACTIVE_HIGH>; // need to check nvmem = <&tevi_ar0521_otp_1>; nvmem-names = "calib-data"; pixel-rate = <61430400>; /* 61.43MHz */ data-lanes = <2>; supports-over-4k-res; continuous-clock = <0>; status = "okay"; port { ap1302_0_ep: endpoint { clock-lanes=<0>; data-lanes = <1 2> ; remote-endpoint = <&mipi1_sensor_ep>; }; }; }; }; &main_spi0{ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_spi0_pins_default>; num_cs = <2>; cs-gpios = <&main_gpio1 15 GPIO_ACTIVE_LOW>, <&main_gpio1 16 GPIO_ACTIVE_LOW>; #address-cells = <1>; #size-cells = <0>; panel@1 { compatible = "sitronix,st7789v"; reg = <1>; reset-gpios = <&exp1 16 GPIO_ACTIVE_LOW>; power-supply = <&vcc_3v3_sys>; rotation = <270>; spi-max-frequency = <1000000>; spi-cpol; port { panel_in: endpoint { remote-endpoint = <&dpi1_out>; }; }; }; }; &sdhci1 { /* SD/MMC */ status = "okay"; vmmc-supply = <&vcc_3v3_sys>; vqmmc-supply = <&vddshv_sdio>; pinctrl-names = "default"; pinctrl-0 = <&main_mmc1_pins_default>; ti,driver-strength-ohm = <50>; disable-wp; }; &main_gpio0 { status = "okay"; }; &main_gpio1 { status = "okay"; }; &main_gpio_intr { status = "okay"; }; &main_uart0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart0_pins_default>; interrupts-extended = <&gic500 GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>, <&main_pmx0 0x1c8>; /* (D14) UART0_RXD PADCONFIG114 */ interrupt-names = "irq", "wakeup"; }; &main_uart1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart1_pins_default>; }; &usbss0 { status = "okay"; ti,vbus-divider; }; &usb0 { dr_mode = "otg"; }; &mcasp1 { status = "okay"; #sound-dai-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&main_mcasp1_pins_default>; op-mode = <0>; /* MCASP_IIS_MODE */ tdm-slots = <2>; serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 1 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 >; tx-num-evt = <32>; rx-num-evt = <32>; }; &ti_csi2rx0 { status = "okay"; }; &csi0_port0 { status = "okay"; mipi1_sensor_ep: endpoint { remote-endpoint = <&ap1302_0_ep>; bus-type = <4>; /* CSI2 DPHY. */ clock-lanes = <0>; data-lanes = <1 2>; }; }; &dphy0 { status = "okay"; }; &dss { pinctrl-names = "default"; pinctrl-0 = <&main_dss0_pins_default>; }; &dss_ports { /* VP2: DPI Output */ port@0 { reg = <0>; dpi1_out: endpoint { remote-endpoint = <&panel_in>; }; }; }; &mailbox0_cluster0 { ti,mbox-num-fifos = <2>; mbox_r5_0: mbox-r5-0 { ti,mbox-rx = <0 0 0>; ti,mbox-tx = <1 0 0>; }; }; &mailbox0_cluster1 { ti,mbox-num-fifos = <2>; mbox_c7x_0: mbox-c7x-0 { ti,mbox-rx = <0 0 0>; ti,mbox-tx = <1 0 0>; }; }; &mailbox0_cluster2 { ti,mbox-num-fifos = <2>; mbox_mcu_r5_0: mbox-mcu_r5-0 { ti,mbox-rx = <0 0 0>; ti,mbox-tx = <1 0 0>; }; }; &c7x_0 { mboxes = <&mailbox0_cluster1 &mbox_c7x_0>; memory-region = <&c7x_0_dma_memory_region>, <&c7x_0_memory_region>; }; &wkup_r5fss0_core0 { mboxes = <&mailbox0_cluster0 &mbox_r5_0>; memory-region = <&wkup_r5fss0_core0_dma_memory_region>, <&wkup_r5fss0_core0_memory_region>; }; &mcu_r5fss0_core0 { mboxes = <&mailbox0_cluster2 &mbox_mcu_r5_0>; memory-region = <&mcu_r5fss0_core0_dma_memory_region>, <&mcu_r5fss0_core0_memory_region>; }; #define K3_TS_OFFSET(pa, val) (0x4+(pa)*4) (0x10000 | val) ×ync_router { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&cpsw_cpts>; /* Use Time Sync Router to map GENF1 input to HW3_TS_PUSH output */ cpsw_cpts: cpsw-cpts { pinctrl-single,pins = < /* pps [cpsw cpts genf1] in17 -> out12 [cpsw cpts hw3_push] */ K3_TS_OFFSET(12, 17) >; }; }; &sdhci0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_mmc0_pins_default>; ti,driver-strength-ohm = <50>; disable-wp; }; /delete-node/&fss; /delete-node/&cpsw3g; /delete-node/×ync_router; /delete-node/&usbss1; /delete-node/&epwm0; /delete-node/&epwm1; /delete-node/&epwm2; /delete-node/&eqep0; /delete-node/&eqep1; /delete-node/&eqep2; /delete-node/&ecap0; /delete-node/&ecap1; /delete-node/&ecap2; /delete-node/&main_uart2; /delete-node/&main_uart3; /delete-node/&main_uart4; /delete-node/&main_uart5; /delete-node/&main_uart6; /delete-node/&main_spi1; /delete-node/&main_spi2; /delete-node/&main_i2c3; /delete-node/&mcasp0; /delete-node/&mcasp2; /delete-node/&main_conf; /delete-node/&main_mcan0; /delete-node/&main_timer0; /delete-node/&main_timer1; /delete-node/&main_timer2; /delete-node/&main_timer3; /delete-node/&main_timer4; /delete-node/&main_timer5; /delete-node/&main_timer6; /delete-node/&mcu_spi0; /delete-node/&mcu_spi1; // MCU CORE DISABLE /delete-node/&mailbox0_cluster2; /delete-node/&mailbox0_cluster3; /delete-node/&hwspinlock; /delete-node/&mcu_r5fss0; /delete-node/&mcu_r5fss0_core0_dma_memory_region; /delete-node/&mcu_r5fss0_core0_memory_region; // WAKEUP RTC /delete-node/&wkup_i2c0; /delete-node/&wkup_rtc0;