[PATCH 2/3] ARM: dts: stm32: enable CRC1 by default on stm32mp15

From: Lionel Debieve
Date: Thu Nov 05 2020 - 05:24:38 EST


From: Nicolas Toromanoff <nicolas.toromanoff@xxxxxx>

Enable CRC1 device for CRC-32 accelerated support on
stm32mp15 STMicroelectronics platforms.

Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@xxxxxx>
Signed-off-by: Lionel Debieve <lionel.debieve@xxxxxx>
---
arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 ++++
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 ++++
2 files changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 1a98a29b3283..99796ffa43bf 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -115,6 +115,10 @@
};
};

+&crc1 {
+ status = "okay";
+};
+
&dac {
pinctrl-names = "default";
pinctrl-0 = <&dac_ch1_pins_a &dac_ch2_pins_a>;
diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
index e92a18542306..4e74e55a4f07 100644
--- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
+++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
@@ -124,6 +124,10 @@
status = "okay";
};

+&crc1 {
+ status = "okay";
+};
+
&dts {
status = "okay";
};
--
2.17.1