ARM: dts: stm32: use RCC macro for CRC node on stm32f746
Subsystems (2)
PATCH 1/1 ARM: dts: stm32: use RCC macro for CRC node on stm32f746
The patch replaces the number 12 with the appropriate numerical constant already defined in the file stm32f7-rcc.h.
Signed-off-by Dario Binacchi <[email protected]>
---
arch/arm/boot/dts/stm32f746.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/stm32f746.dtsi +1 -1
@@ -515,7 +515,7 @@ pwrcfg: power-config@40007000 { crc: crc@40023000 { compatible = "st,stm32f7-crc"; reg = <0x40023000 0x400>; - clocks = <&rcc 0 12>; + clocks = <&rcc 0 STM32F7_AHB1_CLOCK(CRC)>; status = "disabled"; };
Signature · 1 line
2.32.0
Alexandre TORGUE
maintainerhi Dario
Quoted 14 lines · Dario Binacchi
The patch replaces the number 12 with the appropriate numerical constant already defined in the file
stm32f7-rcc.h.Signed-off-by Dario Binacchi <[email protected]>---
arch/arm/boot/dts/stm32f746.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boot/dts/stm32f746.dtsi +0
-0
arch/arm/boot/dts/stm32f746.dtsi pwrcfg: power-config@40007000 { · line 521
Quoted 8 lines
arch/arm/boot/dts/stm32f746.dtsi +1
-1@@ -515,7 +515,7 @@ pwrcfg: power-config@40007000 { crc: crc@40023000 { compatible = "st,stm32f7-crc"; reg = <0x40023000 0x400>; - clocks = <&rcc 0 12>; + clocks = <&rcc 0 STM32F7_AHB1_CLOCK(CRC)>; status = "disabled"; };
Applied on stm32-next.
Thanks.
Alex