This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM67A: Some questions about tidss

Part Number: AM67A

Tool/software:

I am currently using our company's custom board. Now I need to debug the LVDS panel. At first, I had already debugged it in SDK 11.00.00.08. However, the customer requested to use SDK 10.00.00.08. But I found that the same DSS configuration would cause problems.


[ 1.161559] tidss 30200000.dss: failed to init OLDI: -517
[ 1.202241] davinci_mdio 8000f00.mdio: davinci mdio revision 17.7, bus freq 1000000
[ 1.210891] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver unknown
[ 1.218767] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01903, cpsw version 0x6BA81903 Ports: 3 quirks:00000006
[ 1.231740] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[ 1.238867] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[ 1.245348] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010d, freq:500000000, add_val:1 pps:0
[ 1.258772] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[ 1.269083] input: pwm-beeper as /devices/platform/pwm-beeper/input/input0
[ 1.277592] mmc0: CQHCI version 5.10
[ 1.277869] mmc1: CQHCI version 5.10
[ 1.291777] tidss 30200000.dss: failed to init OLDI: -517
[ 1.300354] tidss 30200000.dss: failed to init OLDI: -517
[ 1.308382] tidss 30200000.dss: failed to init OLDI: -517
[ 1.314758] debugfs: Directory 'pd:244' with parent 'pm_genpd' already present!
[ 1.321241] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
[ 1.323309] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
[ 1.329549] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
[ 1.336838] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
[ 1.338529] power_cut_probe sucess !
[ 1.344991] tidss 30200000.dss: failed to init OLDI: -517
[ 1.351925] clk: Disabling unused clocks
[ 1.358281] tidss 30200000.dss: failed to init OLDI: -517

Then I discovered that the functions in the driver were different. In SDK 10.00.00.08, the following function was problematic.

drm_of_find_panel_or_bridge(child, OLDI_OURPUT_PORT, -1,&panel, &bridge);

And in 11.00.00.08, the following function is used.

devm_drm_of_get_bridge(tidss->dev, child,OLDI_OURPUT_PORT, 0);

So I would like to know how I should configure it at 10.00.00.08?

// SPDX-License-Identifier: GPL-2.0-only OR MIT
/*
 * Device Tree file for the J722S EVM
 * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
 *
 * Schematics: https://www.ti.com/lit/zip/sprr495
 */

/dts-v1/;

#include <dt-bindings/net/ti-dp83867.h>
#include <dt-bindings/phy/phy.h>
#include "k3-j722s.dtsi"
#include "k3-serdes.h"

/ {
	compatible = "ti,j722s-evm", "ti,j722s";
	model = "6K15";

	aliases {
		serial0 = &wkup_uart0;
		serial2 = &main_uart0;
		serial3 = &main_uart5;
		mmc0 = &sdhci0;
		mmc1 = &sdhci1;
	};

	chosen {
		stdout-path = &main_uart0;
	};

	memory@80000000 {
		/* 8G RAM */
		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
		      <0x00000008 0x80000000 0x00000001 0x80000000>;
		device_type = "memory";
		bootph-all;
	};

	reserved_memory: reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		/* global cma region */
		linux,cma {
			compatible = "shared-dma-pool";
			reusable;
			size = <0x00 0x38000000>;
			linux,cma-default;
		};

		secure_tfa_ddr: tfa@9e780000 {
			reg = <0x00 0x9e780000 0x00 0x80000>;
			no-map;
		};

		secure_ddr: optee@9e800000 {
			reg = <0x00 0x9e800000 0x00 0x01800000>;
			no-map;
		};

		wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa0000000 0x00 0x100000>;
			no-map;
		};

		wkup_r5fss0_core0_memory_region: r5f-memory@a0100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa0100000 0x00 0xf00000>;
			no-map;
		};

		mcu_r5fss0_core0_dma_memory_region: mcu-r5fss-dma-memory-region@a1000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa1000000 0x00 0x100000>;
			no-map;
		};

		mcu_r5fss0_core0_memory_region: mcu-r5fss-memory-region@a1100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa1100000 0x00 0xf00000>;
			no-map;
		};

		main_r5fss0_core0_dma_memory_region: main-r5fss-dma-memory-region@a2000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa2000000 0x00 0x100000>;
			no-map;
		};

		main_r5fss0_core0_memory_region: main-r5fss-memory-region@a2100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa2100000 0x00 0xf00000>;
			no-map;
		};

		c7x_0_dma_memory_region: c7x-dma-memory@a3000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa3000000 0x00 0x100000>;
			no-map;
		};

		c7x_0_memory_region: c7x-memory@a3100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa3100000 0x00 0xf00000>;
			no-map;
		};

		c7x_1_dma_memory_region: c7x-dma-memory@a4000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa4000000 0x00 0x100000>;
			no-map;
		};

		c7x_1_memory_region: c7x-memory@a4100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa4100000 0x00 0xf00000>;
			no-map;
		};

		rtos_ipc_memory_region: ipc-memories@a5000000 {
			reg = <0x00 0xa5000000 0x00 0x1c00000>;
			alignment = <0x1000>;
			no-map;
		};
	};

	vmain_pd: regulator-0 {
		/* TPS65988 PD CONTROLLER OUTPUT */
		compatible = "regulator-fixed";
		regulator-name = "vmain_pd";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
		regulator-boot-on;
		bootph-all;
	};

	vsys_5v0: regulator-vsys5v0 {
		/* Output of LM5140 */
		compatible = "regulator-fixed";
		regulator-name = "vsys_5v0";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		vin-supply = <&vmain_pd>;
		regulator-always-on;
		regulator-boot-on;
	};

	vdd_mmc1: regulator-mmc1 {
		/* TPS22918DBVR */
		compatible = "regulator-fixed";
		regulator-name = "vdd_mmc1";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-boot-on;
		enable-active-high;
		//gpio = <&exp1 15 GPIO_ACTIVE_HIGH>;
		bootph-all;
	};

	vdd_sd_dv: regulator-TLV71033 {
		compatible = "regulator-gpio";
		regulator-name = "tlv71033";
		//pinctrl-names = "default";
		//pinctrl-0 = <&vdd_sd_dv_pins_default>;
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <3300000>;
		regulator-boot-on;
		vin-supply = <&vsys_5v0>;
		//gpios = <&main_gpio0 70 GPIO_ACTIVE_HIGH>;
		states = <1800000 0x0>,
			 <3300000 0x1>;
	};

	vcc_3v3_aud: regulator-vcc3v3 {
		/* Output of LM5140 */
		compatible = "regulator-fixed";
		regulator-name = "vcc_3v3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
		regulator-boot-on;
	};

	vsys_io_1v8: regulator-vsys-io-1v8 {
		compatible = "regulator-fixed";
		regulator-name = "vsys_io_1v8";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		regulator-always-on;
		regulator-boot-on;
	};

	vsys_io_1v2: regulator-vsys-io-1v2 {
		compatible = "regulator-fixed";
		regulator-name = "vsys_io_1v2";
		regulator-min-microvolt = <1200000>;
		regulator-max-microvolt = <1200000>;
		regulator-always-on;
		regulator-boot-on;
	};

	leds: leds {
		status = "okay";
		pinctrl-names = "default";
		pinctrl-0 = <&run_led_pins_default>;
		compatible = "gpio-leds";

		run {
			label = "run";
			gpios = <&main_gpio1 49 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "heartbeat";
			default-state = "on";
		};
	};

	pwm-beeper {
		status = "okay";
		compatible = "pwm-beeper";
		pwms = <&epwm0 0 100000 0>;
		amp-supply = <&vsys_5v0>;
		beeper-hz = <100000>;
	};

	power_cut {
		status = "okay";
		compatible = "cotrust,power";
		pinctrl-names = "default";
		pinctrl-0 = <&pwr_pins_default>;
		irq = <&main_gpio1 31 GPIO_ACTIVE_LOW>;
	};

	lvds_backlight: lvds_backlight {
		status = "disabled";
		compatible = "pwm-backlight";
		pinctrl-names = "default";
		pinctrl-0 = <&lvds_bl_en_pins_default>;
		pwms = <&epwm1 0 1000000 1000000>;
		brightness-levels = <0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100>;
		default-brightness-level = <20>;
		enable-gpios = <&main_gpio1 7 GPIO_ACTIVE_HIGH>;
	};

	edp_backlight: edp_backlight {
		status = "okay";
		compatible = "pwm-backlight";
		pinctrl-names = "default";
		pinctrl-0 = <&edp_bl_en_pins_default>;
		pwms = <&epwm2 0 1000000 1000000>;
		brightness-levels = <0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100>;
		default-brightness-level = <20>;
		enable-gpios = <&main_gpio0 43 GPIO_ACTIVE_HIGH>;
	};

	display {
		compatible = "ct,inc15", "panel-simple";
		backlight = <&edp_backlight>;
		/*
		* Note that the OLDI TX 0 transmits the odd set of pixels
		* while the OLDI TX 1 transmits the even set. This is a
		* fixed configuration in the IP integration and is not
		* changeable. The properties, "dual-lvds-odd-pixels" and
		* "dual-lvds-even-pixels" have been used to merely
		* identify if a Dual Link configuration is required.
		* Swapping them will cause an error in the dss oldi driver.
		*/
		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				dual-lvds-odd-pixels;

				lcd_in0: endpoint {
					remote-endpoint = <&oldi0_dss0_out>;
				};
			};

			port@1 {
				reg = <1>;
				dual-lvds-even-pixels;

				lcd_in1: endpoint {
					remote-endpoint = <&oldi1_dss0_out>;
				};
			};
		};
	};

	// hdmi0: connector-hdmi {
	// 	compatible = "hdmi-connector";
	// 	label = "hdmi";
	// 	type = "a";
	// 	port {
	// 		hdmi_connector_in: endpoint {
	// 			remote-endpoint = <&sii9022_out>;
	// 		};
	// 	};
	// };

	// transceiver0: can-phy0 {
	// 	compatible = "ti,tcan1042";
	// 	#phy-cells = <0>;
	// 	max-bitrate = <5000000>;
	// 	pinctrl-names = "default";
	// 	pinctrl-0 = <&mcu_mcan0_gpio_pins_default>;
	// 	standby-gpios = <&mcu_gpio0 12 GPIO_ACTIVE_HIGH>;
	// };

	// transceiver1: can-phy1 {
	// 	compatible = "ti,tcan1042";
	// 	#phy-cells = <0>;
	// 	max-bitrate = <5000000>;
	// };

	// transceiver2: can-phy2 {
	// 	compatible = "ti,tcan1042";
	// 	#phy-cells = <0>;
	// 	max-bitrate = <5000000>;
	// 	standby-gpios = <&exp1 17 GPIO_ACTIVE_HIGH>;
	// };

	// codec_audio: sound {
	// 	compatible = "simple-audio-card";
	// 	simple-audio-card,name = "J722S-EVM";
	// 	simple-audio-card,widgets =
	// 		"Headphone",	"Headphone Jack",
	// 		"Line",		"Line In",
	// 		"Microphone",	"Microphone Jack";
	// 	simple-audio-card,routing =
	// 		"Headphone Jack",	"HPLOUT",
	// 		"Headphone Jack",	"HPROUT",
	// 		"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 = <&audio_refclk1>;
	// 	};
	// };
};

&main_pmx0 {

	/delete-property/ interrupts;
	main_i2c0_pins_default: main-i2c0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x01e0, PIN_INPUT_PULLUP, 0) /* (D23) I2C0_SCL */
			J722S_IOPAD(0x01e4, PIN_INPUT_PULLUP, 0) /* (B22) I2C0_SDA */
		>;
		bootph-all;
	};

	main_i2c1_pins_default: main-i2c1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x01e8, PIN_INPUT_PULLUP, 0) /* (C24) I2C1_SCL */
			J722S_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (A22) I2C1_SDA */
		>;
		bootph-all;
	};

	main_uart0_pins_default: main-uart0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x01c8, PIN_INPUT, 0)	/* (A22) UART0_RXD */
			J722S_IOPAD(0x01cc, PIN_OUTPUT, 0)	/* (B22) UART0_TXD */
		>;
		bootph-all;
	};

	// main_uart5_pins_default: main-uart5-default-pins {
	// 	pinctrl-single,pins = <
	// 		J722S_IOPAD(0x0108, PIN_INPUT, 3)	/* (J27) UART5_RXD */
	// 		J722S_IOPAD(0x010c, PIN_OUTPUT, 3)	/* (H27) UART5_TXD */
	// 	>;
	// };

	vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0120, PIN_INPUT, 7) /* (F27) MMC2_CMD.GPIO0_70 */
		>;
		bootph-all;
	};

	main_mmc1_pins_default: main-mmc1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x023c, PIN_INPUT, 0) /* (H22) MMC1_CMD */
			J722S_IOPAD(0x0234, PIN_OUTPUT, 0) /* (H24) MMC1_CLK */
			J722S_IOPAD(0x0230, PIN_INPUT, 0) /* (H23) MMC1_DAT0 */
			J722S_IOPAD(0x022c, PIN_INPUT_PULLUP, 0) /* (H20) MMC1_DAT1 */
			J722S_IOPAD(0x0228, PIN_INPUT_PULLUP, 0) /* (J23) MMC1_DAT2 */
			J722S_IOPAD(0x0224, PIN_INPUT_PULLUP, 0) /* (H25) MMC1_DAT3 */
			J722S_IOPAD(0x0240, PIN_INPUT, 0) /* (B24) MMC1_SDCD */
		>;
		bootph-all;
	};

	mdio_pins_default: mdio-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0160, PIN_OUTPUT, 0) /* (AC24) MDIO0_MDC */
			J722S_IOPAD(0x015c, PIN_INPUT, 0) /* (AD25) MDIO0_MDIO */
		>;
	};

	rgmii1_pins_default: rgmii1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x014c, PIN_INPUT, 0) /* (AC25) RGMII1_RD0 */
			J722S_IOPAD(0x0150, PIN_INPUT, 0) /* (AD27) RGMII1_RD1 */
			J722S_IOPAD(0x0154, PIN_INPUT, 0) /* (AE24) RGMII1_RD2 */
			J722S_IOPAD(0x0158, PIN_INPUT, 0) /* (AE26) RGMII1_RD3 */
			J722S_IOPAD(0x0148, PIN_INPUT, 0) /* (AE27) RGMII1_RXC */
			J722S_IOPAD(0x0144, PIN_INPUT, 0) /* (AD23) RGMII1_RX_CTL */
			J722S_IOPAD(0x0134, PIN_OUTPUT, 0) /* (AF27) RGMII1_TD0 */
			J722S_IOPAD(0x0138, PIN_OUTPUT, 0) /* (AE23) RGMII1_TD1 */
			J722S_IOPAD(0x013c, PIN_OUTPUT, 0) /* (AG25) RGMII1_TD2 */
			J722S_IOPAD(0x0140, PIN_OUTPUT, 0) /* (AF24) RGMII1_TD3 */
			J722S_IOPAD(0x0130, PIN_OUTPUT, 0) /* (AG26) RGMII1_TXC */
			J722S_IOPAD(0x012c, PIN_OUTPUT, 0) /* (AF25) RGMII1_TX_CTL */
		>;
	};

	main_usb1_pins_default: main-usb1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0258, PIN_INPUT, 0) /* (B27) USB1_DRVVBUS */
		>;
	};

	main_gpio0_ioexp_intr_pins_default: main-gpio0-ioexp-intr-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0110, PIN_INPUT, 7) /* (G27) MMC2_DAT1.GPIO0_67 */
		>;
	};

	main_dpi_pins_default: main-dpi-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0100, PIN_OUTPUT, 0) /* (AB23) VOUT0_VSYNC */
			J722S_IOPAD(0x00f8, PIN_OUTPUT, 0) /* (AB24) VOUT0_HSYNC */
			J722S_IOPAD(0x0104, PIN_OUTPUT, 0) /* (AC26) VOUT0_PCLK */
			J722S_IOPAD(0x00fc, PIN_OUTPUT, 0) /* (AC27) VOUT0_DE */
			J722S_IOPAD(0x00b8, PIN_OUTPUT, 0) /* (W27) VOUT0_DATA0 */
			J722S_IOPAD(0x00bc, PIN_OUTPUT, 0) /* (W25) VOUT0_DATA1 */
			J722S_IOPAD(0x00c0, PIN_OUTPUT, 0) /* (W24) VOUT0_DATA2 */
			J722S_IOPAD(0x00c4, PIN_OUTPUT, 0) /* (W23) VOUT0_DATA3 */
			J722S_IOPAD(0x00c8, PIN_OUTPUT, 0) /* (W22) VOUT0_DATA4 */
			J722S_IOPAD(0x00cc, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA5 */
			J722S_IOPAD(0x00d0, PIN_OUTPUT, 0) /* (Y26) VOUT0_DATA6 */
			J722S_IOPAD(0x00d4, PIN_OUTPUT, 0) /* (Y27) VOUT0_DATA7 */
			J722S_IOPAD(0x00d8, PIN_OUTPUT, 0) /* (AA24) VOUT0_DATA8 */
			J722S_IOPAD(0x00dc, PIN_OUTPUT, 0) /* (AA27) VOUT0_DATA9 */
			J722S_IOPAD(0x00e0, PIN_OUTPUT, 0) /* (AA25) VOUT0_DATA10 */
			J722S_IOPAD(0x00e4, PIN_OUTPUT, 0) /* (AB25) VOUT0_DATA11 */
			J722S_IOPAD(0x00e8, PIN_OUTPUT, 0) /* (AA23) VOUT0_DATA12 */
			J722S_IOPAD(0x00ec, PIN_OUTPUT, 0) /* (AA22) VOUT0_DATA13 */
			J722S_IOPAD(0x00f0, PIN_OUTPUT, 0) /* (AB26) VOUT0_DATA14 */
			J722S_IOPAD(0x00f4, PIN_OUTPUT, 0) /* (AB27) VOUT0_DATA15 */
			J722S_IOPAD(0x005c, PIN_OUTPUT, 1) /* (U27) GPMC0_AD8.VOUT0_DATA16 */
			J722S_IOPAD(0x0060, PIN_OUTPUT, 1) /* (U26) GPMC0_AD9.VOUT0_DATA17 */
			J722S_IOPAD(0x0064, PIN_OUTPUT, 1) /* (V27) GPMC0_AD10.VOUT0_DATA18 */
			J722S_IOPAD(0x0068, PIN_OUTPUT, 1) /* (V25) GPMC0_AD11.VOUT0_DATA19 */
			J722S_IOPAD(0x006c, PIN_OUTPUT, 1) /* (V26) GPMC0_AD12.VOUT0_DATA20 */
			J722S_IOPAD(0x0070, PIN_OUTPUT, 1) /* (V24) GPMC0_AD13.VOUT0_DATA21 */
			J722S_IOPAD(0x0074, PIN_OUTPUT, 1) /* (V22) GPMC0_AD14.VOUT0_DATA22 */
			J722S_IOPAD(0x0078, PIN_OUTPUT, 1) /* (V23) GPMC0_AD15.VOUT0_DATA23 */
			J722S_IOPAD(0x009c, PIN_OUTPUT, 1) /* (W26) GPMC0_WAIT1.VOUT0_EXTPCLKIN */
		>;
	};

	main_mcan0_pins_default: main-mcan0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x1dc, PIN_INPUT, 0) /* (C22) MCAN0_RX */
			J722S_IOPAD(0x1d8, PIN_OUTPUT, 0) /*(D22) MCAN0_TX */
		>;
	};

	main_mcasp1_pins_default: main-mcasp1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0090, PIN_INPUT, 2) /* (U24) GPMC0_BE0n_CLE.MCASP1_ACLKX */
			J722S_IOPAD(0x0098, PIN_INPUT, 2) /* (AA24) GPMC0_WAIT0.MCASP1_AFSX */
			J722S_IOPAD(0x008c, PIN_OUTPUT, 2) /* (T25) GPMC0_WEn.MCASP1_AXR0 */
			J722S_IOPAD(0x0084, PIN_INPUT, 2) /* (R25) GPMC0_ADVn_ALE.MCASP1_AXR2 */
		>;
	};

	audio_ext_refclk1_pins_default: audio-ext-refclk1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0a0, PIN_OUTPUT, 1) /* (N24) GPMC0_WPn.AUDIO_EXT_REFCLK1 */
		>;
	};

	run_led_pins_default: run-led-pins-default {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0244, PIN_INPUT, 7) /* (A24) MMC1_SDWP.GPIO1_49 */
		>;
	};

	epwm0_pins_defaults: epwm0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0108, PIN_OUTPUT, 4) /* (J27) MMC2_DAT3.EHRPWM0_A */
		>;
	};

	pwr_pins_default: pwr-pins-default {
		pinctrl-single,pins = <
			AM62X_IOPAD(0x01f4, PIN_INPUT, 7) /* (D16) EXTINTn.GPIO1_31 */
		>;
	};

	lvds_bl_en_pins_default: lvds_bl_en_pins_default{
		pinctrl-sissngle,pins = <
			J722S_IOPAD(0x0194, PIN_OUTPUT, 7) /* (A25) MCASP0_AXR3.GPIO1_7 */
		>;
	};

	lvds_bl_epwm1_pins_default: lvds_bl_epwm1_pins_default{
		pinctrl-single,pins = <
			J722S_IOPAD(0x0110, PIN_OUTPUT, 4) /* (G27) MMC2_DAT1.EHRPWM1_A */
		>;
	};

	edp_bl_en_pins_default: edp_bl_en_pins_default{
		pinctrl-single,pins = <
			J722S_IOPAD(0x00b0, PIN_OUTPUT, 7) /* (P22) GPMC0_CSn2.GPIO0_43 */
		>;
	};

	edp_bl_epwm2_pins_default: edp_bl_epwm2_pins_default{
		pinctrl-single,pins = <
			J722S_IOPAD(0x0124, PIN_INPUT, 4) /* (F26) MMC2_SDCD.EHRPWM2_A */
		>;
	};

	oldi0_pins_default: oldi0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0260, PIN_OUTPUT, 0) /* (AF23) OLDI0_A0N */
			J722S_IOPAD(0x025c, PIN_OUTPUT, 0) /* (AG24) OLDI0_A0P */
			J722S_IOPAD(0x0268, PIN_OUTPUT, 0) /* (AG22) OLDI0_A1N */
			J722S_IOPAD(0x0264, PIN_OUTPUT, 0) /* (AG23) OLDI0_A1P */
			J722S_IOPAD(0x0270, PIN_OUTPUT, 0) /* (AB20) OLDI0_A2N */
			J722S_IOPAD(0x026c, PIN_OUTPUT, 0) /* (AB21) OLDI0_A2P */
			J722S_IOPAD(0x0278, PIN_OUTPUT, 0) /* (AG20) OLDI0_A3N */
			J722S_IOPAD(0x0274, PIN_OUTPUT, 0) /* (AG21) OLDI0_A3P */
			J722S_IOPAD(0x0280, PIN_OUTPUT, 0) /* (AD21) OLDI0_A4N */
			J722S_IOPAD(0x027c, PIN_OUTPUT, 0) /* (AC21) OLDI0_A4P */
			J722S_IOPAD(0x0288, PIN_OUTPUT, 0) /* (AF19) OLDI0_A5N */
			J722S_IOPAD(0x0284, PIN_OUTPUT, 0) /* (AF18) OLDI0_A5P */
			J722S_IOPAD(0x0290, PIN_OUTPUT, 0) /* (AG17) OLDI0_A6N */
			J722S_IOPAD(0x028c, PIN_OUTPUT, 0) /* (AG18) OLDI0_A6P */
			J722S_IOPAD(0x0298, PIN_OUTPUT, 0) /* (AB19) OLDI0_A7N */
			J722S_IOPAD(0x0294, PIN_OUTPUT, 0) /* (AA20) OLDI0_A7P */
			J722S_IOPAD(0x02a0, PIN_OUTPUT, 0) /* (AF21) OLDI0_CLK0N */
			J722S_IOPAD(0x029c, PIN_OUTPUT, 0) /* (AE20) OLDI0_CLK0P */
			J722S_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (AD20) OLDI0_CLK1N */
			J722S_IOPAD(0x02a4, PIN_OUTPUT, 0) /* (AE19) OLDI0_CLK1P */
		>;
	};
};

&cpsw3g {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&rgmii1_pins_default>;
};

&cpsw3g_mdio {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mdio_pins_default>;

	cpsw3g_phy0: ethernet-phy@0 {
		reg = <0>;
		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
		ti,min-output-impedance;
	};
};

&cpsw_port1 {
	phy-mode = "rgmii-rxid";
	phy-handle = <&cpsw3g_phy0>;
};

&cpsw_port2 {
	status = "disabled";
};

&main_gpio1 {
	status = "okay";
};

&main_uart0 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_uart0_pins_default>;
	status = "okay";
	bootph-all;
};

&main_uart5 {
	// pinctrl-names = "default";
	// pinctrl-0 = <&main_uart5_pins_default>;
	status = "reserved";
};

&mcu_pmx0 {

	wkup_uart0_pins_default: wkup-uart0-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x02c, PIN_INPUT, 0)	/* (C7) WKUP_UART0_CTSn */
			J722S_MCU_IOPAD(0x030, PIN_OUTPUT, 0)	/* (C6) WKUP_UART0_RTSn */
			J722S_MCU_IOPAD(0x024, PIN_INPUT, 0)	/* (D8) WKUP_UART0_RXD */
			J722S_MCU_IOPAD(0x028, PIN_OUTPUT, 0)	/* (D7) WKUP_UART0_TXD */
		>;
		bootph-all;
	};

	wkup_i2c0_pins_default: wkup-i2c0-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x04c, PIN_INPUT_PULLUP, 0)	/* (C7) WKUP_I2C0_SCL */
			J722S_MCU_IOPAD(0x050, PIN_INPUT_PULLUP, 0)	/* (C6) WKUP_I2C1_SDA */
		>;
		bootph-all;
	};

	mcu_mcan0_pins_default: mcu-mcan0-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x038, PIN_INPUT, 0) /* (D8) MCU_MCAN0_RX */
			J722S_MCU_IOPAD(0x034, PIN_OUTPUT, 0) /* (B2) MCU_MCAN0_TX */
		>;
	};

	mcu_mcan1_pins_default: mcu-mcan1-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x040, PIN_INPUT, 0) /* (B1) MCU_MCAN1_RX */
			J722S_MCU_IOPAD(0x03C, PIN_OUTPUT, 0) /*(C1) MCU_MCAN1_TX */
		>;
	};

	mcu_mcan0_gpio_pins_default: mcu-mcan0-gpio-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x0030, PIN_OUTPUT, 7) /* (C3) MCU_GPIO0_12 */
		>;
	};

	mcu_lt8911ex_pins_default: mcu-lt8911ex-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x004c, PIN_OUTPUT, 7) /* (B9) WKUP_I2C0_SCL.MCU_GPIO0_19 */
		>;
	};
};

&wkup_uart0 {
	/* WKUP UART0 is used by Device Manager firmware */
	pinctrl-names = "default";
	pinctrl-0 = <&wkup_uart0_pins_default>;
	status = "reserved";
	bootph-all;
};

&wkup_i2c0 {
	pinctrl-names = "default";
	pinctrl-0 = <&wkup_i2c0_pins_default>;
	clock-frequency = <400000>;
	status = "disabled";
	bootph-all;
};

&k3_clks {
	/* Configure AUDIO_EXT_REFCLK1 pin as output */
	pinctrl-names = "default";
	pinctrl-0 = <&audio_ext_refclk1_pins_default>;
};

&main_i2c0 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_i2c0_pins_default
				&mcu_lt8911ex_pins_default>;
	clock-frequency = <400000>;
	status = "okay";
	bootph-all;

	lt8911ex@29 {
		compatible = "lontium,lt8911ex";
		reg = <0x29>;
		//power-gpio = <&gpio1 GPIO_B4 GPIO_ACTIVE_HIGH>;
		reset-gpio = <&mcu_gpio0 19 GPIO_ACTIVE_HIGH>;

		lontium,pclk = <148500000>;
		lontium,hact = <1920>;			 
		lontium,vact = <1080>;			  
		lontium,hbp = <192>;		  	  
		lontium,hfp = <48>;		  
		lontium,vbp = <71>;			
		lontium,vfp = <3>;		  
		lontium,hs = <32>;			 
		lontium,vs = <6>;
		
		lontium,mipi_lane = <4>;
		lontium,lane_cnt = <2>;
		lontium,color = <1>; //Color Depth 0:6bit 1:8bit
		lontium,test = <0>;
	};

	rtc0: rtc-pcf8563@51 {
		compatible = "nxp,pcf8563";
		reg = <0x51>;
		#clock-cells = <0>;
	};
};

&main_i2c1 {
	status = "disabled";
	pinctrl-names = "default";
	pinctrl-0 = <&main_i2c1_pins_default>;
	clock-frequency = <100000>;

	// sii9022: bridge-hdmi@3b {
	// 	compatible = "sil,sii9022";
	// 	reg = <0x3b>;
	// 	interrupt-parent = <&exp2>;
	// 	interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
	// 	#sound-dai-cells = <0>;
	// 	sil,i2s-data-lanes = < 0 >;

	// 	hdmi_tx_ports: ports {
	// 		#address-cells = <1>;
	// 		#size-cells = <0>;

	// 		/*
	// 		 * HDMI can be serviced with 3 potential VPs -
	// 		 * (DSS0 VP1 / DSS1 VP0 / DSS1 VP1).
	// 		 * For now, we will service it with DSS1 VP0.
	// 		 */
	// 		port@0 {
	// 			reg = <0>;

	// 			sii9022_in: endpoint {
	// 				remote-endpoint = <&dss1_dpi0_out>;
	// 			};
	// 		};

	// 		port@1 {
	// 			reg = <1>;

	// 			sii9022_out: endpoint {
	// 				remote-endpoint = <&hdmi_connector_in>;
	// 			};
	// 		};
	// 	};
	// };
};

&main_i2c2 {
	status = "disabled";
	clock-frequency = <400000>;
};

&ospi0 {
	status = "disabled";
};

&sdhci0 {
	disable-wp;
	bootph-all;
	ti,driver-strength-ohm = <50>;
	status = "okay";
};

&sdhci1 {
	/* SD/MMC */
	vmmc-supply = <&vdd_mmc1>;
	vqmmc-supply = <&vdd_sd_dv>;
	pinctrl-names = "default";
	pinctrl-0 = <&main_mmc1_pins_default>;
	ti,driver-strength-ohm = <50>;
	disable-wp;
	status = "okay";
	bootph-all;
};

&mailbox0_cluster0 {
	status = "okay";
	mbox_r5_0: mbox-r5-0 {
		ti,mbox-rx = <0 0 0>;
		ti,mbox-tx = <1 0 0>;
	};
};

&mailbox0_cluster1 {
	status = "okay";
	mbox_mcu_r5_0: mbox-mcu-r5-0 {
		ti,mbox-rx = <0 0 0>;
		ti,mbox-tx = <1 0 0>;
	};
};

&mailbox0_cluster2 {
	status = "okay";
	mbox_c7x_0: mbox-c7x-0 {
		ti,mbox-rx = <0 0 0>;
		ti,mbox-tx = <1 0 0>;
	};
};

&mailbox0_cluster3 {
	status = "okay";
	mbox_main_r5_0: mbox-main-r5-0 {
		ti,mbox-rx = <0 0 0>;
		ti,mbox-tx = <1 0 0>;
	};

	mbox_c7x_1: mbox-c7x-1 {
		ti,mbox-rx = <2 0 0>;
		ti,mbox-tx = <3 0 0>;
	};
};

&main_timer0 {
	status = "reserved";
};

&main_timer1 {
	status = "reserved";
};

&main_timer2 {
	status = "reserved";
};

&wkup_r5fss0 {
	status = "okay";
};

&wkup_r5fss0_core0 {
	mboxes = <&mailbox0_cluster0 &mbox_r5_0>;
	memory-region = <&wkup_r5fss0_core0_dma_memory_region>,
			<&wkup_r5fss0_core0_memory_region>;
};

&mcu_r5fss0 {
	status = "okay";
};

&mcu_r5fss0_core0 {
	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5_0>;
	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
			<&mcu_r5fss0_core0_memory_region>;
};

&main_r5fss0 {
	status = "okay";
};

&main_r5fss0_core0 {
	mboxes = <&mailbox0_cluster3 &mbox_main_r5_0>;
	memory-region = <&main_r5fss0_core0_dma_memory_region>,
			<&main_r5fss0_core0_memory_region>;
};

&c7x_0 {
	status = "okay";
	mboxes = <&mailbox0_cluster2 &mbox_c7x_0>;
	memory-region = <&c7x_0_dma_memory_region>,
			<&c7x_0_memory_region>;
};

&c7x_1 {
	status = "okay";
	mboxes = <&mailbox0_cluster3 &mbox_c7x_1>;
	memory-region = <&c7x_1_dma_memory_region>,
			<&c7x_1_memory_region>;
};

&serdes_ln_ctrl {
	idle-states = <J722S_SERDES0_LANE0_USB>,
		      <J722S_SERDES1_LANE0_PCIE0_LANE0>;
};

&serdes0 {
	status = "okay";
	serdes0_usb_link: phy@0 {
		reg = <0>;
		cdns,num-lanes = <1>;
		#phy-cells = <0>;
		cdns,phy-type = <PHY_TYPE_USB3>;
		resets = <&serdes_wiz0 1>;
	};
};

&serdes1 {
	serdes1_pcie_link: phy@0 {
		reg = <0>;
		cdns,num-lanes = <1>;
		#phy-cells = <0>;
		cdns,phy-type = <PHY_TYPE_PCIE>;
		resets = <&serdes_wiz1 1>;
	};
};

&usbss0 {
	ti,vbus-divider;
	status = "okay";
};

&usb0 {
	dr_mode = "otg";
	usb-role-switch;
};

&usbss1 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_usb1_pins_default>;
	ti,vbus-divider;
	status = "okay";
};

&usb1 {
	dr_mode = "host";
	maximum-speed = "super-speed";
	phys = <&serdes0_usb_link>;
	phy-names = "cdns3,usb3-phy";
};

&pcie0_rc {
	status = "disabled";
	// reset-gpios = <&exp1 18 GPIO_ACTIVE_HIGH>;
	// phys = <&serdes1_pcie_link>;
	// phy-names = "pcie-phy";
};

&dss1 {
	// status = "okay";
	// pinctrl-names = "default";
	// pinctrl-0 = <&main_dpi_pins_default>;

	// clocks = <&k3_clks 232 8>,
	// 	 <&k3_clks 232 0>,
	// 	 <&k3_clks 232 4>;

	// assigned-clocks = <&k3_clks 241 0>,	/* DSS1-VP0 */
	// 		  <&k3_clks 240 0>,	/* DSS1-VP1 */
	// 		  <&k3_clks 245 0>;	/* DPI Output */

	// assigned-clock-parents = <&k3_clks 241 2>,	/* PLL 17 HDMI */
	// 			 <&k3_clks 240 1>,	/* PLL 18 DSI */
	// 			 <&k3_clks 245 2>;	/* DSS1-DPI0 */
};

&dss1_ports {
	// /* DSS1-VP0: DPI/HDMI Output */
	// port@0 {
	// 	reg = <0>;

	// 	// dss1_dpi0_out: endpoint {
	// 	// 	remote-endpoint = <&sii9022_in>;
	// 	// };
	// };
};

&mcu_mcan0 {
	status = "disabled";
	// pinctrl-names = "default";
	// pinctrl-0 = <&mcu_mcan0_pins_default>;
	// phys = <&transceiver0>;
};

&mcu_mcan1 {
	status = "disabled";
	// pinctrl-names = "default";
	// pinctrl-0 = <&mcu_mcan1_pins_default>;
	// phys = <&transceiver1>;
};

&main_mcan0 {
	status = "disabled";
	// pinctrl-names = "default";
	// pinctrl-0 = <&main_mcan0_pins_default>;
	// phys = <&transceiver2>;
};

&mcu_gpio0 {
	status = "okay";
};

&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
	>;
};

&main_conf {
	audio_refclk1: clock@82e4 {
		compatible = "ti,am62-audio-refclk";
		reg = <0x82e4 0x4>;
		clocks = <&k3_clks 157 18>;
		assigned-clocks = <&k3_clks 157 18>;
		assigned-clock-parents = <&k3_clks 157 33>;
		#clock-cells = <0>;
	};
};

&epwm0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&epwm0_pins_defaults>;
};

&dss0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&oldi0_pins_default>;
};

&oldi0_dss0 {
	status = "okay";
};

&oldi1_dss0 {
	status = "okay";
};

&oldi0_dss0_ports {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;

	port@0 {
		reg = <0>;

		oldi0_dss0_in: endpoint {
			remote-endpoint = <&dss0_dpi0_out0>;
		};
	};

	port@1 {
		reg = <1>;

		oldi0_dss0_out: endpoint {
			remote-endpoint = <&lcd_in0>;
		};
	};
};

&oldi1_dss0_ports {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;

	port@0 {
		reg = <0>;

		oldi1_dss0_in: endpoint {
			remote-endpoint = <&dss0_dpi0_out1>;
		};
	};

	port@1 {
		reg = <1>;

		oldi1_dss0_out: endpoint {
			remote-endpoint = <&lcd_in1>;
		};
	};
};

&dss0_ports {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;

	/* VP1: Output to OLDI */
	port@0 {
		reg = <0>;
		#address-cells = <1>;
		#size-cells = <0>;

		dss0_dpi0_out0: endpoint@0 {
			reg = <0>;
			remote-endpoint = <&oldi0_dss0_in>;
		};

		dss0_dpi0_out1: endpoint@1 {
			reg = <1>;
			remote-endpoint = <&oldi1_dss0_in>;
		};
	};
};
// SPDX-License-Identifier: GPL-2.0-only OR MIT
/*
 * Device Tree file for the J722S EVM
 * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
 *
 * Schematics: https://www.ti.com/lit/zip/sprr495
 */

/dts-v1/;

#include <dt-bindings/net/ti-dp83867.h>
#include <dt-bindings/phy/phy.h>
#include "k3-j722s.dtsi"
#include "k3-serdes.h"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/input.h>

/ {
	compatible = "ti,j722s-evm", "ti,j722s";
	model = "6K15";

	aliases {
		serial0 = &wkup_uart0;
		serial2 = &main_uart0;
		serial3 = &main_uart5;
		mmc0 = &sdhci0;
		mmc1 = &sdhci1;
		ethernet0 = &cpsw_port1;
		ethernet1 = &cpsw_port2;
		usb0 = &usb0;
		usb1 = &usb1;
	};

	chosen {
		stdout-path = &main_uart0;
	};

	memory@80000000 {
		/* 8G RAM */
		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
		      <0x00000008 0x80000000 0x00000001 0x80000000>;
		device_type = "memory";
		bootph-pre-ram;
	};

	reserved_memory: reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		/* global cma region */
		linux,cma {
			compatible = "shared-dma-pool";
			reusable;
			size = <0x00 0x38000000>;
			linux,cma-default;
		};

		secure_tfa_ddr: tfa@9e780000 {
			reg = <0x00 0x9e780000 0x00 0x80000>;
			no-map;
		};

		secure_ddr: optee@9e800000 {
			reg = <0x00 0x9e800000 0x00 0x01800000>;
			no-map;
		};

		wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa0000000 0x00 0x100000>;
			no-map;
		};

		wkup_r5fss0_core0_memory_region: r5f-memory@a0100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa0100000 0x00 0xf00000>;
			no-map;
		};

		mcu_r5fss0_core0_dma_memory_region: mcu-r5fss-dma-memory-region@a1000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa1000000 0x00 0x100000>;
			no-map;
		};

		mcu_r5fss0_core0_memory_region: mcu-r5fss-memory-region@a1100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa1100000 0x00 0xf00000>;
			no-map;
		};

		main_r5fss0_core0_dma_memory_region: main-r5fss-dma-memory-region@a2000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa2000000 0x00 0x100000>;
			no-map;
		};

		main_r5fss0_core0_memory_region: main-r5fss-memory-region@a2100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa2100000 0x00 0xf00000>;
			no-map;
		};

		c7x_0_dma_memory_region: c7x-dma-memory@a3000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa3000000 0x00 0x100000>;
			no-map;
		};

		c7x_0_memory_region: c7x-memory@a3100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa3100000 0x00 0xf00000>;
			no-map;
		};

		c7x_1_dma_memory_region: c7x-dma-memory@a4000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa4000000 0x00 0x100000>;
			no-map;
		};

		c7x_1_memory_region: c7x-memory@a4100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa4100000 0x00 0xf00000>;
			no-map;
		};

		rtos_ipc_memory_region: ipc-memories@a5000000 {
			reg = <0x00 0xa5000000 0x00 0x1c00000>;
			alignment = <0x1000>;
			no-map;
		};
	};

	vmain_pd: regulator-0 {
		/* TPS65988 PD CONTROLLER OUTPUT */
		compatible = "regulator-fixed";
		regulator-name = "vmain_pd";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
		regulator-boot-on;
		bootph-all;
	};

	vsys_5v0: regulator-vsys5v0 {
		/* Output of LM5140 */
		compatible = "regulator-fixed";
		regulator-name = "vsys_5v0";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		vin-supply = <&vmain_pd>;
		regulator-always-on;
		regulator-boot-on;
	};

	vdd_mmc1: regulator-mmc1 {
		/* TPS22918DBVR */
		compatible = "regulator-fixed";
		regulator-name = "vdd_mmc1";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-boot-on;
		enable-active-high;
		bootph-all;
	};

	vdd_sd_dv: regulator-TLV71033 {
		compatible = "regulator-gpio";
		regulator-name = "tlv71033";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <3300000>;
		regulator-boot-on;
		vin-supply = <&vsys_5v0>;
		states = <1800000 0x0>,
			 <3300000 0x1>;
	};

	vsys_io_3v3: regulator-vsys-io-3v3 {
		compatible = "regulator-fixed";
		regulator-name = "vsys_io_3v3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
		regulator-boot-on;
	};

	vsys_io_1v8: regulator-vsys-io-1v8 {
		compatible = "regulator-fixed";
		regulator-name = "vsys_io_1v8";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		regulator-always-on;
		regulator-boot-on;
	};

	vsys_io_1v2: regulator-vsys-io-1v2 {
		compatible = "regulator-fixed";
		regulator-name = "vsys_io_1v2";
		regulator-min-microvolt = <1200000>;
		regulator-max-microvolt = <1200000>;
		regulator-always-on;
		regulator-boot-on;
	};

	leds: leds {
		status = "okay";
		pinctrl-names = "default";
		pinctrl-0 = <&run_led_pins_default
					&main_usb0_pins_default
					&main_usb1_pins_default
					&mcu_usb1_reset_pins_default
					&wifi_en_pins_default
					&mcu_eqep1_led_pins_default>;
		compatible = "gpio-leds";

		run {
			label = "run";
			gpios = <&main_gpio1 49 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "heartbeat";
			default-state = "on";
		};

		usb0-drvvbus {
			label = "usb0-drvvbus";
			gpios = <&main_gpio1 50 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "default-on";
			default-state = "on";
		};

		usb1-drvvbus {
			label = "usb1-drvvbus";
			gpios = <&main_gpio1 51 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "default-on";
			default-state = "on";
		};

		usb1-rst {
			label = "usb1-rst";
			gpios = <&mcu_gpio0 22 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "default-on";
			default-state = "on";
		};

		wifi-en {
			label = "wifi-en";
			gpios = <&mcu_gpio0 23 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "default-on";
			default-state = "on";
		};

		blue {
			label = "blue";
			gpios = <&mcu_gpio0 10 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "default-on";
			default-state = "on";
		};

		green {
			label = "green";
			gpios = <&mcu_gpio0 11 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "default-on";
			default-state = "on";
		};

		red {
			label = "red";
			gpios = <&mcu_gpio0 12 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "default-on";
			default-state = "on";
		};
	};

	// codec_audio: sound {
	// 	compatible = "simple-audio-card";
	// 	simple-audio-card,name = "J722S-EVM";
	// 	simple-audio-card,widgets =
	// 		"Headphone",	"Headphone Jack",
	// 		"Line",		"Line In",
	// 		"Microphone",	"Microphone Jack";
	// 	simple-audio-card,routing =
	// 		"Headphone Jack",	"HPLOUT",
	// 		"Headphone Jack",	"HPROUT",
	// 		"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 = <&audio_refclk1>;
	// 	};
	// };

	// transceiver0: can-phy0 {
	// 	compatible = "ti,tcan1042";
	// 	#phy-cells = <0>;
	// 	max-bitrate = <5000000>;
	// 	pinctrl-names = "default";
	// 	pinctrl-0 = <&mcu_mcan0_gpio_pins_default>;
	// 	standby-gpios = <&mcu_gpio0 12 GPIO_ACTIVE_HIGH>;
	// };

	// transceiver1: can-phy1 {
	// 	compatible = "ti,tcan1042";
	// 	#phy-cells = <0>;
	// 	max-bitrate = <5000000>;
	// };

	// transceiver2: can-phy2 {
	// 	compatible = "ti,tcan1042";
	// 	#phy-cells = <0>;
	// 	max-bitrate = <5000000>;
	// 	standby-gpios = <&exp1 17 GPIO_ACTIVE_HIGH>;
	// };

	// hdmi0: connector-hdmi {
	// 	compatible = "hdmi-connector";
	// 	label = "hdmi";
	// 	type = "a";
	// 	port {
	// 		hdmi_connector_in: endpoint {
	// 			remote-endpoint = <&sii9022_out>;
	// 		};
	// 	};
	// };

	lvds_backlight: lvds_backlight {
		status = "disabled";
		compatible = "pwm-backlight";
		pinctrl-names = "default";
		pinctrl-0 = <&lvds_bl_en_pins_default>;
		pwms = <&epwm1 0 1000000 1000000>;
		brightness-levels = <0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100>;
		default-brightness-level = <20>;
		enable-gpios = <&main_gpio1 7 GPIO_ACTIVE_HIGH>;
	};

	edp_backlight: edp_backlight {
		status = "okay";
		compatible = "pwm-backlight";
		pinctrl-names = "default";
		pinctrl-0 = <&edp_bl_en_pins_default>;
		pwms = <&epwm2 0 1000000 1000000>;
		brightness-levels = <0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100>;
		default-brightness-level = <20>;
		enable-gpios = <&main_gpio0 43 GPIO_ACTIVE_HIGH>;
	};

	display {
		compatible = "ct,inc15";
		backlight = <&edp_backlight>;
		/*
		* Note that the OLDI TX 0 transmits the odd set of pixels
		* while the OLDI TX 1 transmits the even set. This is a
		* fixed configuration in the IP integration and is not
		* changeable. The properties, "dual-lvds-odd-pixels" and
		* "dual-lvds-even-pixels" have been used to merely
		* identify if a Dual Link configuration is required.
		* Swapping them will cause an error in the dss oldi driver.
		*/
		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				dual-lvds-odd-pixels;

				lcd_in0: endpoint {
					remote-endpoint = <&oldi0_dss0_out>;
				};
			};

			port@1 {
				reg = <1>;
				dual-lvds-even-pixels;

				lcd_in1: endpoint {
					remote-endpoint = <&oldi1_dss0_out>;
				};
			};
		};
	};

	pwm-beeper {
		status = "okay";
		compatible = "pwm-beeper";
		pwms = <&epwm0 0 100000 0>;
		amp-supply = <&vsys_5v0>;
		beeper-hz = <100000>;
	};

	power_cut {
		status = "okay";
		compatible = "cotrust,power";
		pinctrl-names = "default";
		pinctrl-0 = <&pwr_pins_default>;
		irq = <&main_gpio1 31 GPIO_ACTIVE_LOW>;
	};

	matrix_keyboard: matrix_keyboard0 {
		compatible = "gpio-matrix-keypad";
		pinctrl-names = "default";
		pinctrl-0 = <&gpio_matrix_keypad_pins_default>;
		debounce-delay-ms = <10>;
		col-scan-delay-us = <20>;
		drive-inactive-cols;
		gpio-activelow;

		/* row input */
		row-gpios = <
			&main_gpio0 40 GPIO_ACTIVE_LOW /* (N25) GPMC0_DIR.GPIO0_40 */		/* KEYL0 */
			&main_gpio0 72 GPIO_ACTIVE_LOW /* (H21) MMC2_SDWP.GPIO0_72 */		/* KEYL1 */
			&main_gpio0 68 GPIO_ACTIVE_LOW /* (G26) MMC2_DAT0.GPIO0_68 */		/* KEYL2 */
			&main_gpio0 66 GPIO_ACTIVE_LOW /* (H27) MMC2_DAT2.GPIO0_66 */		/* KEYL3 */
			&main_gpio0 52 GPIO_ACTIVE_LOW /* (Y27) VOUT0_DATA7.GPIO0_52 */		/* KEYL4 */
			&main_gpio0 51 GPIO_ACTIVE_LOW /* (Y26) VOUT0_DATA6.GPIO0_51 */		/* KEYL5 */
			&main_gpio0 50 GPIO_ACTIVE_LOW /* (W21) VOUT0_DATA5.GPIO0_50 */		/* KEYL6 */
			&main_gpio0 49 GPIO_ACTIVE_LOW /* (W22) VOUT0_DATA4.GPIO0_49 */		/* KEYL7 */
			&main_gpio0 47 GPIO_ACTIVE_LOW /* (W24) VOUT0_DATA2.GPIO0_47 */		/* KEYL8 */
		>;
		/* col output */
		col-gpios = <
			&main_gpio0  0 GPIO_ACTIVE_LOW /* (L24) OSPI0_CLK.GPIO0_0 */		/* KEYR0 */
			&main_gpio0  2 GPIO_ACTIVE_LOW /* (L22) OSPI0_DQS.GPIO0_2 */		/* KEYR1 */
			&main_gpio0  3 GPIO_ACTIVE_LOW /* (K27) OSPI0_D0.GPIO0_3 */			/* KEYR2 */
			&main_gpio0  4 GPIO_ACTIVE_LOW /* (L27) OSPI0_D1.GPIO0_4 */			/* KEYR3 */
			&main_gpio0  5 GPIO_ACTIVE_LOW /* (L26) OSPI0_D2.GPIO0_5 */			/* KEYR4 */
			&main_gpio0  6 GPIO_ACTIVE_LOW /* (L25) OSPI0_D3.GPIO0_6 */			/* KEYR5 */
			&main_gpio0 11 GPIO_ACTIVE_LOW /* (K26) OSPI0_CSn0.GPIO0_11 */		/* KEYR6 */
			&main_gpio0 12 GPIO_ACTIVE_LOW /* (K23) OSPI0_CSn1.GPIO0_12 */		/* KEYR7 */
			&main_gpio0 31 GPIO_ACTIVE_LOW /* (T23) GPMC0_CLK.GPIO0_31 */		/* KEYR8 */
			&main_gpio0 33 GPIO_ACTIVE_LOW /* (N22) GPMC0_OEn_REn.GPIO0_33 */	/* KEYR9 */
			&main_gpio0 36 GPIO_ACTIVE_LOW /* (P26) GPMC0_BE1n.GPIO0_36 */		/* KEYR10 */
			&main_gpio0 38 GPIO_ACTIVE_LOW /* (W26) GPMC0_WAIT1.GPIO0_38 */		/* KEYR11 */
			&main_gpio0 39 GPIO_ACTIVE_LOW /* (N24) GPMC0_WPn.GPIO0_39 */		/* KEYR12 */
		>;

		linux,keymap = <
			MATRIX_KEY(0x00, 0x00, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x01, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x02, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x03, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x04, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x05, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x06, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x07, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x08, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x09, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x0a, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x0b, KEY_RESERVED)
			MATRIX_KEY(0x00, 0x0c, KEY_RESERVED)

			MATRIX_KEY(0x01, 0x00, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x01, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x02, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x03, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x04, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x05, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x06, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x07, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x08, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x09, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x0a, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x0b, KEY_RESERVED)
			MATRIX_KEY(0x01, 0x0c, KEY_RESERVED)

			MATRIX_KEY(0x02, 0x00, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x01, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x02, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x03, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x04, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x05, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x06, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x07, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x08, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x09, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x0a, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x0b, KEY_RESERVED)
			MATRIX_KEY(0x02, 0x0c, KEY_RESERVED)

			MATRIX_KEY(0x03, 0x00, KEY_RESERVED)
			MATRIX_KEY(0x03, 0x01, KEY_RESERVED)
			MATRIX_KEY(0x03, 0x02, KEY_RESERVED)
			MATRIX_KEY(0x03, 0x03, KEY_RESERVED)
			MATRIX_KEY(0x03, 0x04, KEY_RESERVED)
			MATRIX_KEY(0x03, 0x05, KEY_RESERVED)
			MATRIX_KEY(0x03, 0x06, KEY_RESERVED)
			MATRIX_KEY(0x03, 0x07, KEY_MUTE)
			MATRIX_KEY(0x03, 0x08, KEY_SETUP)
			MATRIX_KEY(0x03, 0x09, KEY_CANCEL)
			MATRIX_KEY(0x03, 0x0a, KEY_PROGRAM)
			MATRIX_KEY(0x03, 0x0b, KEY_CHANNELUP)
			MATRIX_KEY(0x03, 0x0c, KEY_RESERVED)

			MATRIX_KEY(0x04, 0x00, KEY_RESERVED)
			MATRIX_KEY(0x04, 0x01, KEY_RESERVED)
			MATRIX_KEY(0x04, 0x02, KEY_RESERVED)
			MATRIX_KEY(0x04, 0x03, KEY_RESERVED)
			MATRIX_KEY(0x04, 0x04, KEY_RESERVED)
			MATRIX_KEY(0x04, 0x05, KEY_RESERVED)
			MATRIX_KEY(0x04, 0x06, KEY_RESERVED)
			MATRIX_KEY(0x04, 0x07, KEY_VOLUMEDOWN)
			MATRIX_KEY(0x04, 0x08, KEY_RECORD)
			MATRIX_KEY(0x04, 0x09, KEY_MICMUTE)
			MATRIX_KEY(0x04, 0x0a, KEY_CALENDAR)
			MATRIX_KEY(0x04, 0x0b, KEY_CHANNELDOWN)
			MATRIX_KEY(0x04, 0x0c, KEY_RESERVED)

			MATRIX_KEY(0x05, 0x00, KEY_RESERVED)
			MATRIX_KEY(0x05, 0x01, KEY_RESERVED)
			MATRIX_KEY(0x05, 0x02, KEY_RESERVED)
			MATRIX_KEY(0x05, 0x03, KEY_RESERVED)
			MATRIX_KEY(0x05, 0x04, KEY_RESERVED)
			MATRIX_KEY(0x05, 0x05, KEY_RESERVED)
			MATRIX_KEY(0x05, 0x06, KEY_RESERVED)
			MATRIX_KEY(0x05, 0x07, KEY_VOLUMEUP)
			MATRIX_KEY(0x05, 0x08, KEY_REWIND)
			MATRIX_KEY(0x05, 0x09, KEY_SELECT)
			MATRIX_KEY(0x05, 0x0a, KEY_RED)
			MATRIX_KEY(0x05, 0x0b, KEY_TOUCHPAD_TOGGLE)
			MATRIX_KEY(0x05, 0x0c, KEY_RESERVED)

			MATRIX_KEY(0x06, 0x00, KEY_RESERVED)
			MATRIX_KEY(0x06, 0x01, KEY_RESERVED)
			MATRIX_KEY(0x06, 0x02, KEY_RESERVED)
			MATRIX_KEY(0x06, 0x03, KEY_RESERVED)
			MATRIX_KEY(0x06, 0x04, KEY_RESERVED)
			MATRIX_KEY(0x06, 0x05, KEY_RESERVED)
			MATRIX_KEY(0x06, 0x06, KEY_RESERVED)
			MATRIX_KEY(0x06, 0x07, KEY_POWER)
			MATRIX_KEY(0x06, 0x08, KEY_PLAYPAUSE)
			MATRIX_KEY(0x06, 0x09, KEY_CLEAR)
			MATRIX_KEY(0x06, 0x0a, KEY_GREEN)
			MATRIX_KEY(0x06, 0x0b, KEY_TOUCHPAD_ON)
			MATRIX_KEY(0x06, 0x0c, KEY_RESERVED)

			MATRIX_KEY(0x07, 0x00, KEY_RESERVED)
			MATRIX_KEY(0x07, 0x01, KEY_RESERVED)
			MATRIX_KEY(0x07, 0x02, KEY_RESERVED)
			MATRIX_KEY(0x07, 0x03, KEY_RESERVED)
			MATRIX_KEY(0x07, 0x04, KEY_RESERVED)
			MATRIX_KEY(0x07, 0x05, KEY_RESERVED)
			MATRIX_KEY(0x07, 0x06, KEY_RESERVED)
			MATRIX_KEY(0x07, 0x07, KEY_PAUSE)
			MATRIX_KEY(0x07, 0x08, KEY_PLAY)
			MATRIX_KEY(0x07, 0x09, KEY_EXIT)
			MATRIX_KEY(0x07, 0x0a, KEY_YELLOW)
			MATRIX_KEY(0x07, 0x0b, KEY_TOUCHPAD_OFF)
			MATRIX_KEY(0x07, 0x0c, KEY_RESERVED)

			MATRIX_KEY(0x08, 0x00, KEY_RESERVED)
			MATRIX_KEY(0x08, 0x01, KEY_RESERVED)
			MATRIX_KEY(0x08, 0x02, KEY_RESERVED)
			MATRIX_KEY(0x08, 0x03, KEY_RESERVED)
			MATRIX_KEY(0x08, 0x04, KEY_RESERVED)
			MATRIX_KEY(0x08, 0x05, KEY_RESERVED)
			MATRIX_KEY(0x08, 0x06, KEY_RESERVED)
			MATRIX_KEY(0x08, 0x07, KEY_STOP)
			MATRIX_KEY(0x08, 0x08, KEY_FASTFORWARD)
			MATRIX_KEY(0x08, 0x09, KEY_INFO)
			MATRIX_KEY(0x08, 0x0a, KEY_BLUE)
			MATRIX_KEY(0x08, 0x0b, KEY_SLEEP)
			MATRIX_KEY(0x08, 0x0c, KEY_RESERVED)
		>;
	};
};

&main_pmx0 {
	eqep1_pins_default: eqep1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x01a4, PIN_INPUT, 8) /* (D25) MCASP0_ACLKX.EQEP1_A */
			J722S_IOPAD(0x01a8, PIN_INPUT, 8) /* (C26) MCASP0_AFSX.EQEP1_B */
			J722S_IOPAD(0x01b0, PIN_INPUT, 8) /* (F24) MCASP0_ACLKR.EQEP1_I */
			J722S_IOPAD(0x01ac, PIN_INPUT, 8) /* (C27) MCASP0_AFSR.EQEP1_S */
		>;
	};

	gpio_matrix_keypad_pins_default: gpio_matrix_keypad-pins-default {
		pinctrl-single,pins = <
		/* col output R */ 
			J722S_IOPAD(0x0000, PIN_OUTPUT, 7) /* (L24) OSPI0_CLK.GPIO0_0 */
			J722S_IOPAD(0x0008, PIN_OUTPUT, 7) /* (L22) OSPI0_DQS.GPIO0_2 */
			J722S_IOPAD(0x000c, PIN_OUTPUT, 7) /* (K27) OSPI0_D0.GPIO0_3 */
			J722S_IOPAD(0x0010, PIN_OUTPUT, 7) /* (L27) OSPI0_D1.GPIO0_4 */
			J722S_IOPAD(0x0014, PIN_OUTPUT, 7) /* (L26) OSPI0_D2.GPIO0_5 */
			J722S_IOPAD(0x0018, PIN_OUTPUT, 7) /* (L25) OSPI0_D3.GPIO0_6 */
			J722S_IOPAD(0x002c, PIN_OUTPUT, 7) /* (K26) OSPI0_CSn0.GPIO0_11 */
			J722S_IOPAD(0x0030, PIN_OUTPUT, 7) /* (K23) OSPI0_CSn1.GPIO0_12 */
			J722S_IOPAD(0x007c, PIN_OUTPUT, 7) /* (T23) GPMC0_CLK.GPIO0_31 */
			J722S_IOPAD(0x0088, PIN_OUTPUT, 7) /* (N22) GPMC0_OEn_REn.GPIO0_33 */
			J722S_IOPAD(0x0094, PIN_OUTPUT, 7) /* (P26) GPMC0_BE1n.GPIO0_36 */
			J722S_IOPAD(0x009c, PIN_OUTPUT, 7) /* (W26) GPMC0_WAIT1.GPIO0_38 */
			J722S_IOPAD(0x00a0, PIN_OUTPUT, 7) /* (N24) GPMC0_WPn.GPIO0_39 */

		/* row input L*/
			J722S_IOPAD(0x00a4, PIN_INPUT, 7) /* (N25) GPMC0_DIR.GPIO0_40 */
			J722S_IOPAD(0x0128, PIN_INPUT, 7) /* (H21) MMC2_SDWP.GPIO0_72 */
			J722S_IOPAD(0x0114, PIN_INPUT, 7) /* (G26) MMC2_DAT0.GPIO0_68 */
			J722S_IOPAD(0x010c, PIN_INPUT, 7) /* (H27) MMC2_DAT2.GPIO0_66 */
			J722S_IOPAD(0x00d4, PIN_INPUT, 7) /* (Y27) VOUT0_DATA7.GPIO0_52 */
			J722S_IOPAD(0x00d0, PIN_INPUT, 7) /* (Y26) VOUT0_DATA6.GPIO0_51 */
			J722S_IOPAD(0x00cc, PIN_INPUT, 7) /* (W21) VOUT0_DATA5.GPIO0_50 */
			J722S_IOPAD(0x00c8, PIN_INPUT, 7) /* (W22) VOUT0_DATA4.GPIO0_49 */
			J722S_IOPAD(0x00c0, PIN_INPUT, 7) /* (W24) VOUT0_DATA2.GPIO0_47 */
		>;
	};

	pwr_pins_default: pwr-pins-default {
		pinctrl-single,pins = <
			J722S_IOPAD(0x01f4, PIN_INPUT, 7) /* (B23) EXTINTn.GPIO1_31 */
		>;
	};

	epwm0_pins_defaults: epwm0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0108, PIN_OUTPUT, 4) /* (J27) MMC2_DAT3.EHRPWM0_A */
		>;
	};

	lvds_bl_en_pins_default: lvds_bl_en_pins_default{
		pinctrl-single,pins = <
			J722S_IOPAD(0x0194, PIN_OUTPUT, 7) /* (A25) MCASP0_AXR3.GPIO1_7 */
		>;
	};

	lvds_bl_epwm1_pins_default: lvds_bl_epwm1_pins_default{
		pinctrl-single,pins = <
			J722S_IOPAD(0x0110, PIN_OUTPUT, 4) /* (G27) MMC2_DAT1.EHRPWM1_A */
		>;
	};

	edp_bl_en_pins_default: edp_bl_en_pins_default{
		pinctrl-single,pins = <
			J722S_IOPAD(0x00b0, PIN_OUTPUT, 7) /* (P22) GPMC0_CSn2.GPIO0_43 */
		>;
	};

	edp_bl_epwm2_pins_default: edp_bl_epwm2_pins_default{
		pinctrl-single,pins = <
			J722S_IOPAD(0x0124, PIN_INPUT, 4) /* (F26) MMC2_SDCD.EHRPWM2_A */
		>;
	};

	oldi0_pins_default: oldi0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0260, PIN_OUTPUT, 0) /* (AF23) OLDI0_A0N */
			J722S_IOPAD(0x025c, PIN_OUTPUT, 0) /* (AG24) OLDI0_A0P */
			J722S_IOPAD(0x0268, PIN_OUTPUT, 0) /* (AG22) OLDI0_A1N */
			J722S_IOPAD(0x0264, PIN_OUTPUT, 0) /* (AG23) OLDI0_A1P */
			J722S_IOPAD(0x0270, PIN_OUTPUT, 0) /* (AB20) OLDI0_A2N */
			J722S_IOPAD(0x026c, PIN_OUTPUT, 0) /* (AB21) OLDI0_A2P */
			J722S_IOPAD(0x0278, PIN_OUTPUT, 0) /* (AG20) OLDI0_A3N */
			J722S_IOPAD(0x0274, PIN_OUTPUT, 0) /* (AG21) OLDI0_A3P */
			J722S_IOPAD(0x0280, PIN_OUTPUT, 0) /* (AD21) OLDI0_A4N */
			J722S_IOPAD(0x027c, PIN_OUTPUT, 0) /* (AC21) OLDI0_A4P */
			J722S_IOPAD(0x0288, PIN_OUTPUT, 0) /* (AF19) OLDI0_A5N */
			J722S_IOPAD(0x0284, PIN_OUTPUT, 0) /* (AF18) OLDI0_A5P */
			J722S_IOPAD(0x0290, PIN_OUTPUT, 0) /* (AG17) OLDI0_A6N */
			J722S_IOPAD(0x028c, PIN_OUTPUT, 0) /* (AG18) OLDI0_A6P */
			J722S_IOPAD(0x0298, PIN_OUTPUT, 0) /* (AB19) OLDI0_A7N */
			J722S_IOPAD(0x0294, PIN_OUTPUT, 0) /* (AA20) OLDI0_A7P */
			J722S_IOPAD(0x02a0, PIN_OUTPUT, 0) /* (AF21) OLDI0_CLK0N */
			J722S_IOPAD(0x029c, PIN_OUTPUT, 0) /* (AE20) OLDI0_CLK0P */
			J722S_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (AD20) OLDI0_CLK1N */
			J722S_IOPAD(0x02a4, PIN_OUTPUT, 0) /* (AE19) OLDI0_CLK1P */
		>;
	};

	spi0_pins_default: spi0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x01bc, PIN_OUTPUT, 0) /* (D20) SPI0_CLK */
			J722S_IOPAD(0x01b4, PIN_OUTPUT, 0) /* (B20) SPI0_CS0 */
			J722S_IOPAD(0x01b8, PIN_OUTPUT, 0) /* (C20) SPI0_CS1 */
			J722S_IOPAD(0x01c0, PIN_OUTPUT, 0) /* (E19) SPI0_D0 */
			J722S_IOPAD(0x01c4, PIN_INPUT, 0) /* (E20) SPI0_D1 */
		>;
	};

	run_led_pins_default: run-led-pins-default {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0244, PIN_INPUT, 7) /* (A24) MMC1_SDWP.GPIO1_49 */
		>;
	};

	main_mcan0_pins_default: main-mcan0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x1dc, PIN_INPUT, 0) /* (C22) MCAN0_RX */
			J722S_IOPAD(0x1d8, PIN_OUTPUT, 0) /*(D22) MCAN0_TX */
		>;
	};

	main_i2c0_pins_default: main-i2c0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x01e0, PIN_INPUT_PULLUP, 0) /* (D23) I2C0_SCL */
			J722S_IOPAD(0x01e4, PIN_INPUT_PULLUP, 0) /* (B22) I2C0_SDA */
		>;
		bootph-all;
	};

	main_i2c1_pins_default: main-i2c1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x01e8, PIN_INPUT_PULLUP, 0) /* (C24) I2C1_SCL */
			J722S_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (A22) I2C1_SDA */
		>;
		bootph-all;
	};

	main_uart0_pins_default: main-uart0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x01c8, PIN_INPUT, 0)	/* (A22) UART0_RXD */
			J722S_IOPAD(0x01cc, PIN_OUTPUT, 0)	/* (B22) UART0_TXD */
		>;
		bootph-all;
	};

	vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0120, PIN_INPUT, 7) /* (F27) MMC2_CMD.GPIO0_70 */
		>;
		bootph-all;
	};

	main_mmc1_pins_default: main-mmc1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x023c, PIN_INPUT, 0) /* (H22) MMC1_CMD */
			J722S_IOPAD(0x0234, PIN_OUTPUT, 0) /* (H24) MMC1_CLK */
			J722S_IOPAD(0x0230, PIN_INPUT, 0) /* (H23) MMC1_DAT0 */
			J722S_IOPAD(0x022c, PIN_INPUT_PULLUP, 0) /* (H20) MMC1_DAT1 */
			J722S_IOPAD(0x0228, PIN_INPUT_PULLUP, 0) /* (J23) MMC1_DAT2 */
			J722S_IOPAD(0x0224, PIN_INPUT_PULLUP, 0) /* (H25) MMC1_DAT3 */
			J722S_IOPAD(0x0240, PIN_INPUT, 0) /* (B24) MMC1_SDCD */
		>;
		bootph-all;
	};

	mdio_pins_default: mdio-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0160, PIN_OUTPUT, 0) /* (AC24) MDIO0_MDC */
			J722S_IOPAD(0x015c, PIN_INPUT, 0) /* (AD25) MDIO0_MDIO */
		>;
		bootph-all;
	};

	rmii1_pins_default: rmii1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0130, PIN_INPUT, 1) /* (AG26) RGMII1_TXC.RMII1_CRS_DV */
			J722S_IOPAD(0x0148, PIN_INPUT, 1) /* (AE27) RGMII1_RXC.RMII1_REF_CLK */
			J722S_IOPAD(0x014c, PIN_INPUT, 1) /* (AC25) RGMII1_RD0.RMII1_RXD0 */
			J722S_IOPAD(0x0150, PIN_INPUT, 1) /* (AD27) RGMII1_RD1.RMII1_RXD1 */
			/* J722S_IOPAD(0x0144, PIN_INPUT, 1) /* (AD23) RGMII1_RX_CTL.RMII1_RX_ER */
			J722S_IOPAD(0x0134, PIN_OUTPUT, 1) /* (AF27) RGMII1_TD0.RMII1_TXD0 */
			J722S_IOPAD(0x0138, PIN_OUTPUT, 1) /* (AE23) RGMII1_TD1.RMII1_TXD1 */
			J722S_IOPAD(0x012c, PIN_OUTPUT, 1) /* (AF25) RGMII1_TX_CTL.RMII1_TX_EN */
		>;
	};

	rgmii2_pins_default: rgmii2-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x00f8, PIN_INPUT, 2) /* (AB24) VOUT0_HSYNC.RGMII2_RD0 */
			J722S_IOPAD(0x00fc, PIN_INPUT, 2) /* (AC27) VOUT0_DE.RGMII2_RD1 */
			J722S_IOPAD(0x0100, PIN_INPUT, 2) /* (AB23) VOUT0_VSYNC.RGMII2_RD2 */
			J722S_IOPAD(0x0104, PIN_INPUT, 2) /* (AC26) VOUT0_PCLK.RGMII2_RD3 */
			J722S_IOPAD(0x00f4, PIN_INPUT, 2) /* (AB27) VOUT0_DATA15.RGMII2_RXC */
			J722S_IOPAD(0x00f0, PIN_INPUT, 2) /* (AB26) VOUT0_DATA14.RGMII2_RX_CTL */
			J722S_IOPAD(0x00e0, PIN_OUTPUT, 2) /* (AA25) VOUT0_DATA10.RGMII2_TD0 */
			J722S_IOPAD(0x00e4, PIN_OUTPUT, 2) /* (AB25) VOUT0_DATA11.RGMII2_TD1 */
			J722S_IOPAD(0x00e8, PIN_OUTPUT, 2) /* (AA23) VOUT0_DATA12.RGMII2_TD2 */
			J722S_IOPAD(0x00ec, PIN_OUTPUT, 2) /* (AA22) VOUT0_DATA13.RGMII2_TD3 */
			J722S_IOPAD(0x00dc, PIN_OUTPUT, 2) /* (AA27) VOUT0_DATA9.RGMII2_TXC */
			J722S_IOPAD(0x00d8, PIN_OUTPUT, 2) /* (AA24) VOUT0_DATA8.RGMII2_TX_CTL */
		>;
	};

	rmii1_rst_pins_default: rmii1_rst-pins-default {
		pinctrl-single,pins = <
			J722S_IOPAD(0x00b4, PIN_OUTPUT, 7) /* (P23) GPMC0_CSn3.GPIO0_44 */
		>;
	};

	rmii2_rst_pins_default: rmii2_rst-pins-default {
		pinctrl-single,pins = <
			J722S_IOPAD(0x01f0, PIN_OUTPUT, 7) /* (A23) EXT_REFCLK1.GPIO1_30 */
		>;
	};

	main_usb0_pins_default: main-usb0-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0254, PIN_OUTPUT, 7) /* (E25) USB0_DRVVBUS.GPIO1_50 */
		>;
	};

	main_usb1_pins_default: main-usb1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0258, PIN_OUTPUT, 7) /* (B27) USB1_DRVVBUS.GPIO1_51 */
		>;
	};

	main_mcasp1_pins_default: main-mcasp1-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x0090, PIN_INPUT, 2) /* (P27) GPMC0_BE0n_CLE.MCASP1_ACLKX */
			J722S_IOPAD(0x0098, PIN_INPUT, 2) /* (V21) GPMC0_WAIT0.MCASP1_AFSX */
			J722S_IOPAD(0x008c, PIN_OUTPUT, 2) /* (N23) GPMC0_WEn.MCASP1_AXR0 */
			J722S_IOPAD(0x0084, PIN_INPUT, 2) /* (N21) GPMC0_ADVn_ALE.MCASP1_AXR2 */
		>;
	};

	pmic_irq_pins_default: pmic-irq-default-pins {
		pinctrl-single,pins = <
			J722S_IOPAD(0x030, PIN_INPUT, 7) /* (K23) GPIO0_12 */
		>;
	};
};

&cpsw3g {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&rmii1_pins_default
				&rgmii2_pins_default
				&rmii1_rst_pins_default
				&rmii2_rst_pins_default>;

	rmii1-reset-gpios = <&main_gpio0 44 GPIO_ACTIVE_HIGH>;
	rmii2-reset-gpios = <&main_gpio1 30 GPIO_ACTIVE_HIGH>;
};

&cpsw3g_mdio {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mdio_pins_default>;

	cpsw3g_phy0: ethernet-phy@0 {
		reg = <0>;
	};

	cpsw3g_phy1: ethernet-phy@1 {
		reg = <1>;
		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
		ti,min-output-impedance;
	};
};

&cpsw_port1 {
	phy-mode = "rmii";
	phy-handle = <&cpsw3g_phy1>;
	status = "okay";
	rmii-clock-ext;
};

&cpsw_port2 {
	status = "okay";
	phy-mode = "rgmii";
	phy-handle = <&cpsw3g_phy0>;
};

&main_gpio1 {
	status = "okay";
};

&main_uart0 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_uart0_pins_default>;
	status = "okay";
	bootph-all;
};

&main_uart5 {
	/* MAIN UART 5 is used by System firmware */
	//pinctrl-names = "default";
	//pinctrl-0 = <&main_uart5_pins_default>;
	status = "disabled";
};

&mcu_pmx0 {
	mcu_usb1_reset_pins_default: mcu-usb1-reset-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x0080, PIN_OUTPUT, 7) /* (A8) PMIC_LPM_EN0.MCU_GPIO0_22 */
		>;
	};

	wifi_en_pins_default: wifi_en-pins-default {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x0084, PIN_OUTPUT, 7) /* (F12) WKUP_CLKOUT0.MCU_GPIO0_23 */
		>;
	};
	
	mcu_eqep1_led_pins_default: mcu-eqep-led-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x0028, PIN_OUTPUT, 7) /* (C8) WKUP_UART0_TXD.MCU_GPIO0_10 */
			J722S_MCU_IOPAD(0x002c, PIN_OUTPUT, 7) /* (C4) WKUP_UART0_CTSn.MCU_GPIO0_11 */
			J722S_MCU_IOPAD(0x0030, PIN_OUTPUT, 7) /* (C3) WKUP_UART0_RTSn.MCU_GPIO0_12 */
		>;
	};

	mcu_lt8911ex_pins_default: mcu-lt8911ex-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x004c, PIN_OUTPUT, 7) /* (B9) WKUP_I2C0_SCL.MCU_GPIO0_19 */
		>;
	};

	mcu_i2c0_pins_default: mcu-i2c0-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x048, PIN_INPUT, 0) /* (E11) MCU_I2C0_SDA */
			J722S_MCU_IOPAD(0x044, PIN_INPUT, 0) /* (B13) MCU_I2C0_SCL */
		>;
	};

	mcu_mcan0_pins_default: mcu-mcan0-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x038, PIN_INPUT, 0) /* (D8) MCU_MCAN0_RX */
			J722S_MCU_IOPAD(0x034, PIN_OUTPUT, 0) /* (B2) MCU_MCAN0_TX */
		>;
	};

	mcu_mcan1_pins_default: mcu-mcan1-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x040, PIN_INPUT, 0) /* (B1) MCU_MCAN1_RX */
			J722S_MCU_IOPAD(0x03C, PIN_OUTPUT, 0) /*(C1) MCU_MCAN1_TX */
		>;
	};

	wkup_uart0_pins_default: wkup-uart0-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x02c, PIN_INPUT, 0)	/* (C7) WKUP_UART0_CTSn */
			J722S_MCU_IOPAD(0x030, PIN_OUTPUT, 0)	/* (C6) WKUP_UART0_RTSn */
			J722S_MCU_IOPAD(0x024, PIN_INPUT, 0)	/* (D8) WKUP_UART0_RXD */
			J722S_MCU_IOPAD(0x028, PIN_OUTPUT, 0)	/* (D7) WKUP_UART0_TXD */
		>;
		bootph-all;
	};

	wkup_i2c0_pins_default: wkup-i2c0-default-pins {
		pinctrl-single,pins = <
			J722S_MCU_IOPAD(0x04c, PIN_INPUT_PULLUP, 0)	/* (C7) WKUP_I2C0_SCL */
			J722S_MCU_IOPAD(0x050, PIN_INPUT_PULLUP, 0)	/* (C6) WKUP_I2C1_SDA */
		>;
		bootph-all;
	};
};

&wkup_uart0 {
	/* WKUP UART0 is used by Device Manager firmware */
	pinctrl-names = "default";
	pinctrl-0 = <&wkup_uart0_pins_default>;
	status = "reserved";
	bootph-all;
};

&wkup_i2c0 {
	pinctrl-names = "default";
	pinctrl-0 = <&wkup_i2c0_pins_default>;
	clock-frequency = <400000>;
	status = "disabled";
	bootph-all;

	tps65224: pmic@48 {
		compatible = "ti,tps65224-q1";
		reg = <0x48>;
		pinctrl-names = "default";
		pinctrl-0 = <&pmic_irq_pins_default>;
		interrupt-parent = <&main_gpio0>;
		interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
		ti,primary-pmic;

		gpio-controller;
		#gpio-cells = <2>;

		buck12-supply = <&vsys_io_3v3>;
		buck3-supply = <&vsys_io_3v3>;
		buck4-supply = <&vsys_io_3v3>;

		ldo1-supply = <&vsys_io_3v3>;
		ldo2-supply = <&vsys_io_3v3>;
		ldo3-supply = <&vsys_io_3v3>;

		regulators {

			buck1: buck1 {
				regulator-name = "vcc1v8_io_buck1";
				regulator-min-microvolt = <1800000>;
				regulator-max-microvolt = <1800000>;
				regulator-boot-on;
				regulator-always-on;
				bootph-all;
			};

			buck2: buck2 {
				regulator-name = "vcc1v1_ddr_buck2";
				regulator-min-microvolt = <1100000>;
				regulator-max-microvolt = <1100000>;
				regulator-boot-on;
				regulator-always-on;
			};

			buck3: buck3 {
				regulator-name = "vcc0v85_ram_buck3";
				regulator-min-microvolt = <850000>;
				regulator-max-microvolt = <850000>;
				regulator-boot-on;
				regulator-always-on;
			};

			buck4: buck4 {
				regulator-name = "vcc0v75_ioret_buck4";
				regulator-min-microvolt = <750000>;
				regulator-max-microvolt = <750000>;
				regulator-boot-on;
				regulator-always-on;
			};

			ldo1: ldo1 {
				regulator-name = "vdda1v8_pll_ldo1";
				regulator-min-microvolt = <1800000>;
				regulator-max-microvolt = <1800000>;
				regulator-boot-on;
				regulator-always-on;
			};

			ldo2: ldo2 {
				regulator-name = "dvdd3v3_ldo2";
				regulator-min-microvolt = <3300000>;
				regulator-max-microvolt = <3300000>;
				regulator-boot-on;
				regulator-always-on;
			};

			ldo3: ldo3 {
				regulator-name = "vdd1v85_phy_ldo3";
				regulator-min-microvolt = <1800000>;
				regulator-max-microvolt = <1800000>;
				regulator-boot-on;
				regulator-always-on;
			};
	       };
	};
};

&k3_clks {
	/* Configure AUDIO_EXT_REFCLK1 pin as output */
	//pinctrl-names = "default";
	//pinctrl-0 = <&audio_ext_refclk1_pins_default>;
};

&main_i2c0 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_i2c0_pins_default
				&mcu_lt8911ex_pins_default>;
	clock-frequency = <400000>;
	status = "okay";
	bootph-all;

	lt8911ex@29 {
		compatible = "lontium,lt8911ex";
		reg = <0x29>;
		//power-gpio = <&gpio1 GPIO_B4 GPIO_ACTIVE_HIGH>;
		reset-gpio = <&mcu_gpio0 19 GPIO_ACTIVE_HIGH>;

		lontium,pclk = <148500000>;
		lontium,hact = <1920>;			 
		lontium,vact = <1080>;			  
		lontium,hbp = <192>;		  	  
		lontium,hfp = <48>;		  
		lontium,vbp = <71>;			
		lontium,vfp = <3>;		  
		lontium,hs = <32>;			 
		lontium,vs = <6>;
		
		lontium,mipi_lane = <4>;
		lontium,lane_cnt = <2>;
		lontium,color = <1>; //Color Depth 0:6bit 1:8bit
		lontium,test = <0>;
	};

	rtc0: rtc-pcf8563@51 {
		compatible = "nxp,pcf8563";
		reg = <0x51>;
		#clock-cells = <0>;
	};

	// tlv320aic3106: audio-codec@1b {
	// 	#sound-dai-cells = <0>;
	// 	compatible = "ti,tlv320aic3106";
	// 	reg = <0x1b>;
	// 	ai3x-micbias-vg = <1>;  /* 2.0V */
	// 	AVDD-supply = <&vsys_io_3v3>;
	// 	IOVDD-supply = <&vsys_io_3v3>;
	// 	DRVDD-supply = <&vsys_io_3v3>;
	// 	DVDD-supply = <&vsys_io_1v8>;
	// };
};

&main_i2c1 {
	status = "disabled";
	pinctrl-names = "default";
	pinctrl-0 = <&main_i2c1_pins_default>;
	clock-frequency = <100000>;

	// exp2: gpio@20 {
	// 	compatible = "ti,tca6416";
	// 	reg = <0x20>;
	// 	gpio-controller;
	// 	#gpio-cells = <2>;
	// 	gpio-line-names = "DSI_Mux_SEL_2", "GPIO_eDP_ENABLE",
	// 			  "DP0_PWR_SW_EN", "GPIO_OLDI_RSTn",
	// 			  "GPIO_HDMI_RSTn", "HDMI_LS_OE",
	// 			  "", "",
	// 			  "DSI_GPIO0", "DSI_GPIO1",
	// 			  "DSI_EDID", "IO_eDP_IRQ",
	// 			  "OLDI_INT#", "HDMI_INTn",
	// 			  "", "";

	// 	interrupt-parent = <&main_gpio0>;
	// 	interrupts = <67 IRQ_TYPE_EDGE_FALLING>;
	// 	interrupt-controller;
	// 	#interrupt-cells = <2>;

	// 	pinctrl-names = "default";
	// 	pinctrl-0 = <&main_gpio0_ioexp_intr_pins_default>;
	// 	bootph-all;

	// 	p04-hog {
	// 		/* P04 - GPIO_HDMI_RSTn */
	// 		gpio-hog;
	// 		gpios = <4 GPIO_ACTIVE_LOW>;
	// 		output-low;
	// 		line-name = "GPIO_HDMI_RSTn";
	// 	};

	// 	p03-hog {
	// 		/* P03 - GPIO_OLDI_RSTn */
	// 		gpio-hog;
	// 		gpios = <3 GPIO_ACTIVE_LOW>;
	// 		output-low;
	// 		line-name = "GPIO_OLDI_RSTn";
	// 	};

	// 	p05-hog {
	// 		/* P05 - HDMI_LS_OE */
	// 		gpio-hog;
	// 		gpios = <5 GPIO_ACTIVE_HIGH>;
	// 		output-high;
	// 		line-name = "HDMI_LS_OE";
	// 	};
	// };

	// sii9022: bridge-hdmi@3b {
	// 	compatible = "sil,sii9022";
	// 	reg = <0x3b>;
	// 	interrupt-parent = <&exp2>;
	// 	interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
	// 	#sound-dai-cells = <0>;
	// 	sil,i2s-data-lanes = < 0 >;

	// 	hdmi_tx_ports: ports {
	// 		#address-cells = <1>;
	// 		#size-cells = <0>;

	// 		/*
	// 		 * HDMI can be serviced with 3 potential VPs -
	// 		 * (DSS0 VP1 / DSS1 VP0 / DSS1 VP1).
	// 		 * For now, we will service it with DSS1 VP0.
	// 		 */
	// 		port@0 {
	// 			reg = <0>;

	// 			sii9022_in: endpoint {
	// 				remote-endpoint = <&dss1_dpi0_out>;
	// 			};
	// 		};

	// 		port@1 {
	// 			reg = <1>;

	// 			sii9022_out: endpoint {
	// 				remote-endpoint = <&hdmi_connector_in>;
	// 			};
	// 		};
	// 	};
	// };
};

&main_i2c2 {
	status = "disabled";
};

&ospi0 {
	status = "disabled";
};

&sdhci0 {
	disable-wp;
	bootph-all;
	ti,driver-strength-ohm = <50>;
	status = "okay";
};

&sdhci1 {
	/* SD/MMC */
	vmmc-supply = <&vdd_mmc1>;
	vqmmc-supply = <&vdd_sd_dv>;
	pinctrl-names = "default";
	pinctrl-0 = <&main_mmc1_pins_default>;
	ti,driver-strength-ohm = <50>;
	disable-wp;
	sdhci-caps-mask = <0x00000003 0x00000000>;
	status = "okay";
	bootph-all;
};

&mailbox0_cluster0 {
	status = "okay";

	mbox_wkup_r5_0: mbox-wkup-r5-0 {
		ti,mbox-rx = <0 0 0>;
		ti,mbox-tx = <1 0 0>;
	};
};

&mailbox0_cluster1 {
	status = "okay";

	mbox_mcu_r5_0: mbox-mcu-r5-0 {
		ti,mbox-rx = <0 0 0>;
		ti,mbox-tx = <1 0 0>;
	};
};

&mailbox0_cluster2 {
	status = "okay";

	mbox_c7x_0: mbox-c7x-0 {
		ti,mbox-rx = <0 0 0>;
		ti,mbox-tx = <1 0 0>;
	};
};

&mailbox0_cluster3 {
	status = "okay";

	mbox_main_r5_0: mbox-main-r5-0 {
		ti,mbox-rx = <0 0 0>;
		ti,mbox-tx = <1 0 0>;
	};

	mbox_c7x_1: mbox-c7x-1 {
		ti,mbox-rx = <2 0 0>;
		ti,mbox-tx = <3 0 0>;
	};
};

/* Timers are used by Remoteproc firmware */
&main_timer0 {
	status = "reserved";
};

&main_timer1 {
	status = "reserved";
};

&main_timer2 {
	status = "reserved";
};

&wkup_r5fss0 {
	status = "okay";
};

&wkup_r5fss0_core0 {
	mboxes = <&mailbox0_cluster0 &mbox_wkup_r5_0>;
	memory-region = <&wkup_r5fss0_core0_dma_memory_region>,
			<&wkup_r5fss0_core0_memory_region>;
};

&mcu_r5fss0 {
	status = "okay";
};

&mcu_r5fss0_core0 {
	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5_0>;
	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
			<&mcu_r5fss0_core0_memory_region>;
};

&main_r5fss0 {
	status = "okay";
};

&main_r5fss0_core0 {
	mboxes = <&mailbox0_cluster3 &mbox_main_r5_0>;
	memory-region = <&main_r5fss0_core0_dma_memory_region>,
			<&main_r5fss0_core0_memory_region>;
};

&c7x_0 {
	mboxes = <&mailbox0_cluster2 &mbox_c7x_0>;
	memory-region = <&c7x_0_dma_memory_region>,
			<&c7x_0_memory_region>;
	status = "okay";
};

&c7x_1 {
	mboxes = <&mailbox0_cluster3 &mbox_c7x_1>;
	memory-region = <&c7x_1_dma_memory_region>,
			<&c7x_1_memory_region>;
	status = "okay";
};

&serdes_ln_ctrl {
	idle-states = <J722S_SERDES0_LANE0_USB>,
		      <J722S_SERDES1_LANE0_PCIE0_LANE0>;
};

&serdes0 {
	status = "okay";
	serdes0_usb_link: phy@0 {
		reg = <0>;
		cdns,num-lanes = <1>;
		#phy-cells = <0>;
		cdns,phy-type = <PHY_TYPE_USB3>;
		resets = <&serdes_wiz0 1>;
	};
};

&serdes1 {
	status = "okay";
	serdes1_pcie_link: phy@0 {
		reg = <0>;
		cdns,num-lanes = <1>;
		#phy-cells = <0>;
		cdns,phy-type = <PHY_TYPE_PCIE>;
		resets = <&serdes_wiz1 1>;
	};
};

// &pcie0_rc {
// 	reset-gpios = <&exp1 18 GPIO_ACTIVE_HIGH>;
// 	phys = <&serdes1_pcie_link>;
// 	phy-names = "pcie-phy";
// 	status = "okay";
// };

&usbss0 {
	ti,vbus-divider;
	status = "okay";
};

&usb0 {
	status = "okay";
	dr_mode = "host";
};

&usbss1 {
	ti,vbus-divider;
	status = "okay";
};

&usb1 {
	status = "okay";
	dr_mode = "host";
	maximum-speed = "super-speed";
	phys = <&serdes0_usb_link>;
	phy-names = "cdns3,usb3-phy";
};

&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
	>;
};

// &mcu_mcan0 {
// 	pinctrl-names = "default";
// 	pinctrl-0 = <&mcu_mcan0_pins_default>;
// 	phys = <&transceiver0>;
// 	status = "okay";
// };

// &mcu_mcan1 {
// 	pinctrl-names = "default";
// 	pinctrl-0 = <&mcu_mcan1_pins_default>;
// 	phys = <&transceiver1>;
// 	status = "okay";
// };

// &main_mcan0 {
// 	pinctrl-names = "default";
// 	pinctrl-0 = <&main_mcan0_pins_default>;
// 	phys = <&transceiver2>;
// 	status = "okay";
// };

&mcu_gpio0 {
	status = "okay";
};

&mcu_i2c0 {
	status = "disabled";
};

&dss1 {
	// status = "okay";
	// pinctrl-names = "default";
	// pinctrl-0 = <&main_dpi_pins_default>;

	// clocks = <&k3_clks 232 8>,
	// 	 <&k3_clks 232 0>,
	// 	 <&k3_clks 232 4>;

	// assigned-clocks = <&k3_clks 241 0>,	/* DSS1-VP0 */
	// 		  <&k3_clks 240 0>,	/* DSS1-VP1 */
	// 		  <&k3_clks 245 0>;	/* DPI Output */

	// assigned-clock-parents = <&k3_clks 241 2>,	/* PLL 17 HDMI */
	// 			 <&k3_clks 240 1>,	/* PLL 18 DSI */
	// 			 <&k3_clks 245 2>;	/* DSS1-DPI0 */
};

&dss1_ports {
	/* DSS1-VP0: DPI/HDMI Output */
	// port@0 {
	// 	reg = <0>;

	// 	dss1_dpi0_out: endpoint {
	// 		remote-endpoint = <&sii9022_in>;
	// 	};
	// };
};

&mcu_rti0 {
	assigned-clock-parents = <&k3_clks 131 4>;
};

&main_rti0 {
	assigned-clock-parents = <&k3_clks 125 4>;
};

&main_rti1 {
	assigned-clock-parents = <&k3_clks 126 4>;
};

&main_rti2 {
	assigned-clock-parents = <&k3_clks 127 4>;
};

&main_rti3 {
	assigned-clock-parents = <&k3_clks 128 4>;
};

&main_spi0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&spi0_pins_default>;
	ti,pindir-d0-out-d1-in;
	ti,spi-num-cs = <2>;

	hc595: gpio_spi@0 {
		status = "okay";
		compatible = "fairchild,74hc595";
		reg = <0>;
		#gpio-cells = <2>;
		registers-number = <3>;
		spi-max-frequency = <100000>;
	};

	rfid: rfid@1 {
		status = "okay";
		compatible = "rohm,dh2228fv";
		reg = <1>;
		spi-max-frequency = <24000000>;
	};
};

&dss0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&oldi0_pins_default>;
};

&oldi0_dss0 {
	status = "okay";
};

&oldi1_dss0 {
	status = "okay";
};

&oldi0_dss0_ports {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;

	port@0 {
		reg = <0>;

		oldi0_dss0_in: endpoint {
			remote-endpoint = <&dss0_dpi0_out0>;
		};
	};

	port@1 {
		reg = <1>;

		oldi0_dss0_out: endpoint {
			remote-endpoint = <&lcd_in0>;
		};
	};
};

&oldi1_dss0_ports {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;

	port@0 {
		reg = <0>;

		oldi1_dss0_in: endpoint {
			remote-endpoint = <&dss0_dpi0_out1>;
		};
	};

	port@1 {
		reg = <1>;

		oldi1_dss0_out: endpoint {
			remote-endpoint = <&lcd_in1>;
		};
	};
};

&dss0_ports {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;

	/* VP1: Output to OLDI */
	port@0 {
		reg = <0>;
		#address-cells = <1>;
		#size-cells = <0>;

		dss0_dpi0_out0: endpoint@0 {
			reg = <0>;
			remote-endpoint = <&oldi0_dss0_in>;
		};

		dss0_dpi0_out1: endpoint@1 {
			reg = <1>;
			remote-endpoint = <&oldi1_dss0_in>;
		};
	};
};

&epwm0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&epwm0_pins_defaults>;
};

&epwm1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&lvds_bl_epwm1_pins_default>;
};

&epwm2 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&edp_bl_epwm2_pins_default>;
};

&eqep1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&eqep1_pins_default>;
};

  • Hi Zhaohang,

    There has been some changes to driver and devicetree for OLDI between 10.0 and 11.0. Please take a look at the Microtips OLDI panel devicetree overlay as reference: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/blame/arch/arm64/boot/dts/ti/k3-j722s-evm-microtips-mf101hie-panel.dtso?h=ti-linux-6.12.y

    Regards,

    Takuma

  • Hi Takuma,

    I have made the necessary changes based on this reference, but the problem still persists.

  • Hi Zhaohang,

    Could you share the full logs from "dmesg"?

    Error code -517 corresponds to EPROBE_DEFER. This can happen when anything in the display pipeline (DSS, OLDI, or panel) fails to get initialized correctly.

    Regards,

    Takuma

  • Hi Takuma,

    I understand what you mean. I have been working on this, but there has been no progress. Please do your best to help.Here is the  full logs from dmesg.

    dmesg
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.32-gdb8871293143-dirty (cotrust@cotrust) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712, GNU ld (Arm GNU Toolchain 11.3.Rel1) 2.38.20220708) #22 SMP Wed Aug  6 16:12:46 CST 2025
    [    0.000000] Machine model: 6K15
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: 0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable tfa@9e780000
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a0000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a0100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a1000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a3ffffff (31744 KiB) nomap non-reusable vision-apps-r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-rtos-ipc-memory-region@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a6ffffff (32768 KiB) nomap non-reusable vision-apps-rtos-ipc-memory-region@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000acffffff (98304 KiB) nomap non-reusable vision-apps-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ad000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@ad000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ad000000..0x00000000ad0fffff (1024 KiB) nomap non-reusable vision-apps-c71-dma-memory@ad000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ad100000, size 63 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_0-memory@ad100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ad100000..0x00000000b0ffffff (64512 KiB) nomap non-reusable vision-apps-c71_0-memory@ad100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-dma-memory@b1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b1000000..0x00000000b10fffff (1024 KiB) nomap non-reusable vision-apps-c71_1-dma-memory@b1000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b1100000, size 63 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-memory@b1100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b1100000..0x00000000b4ffffff (64512 KiB) nomap non-reusable vision-apps-c71_1-memory@b1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b5000000, size 40 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@b5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b5000000..0x00000000b77fffff (40960 KiB) nomap non-reusable vision-apps-core-heap-memory-lo@b5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 512 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-ddr-heaps-hi@880000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000880000000..0x000000089fffffff (524288 KiB) nomap non-reusable c7x-ddr-heaps-hi@880000000
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: 0x0000000900000000..0x000000091fffffff (524288 KiB) map non-reusable vision_apps_shared-memories
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000980000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux-cma-buffers@980000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000980000000..0x00000009b7ffffff (917504 KiB) map reusable linux-cma-buffers@980000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000009ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x00000000a3ffffff]
    [    0.000000]   node   0: [mem 0x00000000a4000000-0x00000000a4ffffff]
    [    0.000000]   node   0: [mem 0x00000000a5000000-0x00000000b77fffff]
    [    0.000000]   node   0: [mem 0x00000000b7800000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x000000089fffffff]
    [    0.000000]   node   0: [mem 0x00000008a0000000-0x00000009ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000009ffffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 21 pages/cpu s45416 r8192 d32408 u86016
    [    0.000000] pcpu-alloc: s45416 r8192 d32408 u86016 alloc=21*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=001ef9b8-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2064384
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 5800628K/8388608K available (10944K kernel code, 1206K rwdata, 2672K rodata, 2176K init, 467K bss, 1670476K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: 0xffff800080010080
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @8a0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008a0030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a0040000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008469] Console: colour dummy device 80x25
    [    0.013055] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
    [    0.023722] pid_max: default: 32768 minimum: 301
    [    0.028486] LSM: initializing lsm=capability,integrity
    [    0.033834] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.041591] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.051018] rcu: Hierarchical SRCU implementation.
    [    0.055922] rcu:     Max phase no-delay instances is 400.
    [    0.061327] Platform MSI: msi-controller@1820000 domain created
    [    0.067623] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.076882] EFI services will not be available.
    [    0.081653] smp: Bringing up secondary CPUs ...
    [    0.086752] Detected VIPT I-cache on CPU1
    [    0.086825] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.086839] GICv3: CPU1: using allocated LPI pending table @0x00000008a0050000
    [    0.086883] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.087338] Detected VIPT I-cache on CPU2
    [    0.087383] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.087394] GICv3: CPU2: using allocated LPI pending table @0x00000008a0060000
    [    0.087421] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.087815] Detected VIPT I-cache on CPU3
    [    0.087853] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.087863] GICv3: CPU3: using allocated LPI pending table @0x00000008a0070000
    [    0.087887] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.087936] smp: Brought up 1 node, 4 CPUs
    [    0.167531] SMP: Total of 4 processors activated.
    [    0.172331] CPU features: detected: 32-bit EL0 Support
    [    0.177574] CPU features: detected: CRC32 instructions
    [    0.182865] CPU: All CPU(s) started at EL2
    [    0.187048] alternatives: applying system-wide alternatives
    [    0.193894] devtmpfs: initialized
    [    0.206658] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
    [    0.216636] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.245241] pinctrl core: initialized pinctrl subsystem
    [    0.250918] DMI not present or invalid.
    [    0.255241] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.262170] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
    [    0.269570] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.277661] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.285891] audit: initializing netlink subsys (disabled)
    [    0.291498] audit: type=2000 audit(0.106:1): state=initialized audit_enabled=0 res=1
    [    0.291862] thermal_sys: Registered thermal governor 'step_wise'
    [    0.299550] ASID allocator initialised with 65536 entries
    [    0.321886] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@1
    [    0.331775] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@0
    [    0.343794] platform display: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@1
    [    0.353240] platform display: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@0
    [    0.363217] Modules: 28352 pages in range for non-PLT usage
    [    0.363224] Modules: 519872 pages in range for PLT usage
    [    0.369423] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.381796] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.388196] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.395125] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.401524] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.408453] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.414850] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.421779] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.429046] k3-chipinfo 43000014.chipid: Family:J722S rev:SR1.0 JTAGID[0x0bba002f] Detected
    [    0.438558] iommu: Default domain type: Translated
    [    0.443472] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.450016] SCSI subsystem initialized
    [    0.453927] libata version 3.00 loaded.
    [    0.454079] usbcore: registered new interface driver usbfs
    [    0.459704] usbcore: registered new interface driver hub
    [    0.465152] usbcore: registered new device driver usb
    [    0.470741] pps_core: LinuxPPS API ver. 1 registered
    [    0.475810] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.485147] PTP clock support registered
    [    0.489298] EDAC MC: Ver: 3.0.0
    [    0.492718] scmi_core: SCMI protocol bus registered
    [    0.497908] FPGA manager framework
    [    0.501474] Advanced Linux Sound Architecture Driver Initialized.
    [    0.508542] vgaarb: loaded
    [    0.511565] clocksource: Switched to clocksource arch_sys_counter
    [    0.517965] VFS: Disk quotas dquot_6.6.0
    [    0.521997] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.534142] Carveout Heap: Exported 512 MiB at 0x0000000900000000
    [    0.540465] NET: Registered PF_INET protocol family
    [    0.545707] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.558472] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
    [    0.567258] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.575177] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.583659] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.593016] TCP: Hash tables configured (established 65536 bind 65536)
    [    0.599813] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
    [    0.606899] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
    [    0.614545] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.620736] RPC: Registered named UNIX socket transport module.
    [    0.626799] RPC: Registered udp transport module.
    [    0.631600] RPC: Registered tcp transport module.
    [    0.636401] RPC: Registered tcp-with-tls transport module.
    [    0.641999] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.649417] PCI: CLS 0 bytes, default 64
    [    0.654282] Initialise system trusted keyrings
    [    0.658985] workingset: timestamp_bits=62 max_order=21 bucket_order=0
    [    0.665800] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.671920] NFS: Registering the id_resolver key type
    [    0.677119] Key type id_resolver registered
    [    0.681394] Key type id_legacy registered
    [    0.685499] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.692345] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.729412] Key type asymmetric registered
    [    0.733598] Asymmetric key parser 'x509' registered
    [    0.738614] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.746170] io scheduler mq-deadline registered
    [    0.750793] io scheduler kyber registered
    [    0.754897] io scheduler bfq registered
    [    0.761646] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.768094] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.779843] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.796717] loop: module loaded
    [    0.800841] megasas: 07.725.01.00-rc1
    [    0.807796] tun: Universal TUN/TAP device driver, 1.6
    [    0.813808] VFIO - User Level meta-driver version: 0.3
    [    0.820228] usbcore: registered new interface driver usb-storage
    [    0.827015] i2c_dev: i2c /dev entries driver
    [    0.831897] sdhci: Secure Digital Host Controller Interface driver
    [    0.838209] sdhci: Copyright(c) Pierre Ossman
    [    0.842853] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.849376] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.855804] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.862943] usbcore: registered new interface driver usbhid
    [    0.868636] usbhid: USB HID core driver
    [    0.872807] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    0.879625] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    0.886398] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [    0.893162] omap-mailbox 29030000.mailbox: omap mailbox rev 0x66fca100
    [    0.900688] optee: probing for conduit method.
    [    0.905255] optee: revision 4.2 (12d7c4ee)
    [    0.905539] optee: dynamic shared memory is enabled
    [    0.914934] optee: initialized driver
    [    0.920506] Initializing XFRM netlink socket
    [    0.924919] NET: Registered PF_PACKET protocol family
    [    0.930150] Key type dns_resolver registered
    [    0.940305] Loading compiled-in X.509 certificates
    [    0.954596] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    1.000975] pinctrl-single 4084000.pinctrl: mux offset out of range: 0x1a4 (0x88)
    [    1.008642] pinctrl-single 4084000.pinctrl: could not add functions for eqep1-default-pins 420x
    [    1.031195] rtc-pcf8563 0-0051: registered as rtc0
    [    1.036427] rtc-pcf8563 0-0051: setting system clock to 2025-03-08T14:24:20 UTC (1741443860)
    [    1.045484] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.051775] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.060088] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.069274] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.078213] ti-sci-inta 4e400000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    1.092258] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.100360] ti-udma 485c0100.dma-controller: Channels: 44 (bchan: 16, tchan: 12, rchan: 16)
    [    1.110782] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.120868] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.130035] ti-udma 4e230000.dma-controller: Number of rings: 40
    [    1.137389] ti-udma 4e230000.dma-controller: Channels: 20 (bchan: 0, tchan: 8, rchan: 12)
    [    1.147296] printk: console [ttyS2] disabled
    [    1.151927] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 270, base_baud = 3000000) is a 8250
    [    1.160768] printk: console [ttyS2] enabled
    [    1.169210] printk: bootconsole [ns16550a0] disabled
    [    1.181014] tidss 30200000.dss: failed to init OLDI: -517
    [    1.223572] davinci_mdio 8000f00.mdio: davinci mdio revision 17.7, bus freq 1000000
    [    1.232232] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver unknown
    [    1.240108] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01903, cpsw version 0x6BA81903 Ports: 3 quirks:00000006
    [    1.253061] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.260188] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.266617] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010d, freq:500000000, add_val:1 pps:0
    [    1.280101] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.290097] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.295609] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    1.303353] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
    [    1.309352] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008020000010
    [    1.318765] xhci-hcd xhci-hcd.0.auto: irq 282, io mem 0x31000000
    [    1.325421] hub 1-0:1.0: USB hub found
    [    1.329198] hub 1-0:1.0: 1 port detected
    [    1.334903] input: pwm-beeper as /devices/platform/pwm-beeper/input/input0
    [    1.343126] mmc0: CQHCI version 5.10
    [    1.343516] mmc1: CQHCI version 5.10
    [    1.354143] tidss 30200000.dss: failed to init OLDI: -517
    [    1.363884] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    1.369410] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    1.377262] xhci-hcd xhci-hcd.1.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000008010
    [    1.386690] xhci-hcd xhci-hcd.1.auto: irq 482, io mem 0x31210000
    [    1.387144] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.391173] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.392844] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    1.413134] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
    [    1.420790] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
    [    1.428044] hub 2-0:1.0: USB hub found
    [    1.431840] hub 2-0:1.0: 1 port detected
    [    1.436053] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
    [    1.444600] hub 3-0:1.0: USB hub found
    [    1.448370] hub 3-0:1.0: 1 port detected
    [    1.453494] input: matrix_keyboard0 as /devices/platform/matrix_keyboard0/input/input1
    [    1.464861] tidss 30200000.dss: failed to init OLDI: -517
    [    1.472987] tidss 30200000.dss: failed to init OLDI: -517
    [    1.479294] debugfs: Directory 'pd:244' with parent 'pm_genpd' already present!
    [    1.487852] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.495178] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.501456] mmc1: new ultra high speed SDR104 SDXC card at address b36d
    [    1.503844] power_cut_probe sucess !
    [    1.509593] mmcblk1: mmc1:b36d EZSD1 58.2 GiB
    [    1.513089] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    1.515113] tidss 30200000.dss: failed to init OLDI: -517
    [    1.518654]  mmcblk1: p1 p2
    [    1.526287] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    1.532901] tidss 30200000.dss: failed to init OLDI: -517
    [    1.533918] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    1.551360] clk: Disabling unused clocks
    [    1.555508] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    1.560078] ALSA device list:
    [    1.564132] cfg80211: failed to load regulatory.db
    [    1.567092]   No soundcards found.
    [    1.622773] mmc0: Command Queue Engine enabled
    [    1.627251] mmc0: new HS400 MMC card at address 0001
    [    1.632749] mmcblk0: mmc0:0001 88A398 7.28 GiB
    [    1.638676] mmcblk0boot0: mmc0:0001 88A398 4.00 MiB
    [    1.644457] mmcblk0boot1: mmc0:0001 88A398 4.00 MiB
    [    1.650170] mmcblk0rpmb: mmc0:0001 88A398 4.00 MiB, chardev (238:0)
    [    1.658971] tidss 30200000.dss: failed to init OLDI: -517
    [    1.681582] usb 2-1: new high-speed USB device number 2 using xhci-hcd
    [    1.814544] hub 2-1:1.0: USB hub found
    [    1.818516] hub 2-1:1.0: 4 ports detected
    [    1.826150] tidss 30200000.dss: failed to init OLDI: -517
    [    2.009347] EXT4-fs (mmcblk1p2): recovery complete
    [    2.077662] EXT4-fs (mmcblk1p2): mounted filesystem 6bd15e43-03b8-4891-b80d-1587b41b61d0 r/w with ordered data mode. Quota mode: none.
    [    2.089804] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.108571] usb 2-1.1: new high-speed USB device number 3 using xhci-hcd
    [    2.139844] devtmpfs: mounted
    [    2.143374] Freeing unused kernel memory: 2176K
    [    2.147991] Run /sbin/init as init process
    [    2.152081]   with arguments:
    [    2.152084]     /sbin/init
    [    2.152087]   with environment:
    [    2.152089]     HOME=/
    [    2.152092]     TERM=linux
    [    2.207156] tidss 30200000.dss: failed to init OLDI: -517
    [    2.281621] usb 2-1.2: new full-speed USB device number 4 using xhci-hcd
    [    2.387941] input: ILITEK       ILITEK-TOUCH Touchscreen as /devices/platform/bus@f0000/f920000.usb/31200000.usb/xhci-hcd.1.auto/usb2/2-1/2-1.2/2-1.2:1.0/0003:222A:0001.0001/input/input2
    [    2.404763] input: ILITEK       ILITEK-TOUCH Mouse as /devices/platform/bus@f0000/f920000.usb/31200000.usb/xhci-hcd.1.auto/usb2/2-1/2-1.2/2-1.2:1.0/0003:222A:0001.0001/input/input4
    [    2.420939] hid-generic 0003:222A:0001.0001: input: USB HID v1.10 Mouse [ILITEK       ILITEK-TOUCH] on usb-xhci-hcd.1.auto-1.2/input0
    [    2.435349] tidss 30200000.dss: failed to init OLDI: -517
    [    2.443420] tidss 30200000.dss: failed to init OLDI: -517
    [    2.778753] systemd[1]: systemd 255.18^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.810636] systemd[1]: Detected architecture arm64.
    [    2.915514] systemd[1]: Hostname set to <j722s-evm>.
    [    3.433838] systemd-sysv-generator[113]: SysV service '/etc/init.d/edgeai-launcher.sh' lacks a native systemd unit file, automatically generating a unit file for compatibility.
    [    3.449630] systemd-sysv-generator[113]: Please update package to include a native systemd unit file.
    [    3.458911] systemd-sysv-generator[113]: ! This compatibility logic is deprecated, expect removal soon. !
    [    4.562978] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    4.571912] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    4.617623] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    4.788999] systemd[1]: Queued start job for default target Graphical Interface.
    [    4.807959] systemd[1]: Created slice Slice /system/getty.
    [    4.822791] systemd[1]: Created slice Slice /system/modprobe.
    [    4.837727] systemd[1]: Created slice Slice /system/serial-getty.
    [    4.852191] systemd[1]: Created slice User and Session Slice.
    [    4.866911] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    4.885835] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    4.904704] systemd[1]: Expecting device /dev/ttyS2...
    [    4.915813] systemd[1]: Reached target Path Units.
    [    4.926682] systemd[1]: Reached target Remote File Systems.
    [    4.940680] systemd[1]: Reached target Slice Units.
    [    4.951702] systemd[1]: Reached target Swaps.
    [    4.962413] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    4.977765] systemd[1]: Reached target RPC Port Mapper.
    [    5.016922] systemd[1]: Listening on Process Core Dump Socket.
    [    5.031032] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    5.046652] systemd[1]: Listening on Journal Audit Socket.
    [    5.061256] systemd[1]: Listening on Journal Socket (/dev/log).
    [    5.076254] systemd[1]: Listening on Journal Socket.
    [    5.090397] systemd[1]: Listening on Network Service Netlink Socket.
    [    5.105881] systemd[1]: Listening on udev Control Socket.
    [    5.120186] systemd[1]: Listening on udev Kernel Socket.
    [    5.134169] systemd[1]: Listening on User Database Manager Socket.
    [    5.162922] systemd[1]: Mounting Huge Pages File System...
    [    5.171187] systemd[1]: Mounting POSIX Message Queue File System...
    [    5.191373] systemd[1]: Mounting Kernel Debug File System...
    [    5.205161] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    5.221048] systemd[1]: Mounting Temporary Directory /tmp...
    [    5.234295] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/6.6.32-gdb8871293143-dirty/modules.devname).
    [    5.254483] systemd[1]: Starting Load Kernel Module configfs...
    [    5.280166] systemd[1]: Starting Load Kernel Module drm...
    [    5.289236] systemd[1]: Starting Load Kernel Module fuse...
    [    5.308426] systemd[1]: Starting Start psplash boot splash screen...
    [    5.327394] systemd[1]: Starting RPC Bind...
    [    5.339037] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    5.352424] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    5.352439] systemd[1]: systemd-journald.service: (This warning is only shown for the first unit using IP firewalling.)
    [    5.379138] systemd[1]: Starting Journal Service...
    [    5.408211] systemd[1]: Starting Load Kernel Modules...
    [    5.416368] systemd-journald[126]: Collecting audit messages is enabled.
    [    5.435214] systemd[1]: Starting Generate network units from Kernel command line...
    [    5.455001] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    5.482117] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
    [    5.502920] systemd[1]: Starting Coldplug All udev Devices...
    [    5.520891] EXT4-fs (mmcblk1p2): re-mounted 6bd15e43-03b8-4891-b80d-1587b41b61d0 r/w. Quota mode: none.
    [    5.527893] systemd[1]: Started RPC Bind.
    [    5.536809] systemd[1]: Started Journal Service.
    [    5.774099] systemd-journald[126]: Received client request to flush runtime journal.
    [    6.187594] random: crng init done
    [    7.370375] dbus-broker-lau[365]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    8.198281] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [Generic PHY] (irq=POLL)
    [    8.207083] tidss 30200000.dss: failed to init OLDI: -517
    [    8.209451] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    8.994885] audit: type=1701 audit(1741443868.458:2): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=629 comm="kmsprint" exe="/usr/bin/kmsprint" sig=6 res=1
    [   11.237408] audit: type=1701 audit(1741443870.700:3): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=640 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=6 res=1
    [   11.598052] tidss 30200000.dss: failed to init OLDI: -517
    [   11.609116] platform edp_backlight: deferred probe pending
    [   11.614692] platform display: deferred probe pending
    [   11.619726] platform 30200000.dss: deferred probe pending
    [   12.732205] audit: type=1701 audit(1741443872.195:4): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1198 comm="kmsprint" exe="/usr/bin/kmsprint" sig=6 res=1
    [  252.206844] audit: type=1006 audit(1741444111.670:5): pid=1242 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
    [  252.219282] audit: type=1300 audit(1741444111.670:5): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffd80ce1f8 a2=1 a3=1 items=0 ppid=1 pid=1242 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [  252.245794] audit: type=1327 audit(1741444111.670:5): proctitle="(systemd)"
    [  252.995065] audit: type=1701 audit(1741444112.458:6): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1348 comm="kmsprint" exe="/usr/bin/kmsprint" sig=6 res=1
    root@j722s-evm:/opt/edgeai-gst-apps#
    

  • Hi Zhaohang,

    Thank you for the logs. 

    Could you determine which line in the OLDI driver is returning EPROBE_DEFER (-517)?

    Regards,

    Takuma

  • Hi Takuma,

    I said from the very beginning.

    drm_of_find_panel_or_bridge(child, OLDI_OURPUT_PORT, -1,&panel, &bridge);

  • Hi Zhaohang,

    Looked into this a bit more. It could be related to this issue here:  SK-AM62P-LP: tidss 30200000.dss: failed to init OLDI: -517 

    It was fixed with this commit: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?id=da059ff1b820837926659a36c3658925a8bac6fb&h=ti-linux-6.6.y 

    Could you try applying?

    Regards,

    Takuma

  • Hi Takuma,

    I have made the necessary modifications according to this commit, but the problem persists.

    root@j722s-evm:/opt/edgeai-gst-apps# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.32-gdb8871293143-dirty (cotrust@cotrust) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712, GNU ld (Arm GNU Toolchain 11.3.Rel1) 2.38.20220708) #23 SMP Tue Aug 12 16:31:35 CST 2025
    [    0.000000] Machine model: 6K15
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: 0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable tfa@9e780000
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a0000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a0100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a1000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a3ffffff (31744 KiB) nomap non-reusable vision-apps-r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-rtos-ipc-memory-region@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a6ffffff (32768 KiB) nomap non-reusable vision-apps-rtos-ipc-memory-region@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000acffffff (98304 KiB) nomap non-reusable vision-apps-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ad000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@ad000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ad000000..0x00000000ad0fffff (1024 KiB) nomap non-reusable vision-apps-c71-dma-memory@ad000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ad100000, size 63 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_0-memory@ad100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ad100000..0x00000000b0ffffff (64512 KiB) nomap non-reusable vision-apps-c71_0-memory@ad100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-dma-memory@b1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b1000000..0x00000000b10fffff (1024 KiB) nomap non-reusable vision-apps-c71_1-dma-memory@b1000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b1100000, size 63 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-memory@b1100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b1100000..0x00000000b4ffffff (64512 KiB) nomap non-reusable vision-apps-c71_1-memory@b1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b5000000, size 40 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@b5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b5000000..0x00000000b77fffff (40960 KiB) nomap non-reusable vision-apps-core-heap-memory-lo@b5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 512 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-ddr-heaps-hi@880000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000880000000..0x000000089fffffff (524288 KiB) nomap non-reusable c7x-ddr-heaps-hi@880000000
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: 0x0000000900000000..0x000000091fffffff (524288 KiB) map non-reusable vision_apps_shared-memories
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000980000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux-cma-buffers@980000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000980000000..0x00000009b7ffffff (917504 KiB) map reusable linux-cma-buffers@980000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000009ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x00000000a3ffffff]
    [    0.000000]   node   0: [mem 0x00000000a4000000-0x00000000a4ffffff]
    [    0.000000]   node   0: [mem 0x00000000a5000000-0x00000000b77fffff]
    [    0.000000]   node   0: [mem 0x00000000b7800000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x000000089fffffff]
    [    0.000000]   node   0: [mem 0x00000008a0000000-0x00000009ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000009ffffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 21 pages/cpu s45416 r8192 d32408 u86016
    [    0.000000] pcpu-alloc: s45416 r8192 d32408 u86016 alloc=21*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=076c4a2a-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2064384
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 5800628K/8388608K available (10944K kernel code, 1206K rwdata, 2672K rodata, 2176K init, 467K bss, 1670476K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: 0xffff800080010080
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @8a0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008a0030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a0040000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008471] Console: colour dummy device 80x25
    [    0.013055] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
    [    0.023721] pid_max: default: 32768 minimum: 301
    [    0.028485] LSM: initializing lsm=capability,integrity
    [    0.033833] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.041588] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.051008] rcu: Hierarchical SRCU implementation.
    [    0.055915] rcu:     Max phase no-delay instances is 400.
    [    0.061319] Platform MSI: msi-controller@1820000 domain created
    [    0.067626] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.076886] EFI services will not be available.
    [    0.081657] smp: Bringing up secondary CPUs ...
    [    0.086758] Detected VIPT I-cache on CPU1
    [    0.086829] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.086843] GICv3: CPU1: using allocated LPI pending table @0x00000008a0050000
    [    0.086888] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.087334] Detected VIPT I-cache on CPU2
    [    0.087377] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.087389] GICv3: CPU2: using allocated LPI pending table @0x00000008a0060000
    [    0.087415] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.087801] Detected VIPT I-cache on CPU3
    [    0.087840] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.087851] GICv3: CPU3: using allocated LPI pending table @0x00000008a0070000
    [    0.087875] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.087920] smp: Brought up 1 node, 4 CPUs
    [    0.167510] SMP: Total of 4 processors activated.
    [    0.172311] CPU features: detected: 32-bit EL0 Support
    [    0.177555] CPU features: detected: CRC32 instructions
    [    0.182846] CPU: All CPU(s) started at EL2
    [    0.187027] alternatives: applying system-wide alternatives
    [    0.193870] devtmpfs: initialized
    [    0.206625] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
    [    0.216604] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.245223] pinctrl core: initialized pinctrl subsystem
    [    0.250895] DMI not present or invalid.
    [    0.255216] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.262144] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
    [    0.269547] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.277638] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.285865] audit: initializing netlink subsys (disabled)
    [    0.291477] audit: type=2000 audit(0.106:1): state=initialized audit_enabled=0 res=1
    [    0.291840] thermal_sys: Registered thermal governor 'step_wise'
    [    0.299534] ASID allocator initialised with 65536 entries
    [    0.315060] /bus@f0000/interrupt-controller@1800000: Fixed dependency cycle(s) with /bus@f0000/interrupt-controller@1800000
    [    0.326631] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@1
    [    0.336681] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@0
    [    0.346734] /bus@f0000/dss@30200000/oldi-txes/oldi@0: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.356784] /bus@f0000/dss@30200000/oldi-txes/oldi@1: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.373523] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@1
    [    0.383586] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@0
    [    0.393643] /bus@f0000/dss@30200000/oldi-txes/oldi@0: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.403695] /bus@f0000/dss@30200000/oldi-txes/oldi@1: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.415899] /bus@f0000/dss@30200000/oldi-txes/oldi@1: Fixed dependency cycle(s) with /display
    [    0.424672] /bus@f0000/dss@30200000/oldi-txes/oldi@0: Fixed dependency cycle(s) with /display
    [    0.433397] /display: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@1
    [    0.442118] /display: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/oldi-txes/oldi@0
    [    0.451367] Modules: 28352 pages in range for non-PLT usage
    [    0.451374] Modules: 519872 pages in range for PLT usage
    [    0.457569] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.469945] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.476345] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.483275] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.489672] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.496601] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.502999] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.509928] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.517209] k3-chipinfo 43000014.chipid: Family:J722S rev:SR1.0 JTAGID[0x0bba002f] Detected
    [    0.526705] iommu: Default domain type: Translated
    [    0.531612] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.538147] SCSI subsystem initialized
    [    0.542103] libata version 3.00 loaded.
    [    0.542243] usbcore: registered new interface driver usbfs
    [    0.547865] usbcore: registered new interface driver hub
    [    0.553308] usbcore: registered new device driver usb
    [    0.558901] pps_core: LinuxPPS API ver. 1 registered
    [    0.563970] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.573307] PTP clock support registered
    [    0.577459] EDAC MC: Ver: 3.0.0
    [    0.580876] scmi_core: SCMI protocol bus registered
    [    0.586037] FPGA manager framework
    [    0.589599] Advanced Linux Sound Architecture Driver Initialized.
    [    0.596628] vgaarb: loaded
    [    0.599635] clocksource: Switched to clocksource arch_sys_counter
    [    0.606053] VFS: Disk quotas dquot_6.6.0
    [    0.610085] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.622224] Carveout Heap: Exported 512 MiB at 0x0000000900000000
    [    0.628538] NET: Registered PF_INET protocol family
    [    0.633789] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.646605] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
    [    0.655406] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.663324] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.671807] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.681172] TCP: Hash tables configured (established 65536 bind 65536)
    [    0.687975] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
    [    0.695056] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
    [    0.702708] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.708826] RPC: Registered named UNIX socket transport module.
    [    0.714888] RPC: Registered udp transport module.
    [    0.719697] RPC: Registered tcp transport module.
    [    0.724498] RPC: Registered tcp-with-tls transport module.
    [    0.730097] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.737505] PCI: CLS 0 bytes, default 64
    [    0.742385] Initialise system trusted keyrings
    [    0.747075] workingset: timestamp_bits=62 max_order=21 bucket_order=0
    [    0.753888] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.760014] NFS: Registering the id_resolver key type
    [    0.765198] Key type id_resolver registered
    [    0.769469] Key type id_legacy registered
    [    0.773578] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.780423] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.817522] Key type asymmetric registered
    [    0.821708] Asymmetric key parser 'x509' registered
    [    0.826728] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.834285] io scheduler mq-deadline registered
    [    0.838910] io scheduler kyber registered
    [    0.843015] io scheduler bfq registered
    [    0.849754] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.856217] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.867915] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.884748] loop: module loaded
    [    0.888854] megasas: 07.725.01.00-rc1
    [    0.895814] tun: Universal TUN/TAP device driver, 1.6
    [    0.901832] VFIO - User Level meta-driver version: 0.3
    [    0.908270] usbcore: registered new interface driver usb-storage
    [    0.915064] i2c_dev: i2c /dev entries driver
    [    0.919940] sdhci: Secure Digital Host Controller Interface driver
    [    0.926254] sdhci: Copyright(c) Pierre Ossman
    [    0.930892] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.937432] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.943865] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.951016] usbcore: registered new interface driver usbhid
    [    0.956710] usbhid: USB HID core driver
    [    0.960892] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    0.967711] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    0.974474] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [    0.981240] omap-mailbox 29030000.mailbox: omap mailbox rev 0x66fca100
    [    0.988756] optee: probing for conduit method.
    [    0.993320] optee: revision 4.2 (12d7c4ee)
    [    0.993575] optee: dynamic shared memory is enabled
    [    1.002970] optee: initialized driver
    [    1.008563] Initializing XFRM netlink socket
    [    1.012980] NET: Registered PF_PACKET protocol family
    [    1.018201] Key type dns_resolver registered
    [    1.028328] Loading compiled-in X.509 certificates
    [    1.042553] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    1.088602] pinctrl-single 4084000.pinctrl: mux offset out of range: 0x1a4 (0x88)
    [    1.096283] pinctrl-single 4084000.pinctrl: could not add functions for eqep1-default-pins 420x
    [    1.119266] rtc-pcf8563 0-0051: registered as rtc0
    [    1.124498] rtc-pcf8563 0-0051: setting system clock to 2025-03-12T21:45:45 UTC (1741815945)
    [    1.133534] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.139813] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.148126] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.157313] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.166248] ti-sci-inta 4e400000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    1.180301] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.188408] ti-udma 485c0100.dma-controller: Channels: 44 (bchan: 16, tchan: 12, rchan: 16)
    [    1.198839] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.208976] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.218149] ti-udma 4e230000.dma-controller: Number of rings: 40
    [    1.225519] ti-udma 4e230000.dma-controller: Channels: 20 (bchan: 0, tchan: 8, rchan: 12)
    [    1.235409] printk: console [ttyS2] disabled
    [    1.240040] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 270, base_baud = 3000000) is a 8250
    [    1.248883] printk: console [ttyS2] enabled
    [    1.257327] printk: bootconsole [ns16550a0] disabled
    [    1.269144] tidss 30200000.dss: failed to init OLDI: -517
    [    1.311643] davinci_mdio 8000f00.mdio: davinci mdio revision 17.7, bus freq 1000000
    [    1.320295] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver unknown
    [    1.328169] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01903, cpsw version 0x6BA81903 Ports: 3 quirks:00000006
    [    1.341123] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.348250] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.354670] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010d, freq:500000000, add_val:1 pps:0
    [    1.368109] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.378060] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.383574] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    1.391317] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
    [    1.397315] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008020000010
    [    1.406732] xhci-hcd xhci-hcd.0.auto: irq 282, io mem 0x31000000
    [    1.413366] hub 1-0:1.0: USB hub found
    [    1.417142] hub 1-0:1.0: 1 port detected
    [    1.422827] input: pwm-beeper as /devices/platform/pwm-beeper/input/input0
    [    1.431104] mmc0: CQHCI version 5.10
    [    1.431314] mmc1: CQHCI version 5.10
    [    1.442200] tidss 30200000.dss: failed to init OLDI: -517
    [    1.450979] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    1.456549] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    1.464392] xhci-hcd xhci-hcd.1.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000008010
    [    1.473805] xhci-hcd xhci-hcd.1.auto: irq 482, io mem 0x31210000
    [    1.475191] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.479242] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.479930] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    1.500218] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
    [    1.507871] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
    [    1.515005] hub 2-0:1.0: USB hub found
    [    1.518786] hub 2-0:1.0: 1 port detected
    [    1.523002] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
    [    1.531509] hub 3-0:1.0: USB hub found
    [    1.535290] hub 3-0:1.0: 1 port detected
    [    1.540445] input: matrix_keyboard0 as /devices/platform/matrix_keyboard0/input/input1
    [    1.551902] tidss 30200000.dss: failed to init OLDI: -517
    [    1.554137] mmc1: new ultra high speed SDR104 SDXC card at address b36d
    [    1.559993] tidss 30200000.dss: failed to init OLDI: -517
    [    1.564419] mmcblk1: mmc1:b36d EZSD1 58.2 GiB
    [    1.570277] debugfs: Directory 'pd:244' with parent 'pm_genpd' already present!
    [    1.575198]  mmcblk1: p1 p2
    [    1.582213] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.586499] tidss 30200000.dss: failed to init OLDI: -517
    [    1.591074] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.592420] power_cut_probe sucess !
    [    1.607785] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    1.609683] tidss 30200000.dss: failed to init OLDI: -517
    [    1.616979] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    1.627386] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    1.634670] clk: Disabling unused clocks
    [    1.638802] mmc0: Command Queue Engine enabled
    [    1.638801] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    1.638813] cfg80211: failed to load regulatory.db
    [    1.643250] mmc0: new HS400 MMC card at address 0001
    [    1.643976] ALSA device list:
    [    1.643982]   No soundcards found.
    [    1.668457] mmcblk0: mmc0:0001 88A398 7.28 GiB
    [    1.674402] mmcblk0boot0: mmc0:0001 88A398 4.00 MiB
    [    1.680151] mmcblk0boot1: mmc0:0001 88A398 4.00 MiB
    [    1.685776] mmcblk0rpmb: mmc0:0001 88A398 4.00 MiB, chardev (238:0)
    [    1.694521] tidss 30200000.dss: failed to init OLDI: -517
    [    1.765652] usb 2-1: new high-speed USB device number 2 using xhci-hcd
    [    1.816779] EXT4-fs (mmcblk1p2): mounted filesystem b8063b1e-430e-4b1b-a1d3-6077f8a1f99a r/w with ordered data mode. Quota mode: none.
    [    1.828945] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.835366] devtmpfs: mounted
    [    1.838908] Freeing unused kernel memory: 2176K
    [    1.843525] Run /sbin/init as init process
    [    1.847615]   with arguments:
    [    1.847617]     /sbin/init
    [    1.847620]   with environment:
    [    1.847622]     HOME=/
    [    1.847628]     TERM=linux
    [    1.898602] hub 2-1:1.0: USB hub found
    [    1.902450] hub 2-1:1.0: 4 ports detected
    [    1.909759] tidss 30200000.dss: failed to init OLDI: -517
    [    2.057162] systemd[1]: systemd 255.13^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.089049] systemd[1]: Detected architecture arm64.
    [    2.104249] systemd[1]: Hostname set to <j722s-evm>.
    [    2.189403] systemd-sysv-generator[108]: SysV service '/etc/init.d/edgeai-launcher.sh' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
    [    2.194668] usb 2-1.1: new high-speed USB device number 3 using xhci-hcd
    [    2.320308] tidss 30200000.dss: failed to init OLDI: -517
    [    2.370141] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.379066] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.393663] usb 2-1.2: new full-speed USB device number 4 using xhci-hcd
    [    2.425797] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.500233] input: ILITEK       ILITEK-TOUCH Touchscreen as /devices/platform/bus@f0000/f920000.usb/31200000.usb/xhci-hcd.1.auto/usb2/2-1/2-1.2/2-1.2:1.0/0003:222A:0001.0001/input/input2
    [    2.517129] input: ILITEK       ILITEK-TOUCH Mouse as /devices/platform/bus@f0000/f920000.usb/31200000.usb/xhci-hcd.1.auto/usb2/2-1/2-1.2/2-1.2:1.0/0003:222A:0001.0001/input/input4
    [    2.533413] hid-generic 0003:222A:0001.0001: input: USB HID v1.10 Mouse [ILITEK       ILITEK-TOUCH] on usb-xhci-hcd.1.auto-1.2/input0
    [    2.547897] tidss 30200000.dss: failed to init OLDI: -517
    [    2.556298] tidss 30200000.dss: failed to init OLDI: -517
    [    2.584922] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.664006] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.685110] systemd[1]: Created slice Slice /system/getty.
    [    2.699875] systemd[1]: Created slice Slice /system/modprobe.
    [    2.714814] systemd[1]: Created slice Slice /system/serial-getty.
    [    2.730259] systemd[1]: Created slice User and Session Slice.
    [    2.744992] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.763919] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.782783] systemd[1]: Expecting device /dev/ttyS2...
    [    2.793874] systemd[1]: Reached target Path Units.
    [    2.804746] systemd[1]: Reached target Remote File Systems.
    [    2.818741] systemd[1]: Reached target Slice Units.
    [    2.829767] systemd[1]: Reached target Swaps.
    [    2.840500] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    2.855836] systemd[1]: Reached target RPC Port Mapper.
    [    2.877403] systemd[1]: Listening on Process Core Dump Socket.
    [    2.892088] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    2.907710] systemd[1]: Listening on Journal Audit Socket.
    [    2.922281] systemd[1]: Listening on Journal Socket (/dev/log).
    [    2.937309] systemd[1]: Listening on Journal Socket.
    [    2.951471] systemd[1]: Listening on Network Service Netlink Socket.
    [    2.968937] systemd[1]: Listening on udev Control Socket.
    [    2.983252] systemd[1]: Listening on udev Kernel Socket.
    [    2.997264] systemd[1]: Listening on User Database Manager Socket.
    [    3.026970] systemd[1]: Mounting Huge Pages File System...
    [    3.035150] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.055470] systemd[1]: Mounting Kernel Debug File System...
    [    3.069206] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.085075] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.097321] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/6.6.32-gdb8871293143-dirty/modules.devname).
    [    3.124229] systemd[1]: Starting Load Kernel Module configfs...
    [    3.142023] systemd[1]: Starting Load Kernel Module drm...
    [    3.167273] systemd[1]: Starting Load Kernel Module fuse...
    [    3.176996] systemd[1]: Starting Start psplash boot splash screen...
    [    3.197428] systemd[1]: Starting RPC Bind...
    [    3.208166] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.221532] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    3.234433] systemd[1]: systemd-journald.service: (This warning is only shown for the first unit using IP firewalling.)
    [    3.254312] systemd[1]: Starting Journal Service...
    [    3.287217] systemd[1]: Starting Load Kernel Modules...
    [    3.296235] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.307304] systemd-journald[123]: Collecting audit messages is enabled.
    [    3.325156] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.344340] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
    [    3.374383] systemd[1]: Starting Coldplug All udev Devices...
    [    3.380924] EXT4-fs (mmcblk1p2): re-mounted b8063b1e-430e-4b1b-a1d3-6077f8a1f99a r/w. Quota mode: none.
    [    3.404090] systemd[1]: Started RPC Bind.
    [    3.415397] systemd[1]: Started Journal Service.
    [    3.667377] systemd-journald[123]: Received client request to flush runtime journal.
    [    4.070665] random: crng init done
    [    5.259196] dbus-broker-lau[373]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    5.979094] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [Generic PHY] (irq=POLL)
    [    5.988661] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    6.000795] tidss 30200000.dss: failed to init OLDI: -517
    [    6.634360] audit: type=1006 audit(1741815951.009:2): pid=512 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [    6.647353] audit: type=1300 audit(1741815951.009:2): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffffe8c4d48 a2=4 a3=1 items=0 ppid=1 pid=512 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [    6.675129] audit: type=1327 audit(1741815951.009:2): proctitle="(systemd)"
    [    7.235025] audit: type=1006 audit(1741815951.610:3): pid=501 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [    7.249497] audit: type=1300 audit(1741815951.610:3): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffcf275348 a2=4 a3=1 items=0 ppid=1 pid=501 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [    7.276375] audit: type=1327 audit(1741815951.610:3): proctitle="(weston)"
    [    7.884097] audit: type=1701 audit(1741815952.259:4): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=643 comm="kmsprint" exe="/usr/bin/kmsprint" sig=6 res=1
    [    9.246987] audit: type=1701 audit(1741815953.622:5): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=660 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=6 res=1
    [   10.186123] audit: type=1701 audit(1741815954.561:6): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1231 comm="kmsprint" exe="/usr/bin/kmsprint" sig=6 res=1
    [   12.128942] tidss 30200000.dss: failed to init OLDI: -517
    [   12.135196] platform edp_backlight: deferred probe pending
    [   12.140719] platform display: deferred probe pending
    [   12.145694] platform 30200000.dss: deferred probe pending
    [   58.928505] audit: type=1006 audit(1741816003.303:7): pid=1284 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   58.940926] audit: type=1300 audit(1741816003.303:7): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffcd74a768 a2=1 a3=1 items=0 ppid=1 pid=1284 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   58.967465] audit: type=1327 audit(1741816003.303:7): proctitle="(systemd)"
    [   59.655447] audit: type=1701 audit(1741816004.030:8): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1391 comm="kmsprint" exe="/usr/bin/kmsprint" sig=6 res=1
    root@j722s-evm:/opt/edgeai-gst-apps#
    

  • Hi Zhaohang,

    Linking external Jira that goes through specifics of issue linked in my previous response: https://sir.ext.ti.com/jira/browse/EXT_EP-12061

    Is it possible to check if issue persists on your end using 10.1 SDK? And if issue is not seen on 10.1 SDK, would your customer be fine with using 10.1 SDK? 10.1 should be the most stable 10.x release, so it would be better than 10.0 version, and 10.1 and 10.0 should use the same Linux LTS kernel version.

    Regards,

    Takuma

  • Hi Takuma,
    Do you mean that 10.00.00.08 cannot solve this problem?

  • Hi Zhaohang,

    It is a way to narrow down commit that solved/caused issue. 11.0 and 10.0 has a big change in Linux kernel, since they are using a different Linux LTS version. 10.0 and 10.1 will have less changes as it uses the same LTS version, and if we see that 10.1 is functional, then that will narrow down the commits you will look at during debug. 

    But in general, our team does not do backporting of patches. Our recommendation is usually to use the latest SDK, because it will have the most number of features and fixes. If it is customer desire to continue on the older SDK, then backporting of changes made between the SDK will be the customer responsibility.

    Regards,

    Takuma