[PATCH 4/4] board: turris: Rename atsha204a at 64 DT node to crypto at 64

Pali Rohár pali at kernel.org
Fri Apr 8 16:30:15 CEST 2022


DT node name should be generic, therefore rename atsha204a at 64 to crypto at 64.

Signed-off-by: Pali Rohár <pali at kernel.org>
---
 arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 2 +-
 board/CZ.NIC/turris_atsha_otp.c                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi b/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
index 3ff76c946294..76a441524833 100644
--- a/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
+++ b/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
@@ -29,7 +29,7 @@
 			u-boot,dm-pre-reloc;
 
 			/* ATSHA204A at address 0x64 */
-			atsha204a at 64 {
+			crypto at 64 {
 				u-boot,dm-pre-reloc;
 				compatible = "atmel,atsha204a";
 				reg = <0x64>;
diff --git a/board/CZ.NIC/turris_atsha_otp.c b/board/CZ.NIC/turris_atsha_otp.c
index 7a39b7f61d5d..8c39f5e52414 100644
--- a/board/CZ.NIC/turris_atsha_otp.c
+++ b/board/CZ.NIC/turris_atsha_otp.c
@@ -21,7 +21,7 @@ static struct udevice *get_atsha204a_dev(void)
 	/* Cannot be static because BSS does not have to be ready at this early stage */
 	struct udevice *dev;
 
-	if (uclass_get_device_by_name(UCLASS_MISC, "atsha204a at 64", &dev)) {
+	if (uclass_get_device_by_name(UCLASS_MISC, "crypto at 64", &dev)) {
 		puts("Cannot find ATSHA204A on I2C bus!\n");
 		dev = NULL;
 	}
-- 
2.20.1



More information about the U-Boot mailing list