mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
The vcc3v3_pcie20 fixed regulator powers the PCIe device-side 3.3V rail
for pcie2x1l2 via vpcie3v3-supply. The DTS mistakenly set its
regulator-min/max-microvolt to 1800000 (1.8 V). Correct both to 3300000
(3.3 V) to match the rail name, the PCIe/M.2 power requirement, and the
actual hardware wiring on Orange Pi 5.
Fixes: b6bc755d80 ("arm64: dts: rockchip: Add Orange Pi 5")
Cc: stable@vger.kernel.org
Signed-off-by: Mykola Kvach <xakep.amatop@gmail.com>
Reviewed-by: Michael Riesch <michael.riesch@collabora.com>
Link: https://patch.msgid.link/cf6e08dfdfbf1c540685d12388baab1326f95d2c.1762165324.git.xakep.amatop@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
33 lines
681 B
Plaintext
33 lines
681 B
Plaintext
// 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: regulator-vcc3v3-pcie20 {
|
|
compatible = "regulator-fixed";
|
|
enable-active-high;
|
|
gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
|
|
regulator-name = "vcc3v3_pcie20";
|
|
regulator-boot-on;
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
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";
|
|
};
|