mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-06 04:41:28 +00:00
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 <sebastian.reichel@collabora.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.kernel.org/r/20231018061714.3553817-27-s.hauer@pengutronix.de Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
085be8875c
commit
5a6976b104
@ -443,6 +443,11 @@ usb_host1_ohci: usb@fc8c0000 {
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pmu1grf: syscon@fd58a000 {
|
||||||
|
compatible = "rockchip,rk3588-pmugrf", "syscon", "simple-mfd";
|
||||||
|
reg = <0x0 0xfd58a000 0x0 0x10000>;
|
||||||
|
};
|
||||||
|
|
||||||
sys_grf: syscon@fd58c000 {
|
sys_grf: syscon@fd58c000 {
|
||||||
compatible = "rockchip,rk3588-sys-grf", "syscon";
|
compatible = "rockchip,rk3588-sys-grf", "syscon";
|
||||||
reg = <0x0 0xfd58c000 0x0 0x1000>;
|
reg = <0x0 0xfd58c000 0x0 0x1000>;
|
||||||
@ -1329,6 +1334,17 @@ pcie2x1l2_intc: legacy-interrupt-controller {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dfi: dfi@fe060000 {
|
||||||
|
reg = <0x00 0xfe060000 0x00 0x10000>;
|
||||||
|
compatible = "rockchip,rk3588-dfi";
|
||||||
|
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH 0>,
|
||||||
|
<GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH 0>,
|
||||||
|
<GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH 0>,
|
||||||
|
<GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH 0>;
|
||||||
|
interrupt-names = "ch0", "ch1", "ch2", "ch3";
|
||||||
|
rockchip,pmu = <&pmu1grf>;
|
||||||
|
};
|
||||||
|
|
||||||
gmac1: ethernet@fe1c0000 {
|
gmac1: ethernet@fe1c0000 {
|
||||||
compatible = "rockchip,rk3588-gmac", "snps,dwmac-4.20a";
|
compatible = "rockchip,rk3588-gmac", "snps,dwmac-4.20a";
|
||||||
reg = <0x0 0xfe1c0000 0x0 0x10000>;
|
reg = <0x0 0xfe1c0000 0x0 0x10000>;
|
||||||
|
Loading…
Reference in New Issue
Block a user