Hello!
I need to reconfigure C5 to edpoint.
I read PCIe Controller Configuration
I can not find tegra234-soc-pcie.dtsi where changes need to be made
/hardware/nvidia/soc/t23x/kernel-dts/tegra234-soc/tegra234-soc-pcie.dtsi - there is no way.
in Enable PCIe in a Customer CVB Design, in point 1 written :
- Enable the appropriate PCIe node listed under topic “Here are the PCIe controller DT nodes:”:
In what file should I do this?
I understand correctly that all these changes that are described in this section relate to one file -
tegra234-soc-pcie.dtsi?
In tegra234-p3737-0000+p3701-0000.dts i find some nodes:
pipe2uphy
node - It’s them?
pcie@141a0000 {
status = "okay";
vddio-pex-ctl-supply = <&vdd_1v8_ls>;
vpcie3v3-supply = <&vdd_3v3_pcie>;
vpcie12v-supply = <&vdd_12v_pcie>;
phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
<&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
<&p2u_nvhs_6>, <&p2u_nvhs_7>;
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
"p2u-5", "p2u-6", "p2u-7";
};
pcie-ep@141a0000 {
status = "disabled";
vddio-pex-ctl-supply = <&vdd_1v8_ls>;
reset-gpios = <&gpio TEGRA234_MAIN_GPIO(AF, 1) GPIO_ACTIVE_LOW>;
nvidia,refclk-select-gpios = <&gpio_aon
TEGRA234_AON_GPIO(AA, 4)
GPIO_ACTIVE_HIGH>;
phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
<&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
<&p2u_nvhs_6>, <&p2u_nvhs_7>;
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
"p2u-5", "p2u-6", "p2u-7";
};
These are the records that should be in tegra234-soc-pcie.dtsi?
If so, then all I need to do is change status field from disabled to okay, for pcie-ep@141a0000 ?