Other Parts Discussed in Thread: AM5728, , DRA72, DRA722, TPD12S015, TPD12S016, TPS51200
on customer board run weston test got error as below:
root@am57xx-evm:~# weston --tty=1 --backend=drm-backend.so
Date: 2020-04-19 UTC
[02:16:57.455] weston 5.0.0
wayland.freedesktop.org
Bug reports to: gitlab.freedesktop.org/.../
Build: unknown (not built from git or tarball)
[02:16:57.455] Command line: weston --tty=1 --backend=drm-backend.so
[02:16:57.455] OS: Linux, 4.19.94-gbe5389fd85, #15 SMP PREEMPT Sun Mar 7 16:52:19 CST 2021, armv7l
[02:16:57.456] Using config file '/etc//weston.ini'
[02:16:57.457] Output repaint window is 7 ms maximum.
[02:16:57.457] Loading module '/usr/lib/libweston-5/drm-backend.so'
[02:16:57.459] initializing drm backend
[02:16:57.462] using /dev/dri/card0
[02:16:57.462] DRM: supports universal planes
[02:16:57.462] DRM: supports atomic modesetting
[02:16:57.462] DRM: supports picture aspect ratio
[02:16:57.462] Loading module '/usr/lib/libweston-5/gl-renderer.so'
PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
PVR:(Error): Couldn't connect to services [0, ]
PVR:(Error): PVRDRIEGLGlobalDataInit: PVR Services initialisation failed [0, ]
PVR:(Error): PVRDRICreateScreenImpl: Couldn't create EGL global data [0, ]
MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)
failed to load swrast driver
[02:16:57.480] failed to initialize egl
[02:16:57.495] fatal: failed to create compositor backend
[02:16:57.495] Internal warning: debug scope 'drm-backend' has not been destroyed.
compare to run it on AM5728 EVM, it is:
root@am57xx-evm:/# weston --tty=1 --backend=drm-backend.so
Date: 2017-12-24 UTC
[00:00:33.756] weston 1.11.0
http://wayland.freedesktop.org
Bug reports to: bugs.freedesktop.org/enter_bug.cgi
Build: 1.10.93-2-g2d825ed configure.ac: bump to version 1.11.0 for the official release (2016-05-31 17:10:40 -0700)
[00:00:33.757] OS: Linux, 4.4.19-gdb0b54cdad, #7 SMP PREEMPT Thu Sep 7 10:01:08 CST 2017, armv7l
[00:00:33.757] Using config file '/etc//weston.ini'
[00:00:33.757] Output repaint window is 7 ms maximum.
[00:00:33.757] Loading module '/usr/lib/weston/drm-backend.so'
[00:00:33.760] initializing drm backend
[00:00:33.762] using /dev/dri/card0
[00:00:33.762] Loading module '/usr/lib/weston/gl-renderer.so'
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[00:00:33.767] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[00:00:33.772] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[00:00:33.773] Retrieving EGL client extension string failed.
[00:00:33.776] input device 'PenMount Serial TouchScreen', /dev/input/event1 is tagged by udev as: Touchscreen
[00:00:33.777] input device 'PenMount Serial TouchScreen', /dev/input/event1 is a touch device
[00:00:33.778] input device 'gpio_keys', /dev/input/event0 is tagged by udev as: Keyboard
[00:00:33.778] input device 'gpio_keys', /dev/input/event0 is a keyboard
[00:00:33.804] EGL version: 1.4 build 1.14@3699939 (MAIN)
[00:00:33.804] EGL vendor: Imagination Technologies
[00:00:33.805] EGL client APIs: OpenGL_ES
[00:00:33.805] EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image
EGL_KHR_image_base EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync
EGL_IMG_context_priority EGL_IMG_hibernate_process
EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context
EGL_KHR_wait_sync EGL_KHR_create_context
EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
[00:00:33.806] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
[00:00:33.806] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
[00:00:33.806] GL vendor: Imagination Technologies
[00:00:33.806] GL renderer: PowerVR SGX 544MP
[00:00:33.806] GL extensions: GL_OES_rgb8_rgba8 GL_OES_depth24
GL_OES_vertex_half_float GL_OES_texture_float
GL_OES_texture_half_float GL_OES_element_index_uint
GL_OES_mapbuffer GL_OES_fragment_precision_high
GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_required_internalformat
GL_OES_depth_texture GL_OES_get_program_binary
GL_OES_packed_depth_stencil GL_OES_standard_derivatives
GL_OES_vertex_array_object GL_OES_egl_sync GL_OES_texture_npot
GL_OES_surfaceless_context GL_EXT_discard_framebuffer
GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod
GL_EXT_texture_format_BGRA8888 GL_EXT_occlusion_query_boolean
GL_EXT_texture_rg GL_EXT_draw_buffers
GL_EXT_shader_framebuffer_fetch GL_IMG_shader_binary
GL_IMG_texture_compression_pvrtc
GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_npot
GL_IMG_texture_format_BGRA8888 GL_IMG_read_format
GL_IMG_program_binary GL_IMG_uniform_buffer_object
GL_IMG_multisampled_render_to_texture GL_KHR_debug
[00:00:33.809] GL ES 2 renderer features:
read-back format: RGBA
wl_shm sub-image to texture: no
EGL Wayland extension: yes
[00:00:33.809] Chosen EGL config details:
RGBA bits: 8 8 8 8
swap interval range: 1 - 1
[00:00:33.810] cursor buffers unavailable, using gl cursors
[00:00:33.810] Failed to initialize backlight
[00:00:33.810] Applying calibration: 1.082382 0.029997 -42.812805 -0.005999 1.108379 -21.933563 (normalized -0.053516 -0.045695)
[00:00:33.811] Output Unknown-1, (connector 32, crtc 34)
mode 800x480@61.6, preferred, current
[00:00:33.811] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
[00:00:33.811] Loading module '/usr/lib/weston/desktop-shell.so'
[00:00:33.812] launching '/usr/libexec/weston-keyboard'
[00:00:33.813] launching '/usr/libexec/weston-desktop-shell'
[00:00:33.815] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[00:00:33.816] input_method disconnected, respawning...
[00:00:33.817] launching '/usr/libexec/weston-keyboard'
[00:00:33.817] /usr/libexec/weston-keyboard exited with status 255
/usr/libexec/weston-desktop-shell: /lib/libz.so.1: no version information available (required by /usr/lib/libpng16.so.16)
[00:00:33.820] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[00:00:33.875] input_method disconnected, respawning...
[00:00:33.875] launching '/usr/libexec/weston-keyboard'
[00:00:33.876] /usr/libexec/weston-keyboard exited with status 255
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
[00:00:33.889] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[00:00:33.890] input_method disconnected, respawning...
[00:00:33.890] launching '/usr/libexec/weston-keyboard'
[00:00:33.891] /usr/libexec/weston-keyboard exited with status 255
[00:00:33.892] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[00:00:33.892] input_method disconnected, respawning...
[00:00:33.892] launching '/usr/libexec/weston-keyboard'
[00:00:33.893] /usr/libexec/weston-keyboard exited with status 255
[00:00:33.894] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[00:00:33.895] input_method disconnected, respawning...
[00:00:33.895] launching '/usr/libexec/weston-keyboard'
[00:00:33.896] /usr/libexec/weston-keyboard exited with status 255
[00:00:33.896] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[00:00:33.899] input_method disconnected, giving up.
[00:00:33.899] /usr/libexec/weston-keyboard exited with status 255
I past dts file below as the forum under construction, can't upload file:
am571x-Edit.dts:
/*
* Copyright (C) 2015-2016 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 "dra72x.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include "dra7-mmc-iodelay.dtsi"
#include "dra72x-mmc-iodelay.dtsi"
#include "am571x-Edit-common.dtsi"
#include "dra7-ipu-dsp-common.dtsi"
/ {
model = "TI AM5718 Edit";
compatible = "ti,am5718-idk", "ti,am5718", "ti,dra722", "ti,dra72", "ti,dra7";
aliases {
display0 = "/display";
display1 = "/connector";
};
memory@80000000 {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x80000000>;
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
cmem_block_mem_2: cmem_block_mem@c0000000 {
reg = <0x0 0xc0000000 0x0 0x20000000>;
no-map;
status = "okay";
};
cmem_block_mem_0: cmem_block_mem@a0000000 {
reg = <0x0 0xa0000000 0x0 0x0c000000>;
no-map;
status = "okay";
};
ipu2_memory_region: ipu2-memory@95800000 {
compatible = "shared-dma-pool";
reg = <0x0 0x95800000 0x0 0x3800000>;
reusable;
status = "okay";
};
dsp1_memory_region: dsp1-memory@99000000 {
compatible = "shared-dma-pool";
reg = <0x0 0x99000000 0x0 0x4000000>;
reusable;
status = "okay";
};
ipu1_memory_region: ipu1-memory@9d000000 {
compatible = "shared-dma-pool";
reg = <0x0 0x9d000000 0x0 0x2000000>;
reusable;
status = "okay";
};
};
cmem {
compatible = "ti,cmem";
#address-cells = <1>;
#size-cells = <0>;
#pool-size-cells = <2>;
status = "okay";
cmem_block_2: cmem_block@2 {
reg = <2>;
memory-region = <&cmem_block_mem_2>;
cmem-buf-pools = <1 0x0 0x20000000>;
};
cmem_block_0: cmem_block@0 {
reg = <0>;
memory-region = <&cmem_block_mem_0>;
cmem-buf-pools = <1 0x0 0x0c000000>;
};
};
leds {
pinctrl-names = "default";
pinctrl-0 = <&leds_pins_default>;
status = "okay";
compatible = "gpio-leds";
led1 {
label = "led1";
gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led2 {
label = "led2";
gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led3 {
label = "led3";
gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led4 {
label = "led4";
gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led5 {
label = "led5";
gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
};
hdmi0: connector@0 {
compatible = "hdmi-connector";
status = "okay";
label = "hdmi";
type = "a";
port {
hdmi_connector_in: endpoint {
remote-endpoint = <&tpd12s015_out>;
};
};
};
tpd12s015: encoder@0 {
compatible = "ti,tpd12s016", "ti,tpd12s015";
gpios = <0>, /* optional CT_CP_HPD */
<0>, /* optional LS_OE */
<&gpio7 12 GPIO_ACTIVE_HIGH>; /* HPD */
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
tpd12s015_in: endpoint@0 {
remote-endpoint = <&hdmi_out>;
};
};
port@1 {
reg = <1>;
tpd12s015_out: endpoint@0 {
remote-endpoint = <&hdmi_connector_in>;
};
};
};
};
/*
* LCD Pannel Setting
*/
lcd0: display {
compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
backlight = <&lcd_bl>;
status = "okay";
label = "lcd";
/*pinctrl-names = "default";*/
/*pinctrl-0 = <&lcd_pins_s0>;*/
/* enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;*/
panel-timing {
clock-frequency = <30000000>;
hactive = <800>;
vactive = <480>;
hfront-porch = <40>;
hback-porch = <88>;
hsync-len = <48>;
vback-porch = <32>;
vfront-porch = <13>;
vsync-len = <3>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
port {
lcd_in: endpoint {
remote-endpoint = <&dpi_out>;
};
};
};
/*
* LCD Backlight.
*/
lcd_bl: backlight {
compatible = "pwm-backlight";
pwms = <&ehrpwm2 0 50000 0>;
pinctrl-names = "default";
pinctrl-0 = <&backlight_pins>;
/* Anything lower than 241 is no longer visible */
brightness-levels = <0 255 219 183 147 111 75 39 0>;
default-brightness-level = <1>;
/* we provide a physical power-supply for backlight!
* So, the power-supply propety is not needed!
*/
};
};
/*
* ehrPWM 2&3 module.
*/
&epwmss1 {
status = "okay";
};
&ehrpwm1 {
status = "okay";
};
&epwmss2 {
status = "okay";
};
&ehrpwm2 {
status = "okay";
};
/*touch screen*/
&uart4 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&touchscreen_pins>;
};
/*
* Display subsystem remote endport.
*/
&dss {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port {
reg = <2>;
dpi_out: endpoint {
remote-endpoint = <&lcd_in>;
data-lines = <24>;
};
};
};
};
&hdmi {
status = "disabled";
port {
hdmi_out: endpoint {
remote-endpoint = <&tpd12s015_in>;
};
};
};
&ipu2 {
status = "okay";
memory-region = <&ipu2_memory_region>;
};
&ipu1 {
status = "okay";
memory-region = <&ipu1_memory_region>;
};
&dsp1 {
status = "okay";
memory-region = <&dsp1_memory_region>;
};
&i2c3 {
status = "okay";
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c3_pins_default>;
rtc11:rtc@6f {
compatible = "microchip,mcp7941x";
reg = <0x6f>;
// interrupt-parent = <&gpio2>;
// interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
status = "okay";
};
};
&mmc1 {
status = "okay";
vmmc-supply = <&ldo1_reg>;
vqmmc-supply = <&ldo1_reg>;
bus-width = <4>;
cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
no-1-8-v;
pinctrl-names = "default", "hs";
pinctrl-0 = <&mmc1_pins_default>;
pinctrl-1 = <&mmc1_pins_hs>;
};
&mmc2 {
status = "okay";
vmmc-supply = <&vdd_3v3>;
vqmmc-supply = <&vdd_3v3>;
bus-width = <8>;
non-removable;
no-1-8-v;
pinctrl-names = "default", "hs", "ddr_3_3v";
pinctrl-0 = <&mmc2_pins_default>;
pinctrl-1 = <&mmc2_pins_hs>;
// pinctrl-2 = <&mmc2_pins_ddr_3_3v_rev11 &mmc2_iodelay_ddr_3_3v_rev11_conf>;
pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
};
&mac {
status = "okay";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_pins_default>;
pinctrl-1 = <&cpsw_pins_sleep>;
/* dual_emac;*/
};
&davinci_mdio {
phy1: ethernet-phy@0 {
reg = <1>;//phy address
};
};
/*&cpsw_emac0 {
phy-handle = <&phy0>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};*/
&cpsw_emac1 {
phy-handle = <&phy1>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};
&davinci_mdio {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_pins_default>;
pinctrl-1 = <&davinci_mdio_pins_sleep>;
};
&usb2_phy1 {
phy-supply = <&ldousb_reg>;
};
&usb2_phy2 {
phy-supply = <&ldousb_reg>;
};
&usb1 {
dr_mode = "host";
};
&usb2 {
dr_mode = "host";
};
/*&rtc {
status = "okay";
ext-clk-src;
};*/
&pruss_soc_bus1 {
status = "okay";
pruss1: pruss@4b200000 {
status = "okay";
/*pru1_0: pru@4b234000 {
interrupt-parent = <&pruss1_intc>;
interrupts = <16>, <17>;
interrupt-names = "vring", "kick";
status = "okay";
};
pru1_1: pru@4b238000 {
interrupt-parent = <&pruss1_intc>;
interrupts = <18>, <19>;
interrupt-names = "vring", "kick";
status = "okay";
};*/
};
};
&pruss_soc_bus2 {
status = "okay";
pruss2: pruss@4b280000 {
status = "okay";
/*pru2_0: pru@4b2b4000 {
interrupt-parent = <&pruss2_intc>;
interrupts = <16>, <17>;
interrupt-names = "vring", "kick";
status = "okay";
};
pru2_1: pru@4b2b8000 {
interrupt-parent = <&pruss2_intc>;
interrupts = <18>, <19>;
interrupt-names = "vring", "kick";
status = "okay";
};*/
};
};
&dra7_pmx_core {
cpsw_pins_default: cpsw_pins_default {
pinctrl-single,pins = <
/* Slave at addr 0x0 */
DRA7XX_CORE_IOPAD(0x3650, PIN_OUTPUT | MUX_MODE0) /* rgmii0_tclk */
DRA7XX_CORE_IOPAD(0x3654, PIN_OUTPUT | MUX_MODE0) /* rgmii0_tctl */
DRA7XX_CORE_IOPAD(0x3658, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td3 */
DRA7XX_CORE_IOPAD(0x365c, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td2 */
DRA7XX_CORE_IOPAD(0x3660, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td1 */
DRA7XX_CORE_IOPAD(0x3664, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td0 */
DRA7XX_CORE_IOPAD(0x3668, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rclk */
DRA7XX_CORE_IOPAD(0x366c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rctl */
DRA7XX_CORE_IOPAD(0x3670, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd3 */
DRA7XX_CORE_IOPAD(0x3674, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd2 */
DRA7XX_CORE_IOPAD(0x3678, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd1 */
DRA7XX_CORE_IOPAD(0x367c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd0 */
/* Slave at addr 0x1 */
DRA7XX_CORE_IOPAD(0x3598, PIN_OUTPUT | MUX_MODE3) /* vin2a_d12.rgmii1_tclk */
DRA7XX_CORE_IOPAD(0x359c, PIN_OUTPUT | MUX_MODE3) /* vin2a_d13.rgmii1_tctl */
DRA7XX_CORE_IOPAD(0x35a0, PIN_OUTPUT | MUX_MODE3) /* vin2a_d14.rgmii1_td3 */
DRA7XX_CORE_IOPAD(0x35a4, PIN_OUTPUT | MUX_MODE3) /* vin2a_d15.rgmii1_td2 */
DRA7XX_CORE_IOPAD(0x35a8, PIN_OUTPUT | MUX_MODE3) /* vin2a_d16.rgmii1_td1 */
DRA7XX_CORE_IOPAD(0x35ac, PIN_OUTPUT | MUX_MODE3) /* vin2a_d17.rgmii1_td0 */
DRA7XX_CORE_IOPAD(0x35b0, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d18.rgmii1_rclk */
DRA7XX_CORE_IOPAD(0x35b4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d19.rgmii1_rctl */
DRA7XX_CORE_IOPAD(0x35b8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d20.rgmii1_rd3 */
DRA7XX_CORE_IOPAD(0x35bc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d21.rgmii1_rd2 */
DRA7XX_CORE_IOPAD(0x35c0, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d22.rgmii1_rd1 */
DRA7XX_CORE_IOPAD(0x35c4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d23.rgmii1_rd0 */
>;
};
cpsw_pins_sleep: cpsw_pins_sleep {
pinctrl-single,pins = <
/* Slave 1 */
DRA7XX_CORE_IOPAD(0x3650, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3654, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3658, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x365c, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3660, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3664, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3668, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x366c, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3670, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3674, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3678, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x367c, PIN_INPUT | MUX_MODE15)
/* Slave 2 */
DRA7XX_CORE_IOPAD(0x3598, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x359c, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35a0, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35a4, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35a8, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35ac, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35b0, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35b4, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35b8, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35bc, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35c0, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x35c4, PIN_INPUT | MUX_MODE15)
>;
};
davinci_mdio_pins_default: davinci_mdio_pins_default {
pinctrl-single,pins = <
/* MDIO */
DRA7XX_CORE_IOPAD(0x3590, PIN_OUTPUT_PULLUP | MUX_MODE3)/* vin2a_d10.mdio_mclk */
DRA7XX_CORE_IOPAD(0x3594, PIN_INPUT_PULLUP | MUX_MODE3) /* vin2a_d11.mdio_d */
>;
};
davinci_mdio_pins_sleep: davinci_mdio_pins_sleep {
pinctrl-single,pins = <
DRA7XX_CORE_IOPAD(0x3590, PIN_INPUT | MUX_MODE15)
DRA7XX_CORE_IOPAD(0x3594, PIN_INPUT | MUX_MODE15)
>;
};
leds_pins_default: leds_pins_default {
pinctrl-single,pins = <
DRA7XX_CORE_IOPAD(0x36ec, MUX_MODE14 | PIN_INPUT_PULLUP)
DRA7XX_CORE_IOPAD(0x36f0, MUX_MODE14 | PIN_INPUT_PULLUP)
// DRA7XX_CORE_IOPAD(0x3680, PIN_OUTPUT_PULLUP | MUX_MODE14) /* usb1vbus */
// DRA7XX_CORE_IOPAD(0x3684, PIN_OUTPUT_PULLUP | MUX_MODE14) /* usb2vbus */
>;
};/**/
i2c3_pins_default: i2c3_pins_default {
pinctrl-single,pins = <
DRA7XX_CORE_IOPAD(0x36A4, PIN_INPUT_PULLUP | MUX_MODE10) /* i2c5_sda.sda */
DRA7XX_CORE_IOPAD(0x36A8, PIN_INPUT_PULLUP | MUX_MODE10) /* i2c5_scl.scl */
>;
};
backlight_pins: backlight_pins{
pinctrl-single,pins = <
DRA7XX_CORE_IOPAD(0x3794, PIN_OUTPUT | MUX_MODE10) /* pwm3a */
>;
};
touchscreen_pins: touchscreen_pins{
pinctrl-single,pins = <
DRA7XX_CORE_IOPAD(0x3740, PIN_OUTPUT | MUX_MODE4) /* uart4_txd */
DRA7XX_CORE_IOPAD(0x373C, PIN_INPUT | MUX_MODE4) /* uart4_rxd */
>;
};
};
&gpio1 {
ti,no-reset-on-init;
};
&gpio2 {
ti,no-reset-on-init;
};
&gpio3 {
ti,no-reset-on-init;
};
&gpio4 {
ti,no-reset-on-init;
};
&gpio5 {
ti,no-reset-on-init;
};
&gpio6 {
ti,no-reset-on-init;
};
&gpio7 {
ti,no-reset-on-init;
};
//#include "dra7-ipu-common-early-boot.dtsi"
//#include "am57xx-evm-cmem-am571x.dtsi"
file am571x-Edit-common.dtsi:
/*
* Copyright (C) 2015-2016 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 "am57xx-commercial-grade.dtsi"
/ {
aliases {
rtc1 = &tps659038_rtc;
rtc2 = &rtc;
};
chosen {
stdout-path = &uart3;
};
main_24v0: fixedregulator-main_24v0 {
/* main supply */
compatible = "regulator-fixed";
regulator-name = "main_24v0";
regulator-min-microvolt = <24000000>;
regulator-max-microvolt = <24000000>;
regulator-always-on;
regulator-boot-on;
};
evm_5v0: fixedregulator-evm_5v0 {
/* Output of TPS54531D */
compatible = "regulator-fixed";
regulator-name = "evm_5v0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&main_24v0>;
regulator-always-on;
regulator-boot-on;
};
vdd_3v3: fixedregulator-vdd_3v3 {
compatible = "regulator-fixed";
regulator-name = "vdd_3v3";
vin-supply = <®en1>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
aic_dvdd: fixedregulator-aic_dvdd {
compatible = "regulator-fixed";
regulator-name = "aic_dvdd_fixed";
vin-supply = <&vdd_3v3>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
vtt_fixed: fixedregulator-vtt {
/* TPS51200 */
compatible = "regulator-fixed";
regulator-name = "vtt_fixed";
vin-supply = <&smps3_reg>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
enable-active-high;
gpio = <&gpio8 6 GPIO_ACTIVE_HIGH>;
};
};
&i2c1 {
status = "okay";
clock-frequency = <400000>;
tps659038: tps659038@58 {
compatible = "ti,tps659038";
reg = <0x58>;
// interrupt-parent = <&gpio1>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
#interrupt-cells = <2>;
interrupt-controller;
ti,system-power-controller;
ti,palmas-override-powerhold;
tps659038_pmic {
compatible = "ti,tps659038-pmic";
regulators {
smps12_reg: smps12 {
/* VDD_MPU */
regulator-name = "smps12";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1250000>;
regulator-always-on;
regulator-boot-on;
};
smps3_reg: smps3 {
/* VDD_DDR */
regulator-name = "smps3";
regulator-min-microvolt = <1350000>;
regulator-max-microvolt = <1350000>;
regulator-always-on;
regulator-boot-on;
};
smps45_reg: smps45 {
/* VDD_DSPEVE on AM572 */
/* VDD_IVA + VDD_DSP on AM571 */
regulator-name = "smps45";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1250000>;
regulator-always-on;
regulator-boot-on;
};
smps6_reg: smps6 {
/* VDD_CORE */
regulator-name = "smps6";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1150000>;
regulator-always-on;
regulator-boot-on;
};
/* SMPS7 unused */
smps8_reg: smps8 {
/* VDD_1V8 */
regulator-name = "smps8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
/* SMPS9 unused */
ldo1_reg: ldo1 {
/* VDD_SD / VDDSHV8 */
regulator-name = "ldo1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo2_reg: ldo2 {
/* VDD_SHV5 */
regulator-name = "ldo2";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
ldo3_reg: ldo3 {
/* VDDA_1V8_PHYA */
regulator-name = "ldo3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
ldo4_reg: ldo4 {
/* VDDA_1V8_PHYB*/
regulator-name = "ldo4";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
/* LDO5-8 unused */
ldo9_reg: ldo9 {
/* VDD_RTC */
regulator-name = "ldo9";
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
regulator-always-on;
regulator-boot-on;
};
ldoln_reg: ldoln {
/* VDDA_1V8_PLL */
regulator-name = "ldoln";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
ldousb_reg: ldousb {
/* VDDA_3V_USB: VDDA_USBHS33 */
regulator-name = "ldousb";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
};
regen1: regen1 {
/* VDD_3V3_ON */
regulator-name = "regen1";
regulator-boot-on;
regulator-always-on;
};
};
};
tps659038_rtc: tps659038_rtc {
compatible = "ti,palmas-rtc";
interrupt-parent = <&tps659038>;
interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
wakeup-source;
};
tps659038_pwr_button: tps659038_pwr_button {
compatible = "ti,palmas-pwrbutton";
interrupt-parent = <&tps659038>;
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
wakeup-source;
ti,palmas-long-press-seconds = <12>;
};
tps659038_gpio: tps659038_gpio {
compatible = "ti,palmas-gpio";
gpio-controller;
#gpio-cells = <2>;
};
/*extcon_usb2: tps659038_usb {
compatible = "ti,palmas-usb-vid";
ti,disable-vbus-detection;
};*/
};
};
&uart3 {
status = "okay";
interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
<&dra7_pmx_core 0x3f8>;
};
&cpu0 {
vdd-supply = <&smps12_reg>;
};
Please help give some clue, is it related to board configuration, or filesystem? or else?