]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: st: Fix SAI addresses on stm32mp251
authorMarek Vasut <marex@nabladev.com>
Sat, 11 Apr 2026 13:02:35 +0000 (15:02 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 29 May 2026 16:53:11 +0000 (18:53 +0200)
The second field of SAI register addresses should be within 0x3f0 bytes
from the start of the SAI register addresses, the second field describes
the ID registers which are at that addrses. Currently, the second field
does not match RM, fix it.

Fixes: bf26d75a95f1 ("arm64: dts: st: add sai support on stm32mp251")
Signed-off-by: Marek Vasut <marex@nabladev.com>
Reviewed-by: Olivier Moysan <olivier.moysan@foss.st.com>
Link: https://lore.kernel.org/r/20260411130300.19603-1-marex@nabladev.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp251.dtsi

index 673fbc5632e69fe3457c64676263f83dab13d6e3..9c63fdb5a885af290a4ae5e7fc990a87c12b0e28 100644 (file)
 
                        sai1: sai@40290000 {
                                compatible = "st,stm32mp25-sai";
-                               reg = <0x40290000 0x4>, <0x4029a3f0 0x10>;
+                               reg = <0x40290000 0x4>, <0x402903f0 0x10>;
                                ranges = <0 0x40290000 0x400>;
                                #address-cells = <1>;
                                #size-cells = <1>;
 
                        sai2: sai@402a0000 {
                                compatible = "st,stm32mp25-sai";
-                               reg = <0x402a0000 0x4>, <0x402aa3f0 0x10>;
+                               reg = <0x402a0000 0x4>, <0x402a03f0 0x10>;
                                ranges = <0 0x402a0000 0x400>;
                                #address-cells = <1>;
                                #size-cells = <1>;
 
                        sai3: sai@402b0000 {
                                compatible = "st,stm32mp25-sai";
-                               reg = <0x402b0000 0x4>, <0x402ba3f0 0x10>;
+                               reg = <0x402b0000 0x4>, <0x402b03f0 0x10>;
                                ranges = <0 0x402b0000 0x400>;
                                #address-cells = <1>;
                                #size-cells = <1>;
 
                        sai4: sai@40340000 {
                                compatible = "st,stm32mp25-sai";
-                               reg = <0x40340000 0x4>, <0x4034a3f0 0x10>;
+                               reg = <0x40340000 0x4>, <0x403403f0 0x10>;
                                ranges = <0 0x40340000 0x400>;
                                #address-cells = <1>;
                                #size-cells = <1>;