Hello
Thank you for your work.
I have a question about the sun50i-h6-orangepi-3.dts file.
When I compile this, as you described.
With make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- -j4 orangepi_one_plus_defconfig
The linux Kernel loads sun50i-h6-orangepi-one-plus.dtb
So I changed u-boot to load sun50i-h6-orangepi-3.dts.
Then the orange Pi3 works but without pcie.
So I checked the dts files.
In the file sun50i-h6-pine-h64.dts, I found:
reg_pcie_slot: pcie-slot-power {
compatible = "regulator-fixed";
regulator-name = "pcie-slot-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
startup-delay-us = <100000>;
gpio = <&pio 2 15 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
and
&pcie {
vcc-supply = <®_bldo2>;
vdd-supply = <®_dcdcd>;
slot-supply = <®_pcie_slot>;
perst-gpio = <&pio 6 14 GPIO_ACTIVE_LOW>; /* PG14 */
status = "okay";
};
This is missing in the sun50i-h6-orangepi-3.dts.
My question is, why is this missing and which dtb file do you load during boot.
Thanks in advice for your answer.
Best regards,
Andreas