diff mbox series

ARM: dts: turris-omnia: Add atsha204a node

Message ID 20220512095939.8595-1-pali@kernel.org (mailing list archive)
State New, archived
Headers show
Series ARM: dts: turris-omnia: Add atsha204a node | expand

Commit Message

Pali Rohár May 12, 2022, 9:59 a.m. UTC
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 <pali@kernel.org>
---
 arch/arm/boot/dts/armada-385-turris-omnia.dts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Andrew Lunn May 12, 2022, 10:09 p.m. UTC | #1
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 <pali@kernel.org>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Gregory CLEMENT May 13, 2022, 12:33 p.m. UTC | #2
Pali Rohár <pali@kernel.org> 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 <pali@kernel.org>

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
>
diff mbox series

Patch

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 {