]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: st: set RIFSC as an access controller on stm32mp21x platforms
authorGatien Chevallier <gatien.chevallier@foss.st.com>
Thu, 6 Nov 2025 09:31:49 +0000 (10:31 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 14 Nov 2025 08:48:40 +0000 (09:48 +0100)
Similarly to stm32mp23x/25x platforms, the RIFSC is a firewall
controller. Declare it as an access controller, keep the "simple-bus"
compatible in case CONFIG_STM32_FIREWALL is not set and update the
child nodes.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Link: https://lore.kernel.org/r/20251106-rifsc_debugfs-v2-2-f90e94ae756d@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp211.dtsi

index bf888d60cd4f01b6242fb848bcb2dc219ef3f669..cd078a16065e64ca7b321b1dfc207bdf65897797 100644 (file)
                #size-cells = <2>;
 
                rifsc: bus@42080000 {
-                       compatible = "simple-bus";
+                       compatible = "st,stm32mp21-rifsc", "simple-bus";
                        reg = <0x42080000 0x0 0x1000>;
                        ranges;
                        dma-ranges;
                        #address-cells = <1>;
                        #size-cells = <2>;
+                       #access-controller-cells = <1>;
 
                        usart2: serial@400e0000 {
                                compatible = "st,stm32h7-uart";
                                reg = <0x400e0000 0x0 0x400>;
                                interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&ck_flexgen_08>;
+                               access-controllers = <&rifsc 32>;
                                status = "disabled";
                        };
                };