目前我在适配Jetson T5000 我在tegra264-mb1-bct-uphylane-si.dtsi中看到有如下配置,我目前了解,下面dts的lane-owner-map有4个条目,每个条目第三个数值代码owner_id,比如9表示MPHY0,10表示MPHY1,2表示PCIe-C2 。但我不知道这些owner_id值是如何确定的?
/ {
uphy-lane@0 {
lane-owner-map = <0 6 9>, /* UPHY0, lane 6 connected to MPHY0 /
<0 7 10>,/UPHY0, lane 7 connected to MPHY1/
<0 4 2>, /UPHY0, lane 4 connected to PCIe-C2/
<0 5 2>; / UPHY0, lane 5 connected to PCIe-C2 */
};
};
This file is not needed to be configured by end user.
所以意思是,如果自己按照如下要求定制载板,把uphy0 lane6 lane7 硬件上从原来接ufs,改成接pci转usb, tegra264-mb1-bct-uphylane-si.dtsi 也都不需要再单独配置是吗?
自己定制载板,只需要改PINMUX_CONFIG=“tegra264-mb1-bct-pinmux-p3834-xxxx-p4071-0000.dts”; 相关的dts是吧?如下是我整理的如果要定制载板,相关配置是否需要修改的整理信息,帮我看下对不对。
MISC_CONFIG=“tegra264-mb1-bct-misc-p3834-0008-p4071-0000.dts”; 保持不变(MB1 功能开关、调试口、carveout)
PINMUX_CONFIG=“tegra264-mb1-bct-pinmux-p3834-xxxx-p4071-0000.dts”; 必须修改 (引脚功能、上下拉、输入输出、GPIO 初始状态)
PMIC_CONFIG=“tegra264-mb1-bct-pmic-p3834-0008-p4071-0000-vdd-fuse-aon.dts”;必须按电源设计审核(PMIC 寄存器、电源时序、风扇等配置)
PMC_CONFIG=“tegra264-mb1-bct-padvoltage-p3834-xxxx-p4071-0000.dts”;必须修改(I/O pad 电压配置)
DEVICE_CONFIG=“tegra264-mb1-bct-device-p3834-xxxx.dts”; 保持不变(MB1 访问 QSPI/UFS 等启动设备的参数)
DEVICEPROD_CONFIG=“tegra264-mb1-bct-cprod-p3834-xxxx-p4071-0000.dts”; 保持不变(没有具体配置)
PROD_CONFIG=“tegra264-mb1-bct-prod-p3834-xxxx-p4071-0000.dts”; 必要时修改(I2C、QSPI等控制器寄存器调优参数)
MINRATCHET_CONFIG=“tegra264-mb1-bct-ratchet-p3834-xxxx-p4071-0000.dts”; 保持不变
GPIOINT_CONFIG=“tegra264-mb1-bct-gpioint-p3834-xxxx-p4071-0000.dts”; GPIO/中断使用变化时修改(GPIO到中断控制器的映射)
UPHY_CONFIG=“tegra264-mb1-bct-uphy-lanes-p4071-0000.dts”;高速接口拓扑变化时必须修改(PCIe、USB、UFS/MPHY 等高速 Lane 所有权)
The only thing that needs to be used to changed UPHY is as this document mentioned.
You only need to change ODMDATA but not the tegra264-mb1-bct-uphylane-si.dtsi directly.
May need to remove “UPHY_CONFIG” when enabling C3 but again not needed to update the file content directly.