PCIe problem on RK3568 EVB

Michael Riesch michael.riesch at wolfvision.net
Tue Apr 18 02:22:20 PDT 2023


Hi Doug,

On 4/18/23 04:19, Doug Brewer wrote:
> Hello,
> 
> I added the following lines in rk3568-evb1-v10.dts:
> 
> pcie30_avdd0v9: pcie30-avdd0v9 {
>        compatible = "regulator-fixed";
>        regulator-name = "pcie30_avdd0v9";
>        regulator-always-on;
>        regulator-boot-on;
>        regulator-min-microvolt = <900000>;
>        regulator-max-microvolt = <900000>;
>        vin-supply = <&vcc3v3_sys>;
> };
> 
> pcie30_avdd1v8: pcie30-avdd1v8 {
>        compatible = "regulator-fixed";
>        regulator-name = "pcie30_avdd1v8";
>        regulator-always-on;
>        regulator-boot-on;
>        regulator-min-microvolt = <1800000>;
>        regulator-max-microvolt = <1800000>;
>        vin-supply = <&vcc3v3_sys>;
> };
> 
> vcc3v3_pcie: gpio-regulator {
>        compatible = "regulator-fixed";
>        regulator-name = "vcc3v3_pcie";
>        regulator-min-microvolt = <3300000>;
>        regulator-max-microvolt = <3300000>;
>        enable-active-high;
>        gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
>        startup-delay-us = <5000>;
>        vin-supply = <&dc_12v>;
> };
> 
> &pcie30phy {
>        status = "okay";
> };
> 
> &pcie3x2 {
>        reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;

Shouldn't there be a pinctrl? It seems the pcie3x2 has to possible pinouts?!

>        vpcie3v3-supply = <&vcc3v3_pcie>;
>        status = "okay";
> };
> 
Maybe you can take the Radxa ROCK3 Model A as mainline reference solution.

> lspci produces no output (literally nothing), even with -vvvv.
> Any idea how to debug this?  Thanks.

Again, please show us the full dmesg log and your current .config.
Additionally, the output of

  cat /sys/kernel/debug/devices_deferred

may be helpful to find any devices that could not be probed due to
missing dependencies.

Best regards,
Michael

> 
> - Doug
> 
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip



More information about the Linux-rockchip mailing list