Skip to content

Commit 5a6976b

Browse files
saschahauermmind
authored andcommitted
arm64: dts: rockchip: Add DFI to rk3588s
The DFI unit can be used to measure DRAM utilization using perf. Add the node to the device tree. The DFI needs a rockchip,pmu phandle to the pmu containing registers for SDRAM configuration details. This is added in this patch as well. Reviewed-by: Sebastian Reichel <[email protected]> Signed-off-by: Sascha Hauer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 085be88 commit 5a6976b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,11 @@
443443
status = "disabled";
444444
};
445445

446+
pmu1grf: syscon@fd58a000 {
447+
compatible = "rockchip,rk3588-pmugrf", "syscon", "simple-mfd";
448+
reg = <0x0 0xfd58a000 0x0 0x10000>;
449+
};
450+
446451
sys_grf: syscon@fd58c000 {
447452
compatible = "rockchip,rk3588-sys-grf", "syscon";
448453
reg = <0x0 0xfd58c000 0x0 0x1000>;
@@ -1329,6 +1334,17 @@
13291334
};
13301335
};
13311336

1337+
dfi: dfi@fe060000 {
1338+
reg = <0x00 0xfe060000 0x00 0x10000>;
1339+
compatible = "rockchip,rk3588-dfi";
1340+
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH 0>,
1341+
<GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH 0>,
1342+
<GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH 0>,
1343+
<GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH 0>;
1344+
interrupt-names = "ch0", "ch1", "ch2", "ch3";
1345+
rockchip,pmu = <&pmu1grf>;
1346+
};
1347+
13321348
gmac1: ethernet@fe1c0000 {
13331349
compatible = "rockchip,rk3588-gmac", "snps,dwmac-4.20a";
13341350
reg = <0x0 0xfe1c0000 0x0 0x10000>;

0 commit comments

Comments
 (0)