From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6E82C433F5 for ; Fri, 8 Apr 2022 14:32:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 70B7D83D0F; Fri, 8 Apr 2022 16:31:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="MyhlSAx+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A0B3483D4D; Fri, 8 Apr 2022 16:31:34 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2ADD783DAC for ; Fri, 8 Apr 2022 16:31:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BD3FEB82B85; Fri, 8 Apr 2022 14:31:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53854C385A8; Fri, 8 Apr 2022 14:31:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649428286; bh=XHRB3i1yWxfFOZA6OGquktgm5GsMgRyOFZl9qyP6pyM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MyhlSAx+6QNNPh9AiahOOhXtEABxYCi01NL9FvVppIrkiY15zx8fQssBx0Bzpkr2b d4DIKklAwVDCQvi0XOO8jiqLRRyH9yUWY3BABLJak+3A39RWsp1bHUviWwlu0a06cN ULuXnhM4zQrMaDxc6NiaAskHJoMi2N7spucWw+zV3w2BXeOxQExuCtBbjToV1BqP38 7dTg6IbIkotUxDqIY217fKnhrso99P1Isxs1bQFiXVB/RoNQCtjBK4Td59h4Zyzfyl gn435M5f/1/U0f5oaX4SDutalH5xeKHEuaNsqX1Q3Q6rIQ6x8DE5TKvTKv+XWaG/H3 4m5ntTvWHbplA== Received: by pali.im (Postfix) id 264A8B4A; Fri, 8 Apr 2022 16:31:24 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , Marek Behun Cc: u-boot@lists.denx.de Subject: [PATCH 4/4] board: turris: Rename atsha204a@64 DT node to crypto@64 Date: Fri, 8 Apr 2022 16:30:15 +0200 Message-Id: <20220408143015.23163-4-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220408143015.23163-1-pali@kernel.org> References: <20220408143015.23163-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean DT node name should be generic, therefore rename atsha204a@64 to crypto@64. Signed-off-by: Pali Rohár --- 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@64 { + crypto@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@64", &dev)) { + if (uclass_get_device_by_name(UCLASS_MISC, "crypto@64", &dev)) { puts("Cannot find ATSHA204A on I2C bus!\n"); dev = NULL; } -- 2.20.1