Skip to content

Commit

Permalink
ARM: dts: stm32: use RCC macro for CRC node on stm32f746
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
passgat authored and Patrice Chotard committed Oct 4, 2023
1 parent a5fc0be commit 3175c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/dts/stm32f746.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};

Expand Down

0 comments on commit 3175c73

Please sign in to comment.