arm64: dts: rockchip: Add DFI to rk356x
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 18 Oct 2023 06:17:13 +0000 (08:17 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 19 Oct 2023 14:04:37 +0000 (16:04 +0200)
The DFI unit can be used to measure DRAM utilization using perf. Add the
node to the device tree.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20231018061714.3553817-26-s.hauer@pengutronix.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk356x.dtsi

index abee88911982d4f4dc5075d7d0ad4ded7da7cdbd..0964761e3ce9eb6a650fe3f038bfd169b4c1c94e 100644 (file)
                reg = <0x0 0xfe1a8100 0x0 0x20>;
        };
 
+       dfi: dfi@fe230000 {
+               compatible = "rockchip,rk3568-dfi";
+               reg = <0x00 0xfe230000 0x00 0x400>;
+               interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
+               rockchip,pmu = <&pmugrf>;
+       };
+
        pcie2x1: pcie@fe260000 {
                compatible = "rockchip,rk3568-pcie";
                reg = <0x3 0xc0000000 0x0 0x00400000>,