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.

[参考译文] AM5718:显示屏不工作

Guru**** 1643550 points
Other Parts Discussed in Thread: AM5728, AM5718, DRA722, TPD12S015, TPD12S016, TPS51200
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/984412/am5718-display-not-work

器件型号:AM5718AM5718
主题中讨论的其他器件:AM5728DRA72DRA722TPD12S015TPD12S016TPS51200

在客户电路板上运行 Weston 测试时出现错误、如下所示:

root@am57xx-EVM:~# Weston --tty=1 --backend=drm-backend.so
日期:2020-04-19 UTC
[02:16:57.455] Weston 5.0.0
wayland.freedesktop.org
故障报告发送至: gitlab.freedesktop.org/.../
构建:未知(不是通过 git 或 tarball 构建)
[02:16:57.455]命令行:Weston --tty=1 --backend=DRM-backend.so
[02:16:57.455]操作系统:Linux、4.19.94-gbe5389fd85、#15 SMP 优先于 Sun Mar 7 16:52:19 CST 2021、armv7l
[02:16:57.456]使用配置文件'/etc/weston.ini'
[02:16:57.457]"Output Mspine"(重新喷漆)窗口的最大值为7ms。
[02:16:57.457]装载模块'/usr/lib/libweston-5/drm-backend.so '
[02:16:57.459]正在初始化 DRM 后端
[02:16:57.462]使用/dev/dri/card0
[02:16:57.462] DRM:支持通用平面
[02:16:57.462] DRM:支持原子模式设置
[02:16:57.462] DRM:支持图片纵横比
[02:16:57.462]负载模块"/usr/lib/libweston-5/gl-renderer.so
PVR:(错误):OpenServices:PVRDRMOpenRender 失败[0、]
PVR:(错误):PVRSRVConnect:无法打开连接。 [0、]
PVR:(错误):无法连接到服务[0、]
PVR:(错误):PVRDRIEGLGlobalDataInit: PVR 服务初始化失败[0、]
PVR:(错误):PVRDRICreateScreenImpl:无法创建 EGL 全局数据[0、]
Mesa 加载程序:无法打开 kms_swast (搜索路径/usr/lib/dri)
无法加载驱动程序:kms_swrast
Mesa 加载程序:无法打开 swrast (搜索路径/usr/lib/dri)
无法加载 swrast 驱动程序
[02:16:57.480]初始化 EGL 失败
[02:16:57.495]致命:创建合成器后端失败
[02:16:57.495]内部警告:调试范围'rm-backend'未被销毁。

与在 AM5728 EVM 上运行相比、它是:  

root@am57xx-EVM://# Weston --tty=1 --backend=drm-backend.so
日期:2017-12-24 UTC
[00:00:33.756] Weston 1.11.0
http://wayland.freedesktop.org
故障报告发送至: bugs.freedesktop.org/enter_bug.cgi
内部版本:1.10.93-2-g2d825ed configuration.ac:正式版本(2016-05-31 17:10:40 -0700)的固件版本为1.11.0
[00:00:33.757]操作系统:Linux、4.4.4.19-gdb0b54cdad、#7 SMP 抢占 Thu Sep 7 10:01:08 CST 2017、armv7l
[00:00:33.757]使用配置文件'/etc/weston.ini'
[00:00:33.757]重新喷漆窗口最长为7ms。
[00:00:33.757]加载模块"/usr/lib/weston/drm-backend.so
[00:00:33.760]正在初始化 DRM 后端
[00:00:33.762]使用/dev/dri/card0
[00:00:33.762]装载模块"/usr/lib/weston/gl-renderer.so
无法加载模块:/usr/lib/gbm/gbm_dri.so:无法打开共享目标文件:无此类文件或目录
无法加载模块:/usr/lib/gbm/gbm_gallium_drm.so:无法打开共享目标文件:无此类文件或目录
加载的模块:GBM_PVR.SO
找到有效的 GBM 后端:GBM_PVR.SO
[00:00:33.767]警告:不支持 EGL_EXT_platform_BASE 或特定平台;返回到 eglGetDisplay。
[00:00:33.772]警告:不支持 EGL_EXT_buffer_age。 性能可能会受到影响。
[00:00:33.773]检索 EGL 客户端扩展字符串失败。
[00:00:33.776]输入设备'PenMount Serial Touchscreen (PenMount 串行触摸屏)'、/dev/input/event1被 udev 标记为:触摸屏
[00:00:33.777]输入设备'PenMount Serial Touchs'、/dev/input/event1是一款触摸设备
[00:00:33.778]输入设备'GPIO_keys'、/dev/input/event0由 udev 标记为:键盘
[00:00:33.778]输入设备'GPIO_keys'、/dev/input/event0是键盘
[00:00:33.804] EGL 版本:1.4 Build 1.14@3699939 (main)
[00:00:33.804] EGL 供应商:Imagination Technologies
[00:00:33.805] EGL 客户端 API:OpenGL_ES
[00:00:33.805] EGL 扩展:EGL_IMG_CLIENT_API_OGL EGL_KHR_image
EGL_KHR_IMAGE_BASE EGL_KHR_gl_纹 理_2D_image
EGL_KHR_gL_纹 理_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_CONSION_ATTRIBS EGL_KHR_SURFACY_CONTEXT
EGL_KHR_WAIT_SYNC EGL_KHR_CREASE_CONTEXT
EGL_WL_BIND_wayland_display EGL_EXT_IMAGE_DMA_buf_import
[00:00:33.806] GL 版本:OpenGL ES 2.0内部版本1.14@3699939 (主版本)
[00:00:33.806] GLSL 版本:OpenGL ES GLSL ES 1.00 Build 1.14@3699939 (main)
[00:00:33.806] GL 供应商:Imagination Technologies
[00:00:33.806] GL 渲染器:PowerVR SGX 544MP
[00:00:33.806] GL 扩展名:GL_OES_rgb8_rgba8 GL_OES_depth24
gL_Oes_vertex_half_float gL_Oes_纹 理_float
GL_OES_纹 理_Half_float GL_OES_Element_index_uint
gL_Oes_mapbuffer gL_Oes_fragment_precision_high
GL_OES_COMPLEED_ETC1_RGB8_TESDLE_OES_EGL_IMAGE
GL_OES_EGL_IMAGE_EXTERNAL GL_OES_Required_internalformat
GL_OES_DEPTY_纹 理 GL_OES_GET_program_binary
GL_OES_packed_depthe_stencil GL_OES_standard_衍生 产品
gL_Oes_vertex_array_object gL_Oes_EGL_SYNC gL_Oes_纹 理 nPOT
gL_Oes_surfaceless gL_context gL_EXT_Discard 帧缓冲区
GL_EXT_blind_MinMax GL_EXT_MULTI_RAGE_ARRAINESS_DIAING_RAMINMAX
GL_EXT_MULTI采样_呈现_至_纹理 GL_EXT_SHADER_TEST_LOD
GL_EXT_纹 理_FORMAT_BGRA8888 GL_EXT_occlustion_query_boolean
GL_EXT_纹 理_Rg GL_EXT_Draw 缓冲区
GL_EXT_shader_framebuffer_fetch GL_IMG_shader_binary
gL_IMG_纹 理_compression_pvrtc
gL_IMG_纹 理_压缩_pvrtc2 gL_IMG_纹 理_ nPOT
GL_IMG_纹 理_FORMAT_BGRA8888 GL_IMG_READ_FORMAT
GL_IMG_program_binary GL_IMG_unifore_buffer_object
GL_IMG_MULTI采样_渲染到纹理 GL_KHR_DEBUG
[00:00:33.809] GL ES 2渲染器特性:
读回格式:RGBA
WL_shm 子图像到纹理:否
EGL Wayland 扩展:是
[00:00:33.809]选择的 EGL 配置详细信息:
RGBA 位:8 8 8
交换间隔范围:1 - 1
[00:00:33.810]光标缓冲区不可用、使用 gl 光标
[00:00:33.810]无法初始化背光
[00:00:33.810]应用校准:1.082382 0.029997 - 42.812805 - 0.005999 1.108379 - 21.933563 (标准化-0.053516 - 0.045695)
[00:00:33.811]输出未知-1 (连接器32、CRTC 34)
模式800x480@61.6、首选、电流
[00:00:33.811]复合器功能:
任意曲面旋转:是
屏幕捕获使用 y 翻转:是
演示时钟:clock_monotonic、id 1
[00:00:33.811]负载模块"/usr/lib/weston/desktop-shell.so
[00:00:33.812]启动'/usr/libexec/weston-keyboard
[00:00:33.813]启动'/usr/libexec/weston-desktop-shell
[00:00:33.815]合成器:执行'/usr/libexec/weston-keyboard 失败:没有这样的文件或目录
[00:00:33.816] INPUT_METHOD 已断开连接、正在重新生成...
[00:00:33.817]启动'/usr/libexec/weston-keyboard
[00:00:33.817]/usr/libexec/weston-keyboard 退出、状态为255
/usr/libexec/weston-desktop-shell:/lib/libz.so.1:无可用版本信息(/usr/lib/libpng16.so.16需要)
[00:00:33.820]合成器:执行'/usr/libexec/weston-keyboard 失败:没有这样的文件或目录
[00:00:33.875] INPUT_METHOD 已断开连接、正在重新生成...
[00:00:33.875]启动'/usr/libexec/weston-keyboard
[00:00:33.876]/usr/libexec/weston-keyboard 退出、状态为255
无法加载光标"移动"
无法加载光标'dnd-copy'
无法加载光标'nd-none'
[00:00:33.89]合成器:执行'/usr/libexec/weston-keyboard 失败:没有这样的文件或目录
[00:00:33.890] INPUT_METHOD 已断开连接、正在重新生成...
[00:00:33.890]启动'/usr/libexec/weston-keyboard
[00:00:33.891]/usr/libexec/weston-keyboard 退出、状态为255
[00:00:33.892]作曲家:执行'/usr/libexec/weston-keyboard 失败:没有这样的文件或目录
[00:00:33.892] INPUT_METHOD 已断开连接、正在重新生成...
[00:00:33.892]启动'/usr/libexec/weston-keyboard
[00:00:33.893]/usr/libexec/weston-keyboard 退出、状态为255
[00:00:33.894]合成器:执行'/usr/libexec/weston-keyboard 失败:没有这样的文件或目录
[00:00:33.895] INPUT_METHOD 已断开连接、正在重新生成...
[00:00:33.895]启动'/usr/libexec/weston-keyboard
[00:00:33.896]/usr/libexec/weston-keyboard 退出、状态为255
[00:00:33.896]作曲家:执行'/usr/libexec/weston-keyboard 失败:没有这样的文件或目录
[00:00:33.899] INPUT_METHOD 已断开连接、正在放弃。
[00:00:33.899]/usr/libexec/weston-keyboard 退出、状态为255

我通过下面的 DTS 文件作为正在构建的论坛、无法上传文件:

am571x-Edit.dts:

/*
*版权所有(C) 2015-2016德州仪器(TI)公司- http://www.ti.com/
*
*此程序是免费软件;您可以重新分发和/或修改
*根据 GNU 通用公共许可证第2版的条款,如所示
*由免费软件基金会发布。
*
/DTS-v1/;

#include "dra72x.dtsi"
#include
#include
#include "dra7-MMC-iodelay.dtsi"
#include "dra72x-MMC-iodelay.dtsi"
#include "am571x-Edit-common.dtsi"
#include "dra7-IPI-DSP-common.dtsi"

/{
型号="TI AM5718编辑";
兼容="ti,am5718-idk"、"ti,am5718"、"ti,dra722"、"ti,dra72"、"ti,dra7";

别名{
display0 ="/display";
display1 ="/connector";
};

内存@80000000{
DEVICE_TYPE ="存储器";
REG =<0x0 0x8000000000 0x0 0x8000000000>;
};

保留存储器{
#address-cells =<2>;
大小单元格=<2>;
范围;
cmem_block_mem_2:cmem_block_mem@c0000000{
REG =<0x0 0xC0000000 0x0 0x20000000>;
无地图;
状态="正常";
};
cmem_block_mem_0:cmem_block_mem@a0000000{
reg =<0x0 0xa0000000 0x0 0x0c000000>;
无地图;
状态="正常";
};

ipu2_memory_region:ipu2-memory@95800000{
兼容="共享 dma-pool ";
REG =<0x0 0x95800000 0x0 0x3800000>;
可重复使用;
状态="正常";
};

dsp1_memory_region:dsp1-memory@99000000{
兼容="共享 dma-pool ";
REG =<0x0 0x99000000 0x0 0x4000000>;
可重复使用;
状态="正常";
};

ipu1_memory_region:ipu1-memory@9d000000{
兼容="共享 dma-pool ";
reg =<0x0 0x9d000000 0x0 0x2000000>;
可重复使用;
状态="正常";
};
};
cmem{
兼容="ti、cmem";
#address-cells =<1>;
#size-cells =<0>;

#pool-size-cells =<2>;

状态="正常";
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>;
};
};
LED{
pinctrl-names ="default";
pinctrl-0 =<&LED_PINS_DEFAULT>;
状态="正常";
兼容="GPIO-LED";

LED1{
标签="LED1";
GPIO =<&GPIO2 24 GPIO_ACTIVE_HIGH_>;
默认状态="on";
};

LED2{
标签="LED2";
GPIO =<&GPIO2 25 GPIO_ACTIVE_HIGH_>;
默认状态="off";
};

LED3{
标签="LED3";
GPIO =<&GPIO2 26 GPIO_ACTIVE_HIGH_>;
默认状态="on";
};
led4{
标签="led4";
GPIO =<&GPIO2 27 GPIO_ACTIVE_HIGH_>;
默认状态="on";
};
LED5{
标签="LED5";
GPIO =<&GPIO2 28 GPIO_ACTIVE_HIGH_>;
默认状态="on";
};
};

hdmi0:连接器@0{
兼容="HDMI 连接器";
状态="正常";
标签="HDMI";
类型="A";
端口{
HDMI_connector_in:端点{
远程端点=<&tpd12s015_out>;
};
};
};

tpd12s015:编码器@0{
兼容="ti、tpd12s016"、"ti、tpd12s015";
GPIO =<0>、//可选 CT_CP_HPD *
<0>、/*可选 LS_OE */
<&GPIO7 12 GPIO_ACTIVE_HIGH>;/* HPD */
端口{
#address-cells =<1>;
#size-cells =<0>;
端口@0{
reg =<0>;
tpd12s015_in:端点@0{
远程端点=<&HDMI_OUT>;
};
};
端口@1{
reg =<1>;
tpd12s015_out:端点@0{
远程端点=<&HDMI_connector_in_>;
};
};
};

};

/*
* LCD 通道设置
*
lcd0:显示{
兼容="osdDisplays、osd070t178-19ts"、"panel-dpi";
背光=<&LCD_BL>;
状态="正常";
标签="lcd";
/*pinctrl-names ="default";*/
/*pinctrl-0 =<&LCD_PINS_s0>;*/

/*使能 GPIO =<&GPIO2 5 GPIO_ACTIVE_HIGH>;*/

面板正时{
时钟频率=<30000000>;
hactive =<800>;
Vactive =<480>;
前沿=<40>;
后沿=<88>;
HSYNC-LEN =<48>;
后沿=<32>;
垂直前沿=<13>;
vsync-len =<3>;
HSYNC-ACTIVE =<0>;
vsync-active =<0>;
取消激活=<0>;
像素时钟激活=<0>;
};

端口{
LCD_IN:端点{
远程端点=<&dp_dout>;
};
};
};

/*
* LCD 背光。
*
LCD_BL:背光{
兼容="PWM 背光";
PWM =<&ehrpwm2 0 50000 0>;

pinctrl-names ="default";
pinctrl-0 =<&backlight_pines>;

/*低于241的任何内容不再可见*/
亮度等级=<0 255 219 183 147 111 75 39 0>;

default-brightse-level =<1>;
//我们为背光提供物理电源!
*所以、不需要电源的设计!
*
};

};

/*
* ehrPWM 2-3模块。
*
epwms1{(&E)
状态="正常";
};
ehrpwm1{(&E)
状态="正常";
};

epwms2{(&E)
状态="正常";
};
ehrpwm2{(&E)
状态="正常";
};

/*触摸屏*/
uart4{(&U)
状态="正常";
pinctrl-names ="default";
pinctrl-0 =<&toucher_pines>;
};

/*
*显示子系统远程端接。
*
DSS{
状态="正常";
端口{
#address-cells =<1>;
#size-cells =<0>;

端口{
reg =<2>;

DPI_OUT:端点{
远程端点=<&LCD_IN>;
数据线=<24>;
};
};
};
};

HDMI{(&H)
STATUS ="禁用";
端口{
HDMI_OUT:端点{
远程端点=<&tpd12s015_in_>;
};
};
};
ipu2{(&I)
状态="正常";
memory-region =<&ipu2_memory_region>;
};

ipu1{(&I)
状态="正常";
memory-region =<&ipu1_memory_region>;
};

dsp1{.dsp1}(&D)
状态="正常";
memory-region =<&dsp1_memory_region>;
};
i2c3{(&I)
状态="正常";
时钟频率=<100000 >;

pinctrl-names ="default";
pinctrl-0 =<&i2c3_PINS_DEFAULT>;

rtc11:RTC@6F{
兼容="微芯片、mcp7941x";
reg =<0x6f>;
// interrupt-parent =<&GPIO2>;
//中断=<29 IRQ_TYPE_LEVEL_LOW_>;
状态="正常";
};
};

mmc1{(&M)
状态="正常";
VMMC-supply =<&ldo1_reg>;
vqmmc-supply =<&ldo1_reg>;
总线宽度=<4>;
CD-GPIO =<&GPIO6 27 GPIO_ACTIVE_LOW>;/* GPIO 219 *
NO-1-8-v;
pinctrl-names ="default"、"hs";
pinctrl-0 =<&mmc1_PINS_DEFAULT>;
pinctrl-1 =<&mmc1_PINs_h>;
};

mmc2{(&M)
状态="正常";
VMMC-SUPPLY =<&VDD_3V3>;
Vqmmc-supply =<&VDD_3V3>;
总线宽度=<8>;
不可拆卸;
NO-1-8-v;
pinctrl-names ="默认值"、"hs"、"DDR_3_3V";
pinctrl-0 =<&mmc2_PINS_DEFAULT>;
pinctrl-1 =<&mmc2_PINs_h>;
// 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{(&M)
状态="正常";
pinctrl-names ="default"、"sleep";
pinctrl-0 =<&cpsw_PINS_DEFAULT>;
pinctrl-1 =<&cpsw_PINs_sleep>;
/* DUAL_EMAC;*/
};
DaVinci_MDIO{
phy1:以太网 phy@0{
reg =<1>;//phy 地址
};

};
/*&cpsw_emac0{
PHY-Handle =<&phy0>;
PHY-MODE ="RGMII";
DUAL_EMAC_res_vlan =<1>;
};*/

cpsw_emac1{&cpsw_emac1}
PHY-Handle =<<phy1>;
PHY-MODE ="RGMII";
DUAL_EMAC_res_vlan =<1>;
};
DaVinci_MDIO{
pinctrl-names ="default"、"sleep";
pinctrl-0 =<&Davinc_MDIO_PINS_DEFAULT>;
pinctrl-1 =<&Davinc_MDIO_PINS_SLEEP>;
};
&USB2_phy1{
PHY-SUPPLY =<&ldousb_reg>;
};

&USB2_phy2{
PHY-SUPPLY =<&ldousb_reg>;
};

USB1{(&S)
DR_MODE ="主机";
};
USB2{
DR_MODE ="主机";
};
/*&RTC{
状态="正常";
EXT-CLK-src;
};*/

&pruss_SoC_bus1{
状态="正常";

pruss1:pruss1@4b200000{
状态="正常";

/*pru1_0:PRU@4b234000 {
interrupt-parent =<&pruss1_intc>;
中断=<16>、<17>;
中断名称="vring (振铃)"、"kick (启动)";
状态="正常";
};

pru1_1:PRU@4b238000{
interrupt-parent =<&pruss1_intc>;
中断=<18>、<19>;
中断名称="vring (振铃)"、"kick (启动)";
状态="正常";
};*/
};
};

&pruss_SoC_bus2{
状态="正常";

pruss2:pruss@4b280000{
状态="正常";

/*pru2_0:PRU@4b2b4000 {
interrupt-parent =<&pruss2_intc>;
中断=<16>、<17>;
中断名称="vring (振铃)"、"kick (启动)";
状态="正常";
};

pru2_1:PRU@4b2b8000{
interrupt-parent =<&pruss2_intc>;
中断=<18>、<19>;
中断名称="vring (振铃)"、"kick (启动)";
状态="正常";
};*/
};
};

&dra7_PMX_CORE{
cpsw_pins_default:cpsw_pins_default{
pinctrl-single、pins =<
/*从器件位于 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 下拉| MUX_MODE0)/* rgmii0_RCLK *
DRA7XX_CORE_IOPAD (0x366c、PIN_INPUT 下拉| MUX_MODE0)/* rgmii0_rctl *
DRA7XX_CORE_IOPAD (0x3670、PIN_INPUT 下拉| MUX_MODE0)/* rgmii0_rd3 *
DRA7XX_CORE_IOPAD (0x3674、PIN_INPUT 下拉| MUX_MODE0)/* rgmii0_RD2 *
DRA7XX_CORE_IOPAD (0x3678、PIN_INPUT 下拉| MUX_MODE0)/* rgmii0_RD1 *
DRA7XX_CORE_IOPAD (0x367c、PIN_INPUT 下拉| MUX_MODE0)/* rgmii0_rd0 *

/*从器件位于 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 下拉| MUX_MODE3)/* vin2a_d18.rgmii1_RCLK *
DRA7XX_CORE_IOPAD (0x35b4、PIN_INPUT 下拉| MUX_MODE3)/* vin2a_D19.rgmii1_rctl *
DRA7XX_CORE_IOPAD (0x35b8、PIN_INPUT 下拉| MUX_MODE3)/* vin2a_d20.rgmii1_rd3 *
DRA7XX_CORE_IOPAD (0x35bc、PIN_INPUT 下拉| MUX_MODE3)/* vin2a_D21.rgmii1_RD2 *
DRA7XX_CORE_IOPAD (0x35c0、PIN_INPUT 下拉| MUX_MODE3)/* vin2a_D22.rgmii1_RD1 *
DRA7XX_CORE_IOPAD (0x35c4、PIN_INPUT 下拉| MUX_MODE3)/* vin2a_D23.rgmii1_rd0 *
>;
};

cpsw_pins_sleep:cpsw_pins_sleep{
pinctrl-single、pins =<
/*从属设备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)

/*从机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_OUTPLUP | 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)
>;
};
LED_PINS_DEFAULT:LED_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_OUTPLUP | MUX_MODE14)// usb1vbus *
// DRA7XX_CORE_IOPAD (0x3684、PIN_OUTPUT 上拉| 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 引脚:Touchscreen 引脚{
pinctrl-single、pins =<
DRA7XX_CORE_IOPAD (0x3740、PIN_OUTPUT | MUX_Mode4)/* uart4_TXD *
DRA7XX_CORE_IOPAD (0x373C、PIN_INPUT | MUX_MODE4)/* uart4_RxD *

>;
};


};

GPIO1{&gpio1}
TI、no-reset-on-init;
};

GPIO2{
TI、no-reset-on-init;
};

GPIO3{&G
TI、no-reset-on-init;
};

GPIO4{&G
TI、no-reset-on-init;
};

GPIO5{&G
TI、no-reset-on-init;
};

GPIO6{&G
TI、no-reset-on-init;
};

GPIO7{
TI、no-reset-on-init;
};
//#include "dra7-IPU- common-early -boot.dtsi"

//#include "am57xx-evme-cmem-am571x.dtsi"

文件 am571x-Edit-common.dtsi:

/*
*版权所有(C) 2015-2016德州仪器(TI)公司- http://www.ti.com/
*
*此程序是免费软件;您可以重新分发和/或修改
*根据 GNU 通用公共许可证第2版的条款,如所示
*由免费软件基金会发布。
*

#include "am57xx-commercial 级.dtsi"

/{
别名{
RTC1 =&tps659038_RTC;
rtc2 =&rtc;
};

选择{
stdout-path = uart3;
};

MAIN_24v0:fixedreguler-main_24v0{
/*主电源*/
兼容="稳压器固定";
电脑控制器名称="main_24v0";
稳压器最小值微伏=<24000000>;
稳压器最大值微伏=<24000000>;
稳压器常开;
稳压器启动;
};

EVM_5v0:fixedreguler-EVM_5v0{
/* TPS54531D 的输出*/
兼容="稳压器固定";
稳压器名称="EVM_5v0";
稳压器最小微伏=<5000000>;
稳压器最大值微伏=<5000000>;
VIN-SUPPLY =<&MAIN_24v0>;
稳压器常开;
稳压器启动;
};

VDD_3V3:fixedreguler-VDD_3V3{
兼容="稳压器固定";
稳压器名称="VDD_3V3";
VIN-SUPPLY =<regen1>;
稳压器最小微伏=<3300000>;
稳压器最大值微伏=<3300000>;
};

AIC_DVDD:fixedreguler-AIC_DVDD{
兼容="稳压器固定";
电脑控制器名称="AIC_DVDD_FIXED";
VIN-SUPPLY =<&VDD_3V3>;
稳压器最小微伏=<1800000>;
稳压器最大值微伏=<1800000>;
};

VTT_FIXED:fixedreguler-VTT{
/* TPS51200 */
兼容="稳压器固定";
电脑控制器名称="VTT_FIXED";
VIN-SUPPLY =<&smps3_reg>;
稳压器最小微伏=<3300000>;
稳压器最大值微伏=<3300000>;
稳压器常开;
稳压器启动;
使能端高电平有效;
GPIO =<&GPIO8 6 GPIO_ACTIVE_HIGH_>;
};
};

i2c1{(&I)
状态="正常";
时钟频率=<400000>;

tps659038:tps659038@58{
兼容="ti、tps659038";
reg =<0x58>;
// interrupt-parent =<&GPIO1>;
中断=<0 IRQ_TYPE_LEVEL_LOW_>;

#interrupt-cells =<2>;
中断控制器;
TI、系统功率控制器;
TI、Palmas-override-powerhold;

tps659038_PMIC{
兼容="ti、tps659038-PMIC";

调节器{
smps12_reg:smps12{
/* VDD_MPU */
电脑控制器名称="smps12";
稳压器最小微伏=<850000>;
稳压器最大值微伏=<1250000>;
稳压器常开;
稳压器启动;
};

smps3_reg:smps3{
/* VDD_DDR *
电脑控制器名称="smps3";
稳压器最小微伏=<1350000>;
稳压器最大值微伏=<1350000>;
稳压器常开;
稳压器启动;
};

smps45_reg:smps45{
/* AM572上的 VDD_DSPEVE *
/* AM571上的 VDD_iva + VDD_DSP *
电脑控制器名称="smps45";
稳压器最小微伏=<850000>;
稳压器最大值微伏=<1250000>;
稳压器常开;
稳压器启动;
};

smps6_reg:smps6{
/* VDD_CORE */
电脑控制器名称="smps6";
稳压器最小微伏=<850000>;
稳压器最大值微伏=<1150000>;
稳压器常开;
稳压器启动;
};

/* SMPS7未使用*/

smps8_reg:smps8{
/* VDD_1V8 */
电脑控制器名称="smps8";
稳压器最小微伏=<1800000>;
稳压器最大值微伏=<1800000>;
稳压器常开;
稳压器启动;
};

/* SMPS9未使用*/

ldo1_reg:ldo1{
/* VDD_SD / VDDSHV8 */
电脑控制器名称="ldo1";
稳压器最小微伏=<1800000>;
稳压器最大值微伏=<3300000>;
稳压器启动;
稳压器常开;
};

ldo2_reg:ldo2{
/* VDD_SHV5 */
电脑控制器名称="ldo2";
稳压器最小微伏=<3300000>;
稳压器最大值微伏=<3300000>;
稳压器常开;
稳压器启动;
};

ldo3_reg:ldo3{
/* VDDA_1V8_Phya */
电脑控制器名称="ldo3";
稳压器最小微伏=<1800000>;
稳压器最大值微伏=<1800000>;
稳压器常开;
稳压器启动;
};

ldo4_reg:ldo4{
/* VDDA_1V8_PHYB*/
电脑控制器名称="ldo4";
稳压器最小微伏=<1800000>;
稳压器最大值微伏=<1800000>;
稳压器常开;
稳压器启动;
};

/*未使用 LDO5-8 */

ldo9_reg:ldo9{
/* VDD_RTC */
电脑控制器名称="ldo9";
稳压器最小微伏=<1050000>;
稳压器最大值微伏=<1050000>;
稳压器常开;
稳压器启动;
};

ldoln_reg:ldoln{
/* VDDA_1V8_PLL */
电脑控制器名称="ldoln";
稳压器最小微伏=<1800000>;
稳压器最大值微伏=<1800000>;
稳压器常开;
稳压器启动;
};

ldousb_reg:ldousb{
/* VDDA_3V_USB:VDDA_USBHS33 *
电脑控制器名称="ldousb";
稳压器最小微伏=<3300000>;
稳压器最大值微伏=<3300000>;
稳压器启动;
};

regen1:regen1{
/* VDD_3V3_ON */
reguler-name ="regen1";
稳压器启动;
稳压器常开;
};
};
};

tps659038_RTC:tps659038_RTC{
兼容="ti、Palms-rtc";
interrupt-parent =<&tps659038>;
中断=<8 IRQ_TYPE_EDGE_FALLING>;
唤醒源;
};

tps659038_pwer_button:tps659038_pwer_button{
compatible ="ti,Palmas-pwrbutton";
interrupt-parent =<&tps659038>;
中断=<1 IRQ_TYPE_EDGE_FALLING>;
唤醒源;
TI、Palmas 长按秒=<12>;
};

tps659038_gpio:tps659038_gpio{
兼容="ti、Palms-GPIO";
GPIO 控制器;
#GPIO-cells =<2>;
};

/*extcon_USB2:tps659038_USB{
兼容="ti、Palms-usb-vid";
TI、DISABLE-VBUS 检测;
};*/
};


};


uart3{(&U)
状态="正常";
中断扩展=<&crossbar_MPU GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH_>、
<&dra7_PMX_CORE 0x3f8>;
};

CPU0{&CPU0}
VDD-SUPPLY =<&S;
};

请提供一些线索、它是否与电路板配置或文件系统相关? 还是其他?

 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    我们相信、基于离线讨论、现在已经解决了这一问题。 将其标记为已关闭。 如果您继续面临任何问题、请务必提交新帖子。

    此致

    Hemant