Configuring UPHY Lanes
UPHY lanes can be configured to be owned by various IPs like XUSB, NVME, MPHY, PCIE, NVLINK, etc. MB1 supports NVME, UFS as boot devices for which UPHY lanes need to be configured to access the storage in MB1 and MB2. This file defines UPHY lane configuration needed for MB1.
In T23x, BPMP-FW is loaded by MB1 and MB2 relies on BPMP-FW for UPHY configuration.
Each entry in the configuration file is of the form:
/ {
uphy-lane {
<instance-type> {
lane-owner-map = < id >, < owner-id >;
};
};
};
Where:
<instance-type>
is the type of UPHY that must be configured, either hsio or nvhs.<uphy-component>
is either lane or pll, which must be configured.<id>
is the lane/pll number, which must be configured.<owner-id>
is the unique ID of the owner to which lane/pll is assigned.
The UPHY lane configurations are kept at
hardware/nvidia/platform/t23x//bct/
.
DTS example UPHY lane DTS configuration
file:
/dts-v1/;
/ {
uphy-lane {
hsio {
lane-owner-map = <10 2>, <11 1>;
};
};
};