From 115d691fc3a40262003802ee841279597ceb3df2 Mon Sep 17 00:00:00 2001 From: Fabien DESSENNE Date: Tue, 21 Mar 2017 16:13:29 +0100 Subject: ARM: dts: stm32: Add CRC support to stm32f746 Add CRC (CRC32 crypto) support to stm32f746. Signed-off-by: Fabien Dessenne Signed-off-by: Herbert Xu --- arch/arm/boot/dts/stm32f746.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch/arm/boot/dts') diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index f321ffe87144..755fb923c07b 100644 --- a/arch/arm/boot/dts/stm32f746.dtsi +++ b/arch/arm/boot/dts/stm32f746.dtsi @@ -289,6 +289,13 @@ }; }; + crc: crc@40023000 { + compatible = "st,stm32f7-crc"; + reg = <0x40023000 0x400>; + clocks = <&rcc 0 12>; + status = "disabled"; + }; + rcc: rcc@40023800 { #clock-cells = <2>; compatible = "st,stm32f42xx-rcc", "st,stm32-rcc"; -- cgit v1.2.3 From 2e3db2931875a843db8b56158cf93edab4286cde Mon Sep 17 00:00:00 2001 From: Fabien DESSENNE Date: Tue, 21 Mar 2017 16:13:30 +0100 Subject: ARM: dts: stm32: enable CRC on stm32746g-eval board Enable the CRC (CRC32 crypto) on stm32746g-eval board Signed-off-by: Fabien Dessenne Signed-off-by: Herbert Xu --- arch/arm/boot/dts/stm32746g-eval.dts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/boot/dts') diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts index aa03fac1ec55..0dc18a0f0940 100644 --- a/arch/arm/boot/dts/stm32746g-eval.dts +++ b/arch/arm/boot/dts/stm32746g-eval.dts @@ -89,6 +89,10 @@ clock-frequency = <25000000>; }; +&crc { + status = "okay"; +}; + &usart1 { pinctrl-0 = <&usart1_pins_a>; pinctrl-names = "default"; -- cgit v1.2.3