summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Binacchi <[email protected]>2023-09-03 22:48:43 +0200
committerPatrice Chotard <[email protected]>2023-10-04 13:26:02 +0200
commit3175c73b04b23ad2f3636c6445e98a633a0e96a7 (patch)
treee562381831a244cacd73308730d447dccc87b9c7
parenta5fc0bebeff0e64c1b42aba8c66466b15cd0d8f6 (diff)
ARM: dts: stm32: use RCC macro for CRC node on stm32f746
commit 7a5f349e592c254f3c1ac34665b6c3905576efc2 Linux upstream. 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]> Signed-off-by: Alexandre Torgue <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
-rw-r--r--arch/arm/dts/stm32f746.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi
index dc5c257fb5f..7b4bd805c99 100644
--- a/arch/arm/dts/stm32f746.dtsi
+++ b/arch/arm/dts/stm32f746.dtsi
@@ -526,7 +526,7 @@
crc: crc@40023000 {
compatible = "st,stm32f7-crc";
reg = <0x40023000 0x400>;
- clocks = <&rcc 0 12>;
+ clocks = <&rcc 0 STM32F7_AHB1_CLOCK(CRC)>;
status = "disabled";
};