summaryrefslogtreecommitdiff
path: root/target/linux/patches/6.1.49/board-rockpi4-0003-arm64-dts-pcie.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-08-29 09:55:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-08-29 09:55:07 +0200
commit5ccbcabea3c0ce7a6e771c8cfc85efa31bf7e28a (patch)
tree9333319190ccae1e5c3e1b0b73e9012830aa6c98 /target/linux/patches/6.1.49/board-rockpi4-0003-arm64-dts-pcie.patch
parent61d5e3c334d140164131fba93f2e96b60bef1289 (diff)
linux: update to 6.1.49
Diffstat (limited to 'target/linux/patches/6.1.49/board-rockpi4-0003-arm64-dts-pcie.patch')
-rw-r--r--target/linux/patches/6.1.49/board-rockpi4-0003-arm64-dts-pcie.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/patches/6.1.49/board-rockpi4-0003-arm64-dts-pcie.patch b/target/linux/patches/6.1.49/board-rockpi4-0003-arm64-dts-pcie.patch
new file mode 100644
index 000000000..1777e7a86
--- /dev/null
+++ b/target/linux/patches/6.1.49/board-rockpi4-0003-arm64-dts-pcie.patch
@@ -0,0 +1,35 @@
+diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
+index 1ae1ebd4e..2f84397d5 100644
+--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
++++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
+@@ -62,6 +62,8 @@
+ regulator-name = "vcc3v3_pcie";
+ regulator-always-on;
+ regulator-boot-on;
++ regulator-min-microvolt = <3300000>;
++ regulator-max-microvolt = <3300000>;
+ vin-supply = <&vcc5v0_sys>;
+ };
+
+@@ -434,6 +459,21 @@
+ gpio1830-supply = <&vcc_3v0>;
+ };
+
++&pcie0 {
++ ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
++ num-lanes = <4>;
++ max-link-speed = <1>;
++ pinctrl-names = "default";
++ pinctrl-0 = <&pcie_clkreqnb_cpm>;
++ vpcie12v-supply = <&vcc12v_dcin>;
++ vpcie3v3-supply = <&vcc3v3_pcie>;
++ status = "okay";
++};
++
++&pcie_phy {
++ status = "okay";
++};
++
+ &pmu_io_domains {
+ status = "okay";
+