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.

PROCESSOR-SDK-AM335X: Capacitive touch display interface with with Beagle bone black over I2C

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: AM3352, TPS65217

Hi,

         I am trying to interface 7inch capacitive touch display(Model no:AFK800480A0-7.0N12NTM- C) with Beagle bone black. LCD is up and running and i am not able to configure touch panel. I am getting

below  errors in the log.

ti_am3359-tscadc 44e0d000.tscadc: Need atleast one channel.
 ti_am3359-tscadc: probe of 44e0d000.tscadc failed with error -22

I am attaching DT related files.

/*
 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <dt-bindings/display/tda998x.h>
#include <dt-bindings/interrupt-controller/irq.h>


&ldo3_reg {
	regulator-min-microvolt = <1800000>;
	regulator-max-microvolt = <1800000>;
	regulator-always-on;
};

&mmc1 {
	vmmc-supply = <&vmmcsd_fixed>;
	
};

&mmc2 {
	vmmc-supply = <&vmmcsd_fixed>;
	pinctrl-names = "default";
	pinctrl-0 = <&emmc_pins>;
	bus-width = <8>;
	status = "okay";
};

&am33xx_pinmux {
	nxp_hdmi_bonelt_pins: lcd_pins_default {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0)		/* lcd_data0.lcd_data0 */
			AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0)		/* lcd_data1.lcd_data1 */
			AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0)		/* lcd_data2.lcd_data2 */
			AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0)		/* lcd_data3.lcd_data3 */
			AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0)		/* lcd_data4.lcd_data4 */
			AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0)		/* lcd_data5.lcd_data5 */
			AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0)		/* lcd_data6.lcd_data6 */
			AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0)		/* lcd_data7.lcd_data7 */
			AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0)		/* lcd_data8.lcd_data8 */
			AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0)		/* lcd_data9.lcd_data9 */
			AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0)		/* lcd_data10.lcd_data10 */
			AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0)		/* lcd_data11.lcd_data11 */
			AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0)		/* lcd_data12.lcd_data12 */
			AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0)		/* lcd_data13.lcd_data13 */
			AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0)		/* lcd_data14.lcd_data14 */
			AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0)		/* lcd_data15.lcd_data15 */
			AM33XX_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0)	/* lcd_vsync.lcd_vsync */
			AM33XX_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0)	/* lcd_hsync.lcd_hsync */
			AM33XX_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0)	/* lcd_pclk.lcd_pclk */
			AM33XX_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0)	/* lcd_ac_bias_en.lcd_ac_bias_en */
			AM33XX_IOPAD(0x850, PIN_OUTPUT_PULLUP | MUX_MODE7)/*
gpmc_a4.gpio1[20] LCD_EN*/

		>;
  };
	i2c0_pins:pinmux_i2c0_pins {
		pinctrl-single,pins = <
		AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE2) /*i2c0_SCL*/
		AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE2) /*i2c0_SDA*/
			 >;  	
	};
	ts_irq_pin:pinmux_ts_irq_pin {
		pinctrl-single,pins = <
		AM33XX_IOPAD(0x878, PIN_INPUT_PULLDOWN | MUX_MODE7) /*touch_irq*/
		  >;
};
};
&i2c0 {
	pinctrl-names = "default";
	pinctrl-0 = <&i2c0_pins>;
	status = "okay";
	clock-frequency = <400000>;

	tsc{
		status = "okay";
		comaptible = "ti,am3359-tsc";
		pinctrl-names = "default";
		pinctrl-0 = <&ts_irq_pin>;
		reg = <0x38>;
		interrupt-parent = <&gpio1>;
		interrupts-extended = <&gpio1 28 IRQ_TYPE_EDGE_FALLING>;
		touchscreen-size-x= <800>;
		touchscreen-size-y= <480>;	
	  
	};
	
};
	

&lcdc {

	status = "okay";

/* If you want to get 24 bit RGB a			nd 16 BGR mode instead of
* current 16 bit RGB and 24 BGR modes, set the propety
* below to "crossed" and uncomment the video-ports -property
* in tda19988 node.
*/
	 //blue-and-red-wiring = "crossed";
	 video-ports = <0x234501>;
	 blue-and-red-wiring = "straight";

};



/*
 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
/dts-v1/;

#include "am33xx.dtsi"
#include "am335x-bone-common.dtsi"
#include "am335x-boneblack-common.dtsi"

&sgx {
	status = "okay";
};
/ {
	model = "TI AM335x BeagleBone Black";
	compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
#if 0
	backlight {
		compatible = "pwm-backlight";
		pwms = <&ehrpwm1 0 500000 0>;
		brightness-levels = <0 58 61 66 75 90 125 170 255>;
		default-brightness-level = <8>;
 	};
#endif
	lcd0:panel{
		compatible = "ti,tilcdc,panel";
		pinctrl-names = "default";
		pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
		enable-gpios = <&gpio1 20 0>;
		status = "okay";
		panel-info {
			ac-bias = <255>;  /*AC Bias pin frequency*/
			ac-bias-intrpt = <0>;/* AC Bias Pin transition per 							Interrupt*/
			dma-burst-sz = <16>; /* DMA burst size*/
			bpp = <16>;         /* bits per pixel*/
			fdd = <0x80>;	    /* FIFO DMA request delay*/
			sync-edge = <0>;    /*Horzontal & vertical sync edge*/
			sync-ctrl = <1>;    /* H & V sync control */
			raster-order = <1>; /* Raster data order select*/
			fifo-th = <0>;      /*DMS FIFO threshold*/
			invert-pxl-clk = <1>;
			tft-alt-mode = <0>;
			stn-565-mode = <0>;
			mono-8bit-mode = <0>;
	 	   };

		display-timings {
			native-mode = <&timing0>;
			timing0:800x480 
			{
				clock-frequency = <33300000>;
				hactive = <800>;
				vactive = <480>;
				hfront-porch = <55>; 
				hback-porch = <46>;
				hsync-len = <20>;
				vsync-len = <10>;
				vback-porch = <23>;
				vfront-porch = <22>;		
				hsync-active = <1>;
				vsync-active = <1>;	
				de-active    = <1>;
				pixelclk-active = <1>;	
			    
	 
		};
     };

  };

};

&cpu0_opp_table {
	/*
	 * All PG 2.0 silicon may not support 1GHz but some of the early
	 * BeagleBone Blacks have PG 2.0 silicon which is guaranteed
	 * to support 1GHz OPP so enable it for PG 2.0 on this board.
	 */
	oppnitro-1000000000 {
		opp-supported-hw = <0x06 0x0100>;
	};
};

/*
 * Device Tree Source for AM33XX SoC
 *
 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This file is licensed under the terms of the GNU General Public License
 * version 2.  This program is licensed "as is" without any warranty of any
 * kind, whether express or implied.
 */

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/am33xx.h>
#include <dt-bindings/clock/am3.h>

/ {
	compatible = "ti,am33xx";
	interrupt-parent = <&intc>;
	#address-cells = <1>;
	#size-cells = <1>;
	chosen { };

	aliases {
		i2c0 = &i2c0;
		i2c1 = &i2c1;
		i2c2 = &i2c2;
		serial0 = &uart0;
		serial1 = &uart1;
		serial2 = &uart2;
		serial3 = &uart3;
		serial4 = &uart4;
		serial5 = &uart5;
		d-can0 = &dcan0;
		d-can1 = &dcan1;
		usb0 = &usb0;
		usb1 = &usb1;
		phy0 = &usb0_phy;
		phy1 = &usb1_phy;
		ethernet0 = &cpsw_emac0;
		ethernet1 = &cpsw_emac1;
		spi0 = &spi0;
		spi1 = &spi1;
	};

	cpus {
		#address-cells = <1>;
		#size-cells = <0>;
		cpu@0 {
			compatible = "arm,cortex-a8";
			enable-method = "ti,am3352";
			device_type = "cpu";
			reg = <0>;

			operating-points-v2 = <&cpu0_opp_table>;

			clocks = <&dpll_mpu_ck>;
			clock-names = "cpu";

			clock-latency = <300000>; /* From omap-cpufreq driver */
			cpu-idle-states = <&mpu_gate>;
		};

		idle-states {
			mpu_gate: mpu_gate {
				compatible = "arm,idle-state";
				entry-latency-us = <40>;
				exit-latency-us = <90>;
				min-residency-us = <300>;
				ti,idle-wkup-m3;
			};
		};
	};

	cpu0_opp_table: opp-table {
		compatible = "operating-points-v2-ti-cpu";
		syscon = <&scm_conf>;

		/*
		 * The three following nodes are marked with opp-suspend
		 * because the can not be enabled simultaneously on a
		 * single SoC.
		 */
		opp50-300000000 {
			opp-hz = /bits/ 64 <300000000>;
			opp-microvolt = <950000 931000 969000>;
			opp-supported-hw = <0x06 0x0010>;
			opp-suspend;
		};

		opp100-275000000 {
			opp-hz = /bits/ 64 <275000000>;
			opp-microvolt = <1100000 1078000 1122000>;
			opp-supported-hw = <0x01 0x00FF>;
			opp-suspend;
		};

		opp100-300000000 {
			opp-hz = /bits/ 64 <300000000>;
			opp-microvolt = <1100000 1078000 1122000>;
			opp-supported-hw = <0x06 0x0020>;
			opp-suspend;
		};

		opp100-500000000 {
			opp-hz = /bits/ 64 <500000000>;
			opp-microvolt = <1100000 1078000 1122000>;
			opp-supported-hw = <0x01 0xFFFF>;
		};

		opp100-600000000 {
			opp-hz = /bits/ 64 <600000000>;
			opp-microvolt = <1100000 1078000 1122000>;
			opp-supported-hw = <0x06 0x0040>;
		};

		opp120-600000000 {
			opp-hz = /bits/ 64 <600000000>;
			opp-microvolt = <1200000 1176000 1224000>;
			opp-supported-hw = <0x01 0xFFFF>;
		};

		opp120-720000000 {
			opp-hz = /bits/ 64 <720000000>;
			opp-microvolt = <1200000 1176000 1224000>;
			opp-supported-hw = <0x06 0x0080>;
		};

		oppturbo-720000000 {
			opp-hz = /bits/ 64 <720000000>;
			opp-microvolt = <1260000 1234800 1285200>;
			opp-supported-hw = <0x01 0xFFFF>;
		};

		oppturbo-800000000 {
			opp-hz = /bits/ 64 <800000000>;
			opp-microvolt = <1260000 1234800 1285200>;
			opp-supported-hw = <0x06 0x0100>;
		};

		oppnitro-1000000000 {
			opp-hz = /bits/ 64 <1000000000>;
			opp-microvolt = <1325000 1298500 1351500>;
			opp-supported-hw = <0x04 0x0200>;
		};
	};

	pmu@4b000000 {
		compatible = "arm,cortex-a8-pmu";
		interrupts = <3>;
		reg = <0x4b000000 0x1000000>;
		ti,hwmods = "debugss";
	};

	/*
	 * The soc node represents the soc top level view. It is used for IPs
	 * that are not memory mapped in the MPU view or for the MPU itself.
	 */
	soc {
		compatible = "ti,omap-infra";
		mpu {
			compatible = "ti,omap3-mpu";
			ti,hwmods = "mpu";
			pm-sram = <&pm_sram_code
				   &pm_sram_data>;
		};
	};

	/*
	 * XXX: Use a flat representation of the AM33XX interconnect.
	 * The real AM33XX interconnect network is quite complex. Since
	 * it will not bring real advantage to represent that in DT
	 * for the moment, just use a fake OCP bus entry to represent
	 * the whole bus hierarchy.
	 */
	ocp {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;
		ti,hwmods = "l3_main";

		l4_wkup: l4_wkup@44c00000 {
			compatible = "ti,am3-l4-wkup", "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			ranges = <0 0x44c00000 0x280000>;

			wkup_m3: wkup_m3@100000 {
				compatible = "ti,am3352-wkup-m3";
				reg = <0x100000 0x4000>,
				      <0x180000	0x2000>;
				reg-names = "umem", "dmem";
				ti,hwmods = "wkup_m3";
				ti,pm-firmware = "am335x-pm-firmware.elf";
			};

			prcm: prcm@200000 {
				compatible = "ti,am3-prcm", "simple-bus";
				reg = <0x200000 0x4000>;
				#address-cells = <1>;
				#size-cells = <1>;
				ranges = <0 0x200000 0x4000>;

				prcm_clocks: clocks {
					#address-cells = <1>;
					#size-cells = <0>;
				};

				prcm_clockdomains: clockdomains {
				};
			};

			scm: scm@210000 {
				compatible = "ti,am3-scm", "simple-bus";
				reg = <0x210000 0x2000>;
				#address-cells = <1>;
				#size-cells = <1>;
				#pinctrl-cells = <1>;
				ranges = <0 0x210000 0x2000>;

				am33xx_pinmux: pinmux@800 {
					compatible = "pinctrl-single";
					reg = <0x800 0x238>;
					#address-cells = <1>;
					#size-cells = <0>;
					#pinctrl-cells = <1>;
					pinctrl-single,register-width = <32>;
					pinctrl-single,function-mask = <0x7f>;
				};

				scm_conf: scm_conf@0 {
					compatible = "syscon", "simple-bus";
					reg = <0x0 0x800>;
					#address-cells = <1>;
					#size-cells = <1>;
					ranges = <0 0 0x800>;

					scm_clocks: clocks {
						#address-cells = <1>;
						#size-cells = <0>;
					};
				};

				wkup_m3_ipc: wkup_m3_ipc@1324 {
					compatible = "ti,am3352-wkup-m3-ipc";
					reg = <0x1324 0x24>;
					interrupts = <78>;
					ti,rproc = <&wkup_m3>;
					mboxes = <&mailbox &mbox_wkupm3>;
				};

				edma_xbar: dma-router@f90 {
					compatible = "ti,am335x-edma-crossbar";
					reg = <0xf90 0x40>;
					#dma-cells = <3>;
					dma-requests = <32>;
					dma-masters = <&edma>;
				};

				scm_clockdomains: clockdomains {
				};
			};
		};

		intc: interrupt-controller@48200000 {
			compatible = "ti,am33xx-intc";
			interrupt-controller;
			#interrupt-cells = <1>;
			reg = <0x48200000 0x1000>;
		};

		edma: edma@49000000 {
			compatible = "ti,edma3-tpcc";
			ti,hwmods = "tpcc";
			reg =	<0x49000000 0x10000>;
			reg-names = "edma3_cc";
			interrupts = <12 13 14>;
			interrupt-names = "edma3_ccint", "edma3_mperr",
					  "edma3_ccerrint";
			dma-requests = <64>;
			#dma-cells = <2>;

			ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
				   <&edma_tptc2 0>;

			ti,edma-memcpy-channels = <20 21>;
		};

		edma_tptc0: tptc@49800000 {
			compatible = "ti,edma3-tptc";
			ti,hwmods = "tptc0";
			reg =	<0x49800000 0x100000>;
			interrupts = <112>;
			interrupt-names = "edma3_tcerrint";
		};

		edma_tptc1: tptc@49900000 {
			compatible = "ti,edma3-tptc";
			ti,hwmods = "tptc1";
			reg =	<0x49900000 0x100000>;
			interrupts = <113>;
			interrupt-names = "edma3_tcerrint";
		};

		edma_tptc2: tptc@49a00000 {
			compatible = "ti,edma3-tptc";
			ti,hwmods = "tptc2";
			reg =	<0x49a00000 0x100000>;
			interrupts = <114>;
			interrupt-names = "edma3_tcerrint";
		};

		gpio0: gpio@44e07000 {
			compatible = "ti,omap4-gpio";
			ti,hwmods = "gpio1";
			gpio-controller;
			#gpio-cells = <2>;
			interrupt-controller;
			#interrupt-cells = <2>;
			reg = <0x44e07000 0x1000>;
			interrupts = <96>;
		};

		gpio1: gpio@4804c000 {
			compatible = "ti,omap4-gpio";
			ti,hwmods = "gpio2";
			gpio-controller;
			#gpio-cells = <2>;
			interrupt-controller;
			#interrupt-cells = <2>;
			reg = <0x4804c000 0x1000>;
			interrupts = <98>;
		};

		gpio2: gpio@481ac000 {
			compatible = "ti,omap4-gpio";
			ti,hwmods = "gpio3";
			gpio-controller;
			#gpio-cells = <2>;
			interrupt-controller;
			#interrupt-cells = <2>;
			reg = <0x481ac000 0x1000>;
			interrupts = <32>;
		};

		gpio3: gpio@481ae000 {
			compatible = "ti,omap4-gpio";
			ti,hwmods = "gpio4";
			gpio-controller;
			#gpio-cells = <2>;
			interrupt-controller;
			#interrupt-cells = <2>;
			reg = <0x481ae000 0x1000>;
			interrupts = <62>;
		};

		uart0: serial@44e09000 {
			compatible = "ti,am3352-uart", "ti,omap3-uart";
			ti,hwmods = "uart1";
			clock-frequency = <48000000>;
			reg = <0x44e09000 0x2000>;
			interrupts = <72>;
			status = "disabled";
			dmas = <&edma 26 0>, <&edma 27 0>;
			dma-names = "tx", "rx";
		};

		uart1: serial@48022000 {
			compatible = "ti,am3352-uart", "ti,omap3-uart";
			ti,hwmods = "uart2";
			clock-frequency = <48000000>;
			reg = <0x48022000 0x2000>;
			interrupts = <73>;
			status = "disabled";
			dmas = <&edma 28 0>, <&edma 29 0>;
			dma-names = "tx", "rx";
		};

		uart2: serial@48024000 {
			compatible = "ti,am3352-uart", "ti,omap3-uart";
			ti,hwmods = "uart3";
			clock-frequency = <48000000>;
			reg = <0x48024000 0x2000>;
			interrupts = <74>;
			status = "disabled";
			dmas = <&edma 30 0>, <&edma 31 0>;
			dma-names = "tx", "rx";
		};

		uart3: serial@481a6000 {
			compatible = "ti,am3352-uart", "ti,omap3-uart";
			ti,hwmods = "uart4";
			clock-frequency = <48000000>;
			reg = <0x481a6000 0x2000>;
			interrupts = <44>;
			status = "disabled";
		};

		uart4: serial@481a8000 {
			compatible = "ti,am3352-uart", "ti,omap3-uart";
			ti,hwmods = "uart5";
			clock-frequency = <48000000>;
			reg = <0x481a8000 0x2000>;
			interrupts = <45>;
			status = "disabled";
		};

		uart5: serial@481aa000 {
			compatible = "ti,am3352-uart", "ti,omap3-uart";
			ti,hwmods = "uart6";
			clock-frequency = <48000000>;
			reg = <0x481aa000 0x2000>;
			interrupts = <46>;
			status = "disabled";
		};

		i2c0: i2c@44e0b000 {
			compatible = "ti,am335x-i2c,omap4-i2c";
			#address-cells = <1>;
			#size-cells = <0>;
			ti,hwmods = "i2c1";
			reg = <0x44e0b000 0x1000>;
			interrupts = <70>;
			status = "okay";
		};

		i2c1: i2c@4802a000 {
			compatible = "ti,omap4-i2c";
			#address-cells = <1>;
			#size-cells = <0>;
			ti,hwmods = "i2c2";
			reg = <0x4802a000 0x1000>;
			interrupts = <71>;
			status = "okay";
		};

		i2c2: i2c@4819c000 {
			compatible = "ti,omap4-i2c";
			#address-cells = <1>;
			#size-cells = <0>;
			ti,hwmods = "i2c3";
			reg = <0x4819c000 0x1000>;
			interrupts = <30>;
			status = "disabled";
		};

		mmc1: mmc@48060000 {
			compatible = "ti,omap4-hsmmc";
			ti,hwmods = "mmc1";
			ti,dual-volt;
			ti,needs-special-reset;
			ti,needs-special-hs-handling;
			dmas = <&edma_xbar 24 0 0
				&edma_xbar 25 0 0>;
			dma-names = "tx", "rx";
			interrupts = <64>;
			reg = <0x48060000 0x1000>;
			status = "disabled";
		};

		mmc2: mmc@481d8000 {
			compatible = "ti,omap4-hsmmc";
			ti,hwmods = "mmc2";
			ti,needs-special-reset;
			dmas = <&edma 2 0
				&edma 3 0>;
			dma-names = "tx", "rx";
			interrupts = <28>;
			reg = <0x481d8000 0x1000>;
			status = "disabled";
		};

		mmc3: mmc@47810000 {
			compatible = "ti,omap4-hsmmc";
			ti,hwmods = "mmc3";
			ti,needs-special-reset;
			interrupts = <29>;
			reg = <0x47810000 0x1000>;
			status = "disabled";
		};

		hwspinlock: spinlock@480ca000 {
			compatible = "ti,omap4-hwspinlock";
			reg = <0x480ca000 0x1000>;
			ti,hwmods = "spinlock";
			#hwlock-cells = <1>;
		};

		wdt2: wdt@44e35000 {
			compatible = "ti,omap3-wdt";
			ti,hwmods = "wd_timer2";
			reg = <0x44e35000 0x1000>;
			interrupts = <91>;
		};

		dcan0: can@481cc000 {
			compatible = "ti,am3352-d_can";
			ti,hwmods = "d_can0";
			reg = <0x481cc000 0x2000>;
			clocks = <&dcan0_fck>;
			clock-names = "fck";
			syscon-raminit = <&scm_conf 0x644 0>;
			interrupts = <52>;
			status = "disabled";
		};

		dcan1: can@481d0000 {
			compatible = "ti,am3352-d_can";
			ti,hwmods = "d_can1";
			reg = <0x481d0000 0x2000>;
			clocks = <&dcan1_fck>;
			clock-names = "fck";
			syscon-raminit = <&scm_conf 0x644 1>;
			interrupts = <55>;
			status = "disabled";
		};

		mailbox: mailbox@480c8000 {
			compatible = "ti,omap4-mailbox";
			reg = <0x480C8000 0x200>;
			interrupts = <77>;
			ti,hwmods = "mailbox";
			#mbox-cells = <1>;
			ti,mbox-num-users = <4>;
			ti,mbox-num-fifos = <8>;
			mbox_wkupm3: wkup_m3 {
				ti,mbox-send-noirq;
				ti,mbox-tx = <0 0 0>;
				ti,mbox-rx = <0 0 3>;
			};
		};

		timer1: timer@44e31000 {
			compatible = "ti,am335x-timer-1ms";
			reg = <0x44e31000 0x400>;
			interrupts = <67>;
			ti,hwmods = "timer1";
			ti,timer-alwon;
			clocks = <&timer1_fck>;
			clock-names = "fck";
		};

		timer2: timer@48040000 {
			compatible = "ti,am335x-timer";
			reg = <0x48040000 0x400>;
			interrupts = <68>;
			ti,hwmods = "timer2";
			clocks = <&timer2_fck>;
			clock-names = "fck";
		};

		timer3: timer@48042000 {
			compatible = "ti,am335x-timer";
			reg = <0x48042000 0x400>;
			interrupts = <69>;
			ti,hwmods = "timer3";
		};

		timer4: timer@48044000 {
			compatible = "ti,am335x-timer";
			reg = <0x48044000 0x400>;
			interrupts = <92>;
			ti,hwmods = "timer4";
			ti,timer-pwm;
		};

		timer5: timer@48046000 {
			compatible = "ti,am335x-timer";
			reg = <0x48046000 0x400>;
			interrupts = <93>;
			ti,hwmods = "timer5";
			ti,timer-pwm;
		};

		timer6: timer@48048000 {
			compatible = "ti,am335x-timer";
			reg = <0x48048000 0x400>;
			interrupts = <94>;
			ti,hwmods = "timer6";
			ti,timer-pwm;
		};

		timer7: timer@4804a000 {
			compatible = "ti,am335x-timer";
			reg = <0x4804a000 0x400>;
			interrupts = <95>;
			ti,hwmods = "timer7";
			ti,timer-pwm;
		};

		rtc: rtc@44e3e000 {
			compatible = "ti,am3352-rtc", "ti,da830-rtc";
			reg = <0x44e3e000 0x1000>;
			interrupts = <75
				      76>;
			ti,hwmods = "rtc";
			clocks = <&l4_per_clkctrl AM3_CLKDIV32K_CLKCTRL 0>;
			clock-names = "int-clk";
		};

		spi0: spi@48030000 {
			compatible = "ti,omap4-mcspi";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0x48030000 0x400>;
			interrupts = <65>;
			ti,spi-num-cs = <2>;
			ti,hwmods = "spi0";
			dmas = <&edma 16 0
				&edma 17 0
				&edma 18 0
				&edma 19 0>;
			dma-names = "tx0", "rx0", "tx1", "rx1";
			status = "disabled";
		};

		spi1: spi@481a0000 {
			compatible = "ti,omap4-mcspi";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0x481a0000 0x400>;
			interrupts = <125>;
			ti,spi-num-cs = <2>;
			ti,hwmods = "spi1";
			dmas = <&edma 42 0
				&edma 43 0
				&edma 44 0
				&edma 45 0>;
			dma-names = "tx0", "rx0", "tx1", "rx1";
			status = "disabled";
		};

		usb: usb@47400000 {
			compatible = "ti,am33xx-usb";
			reg = <0x47400000 0x1000>;
			ranges;
			#address-cells = <1>;
			#size-cells = <1>;
			ti,hwmods = "usb_otg_hs";
			status = "disabled";

			usb_ctrl_mod: control@44e10620 {
				compatible = "ti,am335x-usb-ctrl-module";
				reg = <0x44e10620 0x10
					0x44e10648 0x4>;
				reg-names = "phy_ctrl", "wakeup";
				status = "disabled";
			};

			usb0_phy: usb-phy@47401300 {
				compatible = "ti,am335x-usb-phy";
				reg = <0x47401300 0x100>;
				reg-names = "phy";
				status = "disabled";
				ti,ctrl_mod = <&usb_ctrl_mod>;
				#phy-cells = <0>;
			};

			usb0: usb@47401000 {
				compatible = "ti,musb-am33xx";
				status = "disabled";
				reg = <0x47401400 0x400
					0x47401000 0x200>;
				reg-names = "mc", "control";

				interrupts = <18>;
				interrupt-names = "mc";
				dr_mode = "otg";
				mentor,multipoint = <1>;
				mentor,num-eps = <16>;
				mentor,ram-bits = <12>;
				mentor,power = <500>;
				phys = <&usb0_phy>;

				dmas = <&cppi41dma  0 0 &cppi41dma  1 0
					&cppi41dma  2 0 &cppi41dma  3 0
					&cppi41dma  4 0 &cppi41dma  5 0
					&cppi41dma  6 0 &cppi41dma  7 0
					&cppi41dma  8 0 &cppi41dma  9 0
					&cppi41dma 10 0 &cppi41dma 11 0
					&cppi41dma 12 0 &cppi41dma 13 0
					&cppi41dma 14 0 &cppi41dma  0 1
					&cppi41dma  1 1 &cppi41dma  2 1
					&cppi41dma  3 1 &cppi41dma  4 1
					&cppi41dma  5 1 &cppi41dma  6 1
					&cppi41dma  7 1 &cppi41dma  8 1
					&cppi41dma  9 1 &cppi41dma 10 1
					&cppi41dma 11 1 &cppi41dma 12 1
					&cppi41dma 13 1 &cppi41dma 14 1>;
				dma-names =
					"rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
					"rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
					"rx14", "rx15",
					"tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
					"tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
					"tx14", "tx15";
			};

			usb1_phy: usb-phy@47401b00 {
				compatible = "ti,am335x-usb-phy";
				reg = <0x47401b00 0x100>;
				reg-names = "phy";
				status = "disabled";
				ti,ctrl_mod = <&usb_ctrl_mod>;
				#phy-cells = <0>;
			};

			usb1: usb@47401800 {
				compatible = "ti,musb-am33xx";
				status = "disabled";
				reg = <0x47401c00 0x400
					0x47401800 0x200>;
				reg-names = "mc", "control";
				interrupts = <19>;
				interrupt-names = "mc";
				dr_mode = "otg";
				mentor,multipoint = <1>;
				mentor,num-eps = <16>;
				mentor,ram-bits = <12>;
				mentor,power = <500>;
				phys = <&usb1_phy>;

				dmas = <&cppi41dma 15 0 &cppi41dma 16 0
					&cppi41dma 17 0 &cppi41dma 18 0
					&cppi41dma 19 0 &cppi41dma 20 0
					&cppi41dma 21 0 &cppi41dma 22 0
					&cppi41dma 23 0 &cppi41dma 24 0
					&cppi41dma 25 0 &cppi41dma 26 0
					&cppi41dma 27 0 &cppi41dma 28 0
					&cppi41dma 29 0 &cppi41dma 15 1
					&cppi41dma 16 1 &cppi41dma 17 1
					&cppi41dma 18 1 &cppi41dma 19 1
					&cppi41dma 20 1 &cppi41dma 21 1
					&cppi41dma 22 1 &cppi41dma 23 1
					&cppi41dma 24 1 &cppi41dma 25 1
					&cppi41dma 26 1 &cppi41dma 27 1
					&cppi41dma 28 1 &cppi41dma 29 1>;
				dma-names =
					"rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
					"rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
					"rx14", "rx15",
					"tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
					"tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
					"tx14", "tx15";
			};

			cppi41dma: dma-controller@47402000 {
				compatible = "ti,am3359-cppi41";
				reg =  <0x47400000 0x1000
					0x47402000 0x1000
					0x47403000 0x1000
					0x47404000 0x4000>;
				reg-names = "glue", "controller", "scheduler", "queuemgr";
				interrupts = <17>;
				interrupt-names = "glue";
				#dma-cells = <2>;
				#dma-channels = <30>;
				#dma-requests = <256>;
				status = "disabled";
			};
		};

		epwmss0: epwmss@48300000 {
			compatible = "ti,am33xx-pwmss";
			reg = <0x48300000 0x10>;
			ti,hwmods = "epwmss0";
			#address-cells = <1>;
			#size-cells = <1>;
			status = "disabled";
			ranges = <0x48300100 0x48300100 0x80   /* ECAP */
				  0x48300180 0x48300180 0x80   /* EQEP */
				  0x48300200 0x48300200 0x80>; /* EHRPWM */

			ecap0: ecap@48300100 {
				compatible = "ti,am3352-ecap",
					     "ti,am33xx-ecap";
				#pwm-cells = <3>;
				reg = <0x48300100 0x80>;
				clocks = <&l4ls_gclk>;
				clock-names = "fck";
				interrupts = <31>;
				interrupt-names = "ecap0";
				status = "disabled";
			};

			ehrpwm0: pwm@48300200 {
				compatible = "ti,am3352-ehrpwm",
					     "ti,am33xx-ehrpwm";
				#pwm-cells = <3>;
				reg = <0x48300200 0x80>;
				clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
				clock-names = "tbclk", "fck";
				status = "disabled";
			};
		};

		epwmss1: epwmss@48302000 {
			compatible = "ti,am33xx-pwmss";
			reg = <0x48302000 0x10>;
			ti,hwmods = "epwmss1";
			#address-cells = <1>;
			#size-cells = <1>;
			status = "disabled";
			ranges = <0x48302100 0x48302100 0x80   /* ECAP */
				  0x48302180 0x48302180 0x80   /* EQEP */
				  0x48302200 0x48302200 0x80>; /* EHRPWM */

			ecap1: ecap@48302100 {
				compatible = "ti,am3352-ecap",
					     "ti,am33xx-ecap";
				#pwm-cells = <3>;
				reg = <0x48302100 0x80>;
				clocks = <&l4ls_gclk>;
				clock-names = "fck";
				interrupts = <47>;
				interrupt-names = "ecap1";
				status = "disabled";
			};

			ehrpwm1: pwm@48302200 {
				compatible = "ti,am3352-ehrpwm",
					     "ti,am33xx-ehrpwm";
				#pwm-cells = <3>;
				reg = <0x48302200 0x80>;
				clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
				clock-names = "tbclk", "fck";
				status = "disabled";
			};
		};

		epwmss2: epwmss@48304000 {
			compatible = "ti,am33xx-pwmss";
			reg = <0x48304000 0x10>;
			ti,hwmods = "epwmss2";
			#address-cells = <1>;
			#size-cells = <1>;
			status = "disabled";
			ranges = <0x48304100 0x48304100 0x80   /* ECAP */
				  0x48304180 0x48304180 0x80   /* EQEP */
				  0x48304200 0x48304200 0x80>; /* EHRPWM */

			ecap2: ecap@48304100 {
				compatible = "ti,am3352-ecap",
					     "ti,am33xx-ecap";
				#pwm-cells = <3>;
				reg = <0x48304100 0x80>;
				clocks = <&l4ls_gclk>;
				clock-names = "fck";
				interrupts = <61>;
				interrupt-names = "ecap2";
				status = "disabled";
			};

			ehrpwm2: pwm@48304200 {
				compatible = "ti,am3352-ehrpwm",
					     "ti,am33xx-ehrpwm";
				#pwm-cells = <3>;
				reg = <0x48304200 0x80>;
				clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
				clock-names = "tbclk", "fck";
				status = "disabled";
			};
		};

		mac: ethernet@4a100000 {
			compatible = "ti,am335x-cpsw","ti,cpsw";
			ti,hwmods = "cpgmac0";
			clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
			clock-names = "fck", "cpts";
			cpdma_channels = <8>;
			ale_entries = <1024>;
			bd_ram_size = <0x2000>;
			mac_control = <0x20>;
			slaves = <2>;
			active_slave = <0>;
			cpts_clock_mult = <0x80000000>;
			cpts_clock_shift = <29>;
			reg = <0x4a100000 0x800
			       0x4a101200 0x100>;
			#address-cells = <1>;
			#size-cells = <1>;
			/*
			 * c0_rx_thresh_pend
			 * c0_rx_pend
			 * c0_tx_pend
			 * c0_misc_pend
			 */
			interrupts = <40 41 42 43>;
			ranges;
			syscon = <&scm_conf>;
			status = "disabled";

			davinci_mdio: mdio@4a101000 {
				compatible = "ti,cpsw-mdio","ti,davinci_mdio";
				#address-cells = <1>;
				#size-cells = <0>;
				ti,hwmods = "davinci_mdio";
				bus_freq = <1000000>;
				reg = <0x4a101000 0x100>;
				status = "disabled";
			};

			cpsw_emac0: slave@4a100200 {
				/* Filled in by U-Boot */
				mac-address = [ 00 00 00 00 00 00 ];
			};

			cpsw_emac1: slave@4a100300 {
				/* Filled in by U-Boot */
				mac-address = [ 00 00 00 00 00 00 ];
			};

			phy_sel: cpsw-phy-sel@44e10650 {
				compatible = "ti,am3352-cpsw-phy-sel";
				reg= <0x44e10650 0x4>;
				reg-names = "gmii-sel";
			};
		};

		ocmcram: ocmcram@40300000 {
			compatible = "mmio-sram";
			reg = <0x40300000 0x10000>; /* 64k */
			ranges = <0x0 0x40300000 0x10000>;
			#address-cells = <1>;
			#size-cells = <1>;

			pm_sram_code: pm-sram-code@0 {
				compatible = "ti,sram";
				reg = <0x0 0x1000>;
				protect-exec;
			};

			pm_sram_data: pm-sram-data@1000 {
				compatible = "ti,sram";
				reg = <0x1000 0x1000>;
				pool;
			};
		};

		pruss_soc_bus: pruss-soc-bus@4a326004 {
			compatible = "ti,am3356-pruss-soc-bus";
			reg = <0x4a326004 0x4>;
			ti,hwmods = "pruss";
			#address-cells = <1>;
			#size-cells = <1>;
			ranges;
			status = "disabled";

			pruss: pruss@4a300000 {
				compatible = "ti,am3356-pruss";
				reg = <0x4a300000 0x80000>;
				interrupts = <20 21 22 23 24 25 26 27>;
				interrupt-names = "host2", "host3", "host4",
						  "host5", "host6", "host7",
						  "host8", "host9";
				#address-cells = <1>;
				#size-cells = <1>;
				ranges;
				status = "disabled";

				pruss_mem: memories@4a300000 {
					reg = <0x4a300000 0x2000>,
					      <0x4a302000 0x2000>,
					      <0x4a310000 0x3000>,
					      <0x4a32e000 0x31c>,
					      <0x4a330000 0x60>;
					reg-names = "dram0", "dram1",
						    "shrdram2", "iep", "ecap";
				};

				pruss_cfg: cfg@4a326000 {
					compatible = "syscon";
					reg = <0x4a326000 0x2000>;
				};

				pruss_mii_rt: mii-rt@4a332000 {
					compatible = "syscon";
					reg = <0x4a332000 0x58>;
				};

				pruss_intc: interrupt-controller@4a320000 {
					compatible = "ti,am3356-pruss-intc";
					reg = <0x4a320000 0x2000>;
					interrupt-controller;
					#interrupt-cells = <1>;
				};

				pru0: pru@4a334000 {
					compatible = "ti,am3356-pru";
					reg = <0x4a334000 0x2000>,
					      <0x4a322000 0x400>,
					      <0x4a322400 0x100>;
					reg-names = "iram", "control", "debug";
					firmware-name = "am335x-pru0-fw";
					interrupt-parent = <&pruss_intc>;
					interrupts = <16>, <17>;
					interrupt-names = "vring", "kick";
				};

				pru1: pru@4a338000 {
					compatible = "ti,am3356-pru";
					reg = <0x4a338000 0x2000>,
					      <0x4a324000 0x400>,
					      <0x4a324400 0x100>;
					reg-names = "iram", "control", "debug";
					firmware-name = "am335x-pru1-fw";
					interrupt-parent = <&pruss_intc>;
					interrupts = <18>, <19>;
					interrupt-names = "vring", "kick";
				};

				pruss_mdio: mdio@4a332400 {
					compatible = "ti,davinci_mdio";
					reg = <0x4a332400 0x90>;
					clocks = <&dpll_core_m4_ck>;
					clock-names = "fck";
					bus_freq = <1000000>;
					#address-cells = <1>;
					#size-cells = <0>;
					status = "disabled";
				};
			};
		};

		elm: elm@48080000 {
			compatible = "ti,am3352-elm";
			reg = <0x48080000 0x2000>;
			interrupts = <4>;
			ti,hwmods = "elm";
			status = "disabled";
		};

		lcdc: lcdc@4830e000 {
			compatible = "ti,am33xx-tilcdc";
			reg = <0x4830e000 0x1000>;
			interrupts = <36>;
			ti,hwmods = "lcdc";
			status = "okay";
		};

		tscadc: tscadc@44e0d000 {
			compatible = "ti,am3359-tscadc";
			reg = <0x44e0d000 0x1000>;
			interrupts = <16>;
			ti,hwmods = "adc_tsc";
			status = "okay";
			dmas = <&edma 53 0>, <&edma 57 0>;
			dma-names = "fifo0", "fifo1";

			tsc {
				compatible = "ti,am3359-tsc";
			};
			am335x_adc: adc {
				#io-channel-cells = <1>;
				compatible = "ti,am3359-adc";
			};
		};

		emif: emif@4c000000 {
			compatible = "ti,emif-am3352";
			reg = <0x4c000000 0x1000000>;
			ti,hwmods = "emif";
			interrupts = <101>;
			sram = <&pm_sram_code
				&pm_sram_data>;
			ti,no-idle;
		};

		gpmc: gpmc@50000000 {
			compatible = "ti,am3352-gpmc";
			ti,hwmods = "gpmc";
			ti,no-idle-on-init;
			reg = <0x50000000 0x2000>;
			interrupts = <100>;
			dmas = <&edma 52 0>;
			dma-names = "rxtx";
			gpmc,num-cs = <7>;
			gpmc,num-waitpins = <2>;
			#address-cells = <2>;
			#size-cells = <1>;
			interrupt-controller;
			#interrupt-cells = <2>;
			gpio-controller;
			#gpio-cells = <2>;
			status = "disabled";
		};

		sham: sham@53100000 {
			compatible = "ti,omap4-sham";
			ti,hwmods = "sham";
			reg = <0x53100000 0x200>;
			interrupts = <109>;
			dmas = <&edma 36 0>;
			dma-names = "rx";
		};

		aes: aes@53500000 {
			compatible = "ti,omap4-aes";
			ti,hwmods = "aes";
			reg = <0x53500000 0xa0>;
			interrupts = <103>;
			dmas = <&edma 6 0>,
			       <&edma 5 0>;
			dma-names = "tx", "rx";
		};

		mcasp0: mcasp@48038000 {
			compatible = "ti,am33xx-mcasp-audio";
			ti,hwmods = "mcasp0";
			reg = <0x48038000 0x2000>,
			      <0x46000000 0x400000>;
			reg-names = "mpu", "dat";
			interrupts = <80>, <81>;
			interrupt-names = "tx", "rx";
			status = "disabled";
			dmas = <&edma 8 2>,
				<&edma 9 2>;
			dma-names = "tx", "rx";
		};

		mcasp1: mcasp@4803c000 {
			compatible = "ti,am33xx-mcasp-audio";
			ti,hwmods = "mcasp1";
			reg = <0x4803C000 0x2000>,
			      <0x46400000 0x400000>;
			reg-names = "mpu", "dat";
			interrupts = <82>, <83>;
			interrupt-names = "tx", "rx";
			status = "disabled";
			dmas = <&edma 10 2>,
				<&edma 11 2>;
			dma-names = "tx", "rx";
		};

		rng: rng@48310000 {
			compatible = "ti,omap4-rng";
			ti,hwmods = "rng";
			reg = <0x48310000 0x2000>;
			interrupts = <111>;
		};

		sgx: sgx@56000000 {
			compatible = "ti,am3352-sgx530", "img,sgx530";
			ti,hwmods = "gfx";
			reg = <0x56000000 0x10000>;
			interrupts = <37>;
			clocks = <&gfx_fck_div_ck>;
			clock-names = "fclk";
			status = "disabled";
		};
	};
};

#include "am33xx-clocks.dtsi"

Please help me to resolve the touch issue.

Thanks,

M.Ramarao.

  • /*
     * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License version 2 as
     * published by the Free Software Foundation.
     */
    
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/pinctrl/am33xx.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    
    &ldo3_reg {
    	regulator-min-microvolt = <1800000>;
    	regulator-max-microvolt = <1800000>;
    	regulator-always-on;
    };
    
    &mmc1 {
    	vmmc-supply = <&vmmcsd_fixed>;
    	
    };
    
    &mmc2 {
    	vmmc-supply = <&vmmcsd_fixed>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&emmc_pins>;
    	bus-width = <8>;
    	status = "okay";
    };
    
    &am33xx_pinmux {
    	nxp_hdmi_bonelt_pins: lcd_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0)		/* lcd_data0.lcd_data0 */
    			AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0)		/* lcd_data1.lcd_data1 */
    			AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0)		/* lcd_data2.lcd_data2 */
    			AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0)		/* lcd_data3.lcd_data3 */
    			AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0)		/* lcd_data4.lcd_data4 */
    			AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0)		/* lcd_data5.lcd_data5 */
    			AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0)		/* lcd_data6.lcd_data6 */
    			AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0)		/* lcd_data7.lcd_data7 */
    			AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0)		/* lcd_data8.lcd_data8 */
    			AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0)		/* lcd_data9.lcd_data9 */
    			AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0)		/* lcd_data10.lcd_data10 */
    			AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0)		/* lcd_data11.lcd_data11 */
    			AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0)		/* lcd_data12.lcd_data12 */
    			AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0)		/* lcd_data13.lcd_data13 */
    			AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0)		/* lcd_data14.lcd_data14 */
    			AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0)		/* lcd_data15.lcd_data15 */
    			AM33XX_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0)	/* lcd_vsync.lcd_vsync */
    			AM33XX_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0)	/* lcd_hsync.lcd_hsync */
    			AM33XX_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0)	/* lcd_pclk.lcd_pclk */
    			AM33XX_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0)	/* lcd_ac_bias_en.lcd_ac_bias_en */
    			AM33XX_IOPAD(0x850, PIN_OUTPUT_PULLUP | MUX_MODE7)/*
    gpmc_a4.gpio1[20] LCD_EN*/
    
    		>;
      };
    	i2c1_pins:pinmux_i2c1_pins {
    		pinctrl-single,pins = <
    		AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE2) /*i2c0_SCL*/
    		AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE2) /*i2c0_SDA*/
    			 >;  	
    	};
    	ts_irq_pin:pinmux_ts_irq_pin {
    		pinctrl-single,pins = <
    		AM33XX_IOPAD(0x9a4, PIN_INPUT_PULLDOWN | MUX_MODE7) /*touch_irq*/
    		  >;
    };
    
    };
    
    #if 0
    
    &tscadc{
    	 status = "okay";
    	tsc {
    		ti,wires = <4>;
    		ti,x-plate-resistance = <200>;
    		ti,coordinate-readouts = <5>;
    		ti,wire-config = <0x00 0x11 0x22 0x33>;
    		ti,charge-delay =<0x400>;
    	  };
    	
              adc {
    
    		ti,adc-channels = <4 5 6 7>;
    };		
    };
    #endif
    
    &i2c1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c1_pins>;
    	status = "okay";
    	clock-frequency = <100000>;
    	#address-cells = <1>;
    	#size-cells = <0>;
    
    
     	edt-ft5x06@38{
    		       status = "okay";
    		       comaptible = "edt,edt-f5406","edt,edt-f5x06";
    		       pinctrl-names = "default";
    		       pinctrl-0 = <&ts_irq_pin>;
    		       reg = <0x38>;
    		       interrupt-parent = <&gpio3>;
    		       interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
    		       touchscreen-size-x= <800>;
    		       touchscreen-size-y= <480>;
    		       touchscreen-swap = <1>;
    		       touchscreen-revert-x = <1>;		
    		       touchscreen-revert-y = <1>;
    
    	};
    };			
    
    
    &lcdc {
    
    	status = "okay";
    
    /* If you want to get 24 bit RGB and 16 BGR mode instead of
    * current 16 bit RGB and 24 BGR modes, set the propety
    * below to "crossed" and uncomment the video-ports -property
    * in tda19988 node.
    */
    	 //blue-and-red-wiring = "crossed";
    	 video-ports = <0x234501>;
    	 blue-and-red-wiring = "straight";
    
    };
    
    
    
    

    /*
     * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License version 2 as
     * published by the Free Software Foundation.
     */
    /dts-v1/;
    
    #include "am33xx.dtsi"
    #include "am335x-bone-common.dtsi"
    #include "am335x-boneblack-common.dtsi"
    
    &sgx {
    	status = "okay";
    };
    / {
    	model = "TI AM335x BeagleBone Black";
    	compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
    
    	lcd0:panel{
    		compatible = "ti,tilcdc,panel";
    		pinctrl-names = "default";
    		pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
    		enable-gpios = <&gpio1 20 0>;
    		status = "okay";
    		panel-info {
    			ac-bias = <255>;  /*AC Bias pin frequency*/
    			ac-bias-intrpt = <0>;/* AC Bias Pin transition per 							Interrupt*/
    			dma-burst-sz = <16>; /* DMA burst size*/
    			bpp = <16>;         /* bits per pixel*/
    			fdd = <0x80>;	    /* FIFO DMA request delay*/
    			sync-edge = <0>;    /*Horzontal & vertical sync edge*/
    			sync-ctrl = <1>;    /* H & V sync control */
    			raster-order = <1>; /* Raster data order select*/
    			fifo-th = <0>;      /*DMS FIFO threshold*/
    			invert-pxl-clk = <1>;
    			tft-alt-mode = <0>;
    			stn-565-mode = <0>;
    			mono-8bit-mode = <0>;
    	 	   };
    
    		display-timings {
    			native-mode = <&timing0>;
    			timing0:800x480 
    			{
    				clock-frequency = <45000000>; //33000000
    				hactive = <800>;
    				vactive = <480>;
    				hfront-porch = <55>; 
    				hback-porch = <46>;
    				hsync-len = <20>;
    				vsync-len = <10>;
    				vback-porch = <23>;
    				vfront-porch = <22>;		
    				hsync-active = <1>;
    				vsync-active = <1>;	
    				de-active    = <1>;
    				pixelclk-active = <1>;	
    			    
    	 
    		};
         };
    
      };
    
    };
    
    &cpu0_opp_table {
    	/*
    	 * All PG 2.0 silicon may not support 1GHz but some of the early
    	 * BeagleBone Blacks have PG 2.0 silicon which is guaranteed
    	 * to support 1GHz OPP so enable it for PG 2.0 on this board.
    	 */
    	oppnitro-1000000000 {
    		opp-supported-hw = <0x06 0x0100>;
    	};
    };
    
    
    /*
     * Device Tree Source for AM33XX SoC
     *
     * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This file is licensed under the terms of the GNU General Public License
     * version 2.  This program is licensed "as is" without any warranty of any
     * kind, whether express or implied.
     */
    
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/pinctrl/am33xx.h>
    #include <dt-bindings/clock/am3.h>
    
    / {
    	compatible = "ti,am33xx";
    	interrupt-parent = <&intc>;
    	#address-cells = <1>;
    	#size-cells = <1>;
    	chosen { };
    
    	aliases {
    		i2c0 = &i2c0;
    		i2c1 = &i2c1;
    		i2c2 = &i2c2;
    		serial0 = &uart0;
    		serial1 = &uart1;
    		serial2 = &uart2;
    		serial3 = &uart3;
    		serial4 = &uart4;
    		serial5 = &uart5;
    		d-can0 = &dcan0;
    		d-can1 = &dcan1;
    		usb0 = &usb0;
    		usb1 = &usb1;
    		phy0 = &usb0_phy;
    		phy1 = &usb1_phy;
    		ethernet0 = &cpsw_emac0;
    		ethernet1 = &cpsw_emac1;
    		spi0 = &spi0;
    		spi1 = &spi1;
    	};
    
    	cpus {
    		#address-cells = <1>;
    		#size-cells = <0>;
    		cpu@0 {
    			compatible = "arm,cortex-a8";
    			enable-method = "ti,am3352";
    			device_type = "cpu";
    			reg = <0>;
    
    			operating-points-v2 = <&cpu0_opp_table>;
    
    			clocks = <&dpll_mpu_ck>;
    			clock-names = "cpu";
    
    			clock-latency = <300000>; /* From omap-cpufreq driver */
    			cpu-idle-states = <&mpu_gate>;
    		};
    
    		idle-states {
    			mpu_gate: mpu_gate {
    				compatible = "arm,idle-state";
    				entry-latency-us = <40>;
    				exit-latency-us = <90>;
    				min-residency-us = <300>;
    				ti,idle-wkup-m3;
    			};
    		};
    	};
    
    	cpu0_opp_table: opp-table {
    		compatible = "operating-points-v2-ti-cpu";
    		syscon = <&scm_conf>;
    
    		/*
    		 * The three following nodes are marked with opp-suspend
    		 * because the can not be enabled simultaneously on a
    		 * single SoC.
    		 */
    		opp50-300000000 {
    			opp-hz = /bits/ 64 <300000000>;
    			opp-microvolt = <950000 931000 969000>;
    			opp-supported-hw = <0x06 0x0010>;
    			opp-suspend;
    		};
    
    		opp100-275000000 {
    			opp-hz = /bits/ 64 <275000000>;
    			opp-microvolt = <1100000 1078000 1122000>;
    			opp-supported-hw = <0x01 0x00FF>;
    			opp-suspend;
    		};
    
    		opp100-300000000 {
    			opp-hz = /bits/ 64 <300000000>;
    			opp-microvolt = <1100000 1078000 1122000>;
    			opp-supported-hw = <0x06 0x0020>;
    			opp-suspend;
    		};
    
    		opp100-500000000 {
    			opp-hz = /bits/ 64 <500000000>;
    			opp-microvolt = <1100000 1078000 1122000>;
    			opp-supported-hw = <0x01 0xFFFF>;
    		};
    
    		opp100-600000000 {
    			opp-hz = /bits/ 64 <600000000>;
    			opp-microvolt = <1100000 1078000 1122000>;
    			opp-supported-hw = <0x06 0x0040>;
    		};
    
    		opp120-600000000 {
    			opp-hz = /bits/ 64 <600000000>;
    			opp-microvolt = <1200000 1176000 1224000>;
    			opp-supported-hw = <0x01 0xFFFF>;
    		};
    
    		opp120-720000000 {
    			opp-hz = /bits/ 64 <720000000>;
    			opp-microvolt = <1200000 1176000 1224000>;
    			opp-supported-hw = <0x06 0x0080>;
    		};
    
    		oppturbo-720000000 {
    			opp-hz = /bits/ 64 <720000000>;
    			opp-microvolt = <1260000 1234800 1285200>;
    			opp-supported-hw = <0x01 0xFFFF>;
    		};
    
    		oppturbo-800000000 {
    			opp-hz = /bits/ 64 <800000000>;
    			opp-microvolt = <1260000 1234800 1285200>;
    			opp-supported-hw = <0x06 0x0100>;
    		};
    
    		oppnitro-1000000000 {
    			opp-hz = /bits/ 64 <1000000000>;
    			opp-microvolt = <1325000 1298500 1351500>;
    			opp-supported-hw = <0x04 0x0200>;
    		};
    	};
    
    	pmu@4b000000 {
    		compatible = "arm,cortex-a8-pmu";
    		interrupts = <3>;
    		reg = <0x4b000000 0x1000000>;
    		ti,hwmods = "debugss";
    	};
    
    	/*
    	 * The soc node represents the soc top level view. It is used for IPs
    	 * that are not memory mapped in the MPU view or for the MPU itself.
    	 */
    	soc {
    		compatible = "ti,omap-infra";
    		mpu {
    			compatible = "ti,omap3-mpu";
    			ti,hwmods = "mpu";
    			pm-sram = <&pm_sram_code
    				   &pm_sram_data>;
    		};
    	};
    
    	/*
    	 * XXX: Use a flat representation of the AM33XX interconnect.
    	 * The real AM33XX interconnect network is quite complex. Since
    	 * it will not bring real advantage to represent that in DT
    	 * for the moment, just use a fake OCP bus entry to represent
    	 * the whole bus hierarchy.
    	 */
    	ocp {
    		compatible = "simple-bus";
    		#address-cells = <1>;
    		#size-cells = <1>;
    		ranges;
    		ti,hwmods = "l3_main";
    
    		l4_wkup: l4_wkup@44c00000 {
    			compatible = "ti,am3-l4-wkup", "simple-bus";
    			#address-cells = <1>;
    			#size-cells = <1>;
    			ranges = <0 0x44c00000 0x280000>;
    
    			wkup_m3: wkup_m3@100000 {
    				compatible = "ti,am3352-wkup-m3";
    				reg = <0x100000 0x4000>,
    				      <0x180000	0x2000>;
    				reg-names = "umem", "dmem";
    				ti,hwmods = "wkup_m3";
    				ti,pm-firmware = "am335x-pm-firmware.elf";
    			};
    
    			prcm: prcm@200000 {
    				compatible = "ti,am3-prcm", "simple-bus";
    				reg = <0x200000 0x4000>;
    				#address-cells = <1>;
    				#size-cells = <1>;
    				ranges = <0 0x200000 0x4000>;
    
    				prcm_clocks: clocks {
    					#address-cells = <1>;
    					#size-cells = <0>;
    				};
    
    				prcm_clockdomains: clockdomains {
    				};
    			};
    
    			scm: scm@210000 {
    				compatible = "ti,am3-scm", "simple-bus";
    				reg = <0x210000 0x2000>;
    				#address-cells = <1>;
    				#size-cells = <1>;
    				#pinctrl-cells = <1>;
    				ranges = <0 0x210000 0x2000>;
    
    				am33xx_pinmux: pinmux@800 {
    					compatible = "pinctrl-single";
    					reg = <0x800 0x238>;
    					#address-cells = <1>;
    					#size-cells = <0>;
    					#pinctrl-cells = <1>;
    					pinctrl-single,register-width = <32>;
    					pinctrl-single,function-mask = <0x7f>;
    				};
    
    				scm_conf: scm_conf@0 {
    					compatible = "syscon", "simple-bus";
    					reg = <0x0 0x800>;
    					#address-cells = <1>;
    					#size-cells = <1>;
    					ranges = <0 0 0x800>;
    
    					scm_clocks: clocks {
    						#address-cells = <1>;
    						#size-cells = <0>;
    					};
    				};
    
    				wkup_m3_ipc: wkup_m3_ipc@1324 {
    					compatible = "ti,am3352-wkup-m3-ipc";
    					reg = <0x1324 0x24>;
    					interrupts = <78>;
    					ti,rproc = <&wkup_m3>;
    					mboxes = <&mailbox &mbox_wkupm3>;
    				};
    
    				edma_xbar: dma-router@f90 {
    					compatible = "ti,am335x-edma-crossbar";
    					reg = <0xf90 0x40>;
    					#dma-cells = <3>;
    					dma-requests = <32>;
    					dma-masters = <&edma>;
    				};
    
    				scm_clockdomains: clockdomains {
    				};
    			};
    		};
    
    		intc: interrupt-controller@48200000 {
    			compatible = "ti,am33xx-intc";
    			interrupt-controller;
    			#interrupt-cells = <1>;
    			reg = <0x48200000 0x1000>;
    		};
    
    		edma: edma@49000000 {
    			compatible = "ti,edma3-tpcc";
    			ti,hwmods = "tpcc";
    			reg =	<0x49000000 0x10000>;
    			reg-names = "edma3_cc";
    			interrupts = <12 13 14>;
    			interrupt-names = "edma3_ccint", "edma3_mperr",
    					  "edma3_ccerrint";
    			dma-requests = <64>;
    			#dma-cells = <2>;
    
    			ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
    				   <&edma_tptc2 0>;
    
    			ti,edma-memcpy-channels = <20 21>;
    		};
    
    		edma_tptc0: tptc@49800000 {
    			compatible = "ti,edma3-tptc";
    			ti,hwmods = "tptc0";
    			reg =	<0x49800000 0x100000>;
    			interrupts = <112>;
    			interrupt-names = "edma3_tcerrint";
    		};
    
    		edma_tptc1: tptc@49900000 {
    			compatible = "ti,edma3-tptc";
    			ti,hwmods = "tptc1";
    			reg =	<0x49900000 0x100000>;
    			interrupts = <113>;
    			interrupt-names = "edma3_tcerrint";
    		};
    
    		edma_tptc2: tptc@49a00000 {
    			compatible = "ti,edma3-tptc";
    			ti,hwmods = "tptc2";
    			reg =	<0x49a00000 0x100000>;
    			interrupts = <114>;
    			interrupt-names = "edma3_tcerrint";
    		};
    
    		gpio0: gpio@44e07000 {
    			compatible = "ti,omap4-gpio";
    			ti,hwmods = "gpio1";
    			gpio-controller;
    			#gpio-cells = <2>;
    			interrupt-controller;
    			#interrupt-cells = <2>;
    			reg = <0x44e07000 0x1000>;
    			interrupts = <96>;
    		};
    
    		gpio1: gpio@4804c000 {
    			compatible = "ti,omap4-gpio";
    			ti,hwmods = "gpio2";
    			gpio-controller;
    			#gpio-cells = <2>;
    			interrupt-controller;
    			#interrupt-cells = <2>;
    			reg = <0x4804c000 0x1000>;
    			interrupts = <98>;
    		};
    
    		gpio2: gpio@481ac000 {
    			compatible = "ti,omap4-gpio";
    			ti,hwmods = "gpio3";
    			gpio-controller;
    			#gpio-cells = <2>;
    			interrupt-controller;
    			#interrupt-cells = <2>;
    			reg = <0x481ac000 0x1000>;
    			interrupts = <32>;
    		};
    
    		gpio3: gpio@481ae000 {
    			compatible = "ti,omap4-gpio";
    			ti,hwmods = "gpio4";
    			gpio-controller;
    			#gpio-cells = <2>;
    			interrupt-controller;
    			#interrupt-cells = <2>;
    			reg = <0x481ae000 0x1000>;
    			interrupts = <62>;
    		};
    
    		uart0: serial@44e09000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart1";
    			clock-frequency = <48000000>;
    			reg = <0x44e09000 0x2000>;
    			interrupts = <72>;
    			status = "disabled";
    			dmas = <&edma 26 0>, <&edma 27 0>;
    			dma-names = "tx", "rx";
    		};
    
    		uart1: serial@48022000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart2";
    			clock-frequency = <48000000>;
    			reg = <0x48022000 0x2000>;
    			interrupts = <73>;
    			status = "disabled";
    			dmas = <&edma 28 0>, <&edma 29 0>;
    			dma-names = "tx", "rx";
    		};
    
    		uart2: serial@48024000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart3";
    			clock-frequency = <48000000>;
    			reg = <0x48024000 0x2000>;
    			interrupts = <74>;
    			status = "disabled";
    			dmas = <&edma 30 0>, <&edma 31 0>;
    			dma-names = "tx", "rx";
    		};
    
    		uart3: serial@481a6000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart4";
    			clock-frequency = <48000000>;
    			reg = <0x481a6000 0x2000>;
    			interrupts = <44>;
    			status = "disabled";
    		};
    
    		uart4: serial@481a8000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart5";
    			clock-frequency = <48000000>;
    			reg = <0x481a8000 0x2000>;
    			interrupts = <45>;
    			status = "disabled";
    		};
    
    		uart5: serial@481aa000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart6";
    			clock-frequency = <48000000>;
    			reg = <0x481aa000 0x2000>;
    			interrupts = <46>;
    			status = "disabled";
    		};
    
    		i2c0: i2c@44e0b000 {
    			compatible = "ti,am335x-i2c,omap4-i2c";
    			#address-cells = <1>;
    			#size-cells = <0>;
    			ti,hwmods = "i2c1";
    			reg = <0x44e0b000 0x1000>;
    			interrupts = <70>;
    			status = "okay";
    		};
    
    		i2c1: i2c@4802a000 {
    			compatible = "ti,omap4-i2c","ti,am335x-i2c";
    			#address-cells = <1>;
    			#size-cells = <0>;
    			ti,hwmods = "i2c2";
    			reg = <0x4802a000 0x1000>;
    			interrupts = <71>;
    			status = "okay";
    		};
    
    		i2c2: i2c@4819c000 {
    			compatible = "ti,omap4-i2c";
    			#address-cells = <1>;
    			#size-cells = <0>;
    			ti,hwmods = "i2c3";
    			reg = <0x4819c000 0x1000>;
    			interrupts = <30>;
    			status = "disabled";
    		};
    
    		mmc1: mmc@48060000 {
    			compatible = "ti,omap4-hsmmc";
    			ti,hwmods = "mmc1";
    			ti,dual-volt;
    			ti,needs-special-reset;
    			ti,needs-special-hs-handling;
    			dmas = <&edma_xbar 24 0 0
    				&edma_xbar 25 0 0>;
    			dma-names = "tx", "rx";
    			interrupts = <64>;
    			reg = <0x48060000 0x1000>;
    			status = "disabled";
    		};
    
    		mmc2: mmc@481d8000 {
    			compatible = "ti,omap4-hsmmc";
    			ti,hwmods = "mmc2";
    			ti,needs-special-reset;
    			dmas = <&edma 2 0
    				&edma 3 0>;
    			dma-names = "tx", "rx";
    			interrupts = <28>;
    			reg = <0x481d8000 0x1000>;
    			status = "disabled";
    		};
    
    		mmc3: mmc@47810000 {
    			compatible = "ti,omap4-hsmmc";
    			ti,hwmods = "mmc3";
    			ti,needs-special-reset;
    			interrupts = <29>;
    			reg = <0x47810000 0x1000>;
    			status = "disabled";
    		};
    
    		hwspinlock: spinlock@480ca000 {
    			compatible = "ti,omap4-hwspinlock";
    			reg = <0x480ca000 0x1000>;
    			ti,hwmods = "spinlock";
    			#hwlock-cells = <1>;
    		};
    
    		wdt2: wdt@44e35000 {
    			compatible = "ti,omap3-wdt";
    			ti,hwmods = "wd_timer2";
    			reg = <0x44e35000 0x1000>;
    			interrupts = <91>;
    		};
    
    		dcan0: can@481cc000 {
    			compatible = "ti,am3352-d_can";
    			ti,hwmods = "d_can0";
    			reg = <0x481cc000 0x2000>;
    			clocks = <&dcan0_fck>;
    			clock-names = "fck";
    			syscon-raminit = <&scm_conf 0x644 0>;
    			interrupts = <52>;
    			status = "disabled";
    		};
    
    		dcan1: can@481d0000 {
    			compatible = "ti,am3352-d_can";
    			ti,hwmods = "d_can1";
    			reg = <0x481d0000 0x2000>;
    			clocks = <&dcan1_fck>;
    			clock-names = "fck";
    			syscon-raminit = <&scm_conf 0x644 1>;
    			interrupts = <55>;
    			status = "disabled";
    		};
    
    		mailbox: mailbox@480c8000 {
    			compatible = "ti,omap4-mailbox";
    			reg = <0x480C8000 0x200>;
    			interrupts = <77>;
    			ti,hwmods = "mailbox";
    			#mbox-cells = <1>;
    			ti,mbox-num-users = <4>;
    			ti,mbox-num-fifos = <8>;
    			mbox_wkupm3: wkup_m3 {
    				ti,mbox-send-noirq;
    				ti,mbox-tx = <0 0 0>;
    				ti,mbox-rx = <0 0 3>;
    			};
    		};
    
    		timer1: timer@44e31000 {
    			compatible = "ti,am335x-timer-1ms";
    			reg = <0x44e31000 0x400>;
    			interrupts = <67>;
    			ti,hwmods = "timer1";
    			ti,timer-alwon;
    			clocks = <&timer1_fck>;
    			clock-names = "fck";
    		};
    
    		timer2: timer@48040000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x48040000 0x400>;
    			interrupts = <68>;
    			ti,hwmods = "timer2";
    			clocks = <&timer2_fck>;
    			clock-names = "fck";
    		};
    
    		timer3: timer@48042000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x48042000 0x400>;
    			interrupts = <69>;
    			ti,hwmods = "timer3";
    		};
    
    		timer4: timer@48044000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x48044000 0x400>;
    			interrupts = <92>;
    			ti,hwmods = "timer4";
    			ti,timer-pwm;
    		};
    
    		timer5: timer@48046000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x48046000 0x400>;
    			interrupts = <93>;
    			ti,hwmods = "timer5";
    			ti,timer-pwm;
    		};
    
    		timer6: timer@48048000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x48048000 0x400>;
    			interrupts = <94>;
    			ti,hwmods = "timer6";
    			ti,timer-pwm;
    		};
    
    		timer7: timer@4804a000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x4804a000 0x400>;
    			interrupts = <95>;
    			ti,hwmods = "timer7";
    			ti,timer-pwm;
    		};
    
    		rtc: rtc@44e3e000 {
    			compatible = "ti,am3352-rtc", "ti,da830-rtc";
    			reg = <0x44e3e000 0x1000>;
    			interrupts = <75
    				      76>;
    			ti,hwmods = "rtc";
    			clocks = <&l4_per_clkctrl AM3_CLKDIV32K_CLKCTRL 0>;
    			clock-names = "int-clk";
    		};
    
    		spi0: spi@48030000 {
    			compatible = "ti,omap4-mcspi";
    			#address-cells = <1>;
    			#size-cells = <0>;
    			reg = <0x48030000 0x400>;
    			interrupts = <65>;
    			ti,spi-num-cs = <2>;
    			ti,hwmods = "spi0";
    			dmas = <&edma 16 0
    				&edma 17 0
    				&edma 18 0
    				&edma 19 0>;
    			dma-names = "tx0", "rx0", "tx1", "rx1";
    			status = "disabled";
    		};
    
    		spi1: spi@481a0000 {
    			compatible = "ti,omap4-mcspi";
    			#address-cells = <1>;
    			#size-cells = <0>;
    			reg = <0x481a0000 0x400>;
    			interrupts = <125>;
    			ti,spi-num-cs = <2>;
    			ti,hwmods = "spi1";
    			dmas = <&edma 42 0
    				&edma 43 0
    				&edma 44 0
    				&edma 45 0>;
    			dma-names = "tx0", "rx0", "tx1", "rx1";
    			status = "disabled";
    		};
    
    		usb: usb@47400000 {
    			compatible = "ti,am33xx-usb";
    			reg = <0x47400000 0x1000>;
    			ranges;
    			#address-cells = <1>;
    			#size-cells = <1>;
    			ti,hwmods = "usb_otg_hs";
    			status = "disabled";
    
    			usb_ctrl_mod: control@44e10620 {
    				compatible = "ti,am335x-usb-ctrl-module";
    				reg = <0x44e10620 0x10
    					0x44e10648 0x4>;
    				reg-names = "phy_ctrl", "wakeup";
    				status = "disabled";
    			};
    
    			usb0_phy: usb-phy@47401300 {
    				compatible = "ti,am335x-usb-phy";
    				reg = <0x47401300 0x100>;
    				reg-names = "phy";
    				status = "disabled";
    				ti,ctrl_mod = <&usb_ctrl_mod>;
    				#phy-cells = <0>;
    			};
    
    			usb0: usb@47401000 {
    				compatible = "ti,musb-am33xx";
    				status = "disabled";
    				reg = <0x47401400 0x400
    					0x47401000 0x200>;
    				reg-names = "mc", "control";
    
    				interrupts = <18>;
    				interrupt-names = "mc";
    				dr_mode = "otg";
    				mentor,multipoint = <1>;
    				mentor,num-eps = <16>;
    				mentor,ram-bits = <12>;
    				mentor,power = <500>;
    				phys = <&usb0_phy>;
    
    				dmas = <&cppi41dma  0 0 &cppi41dma  1 0
    					&cppi41dma  2 0 &cppi41dma  3 0
    					&cppi41dma  4 0 &cppi41dma  5 0
    					&cppi41dma  6 0 &cppi41dma  7 0
    					&cppi41dma  8 0 &cppi41dma  9 0
    					&cppi41dma 10 0 &cppi41dma 11 0
    					&cppi41dma 12 0 &cppi41dma 13 0
    					&cppi41dma 14 0 &cppi41dma  0 1
    					&cppi41dma  1 1 &cppi41dma  2 1
    					&cppi41dma  3 1 &cppi41dma  4 1
    					&cppi41dma  5 1 &cppi41dma  6 1
    					&cppi41dma  7 1 &cppi41dma  8 1
    					&cppi41dma  9 1 &cppi41dma 10 1
    					&cppi41dma 11 1 &cppi41dma 12 1
    					&cppi41dma 13 1 &cppi41dma 14 1>;
    				dma-names =
    					"rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
    					"rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
    					"rx14", "rx15",
    					"tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
    					"tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
    					"tx14", "tx15";
    			};
    
    			usb1_phy: usb-phy@47401b00 {
    				compatible = "ti,am335x-usb-phy";
    				reg = <0x47401b00 0x100>;
    				reg-names = "phy";
    				status = "disabled";
    				ti,ctrl_mod = <&usb_ctrl_mod>;
    				#phy-cells = <0>;
    			};
    
    			usb1: usb@47401800 {
    				compatible = "ti,musb-am33xx";
    				status = "disabled";
    				reg = <0x47401c00 0x400
    					0x47401800 0x200>;
    				reg-names = "mc", "control";
    				interrupts = <19>;
    				interrupt-names = "mc";
    				dr_mode = "otg";
    				mentor,multipoint = <1>;
    				mentor,num-eps = <16>;
    				mentor,ram-bits = <12>;
    				mentor,power = <500>;
    				phys = <&usb1_phy>;
    
    				dmas = <&cppi41dma 15 0 &cppi41dma 16 0
    					&cppi41dma 17 0 &cppi41dma 18 0
    					&cppi41dma 19 0 &cppi41dma 20 0
    					&cppi41dma 21 0 &cppi41dma 22 0
    					&cppi41dma 23 0 &cppi41dma 24 0
    					&cppi41dma 25 0 &cppi41dma 26 0
    					&cppi41dma 27 0 &cppi41dma 28 0
    					&cppi41dma 29 0 &cppi41dma 15 1
    					&cppi41dma 16 1 &cppi41dma 17 1
    					&cppi41dma 18 1 &cppi41dma 19 1
    					&cppi41dma 20 1 &cppi41dma 21 1
    					&cppi41dma 22 1 &cppi41dma 23 1
    					&cppi41dma 24 1 &cppi41dma 25 1
    					&cppi41dma 26 1 &cppi41dma 27 1
    					&cppi41dma 28 1 &cppi41dma 29 1>;
    				dma-names =
    					"rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
    					"rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
    					"rx14", "rx15",
    					"tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
    					"tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
    					"tx14", "tx15";
    			};
    
    			cppi41dma: dma-controller@47402000 {
    				compatible = "ti,am3359-cppi41";
    				reg =  <0x47400000 0x1000
    					0x47402000 0x1000
    					0x47403000 0x1000
    					0x47404000 0x4000>;
    				reg-names = "glue", "controller", "scheduler", "queuemgr";
    				interrupts = <17>;
    				interrupt-names = "glue";
    				#dma-cells = <2>;
    				#dma-channels = <30>;
    				#dma-requests = <256>;
    				status = "disabled";
    			};
    		};
    
    		epwmss0: epwmss@48300000 {
    			compatible = "ti,am33xx-pwmss";
    			reg = <0x48300000 0x10>;
    			ti,hwmods = "epwmss0";
    			#address-cells = <1>;
    			#size-cells = <1>;
    			status = "disabled";
    			ranges = <0x48300100 0x48300100 0x80   /* ECAP */
    				  0x48300180 0x48300180 0x80   /* EQEP */
    				  0x48300200 0x48300200 0x80>; /* EHRPWM */
    
    			ecap0: ecap@48300100 {
    				compatible = "ti,am3352-ecap",
    					     "ti,am33xx-ecap";
    				#pwm-cells = <3>;
    				reg = <0x48300100 0x80>;
    				clocks = <&l4ls_gclk>;
    				clock-names = "fck";
    				interrupts = <31>;
    				interrupt-names = "ecap0";
    				status = "disabled";
    			};
    
    			ehrpwm0: pwm@48300200 {
    				compatible = "ti,am3352-ehrpwm",
    					     "ti,am33xx-ehrpwm";
    				#pwm-cells = <3>;
    				reg = <0x48300200 0x80>;
    				clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
    				clock-names = "tbclk", "fck";
    				status = "disabled";
    			};
    		};
    
    		epwmss1: epwmss@48302000 {
    			compatible = "ti,am33xx-pwmss";
    			reg = <0x48302000 0x10>;
    			ti,hwmods = "epwmss1";
    			#address-cells = <1>;
    			#size-cells = <1>;
    			status = "disabled";
    			ranges = <0x48302100 0x48302100 0x80   /* ECAP */
    				  0x48302180 0x48302180 0x80   /* EQEP */
    				  0x48302200 0x48302200 0x80>; /* EHRPWM */
    
    			ecap1: ecap@48302100 {
    				compatible = "ti,am3352-ecap",
    					     "ti,am33xx-ecap";
    				#pwm-cells = <3>;
    				reg = <0x48302100 0x80>;
    				clocks = <&l4ls_gclk>;
    				clock-names = "fck";
    				interrupts = <47>;
    				interrupt-names = "ecap1";
    				status = "disabled";
    			};
    
    			ehrpwm1: pwm@48302200 {
    				compatible = "ti,am3352-ehrpwm",
    					     "ti,am33xx-ehrpwm";
    				#pwm-cells = <3>;
    				reg = <0x48302200 0x80>;
    				clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
    				clock-names = "tbclk", "fck";
    				status = "disabled";
    			};
    		};
    
    		epwmss2: epwmss@48304000 {
    			compatible = "ti,am33xx-pwmss";
    			reg = <0x48304000 0x10>;
    			ti,hwmods = "epwmss2";
    			#address-cells = <1>;
    			#size-cells = <1>;
    			status = "disabled";
    			ranges = <0x48304100 0x48304100 0x80   /* ECAP */
    				  0x48304180 0x48304180 0x80   /* EQEP */
    				  0x48304200 0x48304200 0x80>; /* EHRPWM */
    
    			ecap2: ecap@48304100 {
    				compatible = "ti,am3352-ecap",
    					     "ti,am33xx-ecap";
    				#pwm-cells = <3>;
    				reg = <0x48304100 0x80>;
    				clocks = <&l4ls_gclk>;
    				clock-names = "fck";
    				interrupts = <61>;
    				interrupt-names = "ecap2";
    				status = "disabled";
    			};
    
    			ehrpwm2: pwm@48304200 {
    				compatible = "ti,am3352-ehrpwm",
    					     "ti,am33xx-ehrpwm";
    				#pwm-cells = <3>;
    				reg = <0x48304200 0x80>;
    				clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
    				clock-names = "tbclk", "fck";
    				status = "disabled";
    			};
    		};
    
    		mac: ethernet@4a100000 {
    			compatible = "ti,am335x-cpsw","ti,cpsw";
    			ti,hwmods = "cpgmac0";
    			clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
    			clock-names = "fck", "cpts";
    			cpdma_channels = <8>;
    			ale_entries = <1024>;
    			bd_ram_size = <0x2000>;
    			mac_control = <0x20>;
    			slaves = <2>;
    			active_slave = <0>;
    			cpts_clock_mult = <0x80000000>;
    			cpts_clock_shift = <29>;
    			reg = <0x4a100000 0x800
    			       0x4a101200 0x100>;
    			#address-cells = <1>;
    			#size-cells = <1>;
    			/*
    			 * c0_rx_thresh_pend
    			 * c0_rx_pend
    			 * c0_tx_pend
    			 * c0_misc_pend
    			 */
    			interrupts = <40 41 42 43>;
    			ranges;
    			syscon = <&scm_conf>;
    			status = "disabled";
    
    			davinci_mdio: mdio@4a101000 {
    				compatible = "ti,cpsw-mdio","ti,davinci_mdio";
    				#address-cells = <1>;
    				#size-cells = <0>;
    				ti,hwmods = "davinci_mdio";
    				bus_freq = <1000000>;
    				reg = <0x4a101000 0x100>;
    				status = "disabled";
    			};
    
    			cpsw_emac0: slave@4a100200 {
    				/* Filled in by U-Boot */
    				mac-address = [ 00 00 00 00 00 00 ];
    			};
    
    			cpsw_emac1: slave@4a100300 {
    				/* Filled in by U-Boot */
    				mac-address = [ 00 00 00 00 00 00 ];
    			};
    
    			phy_sel: cpsw-phy-sel@44e10650 {
    				compatible = "ti,am3352-cpsw-phy-sel";
    				reg= <0x44e10650 0x4>;
    				reg-names = "gmii-sel";
    			};
    		};
    
    		ocmcram: ocmcram@40300000 {
    			compatible = "mmio-sram";
    			reg = <0x40300000 0x10000>; /* 64k */
    			ranges = <0x0 0x40300000 0x10000>;
    			#address-cells = <1>;
    			#size-cells = <1>;
    
    			pm_sram_code: pm-sram-code@0 {
    				compatible = "ti,sram";
    				reg = <0x0 0x1000>;
    				protect-exec;
    			};
    
    			pm_sram_data: pm-sram-data@1000 {
    				compatible = "ti,sram";
    				reg = <0x1000 0x1000>;
    				pool;
    			};
    		};
    
    		pruss_soc_bus: pruss-soc-bus@4a326004 {
    			compatible = "ti,am3356-pruss-soc-bus";
    			reg = <0x4a326004 0x4>;
    			ti,hwmods = "pruss";
    			#address-cells = <1>;
    			#size-cells = <1>;
    			ranges;
    			status = "disabled";
    
    			pruss: pruss@4a300000 {
    				compatible = "ti,am3356-pruss";
    				reg = <0x4a300000 0x80000>;
    				interrupts = <20 21 22 23 24 25 26 27>;
    				interrupt-names = "host2", "host3", "host4",
    						  "host5", "host6", "host7",
    						  "host8", "host9";
    				#address-cells = <1>;
    				#size-cells = <1>;
    				ranges;
    				status = "disabled";
    
    				pruss_mem: memories@4a300000 {
    					reg = <0x4a300000 0x2000>,
    					      <0x4a302000 0x2000>,
    					      <0x4a310000 0x3000>,
    					      <0x4a32e000 0x31c>,
    					      <0x4a330000 0x60>;
    					reg-names = "dram0", "dram1",
    						    "shrdram2", "iep", "ecap";
    				};
    
    				pruss_cfg: cfg@4a326000 {
    					compatible = "syscon";
    					reg = <0x4a326000 0x2000>;
    				};
    
    				pruss_mii_rt: mii-rt@4a332000 {
    					compatible = "syscon";
    					reg = <0x4a332000 0x58>;
    				};
    
    				pruss_intc: interrupt-controller@4a320000 {
    					compatible = "ti,am3356-pruss-intc";
    					reg = <0x4a320000 0x2000>;
    					interrupt-controller;
    					#interrupt-cells = <1>;
    				};
    
    				pru0: pru@4a334000 {
    					compatible = "ti,am3356-pru";
    					reg = <0x4a334000 0x2000>,
    					      <0x4a322000 0x400>,
    					      <0x4a322400 0x100>;
    					reg-names = "iram", "control", "debug";
    					firmware-name = "am335x-pru0-fw";
    					interrupt-parent = <&pruss_intc>;
    					interrupts = <16>, <17>;
    					interrupt-names = "vring", "kick";
    				};
    
    				pru1: pru@4a338000 {
    					compatible = "ti,am3356-pru";
    					reg = <0x4a338000 0x2000>,
    					      <0x4a324000 0x400>,
    					      <0x4a324400 0x100>;
    					reg-names = "iram", "control", "debug";
    					firmware-name = "am335x-pru1-fw";
    					interrupt-parent = <&pruss_intc>;
    					interrupts = <18>, <19>;
    					interrupt-names = "vring", "kick";
    				};
    
    				pruss_mdio: mdio@4a332400 {
    					compatible = "ti,davinci_mdio";
    					reg = <0x4a332400 0x90>;
    					clocks = <&dpll_core_m4_ck>;
    					clock-names = "fck";
    					bus_freq = <1000000>;
    					#address-cells = <1>;
    					#size-cells = <0>;
    					status = "disabled";
    				};
    			};
    		};
    
    		elm: elm@48080000 {
    			compatible = "ti,am3352-elm";
    			reg = <0x48080000 0x2000>;
    			interrupts = <4>;
    			ti,hwmods = "elm";
    			status = "disabled";
    		};
    
    		lcdc: lcdc@4830e000 {
    			compatible = "ti,am33xx-tilcdc";
    			reg = <0x4830e000 0x1000>;
    			interrupts = <36>;
    			ti,hwmods = "lcdc";
    			status = "okay";
    		};
    
    		tscadc: tscadc@44e0d000 {
    			compatible = "ti,am3359-tscadc";
    			reg = <0x44e0d000 0x1000>;
    			interrupts = <16>;
    			ti,hwmods = "adc_tsc";
    			status = "okay";
    			dmas = <&edma 53 0>, <&edma 57 0>;
    			dma-names = "fifo0", "fifo1";
    
    			tsc {
    				compatible = "ti,am3359-tsc";
    			};
    			am335x_adc: adc {
    				#io-channel-cells = <1>;
    				compatible = "ti,am3359-adc";
    			};
    		};
    
    		emif: emif@4c000000 {
    			compatible = "ti,emif-am3352";
    			reg = <0x4c000000 0x1000000>;
    			ti,hwmods = "emif";
    			interrupts = <101>;
    			sram = <&pm_sram_code
    				&pm_sram_data>;
    			ti,no-idle;
    		};
    
    		gpmc: gpmc@50000000 {
    			compatible = "ti,am3352-gpmc";
    			ti,hwmods = "gpmc";
    			ti,no-idle-on-init;
    			reg = <0x50000000 0x2000>;
    			interrupts = <100>;
    			dmas = <&edma 52 0>;
    			dma-names = "rxtx";
    			gpmc,num-cs = <7>;
    			gpmc,num-waitpins = <2>;
    			#address-cells = <2>;
    			#size-cells = <1>;
    			interrupt-controller;
    			#interrupt-cells = <2>;
    			gpio-controller;
    			#gpio-cells = <2>;
    			status = "disabled";
    		};
    
    		sham: sham@53100000 {
    			compatible = "ti,omap4-sham";
    			ti,hwmods = "sham";
    			reg = <0x53100000 0x200>;
    			interrupts = <109>;
    			dmas = <&edma 36 0>;
    			dma-names = "rx";
    		};
    
    		aes: aes@53500000 {
    			compatible = "ti,omap4-aes";
    			ti,hwmods = "aes";
    			reg = <0x53500000 0xa0>;
    			interrupts = <103>;
    			dmas = <&edma 6 0>,
    			       <&edma 5 0>;
    			dma-names = "tx", "rx";
    		};
    
    		mcasp0: mcasp@48038000 {
    			compatible = "ti,am33xx-mcasp-audio";
    			ti,hwmods = "mcasp0";
    			reg = <0x48038000 0x2000>,
    			      <0x46000000 0x400000>;
    			reg-names = "mpu", "dat";
    			interrupts = <80>, <81>;
    			interrupt-names = "tx", "rx";
    			status = "disabled";
    			dmas = <&edma 8 2>,
    				<&edma 9 2>;
    			dma-names = "tx", "rx";
    		};
    
    		mcasp1: mcasp@4803c000 {
    			compatible = "ti,am33xx-mcasp-audio";
    			ti,hwmods = "mcasp1";
    			reg = <0x4803C000 0x2000>,
    			      <0x46400000 0x400000>;
    			reg-names = "mpu", "dat";
    			interrupts = <82>, <83>;
    			interrupt-names = "tx", "rx";
    			status = "disabled";
    			dmas = <&edma 10 2>,
    				<&edma 11 2>;
    			dma-names = "tx", "rx";
    		};
    
    		rng: rng@48310000 {
    			compatible = "ti,omap4-rng";
    			ti,hwmods = "rng";
    			reg = <0x48310000 0x2000>;
    			interrupts = <111>;
    		};
    
    		sgx: sgx@56000000 {
    			compatible = "ti,am3352-sgx530", "img,sgx530";
    			ti,hwmods = "gfx";
    			reg = <0x56000000 0x10000>;
    			interrupts = <37>;
    			clocks = <&gfx_fck_div_ck>;
    			clock-names = "fclk";
    			status = "disabled";
    		};
    	};
    };
    
    #include "am33xx-clocks.dtsi"
    

    Hi,

       I have updated my DT related files and not able to get the touchscreen up. I am posting the log also and please help where i am missing in the configuration?

    root@am335x-evm:~# dmesg
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.19.94-gbe5389fd85 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 PREEMPT Sun Apr 19 03:43:09 UTC 2020
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0x9d000000
    [ 0.000000] On node 0 totalpages: 131072
    [ 0.000000] Normal zone: 1152 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 131072 pages, LIFO batch:31
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (sgx neon)
    [ 0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=55c1f8d5-02 rw rootfstype=ext4 rootwait
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Memory: 455952K/524288K available (9216K kernel code, 307K rwdata, 2720K rodata, 1024K init, 252K bss, 19184K reserved, 49152K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
    lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    .text : 0x(ptrval) - 0x(ptrval) (10208 kB)
    .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
    .data : 0x(ptrval) - 0x(ptrval) ( 308 kB)
    .bss : 0x(ptrval) - 0x(ptrval) ( 253 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000036] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000047] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000201] timer_probe: no matching timers found
    [ 0.000376] Console: colour dummy device 80x30
    [ 0.000402] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000408] This ensures that you still see kernel messages. Please
    [ 0.000413] update your kernel commandline.
    [ 0.000463] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [ 0.089174] pid_max: default: 32768 minimum: 301
    [ 0.089358] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.089371] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.090130] CPU: Testing write buffer coherency: ok
    [ 0.090192] CPU0: Spectre v2: using BPIALL workaround
    [ 0.091018] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.091157] rcu: Hierarchical SRCU implementation.
    [ 0.091466] EFI services will not be available.
    [ 0.092712] devtmpfs: initialized
    [ 0.100056] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.100415] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.100437] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.103872] pinctrl core: initialized pinctrl subsystem
    [ 0.104589] DMI not present or invalid.
    [ 0.105006] NET: Registered protocol family 16
    [ 0.107195] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.130806] l4_wkup_cm:clk:0010:0: failed to disable
    [ 0.183451] cpuidle: using governor ladder
    [ 0.183488] cpuidle: using governor menu
    [ 0.187965] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
    [ 0.188056] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31)
    [ 0.188101] OMAP GPIO hardware version 0.1
    [ 0.188866] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
    [ 0.188952] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63)
    [ 0.189755] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
    [ 0.189827] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95)
    [ 0.190496] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
    [ 0.190570] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio-96-127)
    [ 0.196920] No ATAGs?
    [ 0.196931] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.210131] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.210687] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator0[0]'
    [ 0.212955] SCSI subsystem initialized
    [ 0.213404] media: Linux media interface: v0.10
    [ 0.213447] videodev: Linux video capture interface: v2.00
    [ 0.213534] pps_core: LinuxPPS API ver. 1 registered
    [ 0.213542] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.213564] PTP clock support registered
    [ 0.213599] EDAC MC: Ver: 3.0.0
    [ 0.214634] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.215192] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.216329] clocksource: Switched to clocksource timer1
    [ 0.224166] NET: Registered protocol family 2
    [ 0.224942] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [ 0.224974] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.225014] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.225052] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.225154] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.225174] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.225315] NET: Registered protocol family 1
    [ 0.225882] RPC: Registered named UNIX socket transport module.
    [ 0.225895] RPC: Registered udp transport module.
    [ 0.225901] RPC: Registered tcp transport module.
    [ 0.225907] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.225922] PCI: CLS 0 bytes, default 64
    [ 0.226955] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.228151] Initialise system trusted keyrings
    [ 0.228504] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [ 0.232856] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.233610] NFS: Registering the id_resolver key type
    [ 0.233654] Key type id_resolver registered
    [ 0.233662] Key type id_legacy registered
    [ 0.233703] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.235831] Key type asymmetric registered
    [ 0.235851] Asymmetric key parser 'x509' registered
    [ 0.235924] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.235936] io scheduler noop registered
    [ 0.235943] io scheduler deadline registered
    [ 0.236175] io scheduler cfq registered (default)
    [ 0.236186] io scheduler mq-deadline registered
    [ 0.236193] io scheduler kyber registered
    [ 0.237965] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [ 0.284455] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.288367] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [ 0.906861] console [ttyS0] enabled
    [ 0.912254] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 0.918650] random: fast init done
    [ 0.922273] random: crng init done
    [ 0.927517] tilcdc-panel panel: GPIO lookup for consumer enable
    [ 0.927527] tilcdc-panel panel: using device tree for GPIO lookup
    [ 0.927565] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/panel[0]' - status (0)
    [ 0.927637] gpio gpiochip1: Persistence not supported for GPIO 20
    [ 0.927651] tilcdc-panel panel: found enable GPIO
    [ 0.932644] OF: graph: no port node found in /ocp/lcdc@4830e000
    [ 0.938985] OF: graph: no port node found in /ocp/lcdc@4830e000
    [ 0.945389] OF: graph: no port node found in /ocp/lcdc@4830e000
    [ 0.951400] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 0.958056] [drm] No driver support for vblank timestamp query.
    [ 0.968733] Console: switching to colour frame buffer device 100x30
    [ 0.977513] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device
    [ 0.984693] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [ 1.002830] brd: module loaded
    [ 1.012376] loop: module loaded
    [ 1.018142] mdio_bus fixed-0: GPIO lookup for consumer reset
    [ 1.018155] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [ 1.018163] mdio_bus fixed-0: No GPIO consumer reset found
    [ 1.018185] libphy: Fixed MDIO Bus: probed
    [ 1.038084] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
    [ 1.038096] mdio_bus 4a101000.mdio: using device tree for GPIO lookup
    [ 1.038118] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
    [ 1.038132] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
    [ 1.038141] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
    [ 1.038147] mdio_bus 4a101000.mdio: No GPIO consumer reset found
    [ 1.096411] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.104112] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [ 1.111449] libphy: 4a101000.mdio: probed
    [ 1.115495] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [ 1.125590] cpsw 4a100000.ethernet: Detected MACID = e4:15:f6:f8:6e:a4
    [ 1.132411] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.138885] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.144166] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.152705] i2c /dev entries driver
    [ 1.158166] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.165281] sdhci: Secure Digital Host Controller Interface driver
    [ 1.171679] sdhci: Copyright(c) Pierre Ossman
    [ 1.176702] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 1.176711] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.176753] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 1.176834] gpio gpiochip0: Persistence not supported for GPIO 6
    [ 1.176850] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [ 1.185591] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.190270] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 1.190275] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.190291] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 1.190304] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 1.190313] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 1.190320] omap_hsmmc 48060000.mmc: No GPIO consumer wp found
    [ 1.190751] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
    [ 1.223762] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 1.223772] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 1.223794] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 1.223807] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 1.223816] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 1.223823] omap_hsmmc 481d8000.mmc: No GPIO consumer cd found
    [ 1.223833] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 1.223838] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 1.223850] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 1.223861] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 1.223867] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 1.223873] omap_hsmmc 481d8000.mmc: No GPIO consumer wp found
    [ 1.224312] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.1
    [ 1.256792] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.263585] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
    [ 1.263611] gpio gpiochip1: Persistence not supported for GPIO 21
    [ 1.263615] no flags found for gpios
    [ 1.263758] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led3[0]' - status (0)
    [ 1.263769] gpio gpiochip1: Persistence not supported for GPIO 22
    [ 1.263772] no flags found for gpios
    [ 1.263875] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led4[0]' - status (0)
    [ 1.263885] gpio gpiochip1: Persistence not supported for GPIO 23
    [ 1.263889] no flags found for gpios
    [ 1.263971] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led5[0]' - status (0)
    [ 1.263981] gpio gpiochip1: Persistence not supported for GPIO 24
    [ 1.263984] no flags found for gpios
    [ 1.264523] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.270697] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 1.282965] NET: Registered protocol family 10
    [ 1.289209] Segment Routing with IPv6
    [ 1.293088] mmc0: new high speed SDHC card at address 0001
    [ 1.298819] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.305791] mmcblk0: mmc0:0001 EB1QT 29.8 GiB
    [ 1.312049] NET: Registered protocol family 17
    [ 1.317106] Key type dns_resolver registered
    [ 1.321592] mmcblk0: p1 p2
    [ 1.324815] omap_voltage_late_init: Voltage driver support not added
    [ 1.333367] Loading compiled-in X.509 certificates
    [ 1.348482] i2c i2c-1: of_i2c: modalias failure on /ocp/i2c@4802a000/edt-ft5x06@38
    [ 1.356207] i2c i2c-1: Failed to create I2C device for /ocp/i2c@4802a000/edt-ft5x06@38
    [ 1.364361] mmc1: new high speed MMC card at address 0001
    [ 1.369854] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [ 1.377076] mmcblk1: mmc1:0001 M62704 3.53 GiB
    [ 1.382111] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
    [ 1.389342] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [ 1.395899] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
    [ 1.402154] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB, chardev (244:0)
    [ 1.411216] hctosys: unable to open rtc device (rtc0)
    [ 1.416446] mmcblk1: p1
    [ 1.419767] ALSA device list:
    [ 1.422758] No soundcards found.
    [ 1.492044] EXT4-fs (mmcblk0p2): recovery complete
    [ 1.502656] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 1.510892] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 1.525109] devtmpfs: mounted
    [ 1.529385] Freeing unused kernel memory: 1024K
    [ 1.534368] Run /sbin/init as init process
    [ 1.862356] systemd[1]: System time before build time, advancing clock.
    [ 1.909179] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [ 1.931290] systemd[1]: Detected architecture arm.
    [ 1.987589] systemd[1]: Set hostname to <am335x-evm>.
    [ 2.305440] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [ 2.322845] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [ 2.403684] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
    [ 2.758925] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ 2.796815] systemd[1]: Reached target Swap.
    [ 2.827448] systemd[1]: Listening on udev Control Socket.
    [ 2.857693] systemd[1]: Listening on Journal Socket.
    [ 3.395295] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 3.653603] cryptodev: loading out-of-tree module taints kernel.
    [ 3.680263] cryptodev: driver 1.9 loaded.
    [ 3.754302] usbcore: registered new interface driver usbfs
    [ 3.767278] usbcore: registered new interface driver hub
    [ 3.780267] usbcore: registered new device driver usb
    [ 3.862137] usbcore: registered new interface driver ftdi_sio
    [ 3.899983] usbserial: USB Serial support registered for FTDI USB Serial Device
    [ 4.070101] systemd-journald[72]: Received request to flush runtime journal from PID 1
    [ 6.646749] ti_am3359-tscadc 44e0d000.tscadc: Need atleast one channel.
    [ 6.653496] ti_am3359-tscadc: probe of 44e0d000.tscadc failed with error -22
    [ 6.666315] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 6.704930] omap_rtc 44e3e000.rtc: char device (253:0)
    [ 6.704960] omap_rtc 44e3e000.rtc: registered as rtc0
    [ 7.299822] at24 2-0054: GPIO lookup for consumer wp
    [ 7.299839] at24 2-0054: using device tree for GPIO lookup
    [ 7.299869] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/i2c@4819c000/cape_eeprom0@54[0]'
    [ 7.299884] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/i2c@4819c000/cape_eeprom0@54[0]'
    [ 7.299895] at24 2-0054: using lookup tables for GPIO lookup
    [ 7.299903] at24 2-0054: No GPIO consumer wp found
    [ 7.327459] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [ 7.403377] at24 2-0055: GPIO lookup for consumer wp
    [ 7.403394] at24 2-0055: using device tree for GPIO lookup
    [ 7.403422] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/i2c@4819c000/cape_eeprom1@55[0]'
    [ 7.403437] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/i2c@4819c000/cape_eeprom1@55[0]'
    [ 7.403447] at24 2-0055: using lookup tables for GPIO lookup
    [ 7.403454] at24 2-0055: No GPIO consumer wp found
    [ 7.431304] at24 2-0056: GPIO lookup for consumer wp
    [ 7.431500] at24 2-0056: using device tree for GPIO lookup
    [ 7.431532] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/i2c@4819c000/cape_eeprom2@56[0]'
    [ 7.431547] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/i2c@4819c000/cape_eeprom2@56[0]'
    [ 7.431556] at24 2-0056: using lookup tables for GPIO lookup
    [ 7.431564] at24 2-0056: No GPIO consumer wp found
    [ 7.459978] at24 2-0057: GPIO lookup for consumer wp
    [ 7.459995] at24 2-0057: using device tree for GPIO lookup
    [ 7.460023] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/i2c@4819c000/cape_eeprom3@57[0]'
    [ 7.460038] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/i2c@4819c000/cape_eeprom3@57[0]'
    [ 7.460048] at24 2-0057: using lookup tables for GPIO lookup
    [ 7.460056] at24 2-0057: No GPIO consumer wp found
    [ 7.800127] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 7.854785] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 8.032709] omap-aes 53500000.aes: will run requests pump with realtime priority
    [ 8.349543] remoteproc remoteproc0: wkup_m3 is available
    [ 8.387198] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 1
    [ 8.420898] remoteproc remoteproc0: powering up wkup_m3
    [ 8.435430] PM: Cannot get wkup_m3_ipc handle
    [ 8.540729] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 242888
    [ 8.729355] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [ 8.729376] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [ 9.701802] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [ 10.684472] net eth0: initializing cpsw version 1.12 (0)
    [ 10.929884] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [ 11.197208] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 16.119721] PM: bootloader does not support rtc-only!
    [ 16.194807] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [ 16.194825] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 16.194858] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 16.194873] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 16.194883] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 16.194891] am335x-phy-driver 47401300.usb-phy: No GPIO consumer reset found
    [ 16.194899] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [ 16.194904] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 16.194917] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 16.194929] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 16.194935] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 16.194941] am335x-phy-driver 47401300.usb-phy: No GPIO consumer vbus-detect found
    [ 16.195045] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 16.380468] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
    [ 16.491366] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [ 16.491384] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 16.491417] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 16.491432] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 16.491442] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 16.491449] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer reset found
    [ 16.491457] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [ 16.491462] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 16.491475] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 16.491488] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 16.491494] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 16.491500] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer vbus-detect found
    [ 16.491603] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 16.608941] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
    [ 16.703831] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 16.810442] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [ 16.912015] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [ 16.995531] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 17.071724] usb usb1: Product: MUSB HDRC host driver
    [ 17.130247] usb usb1: Manufacturer: Linux 4.19.94-gbe5389fd85 musb-hcd
    [ 17.237793] usb usb1: SerialNumber: musb-hdrc.1
    [ 17.278829] hub 1-0:1.0: USB hub found
    [ 17.321514] hub 1-0:1.0: 1 port detected
    [ 18.998968] remoteproc remoteproc1: 4a334000.pru is available
    [ 19.004890] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
    [ 19.149649] remoteproc remoteproc2: 4a338000.pru is available
    [ 19.155548] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
    [ 26.082328] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
    [ 26.927421] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
    [ 126.493740] NET: Registered protocol family 15
    [ 126.813418] Initializing XFRM netlink socket

    Thanks,

    M.Ramarao.

  • Hi Can you please look into this and help me to resolve this.

  • Hello Meda,

    How is your touchscreen connected to the AM335x? You would only use compatible = "ti,am3359-tsc" if you are connecting the touchscreen inputs to the AM335x ADC input pins. If touchscreen information is coming in over I2C, you would need to use a different device tree node.

    Regards,

    Nick

  • Hi Nick,

                  I am reading touch screen information over I2C and node configuration is like below. 

     

    &i2c1 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c1_pins>;
    status = "okay";
    clock-frequency = <100000>;
    #address-cells = <1>;
    #size-cells = <0>;


    edt-ft5x06@38{
    status = "okay";
    comaptible = "edt,edt-f5406","edt,edt-f5x06";
    pinctrl-names = "default";
    pinctrl-0 = <&ts_irq_pin>;
    reg = <0x38>;
    interrupt-parent = <&gpio3>;
    interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
    touchscreen-size-x= <800>;
    touchscreen-size-y= <480>;
    touchscreen-swap = <1>;
    touchscreen-revert-x = <1>;
    touchscreen-revert-y = <1>;

    };
    };

    I2C1 pins are 

    SCL:0x95c(9_17), SDA:0x958(9_18)

    Touchscreen IRQ pin: 0x9a4(9_27)

    Touch IC: FT5446DQS

    I feel my I2C module is failing to initialize  and please help me the configuration if i am missing something.

    Thanks,

    M.Ramarao.

  • Hi ,

          I have moved to i2c2 and below is my configuration. i am still getting errors which are highlighted in log. Please help me to resolve them.

    I am using capacitive touchscreen(model no:AFK800480A0-7.0N12NTM- C)

    &i2c2 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c2_pins>;
    status = "okay";
    clock-frequency = <100000>;
    #address-cells = <1>;
    #size-cells = <0>;


    polytouch: edt-ft5x06@38{
    status = "okay";
    comaptible = "edt,edt-f5406","edt,edt-f5x06";
    pinctrl-names = "default";
    pinctrl-0 = <edt-ft5x06_pins>;
    reg = <0x38>;
    interrupt-parent = <&gpio3>;
    interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
    touchscreen-size-x= <800>;
    touchscreen-size-y= <480>;
    //touchscreen-swapped-x-y;

    };

    };

    pins are

    VSS-9_1

    VDD-9_3

    SDA-9_20

    SCL-9_19

    RST- +ve section @bread board

    INT-9_27

    NC-

    VSS-9_46

    log:

    [1.332475] Loading compiled-in X.509 certificates
    [ 1.349004] mmc1: new high speed MMC card at address 0001
    [ 1.355382] mmcblk1: mmc1:0001 M62704 3.53 GiB
    [ 1.360583] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
    [ 1.367082] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
    [ 1.373261] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB, chardev (244:0)
    [ 1.382290] mmcblk1: p1
    [ 1.394285] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [ 1.400160] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.407699] i2c i2c-2: of_i2c: modalias failure on /ocp/i2c@4819c000/edt-ft5x06@38
    [ 1.415318] i2c i2c-2: Failed to create I2C device for /ocp/i2c@4819c000/edt-ft5x06@38
    [ 1.423416] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [ 1.429610] cpu cpu0: Linked as a consumer to regulator.3
    [ 1.435107] cpu cpu0: Dropping the link to regulator.3
    [ 1.440728] cpu cpu0: Linked as a consumer to regulator.3
    [ 1.447464] hctosys: unable to open rtc device (rtc0)
    [ 1.453079] ALSA device list:
    [ 1.456265] No soundcards found.
    [ 1.529703] EXT4-fs (mmcblk0p2): recovery complete

    Thanks,

    M.Ramarao.

  • root@am335x-evm:~# i2cdetect -y -r 2
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- 1c -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- UU -- -- -- -- -- -- -- 5c -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- ---

    i am getting above result for i2cdetect

  • Hello Meda,

    TI does not own the edt-ft5x06 driver, so we will be limited in the assistance we can provide.

    Note that you can find the bindings documentation for that device tree node in Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt

    You have a spelling error in your device tree: comaptible should be compatible.

    Regards,

    Nick