[PATCH v5 08/11] arm64: dts: st: add RIFSC as an access controller for STM32MP25x boards

Gatien Chevallier gatien.chevallier at foss.st.com
Fri Sep 29 07:28:49 PDT 2023


RIFSC is a firewall controller. Change its compatible so that it matches
the documentation and reference RIFSC as an access-control-provider.

Signed-off-by: Gatien Chevallier <gatien.chevallier at foss.st.com>
---

Changes in V5:
    	- Renamed feature-domain* to access-control*

Changes in V2:
	- Fix rifsc node name
	- Move the "ranges" property under the
	  "feature-domains" one

 arch/arm64/boot/dts/st/stm32mp251.dtsi | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
index 5268a4321841..34dbb59e1fe0 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -105,11 +105,13 @@ soc at 0 {
 		interrupt-parent = <&intc>;
 		ranges = <0x0 0x0 0x0 0x80000000>;
 
-		rifsc: rifsc-bus at 42080000 {
-			compatible = "simple-bus";
+		rifsc: bus at 42080000 {
+			compatible = "st,stm32mp25-rifsc";
 			reg = <0x42080000 0x1000>;
 			#address-cells = <1>;
 			#size-cells = <1>;
+			access-control-provider;
+			#access-controller-cells = <1>;
 			ranges;
 
 			usart2: serial at 400e0000 {
@@ -117,6 +119,7 @@ usart2: serial at 400e0000 {
 				reg = <0x400e0000 0x400>;
 				interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&ck_flexgen_08>;
+				access-controller = <&rifsc 32>;
 				status = "disabled";
 			};
 		};
-- 
2.25.1




More information about the linux-phy mailing list