From patchwork Mon May 20 06:30:44 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: 13668052 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 4C412C04FFE for ; Mon, 20 May 2024 06:31:11 +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=Y7A1b2p95/RyA4CssmRXMeclGueduMJVtOYNKIR7KQk=; b=WvDCxnvXg4gmM/ wxKkxihImHcQSIMSPLWWmnXJ1g1zSSNFI6WMtdDEhEtAvHiAe5D3O9xxoZwpfNLRMp2bvAVsvIbA/ ID3u38585+2Sf84u54S7KqESCAHz0KrPSyk9kbf7P3MtVmxcJM6S2v5nWkwC8Obko4fu6TtFwBneV edg9yx7Z0MdK1H1dCAnSBMdJ5kwOsUv1Lgvmta5xCjqDYjB7Eij3rP3qqDx7ddV4EABnyStvooiTl /4/J4ZxO4ZS3i7pgh3YXWeo2IS+LeCoDSDxmDEh4Tk5tFQsPMQJBH6Gzuwf+9YIjTvJTUXHqV7kUO PL/mXpGf5/acZ6HfAcqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8wXw-0000000Df90-2XJq; Mon, 20 May 2024 06:30:56 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8wXt-0000000Df8P-3KnK for linux-arm-kernel@lists.infradead.org; Mon, 20 May 2024 06:30:55 +0000 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-51fdc9af005so4733650e87.3 for ; Sun, 19 May 2024 23:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716186651; x=1716791451; 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=rz+bZ02LFpOpWAtlLL58CncIUnYmXf+/Ztkgv4PNBmI=; b=VcZ5u5IgSmlYSZ0vzkER9lY6lvlz4ErI0JOO7vRyMr3V4JzRtEF75ssrvjQQQSHrFk MQh9CFafTS8+7ZmkpZhZpnd4KbVOyynW5jSdC7RBq7SQKvk0Xyt8xFw2UDTvJUSsvcsn G+GGbfnG8ny1l2Wzj1qNChouyjxA6iHXOzjvzD5E50YnGzuEZ7dbI7y6h9I6YfgANy9m 5naQmp+VrXh5nxQ+0iFvA7+V6Lym+DYkGBilIKXIu2xBVUDCJfJ9eq/fqomL4CO11iVR Pau4fM/n6WJ40Lyjv9P/SB5B8bNnx0pjbM4wXR9CcICJSEaBAdOFfQ1lncJcd3URx4I1 kvIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716186651; x=1716791451; 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=rz+bZ02LFpOpWAtlLL58CncIUnYmXf+/Ztkgv4PNBmI=; b=MKClDfjQCvGrSS8iPECINmhINybBTfoih9GTeN/UY4cGQMOlZM8HAk/8/eeCQmIpru zXhy5sh/nItpW5XX6lIDtxt5cLPjX3vhke/3Io7y6dPkirJyzxJILaEIiQmp+TAJEKkE ntfx0FkS1mwqbI1Fl0WNw5P91FOVOam6cd9NtwP4WYOmgvb+MUTMtrrIZ952QtS63zxP kBlL1Mv5yImqojzJ16E5K1DKS9NlDbsU7kTms6j31CT2EFA/rQ5e3Zhv44VQTQZ+jbMG VJgmPlnEROuEFCuWia0PQnNqFj4/Su32pyJPydVS76yyhSw/ydPKjSl/Z0UCepFwBRQE Mp3w== X-Forwarded-Encrypted: i=1; AJvYcCUtPU63F3FsPIa17wpjvM12KJ1XkrAPjweE04XY4+YxCP33qqLq+oDSuwKrhp43gjo0tvuMZQrQA0fOYnBiZxEZhJR5bPqhozBkLEEnCbjXwwSP2wQ= X-Gm-Message-State: AOJu0Ywa2dbQAtosTLHkC+hWeFNIX3duRgSCxRQiYiLCu/XKO5aD51Px tmO+cwi2F61jfNqB4zMoLYwucJp/JkmJH9CAxe0ZMXTOZ+p8F0Ll X-Google-Smtp-Source: AGHT+IHVYvnvCXtm+95G/SYDMO0LSxZtBoXuchY1RlSE1t1WtKyDMgbJXZt4O2SbqjvxZyTfxOoH+g== X-Received: by 2002:ac2:4c50:0:b0:51c:d1ac:c450 with SMTP id 2adb3069b0e04-5220fc7c5camr30222428e87.10.1716186651016; Sun, 19 May 2024 23:30:51 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5cdcd149c5sm579170666b.201.2024.05.19.23.30.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 23:30:50 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Joel Stanley , Andrew Jeffery , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] ARM: dts: aspeed: convert ASRock SPC621D8HM3 NVMEM content to layout syntax Date: Mon, 20 May 2024 08:30:44 +0200 Message-Id: <20240520063044.4885-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-20240519_233053_860403_7C2175B8 X-CRM114-Status: GOOD ( 11.88 ) 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 Acked-by: Zev Weiss --- .../dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts index 555485871e7a..c4097e4f2ca4 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts @@ -110,11 +110,15 @@ eeprom@50 { compatible = "st,24c128", "atmel,24c128"; reg = <0x50>; pagesize = <16>; - #address-cells = <1>; - #size-cells = <1>; - eth0_macaddress: macaddress@3f80 { - reg = <0x3f80 6>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + eth0_macaddress: macaddress@3f80 { + reg = <0x3f80 6>; + }; }; };