Skip to content

Commit

Permalink
fix: add pcie power supply for rock 2a pcie overlay
Browse files Browse the repository at this point in the history
Signed-off-by: Alvin Xie <[email protected]>
  • Loading branch information
Radxa-Alvin committed May 17, 2024
1 parent aba523c commit 320c7ed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlays/rock-2a-enable-pcie.dts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@
};
};

&{/} {
vcc3v3_pcie: vcc3v3-pcie {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pcie";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
startup-delay-us = <5000>;
enable-active-high;
gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc5v0_sys>;
};
};

&pcie_usb_selection {
enable-active-high;
gpio = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
Expand All @@ -29,5 +42,6 @@

&pcie2x1 {
reset-gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>;
vpcie3v3-supply = <&vcc3v3_pcie>;
status = "okay";
};

0 comments on commit 320c7ed

Please sign in to comment.