From patchwork Fri May 24 12:56:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13673128 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 290CAC25B74 for ; Fri, 24 May 2024 12:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yFtjAzuqxCKQnfkmjpe6SJU474jb3Fo8XRdC4MxDKAY=; b=4e1AO7vI6cdkLG OY0i5WhxhrsjbozgIU195AQkhAlMqq1IBCzybwU0CH06BwqKhkfixlMOoFg377l7+5UQLqLxKCP9e cAh/UdPZHrMi4KtlavwYTQJ3x0T6IqcQAHpWF38pTa/PYZ61saXKcTaJ0tlixxcgY3GU4vUorFgj7 /R4RLvZ4NfbNGMJhbSoTlmmNFmXhbU/5/2oj9PVnhdwxZTIud63l9EmDLOZuHd8M7XJ+o6lxyycVf zujrbc8rhoT+0fgmYSB+IY2aHK1uUkvYh+tvnGT4iTbr9pOAVFaRClrVgnMIoVY6RzsMB4u/fGFdh Uuu9iWEXaL6J987Nze0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sAUTQ-00000008uqi-3MCJ; Fri, 24 May 2024 12:56:40 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sAUTL-00000008upJ-2h3B for linux-arm-kernel@lists.infradead.org; Fri, 24 May 2024 12:56:39 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a6266ffdba8so75802766b.1 for ; Fri, 24 May 2024 05:56:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716555391; x=1717160191; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=abVzUJ4nv1X5c9kfchVIBpN3UehgMPQfJIiYqIjebGY=; b=C6qJdIvx5yrNEjzaD5SfrbY+42Oseq/xBntFpVeEjhkXYYEMDcRrtq3dyQaYAWoTIt Yj1Qke5LTOzCT8uhWHjXMef6+IFmXO90jqyFnwHLuVJePMnEBIdqMBxwNjVIq2/1HgTi 399Qi9ZFcA0aUGxnppqexolpTOjNf5NWdh4jPQuKFBUueBJ+UVhwxW/5HYEEjSduERWF DeJaqRRuNbe2pJg2CuYiH+wlqhC0gjqEdXVAKLEG9QHBFW0UGNl0Xcxd6dihzu9wwAj9 Lc69DYvIDznauS5pNOwlEw11SX00Bex3c2t3LeUhI/f9l8X93j3ATsP9BRgE6djVhTCK vOtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716555391; x=1717160191; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=abVzUJ4nv1X5c9kfchVIBpN3UehgMPQfJIiYqIjebGY=; b=jZ1hT/PzWCFzisl8r12SBPB47Mp4foS8VjXRCRSBUZlYPebdNIYkfatP36UZYfWMM/ Giz6vanSxEkteQ64yx0NYPFFwwVCchQF9gySe37+kkwuX+T5ekxe9TfcU/6/yuDz8cY1 7tyS8FVgFuw7tmbc64y/4K2ayHGME5d1DKG6l5bZIuPpsSnQ2YneB/6a6Y2D4IxwRAoZ C8ghb3VM2Fmk7G19+VLEhxucmzAFRnzvqXB9DkS5Xmo8dlBHZvHYiOBLYCIuVgJTuLX0 IOeDozxllKWprErbAPq95X5d00+j5i7+Q3avrLPS6U6vMDFP+X8LWKDUOs0OogoAYBBC eWdA== X-Forwarded-Encrypted: i=1; AJvYcCUQW4zj3KPs32nt92QD8bjhaxsXvEsDf9hOtNuwRoSZUGSr/t5dqqyt9Y1dLTPvJZW5dzkQ0+UqIyVNHHVaeZno+J8em4QI5jJL13sAGgmjaFYldhU= X-Gm-Message-State: AOJu0YwCYVh3LEiZocJ/qrbLQIEU7ZQI/AGAnyeU2z0FSe0Yuuw2lmF9 Q4gMU0hIUmSXPWN5qZ+vKdagDSNh2fhHkJK3WPmU1v30XXdmWTIm X-Google-Smtp-Source: AGHT+IHAdm3URxyXEPEqKRZPPrqmxvMxskLMKPdy8zLQHfXI81NFq3NKjCdR+jhr+YMpB4aoyggwEQ== X-Received: by 2002:a17:906:cb8b:b0:a59:c3d0:550c with SMTP id a640c23a62f3a-a62643e4d86mr124642666b.43.1716555391165; Fri, 24 May 2024 05:56:31 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cda7cd3sm127570666b.216.2024.05.24.05.56.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 05:56:30 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] arm64: dts: allwinner: convert NanoPi R1S H5 NVMEM content to layout syntax Date: Fri, 24 May 2024 14:56:17 +0200 Message-Id: <20240524125617.27714-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240524_055635_709525_306E981D X-CRM114-Status: GOOD ( 11.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki Use cleaner (and non-deprecated) bindings syntax. See commit bd912c991d2e ("dt-bindings: nvmem: layouts: add fixed-layout") for details. Signed-off-by: Rafał Miłecki --- .../boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts index 3a7ee44708a2..36e46e40b8f8 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts @@ -146,11 +146,15 @@ eeprom@51 { reg = <0x51>; pagesize = <16>; read-only; - #address-cells = <1>; - #size-cells = <1>; - eth_mac1: mac-address@fa { - reg = <0xfa 0x06>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + eth_mac1: mac-address@fa { + reg = <0xfa 0x06>; + }; }; }; };