LF-95-2 arm64: imx8qm-ss-mipi.dtsi: Correct MIPI CSR address and size
authorLiu Ying <victor.liu@nxp.com>
Tue, 3 Dec 2019 12:25:21 +0000 (20:25 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:21:35 +0000 (11:21 +0800)
The spec tells us that the CSR start address is 0x1000 and end address
is 0x1FFF according to the subsystem start address.  However, it turns
out some space are inaccessible, which would accidently cause system
hang via kernel regmap debugfs.  This patch corrects the MIPI CSR
start address and chooses a sensible size, which makes sure all exposed
registers are accessible.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi

index 9a9c827..91397ad 100644 (file)
                        status = "disabled";
                };
 
-               mipi0_csr: csr@56220000 {
+               mipi0_csr: csr@56221000 {
                        compatible = "syscon";
-                       reg = <0x56220000 0x10000>;
+                       reg = <0x56221000 0x240>;
                };
 
                mipi0_dphy: dphy@56228300 {
                        status = "disabled";
                };
 
-               mipi1_csr: csr@57220000 {
+               mipi1_csr: csr@57221000 {
                        compatible = "syscon";
-                       reg = <0x57220000 0x10000>;
+                       reg = <0x57221000 0x240>;
                };
 
                mipi1_dphy: dphy@57228300 {