Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: st: set RIFSC as an access controller on stm32mp21x platforms

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>

authored by

Gatien Chevallier and committed by
Alexandre Torgue
a6961e2c af9c7a6c

+3 -1
+3 -1
arch/arm64/boot/dts/st/stm32mp211.dtsi
··· 94 94 #size-cells = <2>; 95 95 96 96 rifsc: bus@42080000 { 97 - compatible = "simple-bus"; 97 + compatible = "st,stm32mp21-rifsc", "simple-bus"; 98 98 reg = <0x42080000 0x0 0x1000>; 99 99 ranges; 100 100 dma-ranges; 101 101 #address-cells = <1>; 102 102 #size-cells = <2>; 103 + #access-controller-cells = <1>; 103 104 104 105 usart2: serial@400e0000 { 105 106 compatible = "st,stm32h7-uart"; 106 107 reg = <0x400e0000 0x0 0x400>; 107 108 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 108 109 clocks = <&ck_flexgen_08>; 110 + access-controllers = <&rifsc 32>; 109 111 status = "disabled"; 110 112 }; 111 113 };