]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: turris: Rename atsha204a@64 DT node to crypto@64
authorPali Rohár <pali@kernel.org>
Fri, 8 Apr 2022 14:30:15 +0000 (16:30 +0200)
committerStefan Roese <sr@denx.de>
Thu, 21 Apr 2022 10:31:36 +0000 (12:31 +0200)
DT node name should be generic, therefore rename atsha204a@64 to crypto@64.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
board/CZ.NIC/turris_atsha_otp.c

index 008787e664cab2ddd41de8fb9ec64502fb47a709..64ebe2c6d47b2cf5972d98f68a67ce111949b1b5 100644 (file)
@@ -29,7 +29,7 @@
                        u-boot,dm-pre-reloc;
 
                        /* ATSHA204A at address 0x64 */
-                       atsha204a@64 {
+                       crypto@64 {
                                u-boot,dm-pre-reloc;
                                compatible = "atmel,atsha204a";
                                reg = <0x64>;
index 7a39b7f61d5d84eb2f4f740cf38f396d2fae682e..8c39f5e52414b14d6d68782b24347a3990c4dd90 100644 (file)
@@ -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@64", &dev)) {
+       if (uclass_get_device_by_name(UCLASS_MISC, "crypto@64", &dev)) {
                puts("Cannot find ATSHA204A on I2C bus!\n");
                dev = NULL;
        }