diff options
author | Dario Binacchi <dario.binacchi@amarulasolutions.com> | 2023-05-16 10:52:19 +0200 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2023-05-16 16:27:12 +0200 |
commit | 7a5f349e592c254f3c1ac34665b6c3905576efc2 (patch) | |
tree | cc292c232a47f8349464c5bd77a9f0610d03ebc1 | |
parent | 9660efc2af37f3c12dc6e6a5511ad99e0addc297 (diff) |
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 <dario.binacchi@amarulasolutions.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
-rw-r--r-- | arch/arm/boot/dts/stm32f746.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index dc868e6da40e..e3564b74a779 100644 --- a/arch/arm/boot/dts/stm32f746.dtsi +++ b/arch/arm/boot/dts/stm32f746.dtsi @@ -515,7 +515,7 @@ crc: crc@40023000 { compatible = "st,stm32f7-crc"; reg = <0x40023000 0x400>; - clocks = <&rcc 0 12>; + clocks = <&rcc 0 STM32F7_AHB1_CLOCK(CRC)>; status = "disabled"; }; |