2022-05-12 20:37:59

by Pali Rohár

[permalink] [raw]
Subject: [PATCH] ARM: dts: turris-omnia: Add atsha204a node

Crypto module atsha204a is available at i2c address 0x64. Module is used
for symmetric cryptography and provides also hardware random number
generator and OTP storage for device serial number and MAC addresses.

Signed-off-by: Pali Rohár <[email protected]>
---
arch/arm/boot/dts/armada-385-turris-omnia.dts | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts
index bc778ab8618a..f4eb6898aa6b 100644
--- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
+++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
@@ -349,7 +349,11 @@
#size-cells = <0>;
reg = <5>;

- /* ATSHA204A at address 0x64 */
+ /* ATSHA204A-MAHDA-T crypto module */
+ crypto@64 {
+ compatible = "atmel,atsha204a";
+ reg = <0x64>;
+ };
};

i2c@6 {
--
2.20.1



2022-05-13 15:54:18

by Gregory CLEMENT

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: turris-omnia: Add atsha204a node

Pali Rohár <[email protected]> writes:

> Crypto module atsha204a is available at i2c address 0x64. Module is used
> for symmetric cryptography and provides also hardware random number
> generator and OTP storage for device serial number and MAC addresses.
>
> Signed-off-by: Pali Rohár <[email protected]>

Applied on mvebu/dt

Thanks,

Gregory

> ---
> arch/arm/boot/dts/armada-385-turris-omnia.dts | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts
> index bc778ab8618a..f4eb6898aa6b 100644
> --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
> +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
> @@ -349,7 +349,11 @@
> #size-cells = <0>;
> reg = <5>;
>
> - /* ATSHA204A at address 0x64 */
> + /* ATSHA204A-MAHDA-T crypto module */
> + crypto@64 {
> + compatible = "atmel,atsha204a";
> + reg = <0x64>;
> + };
> };
>
> i2c@6 {
> --
> 2.20.1
>

--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

2022-05-14 02:29:15

by Andrew Lunn

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: turris-omnia: Add atsha204a node

On Thu, May 12, 2022 at 11:59:39AM +0200, Pali Roh?r wrote:
> Crypto module atsha204a is available at i2c address 0x64. Module is used
> for symmetric cryptography and provides also hardware random number
> generator and OTP storage for device serial number and MAC addresses.
>
> Signed-off-by: Pali Roh?r <[email protected]>

Reviewed-by: Andrew Lunn <[email protected]>

Andrew