]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
riscv: dts: spacemit: pcie: fix missing power regulator
authorYixun Lan <dlan@kernel.org>
Thu, 26 Feb 2026 08:17:55 +0000 (08:17 +0000)
committerYixun Lan <dlan@kernel.org>
Thu, 26 Feb 2026 09:51:33 +0000 (09:51 +0000)
The PCIe port require 3.3v power regulator for device to work properly, So
explicitly add it to fix the DT warning:

arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: pcie@ca400000 (spacemit,k1-pcie): pcie@0: 'vpcie3v3-supply' is a required property
        from schema $id: http://devicetree.org/schemas/pci/spacemit,k1-pcie-host.yaml

Fixes: 0be016a4b5d1 ("riscv: dts: spacemit: PCIe and PHY-related updates")
Reported-by: Conor Dooley <conor@kernel.org>
Link: https://lore.kernel.org/r/20260226-k1-pcie-fix-pwr-v1-1-94b493cd27e5@kernel.org
Signed-off-by: Yixun Lan <dlan@kernel.org>
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts

index 5971605754b3533e1cf3713a27c48448aeb4d96f..51f6c6a774b0db627a1077fed2eb0c73f999ba3e 100644 (file)
 
 &pcie1_port {
        phys = <&pcie1_phy>;
+       vpcie3v3-supply = <&pcie_vcc_3v3>;
 };
 
 &pcie1 {
 
 &pcie2_port {
        phys = <&pcie2_phy>;
+       vpcie3v3-supply = <&pcie_vcc_3v3>;
 };
 
 &pcie2 {