Skip to content

Commit 04eeaf3

Browse files
okiasmmind
authored andcommitted
arm64: dts: rockchip: assign pipe clock to rk356x PCIe lanes
These clocks are used by PCIe lanes, but we're missing from the definition. Suggested-by: Charalampos Mitrodimas <charmitro@posteo.net> Signed-off-by: David Heidelberg <david@ixit.cz> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Link: https://patch.msgid.link/20260304-rk3568-bri-r2-pro-fix-pcie-v4-1-37abd7ba29d0@ixit.cz Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 792c42d commit 04eeaf3

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3568.dtsi

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,11 @@
155155
bus-range = <0x10 0x1f>;
156156
clocks = <&cru ACLK_PCIE30X1_MST>, <&cru ACLK_PCIE30X1_SLV>,
157157
<&cru ACLK_PCIE30X1_DBI>, <&cru PCLK_PCIE30X1>,
158-
<&cru CLK_PCIE30X1_AUX_NDFT>;
158+
<&cru CLK_PCIE30X1_AUX_NDFT>,
159+
<&cru CLK_PCIE30X1_PIPE_DFT>;
159160
clock-names = "aclk_mst", "aclk_slv",
160-
"aclk_dbi", "pclk", "aux";
161+
"aclk_dbi", "pclk", "aux",
162+
"pipe";
161163
device_type = "pci";
162164
interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
163165
<GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
@@ -208,9 +210,11 @@
208210
bus-range = <0x20 0x2f>;
209211
clocks = <&cru ACLK_PCIE30X2_MST>, <&cru ACLK_PCIE30X2_SLV>,
210212
<&cru ACLK_PCIE30X2_DBI>, <&cru PCLK_PCIE30X2>,
211-
<&cru CLK_PCIE30X2_AUX_NDFT>;
213+
<&cru CLK_PCIE30X2_AUX_NDFT>,
214+
<&cru CLK_PCIE30X2_PIPE_DFT>;
212215
clock-names = "aclk_mst", "aclk_slv",
213-
"aclk_dbi", "pclk", "aux";
216+
"aclk_dbi", "pclk", "aux",
217+
"pipe";
214218
device_type = "pci";
215219
interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
216220
<GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,

arch/arm64/boot/dts/rockchip/rk356x-base.dtsi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,9 +1020,11 @@
10201020
bus-range = <0x0 0xf>;
10211021
clocks = <&cru ACLK_PCIE20_MST>, <&cru ACLK_PCIE20_SLV>,
10221022
<&cru ACLK_PCIE20_DBI>, <&cru PCLK_PCIE20>,
1023-
<&cru CLK_PCIE20_AUX_NDFT>;
1023+
<&cru CLK_PCIE20_AUX_NDFT>,
1024+
<&cru CLK_PCIE20_PIPE_DFT>;
10241025
clock-names = "aclk_mst", "aclk_slv",
1025-
"aclk_dbi", "pclk", "aux";
1026+
"aclk_dbi", "pclk", "aux",
1027+
"pipe";
10261028
device_type = "pci";
10271029
#interrupt-cells = <1>;
10281030
interrupt-map-mask = <0 0 0 7>;

0 commit comments

Comments
 (0)