Rockchip RK3588如何创建新一个新板级DTS

Rockchip RK3588如何创建新一个新板级DTS

文章目录

  • Rockchip RK3588如何创建新一个新板级DTS
    • 基于SDK已有的DTS选择一个适合的基础参考DTS
      • RK3588 SDK发布的参考DTS介绍
      • 新建一个板级DTS
    • 修改DTS来适配新板的硬件设计

基于SDK已有的DTS选择一个适合的基础参考DTS

RK3588 SDK发布的参考DTS介绍

芯片 开发板类型 机型 硬件配置 DTS
RK3588 开发板 RK3588 EVB1 双PMIC:RK806 * 2+DiscretePower
LPDDR4(200Ball)
1xTYPEC(DP)+1xUSB30
2xUSB20
1xSATA3.0
2xHDMI2.1 TX
1xHDMI2.0 RX
1xVGA
1xPCIE WIFI 6
2x10/100/1000 RJ45
1X4Lane标准PCIE30 Slot
2x4Lane Mipi CSI Connetor(B TO B 80Pin)
2x4Lane Mipi D-PHY RX Connector (B TO B 80Pin)
1X4Lane Mipi D-PHY TX Connector (For mipi lcd)
1X4Lane Mipi D-PHY TX Connector(For DSC LCD)
Line in,1xLine out(ES8388+TT8642)
1xpower led+1xether led+1xhdd led
1xRecovery + reset+pwr+(vol+)+(vol-)+esc+boot key
Debug Uart+JTAG
rk3588-evb1-lp4-v10
RK3588 开发板 RK3588 EVB7
RK3588_AIOT_REF_SCH_V11硬件参设计对应的软件配置
单PMICRK806+DiscretePower
LPDDR4(200Ball)
1xTYPEC(DP)+1xUSB30
2xUSB20
3.1xSATA3.0
2xHDMI2.1 TX
1xHDMI2.0 RX
1xVGA
1xSDIO WIFI 6
2x10/100/1000 RJ45
1X4Lane标准PCIE30 Slot
2x4Lane Mipi CSI Connetor(B TO B 80Pin)
2x4Lane Mipi D-PHY RX Connector (B TO B 80Pin)
1X4Lane Mipi D-PHY TX Connector (For mipi lcd)
1X4Lane Mipi D-PHY TX Connector(For DSC LCD)
Line in,1xLine out(ES8388+TT8642)
1xpower led+1xether led+1xhdd led
1xRecovery + reset+pwr+(vol+)+(vol-)+esc+boot key
Debug Uart+JTAG
18.TF Card
rk3588-evb7-lp4-v10
RK3588 开发板 RK3588 EVB4 单PMICRK806+DiscretePower
LPDDR4(200Ball)
EVB_分立电源+金手指aDD IN CARD
1xTYPEC
1xUSB30 HOST
1xWIFI 6(SDIO)
1x10/100/1000 RGMII(RGMII)
TF Card
1080P mipi LCD
MIPI CPHY TX LCD
Pciex4金手指
电源分立元件
rk3588-evb4-lp4-v10
RK3588 开发板 RK3588 EVB2 双PMIC:RK806 * 2+DiscretePower
LPDDR4(200Ball)
3xUSB30(OTG)+1XUSB(HOST)
1xUSB20
1xSATA
1xHDMI2.1 TX
1xHDMI2.0 RX
1xWIFI 6(SDIO)
1xeDP
1xDP
1xVGA
1xPCIE30X4
1x10/100/1000 RJ45(RGMII1)
1x10/100/1000 RJ45(PCIE20_1)
2x4Lane Mipi CSI Connetor(B TO B 80Pin)
2x4Lane Mipi D-PHY RX Connector (B TO B 80Pin)
1X4Lane Mipi D-PHY TX Connector (FPC 30 Pin)
TF CARD
1xIR Receiver
1xPHONE+2XSPK(ES8388+TT8642)
1xRecovery + reset+pwr+(vol+)+(vol-)+esc+boot key
1xRS232+1XRS485+1CAN
21.Debug Uart(UART)+JTAG
rk3588-evb2-lp4-v10-edp
RK3588 NVR 单PMICRK806+DiscretePower
LPDDR4(200Ball)
RK3588 NVR
2 x USB3.0 HOST + 2 x USB2.0 HOST
10 x SATA3.0 Connector (7pin)
1 x 4Lanes PCIe Connector
2 x HDMI2.1 TX + 1 x HDMI2.0 TX
1 x VGA TX,up to 1080P
2 x 4Lanes MIPI CSI RX Camera Connector
2 x 10/100/1000 Ethernet(RGMII)
1 x Line Out, 1 x Line In
1 x Buzzer
1 x IR Receiver
1 x Power LED,1 x Ethernet LED,1 x HDD LED
1 x Recovery Key,1x Reset Key
1 x RS232
1 x RS485
1 x UART
Debug UART(USB to UART),Debug JTAG (4Pin)
rk3588-nvr-demo-v10-android
RK3588S 开发板 RK3588S EVB1 双PMIC: RK806 * 2+DiscretePower
LPDDR4(200Ball)
1xTYPEC0
1xUSB20 OTG
2xUSB20 HOST
1xSD3.0
1x4lane eDP TX
2x4Lane MIPI DPHY TX
2x4LaneMIPI DPHY RX
1x4Lane/2x2Lane MIPI CSI RX
1xPCIE20 (1lane x4 Slot
1x a/b/g/n/ac/ax 2X2 PCIE WIFI,BT5.0
HPout and Speak out(ES8388+PA)
1*AMIC+DMIC IN(ES8388+PA)
6 DMIC Array
Senor+IR+Optical S/PDIF TX
Key
1xCAN
Debug Uart&Jtag
rk3588s-evb1-lp4x-v10
RK3588S 平板 样机 双PMIC: RK806 * 2+DiscretePower
LPDDR4/4x 2pcsx 32bit
Micro SD Card3.0
1 x Typec3.0 + 2 x USB2 HOST
1 x 1Lane PCIe2.0 Connector (RC Mode)
2 x 4Lanes MIPI DPHY_RX Camera
1 x 4Lanes MIPI CSI Camera or 2 x 2Lanes MIPI CSI Camera
1 x 4Lanes eDP with Touch Connection
2 x 4Lanes MIPI DPHY with Touch Connector
a/b/g/n/ac/ax 2X2 WIFI,BT5.0
Headphone output,1 x ECM MIC and 2xSpeaker out(Codec ALC5651)
Gyroscope+G-sensor+Ambient Light+Proximity +Hall Sensor+M-Sensor
Array Key(MENU,VOL+,VOL-,ESC),Reset,Power on/off Key
Debug UART to USB connector and JTAG Connector
rk3588s-tablet-v10
RK3588S 平板 RK3588S平板硬件参考设计对应的软件配置 单PMIC:RK806-2x1pcs+DiscretePower
LPDDR4/4x 2pcsx 32bit
Micro SD Card3.0
1 x Typec3.0 + 2 x USB2 HOST
1 x 1Lane PCIe2.0 Connector (RC Mode)
2 x 4Lanes MIPI DPHY_RX Camera
1 x 4Lanes MIPI CSI Camera or 2 x 2Lanes MIPI CSI Camera
1 x 4Lanes eDP with Touch Connection
2 x 4Lanes MIPI DPHY with Touch Connector
a/b/g/n/ac/ax 2X2 WIFI,BT5.0
Headphone output,1 x ECM MIC and 2xSpeaker out(Codec ALC5651)
Gyroscope+G-sensor+Ambient Light+Proximity +Hall Sensor+M-Sensor
Array Key(MENU,VOL+,VOL-,ESC),Reset,Power on/off Key
Debug UART to USB connector and JTAG Connecto
rk3588s-tablet-v11

新建一个板级DTS

根据上面的介绍各个参考DTS对应的硬件配置,选择适合的参考DTS。在参考的dts的基础上修改适配自己的硬件,具体是新建一个自己的产品的DTS,在dts中include参考的dts对应的dtsi,将硬件差异部分修改在新建的dts中。比如:rk3588-evb1-lp4-v10.dts中include了rk3588-evb1-lp4.dtsi

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
 *
 */

/dts-v1/;

#include "rk3588-evb1-lp4.dtsi"
#include "rk3588-evb1-imx415.dtsi"
#include "rk3588-android.dtsi"

/ {
        model = "Rockchip RK3588 EVB1 LP4 V10 Board";
        compatible = "rockchip,rk3588-evb1-lp4-v10", "rockchip,rk3588";
};

这样新建DTS的好处是在SDK更新的时候可以直接继承RK的DTS的修改,避免遗漏DTS的更新。

修改DTS来适配新板的硬件设计

硬件设计与参考设计有差异的话,对应的DTS修改可以在新建的dts中修改,dts可以复写dtsi中的节点,比如修改LCD背光的电源控制gpio:

&backlight {
        enable-gpios = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;  //复写enable-gpios
};

关闭某些不需要的功能节点,比如不需要gtlx的触摸驱动:

>1x {
        status = "disabled";
};

返回RK3588 DTS解析专栏

你可能感兴趣的:(RK3588,Kernel,DTS解析,RK3588,android,linux,驱动开发,嵌入式硬件,RK3588)