check if xz is installed on the host
[openadk.git] / target / linux / patches / 6.1.90 / board-rockpi4-0003-arm64-dts-pcie.patch
blob1777e7a86bf54087206c7c10dab4958044e40152
1 diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
2 index 1ae1ebd4e..2f84397d5 100644
3 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
4 +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
5 @@ -62,6 +62,8 @@
6 regulator-name = "vcc3v3_pcie";
7 regulator-always-on;
8 regulator-boot-on;
9 + regulator-min-microvolt = <3300000>;
10 + regulator-max-microvolt = <3300000>;
11 vin-supply = <&vcc5v0_sys>;
14 @@ -434,6 +459,21 @@
15 gpio1830-supply = <&vcc_3v0>;
18 +&pcie0 {
19 + ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
20 + num-lanes = <4>;
21 + max-link-speed = <1>;
22 + pinctrl-names = "default";
23 + pinctrl-0 = <&pcie_clkreqnb_cpm>;
24 + vpcie12v-supply = <&vcc12v_dcin>;
25 + vpcie3v3-supply = <&vcc3v3_pcie>;
26 + status = "okay";
27 +};
29 +&pcie_phy {
30 + status = "okay";
31 +};
33 &pmu_io_domains {
34 status = "okay";