]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Fix wrong register range of rk3576 gpu
authorChaoyi Chen <chaoyi.chen@rock-chips.com>
Tue, 6 Jan 2026 07:15:13 +0000 (15:15 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 6 Jan 2026 18:38:28 +0000 (19:38 +0100)
According to RK3576 TRM part1 Table 1-1 Address Mapping, the size of
the GPU registers is 128 KB.

The current mapping incorrectly includes the addresses of multiple
following IP like the eInk interface at 0x27900000. This has not
been detected by the DT tooling as none of the extra mapped IP is
described in the upstream RK3576 DT so far.

Fixes: 57b1ce903966 ("arm64: dts: rockchip: Add rk3576 SoC base DT")
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Reviewed-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://patch.msgid.link/20260106071513.209-1-kernel@airkyi.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3576.dtsi

index a86fc6b4e8c4581c30ba9bd915d9e4cbc2c14c0a..c72343e7a0456e617d45c542e68f6484c8c3be7d 100644 (file)
 
                gpu: gpu@27800000 {
                        compatible = "rockchip,rk3576-mali", "arm,mali-bifrost";
-                       reg = <0x0 0x27800000 0x0 0x200000>;
+                       reg = <0x0 0x27800000 0x0 0x20000>;
                        assigned-clocks = <&scmi_clk SCMI_CLK_GPU>;
                        assigned-clock-rates = <198000000>;
                        clocks = <&cru CLK_GPU>;