my base board + orin(64GBVersion),add 2 pcie2ethernet card
eth1:UPHY_TX0/RX0—>UPHY0 (C0@14180000), hsio-uphy-config-16
eth2:UPHY_TX7/RX7—>UPHY2 (C7@141e0000),gbe-uphy-config-0
1.for design, modify p3701.conf.common:
# Common values and/or defaults across P3701:
-ODMDATA="gbe-uphy-config-22,hsstp-lane-map-3,nvhs-uphy-config-0,hsio-uphy-config-0,gbe0-enable-10g";
+ODMDATA="gbe-uphy-config-0,hsstp-lane-map-3,nvhs-uphy-config-0,hsio-uphy-config-0";
2.dtb and kernel modify:
hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-p3737-pcie.dtsi
hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-p3737-0000-a04.dtsi
hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-p3737-pcie.dtsi:
— a/source/hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-p3737-pcie.dtsi
+++ b/source/hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-p3737-pcie.dtsi
@@ -40,6 +40,20 @@
“p2u-5”, “p2u-6”, “p2u-7”;
};
-
pcie@14180000 {
-
status = "okay";
-
nvidia,disable-power-down;
-
phys = <&p2u_hsio_0>;
-
phy-names = "p2u-0";
-
};
-
pcie@141e0000 {
-
status = "okay";
-
nvidia,disable-power-down;
-
phys = <&p2u_gbe_5>;
-
phy-names = "p2u-5";
-
};
-
pcie_ep@141a0000 { status = "disabled";
gpio config:
> --- a/bootloader/tegra234-mb1-bct-gpio-p3701-0000-a04.dtsi
> +++ b/bootloader/tegra234-mb1-bct-gpio-p3701-0000-a04.dtsi
> @@ -76,8 +76,6 @@
> TEGRA234_MAIN_GPIO(K, 7)
> TEGRA234_MAIN_GPIO(L, 2)
> TEGRA234_MAIN_GPIO(L, 3)
> - TEGRA234_MAIN_GPIO(AG, 0)
> - TEGRA234_MAIN_GPIO(AG, 1)
> TEGRA234_MAIN_GPIO(AG, 2)
Blockquote
final, sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1
Uploading: tegra234-bpmp-3701-0005-3737-0000.dtb.log…
Uploading: tegra234-bpmp-3701-0005-3737-0000.dts.log…
Uploading: tegra234-ethernet-3737-0000.dtsi.log…
Uploading: tegra234-mb1-bct-gpio-p3701-0000-a04.dtsi.log…
Uploading: tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi.log…
board power on, lspci -v:
cat /sys/kernel/debug/bpmp/debug/uphy/config:
0x40000000
tegra234-p3737-0000-a04.dtsi.log (8.8 KB)
tegra234-p3737-pcie.dtsi.log (2.1 KB)