Enable the CRC and CRYP internal peripherals on STM32MP135F-DK board.
The first 2 patches adds the node crc1 in file stm32mp131.dtsi and
enables it for the board stm32mp135f-dk.
The last patch of the patchset enables the node cryp for the board
stm32mp135f-dk.
Lionel Debieve (2):
ARM: dts: stm32: add CRC on stm32mp131
ARM: dts: stm32: enable CRC on stm32mp135f-dk
Thomas Bourgoin (1):
ARM: dts: stm32: enable crypto accelerator on stm32mp135f-dk
arch/arm/boot/dts/st/stm32mp131.dtsi | 7 +++++++
arch/arm/boot/dts/st/stm32mp135f-dk.dts | 8 ++++++++
2 files changed, 15 insertions(+)
--
2.25.1
From: Lionel Debieve <[email protected]>
The Cyclic redundancy check calculation unit (CRC) peripheral
offers a CRC-based operation (CRC32/CRC32C) used to verify data
transmission or storage integrity.
This peripheral is integrated in stm32mp131 and can be default
enabled.
Signed-off-by: Lionel Debieve <[email protected]>
Signed-off-by: Thomas Bourgoin <[email protected]>
---
arch/arm/boot/dts/st/stm32mp131.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp131.dtsi b/arch/arm/boot/dts/st/stm32mp131.dtsi
index b04d24c939c3..3900f32da797 100644
--- a/arch/arm/boot/dts/st/stm32mp131.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp131.dtsi
@@ -1315,6 +1315,13 @@ sdmmc2: mmc@58007000 {
status = "disabled";
};
+ crc1: crc@58009000 {
+ compatible = "st,stm32f7-crc";
+ reg = <0x58009000 0x400>;
+ clocks = <&rcc CRC1>;
+ status = "disabled";
+ };
+
usbh_ohci: usb@5800c000 {
compatible = "generic-ohci";
reg = <0x5800c000 0x1000>;
--
2.25.1
From: Lionel Debieve <[email protected]>
Enable Cyclic redundancy check on stm32mp135f-dk.
Signed-off-by: Lionel Debieve <[email protected]>
Signed-off-by: Thomas Bourgoin <[email protected]>
---
arch/arm/boot/dts/st/stm32mp135f-dk.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
index eea740d097c7..a7b1b2ca9d0b 100644
--- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
+++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
@@ -93,6 +93,10 @@ channel@12 {
};
};
+&crc1 {
+ status = "okay";
+};
+
&i2c1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c1_pins_a>;
--
2.25.1
Add the crypto accelerator enable on stm32mp135f-dk board.
Signed-off-by: Thomas Bourgoin <[email protected]>
---
arch/arm/boot/dts/st/stm32mp135f-dk.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
index a7b1b2ca9d0b..52171214a308 100644
--- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
+++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
@@ -97,6 +97,10 @@ &crc1 {
status = "okay";
};
+&cryp {
+ status = "okay";
+};
+
&i2c1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c1_pins_a>;
--
2.25.1
Hi Thomas
On 2/19/24 12:37, Thomas Bourgoin wrote:
> Enable the CRC and CRYP internal peripherals on STM32MP135F-DK board.
>
> The first 2 patches adds the node crc1 in file stm32mp131.dtsi and
> enables it for the board stm32mp135f-dk.
> The last patch of the patchset enables the node cryp for the board
> stm32mp135f-dk.
>
> Lionel Debieve (2):
> ARM: dts: stm32: add CRC on stm32mp131
> ARM: dts: stm32: enable CRC on stm32mp135f-dk
>
> Thomas Bourgoin (1):
> ARM: dts: stm32: enable crypto accelerator on stm32mp135f-dk
>
> arch/arm/boot/dts/st/stm32mp131.dtsi | 7 +++++++
> arch/arm/boot/dts/st/stm32mp135f-dk.dts | 8 ++++++++
> 2 files changed, 15 insertions(+)
>
Series applied on stm32-next.
Thanks
Alex
> --
> 2.25.1
>