[PATCH v6 2/2] arm64: dts: rockchip: Add rk3588-orangepi-5b device tree and refactor
Jimmy Hon
honyuenkwun at gmail.com
Tue Oct 15 17:41:49 PDT 2024
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +/dts-v1/;
> +
> +#include "rk3588s-orangepi-5.dtsi"
> +
> +/ {
> + model = "Xunlong Orange Pi 5";
> + compatible = "xunlong,orangepi-5", "rockchip,rk3588s";
> +
> + vcc3v3_pcie20: vcc3v3-pcie20-regulator {
> + compatible = "regulator-fixed";
> + enable-active-high;
> + gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
> + regulator-name = "vcc3v3_pcie20";
> + regulator-boot-on;
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + startup-delay-us = <50000>;
> + vin-supply = <&vcc5v0_sys>;
> + };
> +};
> +
> +&pcie2x1l2 {
> + reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
> + vpcie3v3-supply = <&vcc3v3_pcie20>;
> + status = "okay";
> +};
> +
> +&sfc {
> + status = "okay";
> +};
Regression tested on the original Orange Pi 5. Still works after the refactor.
The microsd card is accessible from /dev/mmcblk1 just like the
vendor's 6.1 kernel.
NVMe works
SFC works
Tested-by: Jimmy Hon <honyuenkwun at gmail.com>
More information about the Linux-rockchip
mailing list