From patchwork Thu May 16 08:47:37 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: 13665870 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 0F6ACC25B79 for ; Thu, 16 May 2024 08:48:08 +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=lRedgHSRjY7igs9EhiahIy4tca+bQ0pSSrf4Ccz3row=; b=0BYlAKyWb1A0lX YiflXKu3FQBYaktqwUC4SUgRiLV7F5YwgS9d+7TJx64iEsyVzdK59RAwKQsM9qVCLC0eqYvOQjYjt EctpvKgly+ixbK/mcs+wVXVzo0+eVi+BCQTi+yOGwadeQ0C63huCXB65N7jceqzyr6MWH7hzooZV+ Cvtssi8JM+M8jYYAOAhuNsCcleQZb4rNJKsTn2N17nbDOX/vpRuN48qzn+lhr34EesC1dDIBaHx2L RAEIZY3GIFUrRHXEZAzcUphMMRXk898N9B43qaSdUWh4OdrsZKA1kXupJhyFFEhOo5vXGX5GGU/wz npz7s6KbqngEMygSVmLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7WmI-00000004D8V-2Ysx; Thu, 16 May 2024 08:47:54 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7WmE-00000004D7x-0D7f for linux-arm-kernel@lists.infradead.org; Thu, 16 May 2024 08:47:51 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-574f7c0bab4so2936735a12.0 for ; Thu, 16 May 2024 01:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715849266; x=1716454066; 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=suPdXTSTJ+Ddc+aoRlLcCgbP+AoN7DB5vkGE08JQMOQ=; b=Rj72Lp6Bj1dHPQNEWYKv0r3dzo/qdKgAIA8iEBIyqguxc4k6BWWb35SGHI7lepZj9U I7hqOxrrvJ3RdBK9VE+mcETeDxDfyScfZyWehleRNc7ehOAvZlzOGL4t+raF1cWfwN06 jzg/O5k0tHQyZCPM+rqQe4FVQBjJcUFB+BLrWVb8ro7mCJiVyNhz5AEkZaSkG26d+Hw6 z4eHnBtCkNBI1TukVbpoWWS5vzPPjsu5wQiaf+OtiN9he+qd0H4jA/KBJcFR2CP+V5qA y+OhvwJpyjUigx0ne47PcyCyyruc59KBcwcxQSNfKajYo1/7hU3YpJ3w9EScpqERvta8 TZFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715849266; x=1716454066; 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=suPdXTSTJ+Ddc+aoRlLcCgbP+AoN7DB5vkGE08JQMOQ=; b=WPczddLdbFaj4WUWPa/8vCQw//QjLPckgqvzGj5e4ikXarAA3u4ZmX+j6NQuzMWRjU gDznI2IwFfnSo9AljQiw6OnnatPQOZQ+ici0PI2+V519QFbIU5kaFKw2hWUbTfBtxrPt 05TiNtA8IKJoIYGFOb21JjI+j/LapxfpRvZdyPL2ez3/sPzw3FaWpkcW7CHKuVDh+yw5 xaAUHc7bBK2IUGIgZbuirJ7aqiXrxEHpChPH0poHHtMoXmdSLJ8SgkIkdj8XKkmC8vV0 4+6Rw8auQlaAuQguUnDy4q21y8cA9Xfm+iDUWhOuCuikbFbER+ea+rKMmzPVi5v5tJ5B 6jtg== X-Forwarded-Encrypted: i=1; AJvYcCWECAtgWEnbDA01k5KDZeLu35Cn8z+HwAAEr6kcraIcOwspYwwJ5CWPHRmGNjMYHfncNS8Np86JfFPr1C81gVHaaoA6I9UQ5FckT8ZiZwj55m8TydY= X-Gm-Message-State: AOJu0Yxpeq6DAugN5LnfsoYs1HQNnP1PsJim1JpJrWvUb6HysK0pfhMb Y4KvfJ8DjqHorZhLWTUhWoVje6oafXbynnjkFatLHfkGxvPOIe/bnuGyw60y X-Google-Smtp-Source: AGHT+IH8MjxLFf8UGxQeoQQb1lXYQvHlQo2CZW6V6e5ObrVREE0xB8A/J6YJbWKZNRPiBP104Ifqpg== X-Received: by 2002:a50:c18a:0:b0:571:bf62:81ce with SMTP id 4fb4d7f45d1cf-5734d5e35c5mr15738457a12.9.1715849266424; Thu, 16 May 2024 01:47:46 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733bed0af0sm10220371a12.49.2024.05.16.01.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 01:47:45 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli , Hauke Mehrtens Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ray Jui , Scott Branden , Andre Przywara , Tony Lindgren , Alexandre TORGUE , Peter Rosin , Kunihiko Hayashi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] ARM: dts: broadcom: convert NVMEM content to layout syntax Date: Thu, 16 May 2024 10:47:37 +0200 Message-Id: <20240516084737.2789-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-20240516_014750_211513_C9E45FEE X-CRM114-Status: GOOD ( 11.73 ) 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 --- arch/arm/boot/dts/broadcom/bcm53016-meraki-mr32.dts | 12 ++++++++---- .../dts/broadcom/bcm958625-meraki-mx6x-common.dtsi | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/broadcom/bcm53016-meraki-mr32.dts b/arch/arm/boot/dts/broadcom/bcm53016-meraki-mr32.dts index 25eeacf6a248..45bd27906f29 100644 --- a/arch/arm/boot/dts/broadcom/bcm53016-meraki-mr32.dts +++ b/arch/arm/boot/dts/broadcom/bcm53016-meraki-mr32.dts @@ -215,11 +215,15 @@ eeprom: eeprom@50 { reg = <0x50>; pagesize = <32>; read-only; - #address-cells = <1>; - #size-cells = <1>; - mac_address: mac-address@66 { - reg = <0x66 0x6>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + mac_address: mac-address@66 { + reg = <0x66 0x6>; + }; }; }; }; diff --git a/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx6x-common.dtsi b/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx6x-common.dtsi index b0854d881ac6..71a8b77b46f4 100644 --- a/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx6x-common.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx6x-common.dtsi @@ -55,11 +55,15 @@ eeprom@50 { reg = <0x50>; pagesize = <32>; read-only; - #address-cells = <1>; - #size-cells = <1>; - mac_address: mac-address@66 { - reg = <0x66 0x6>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + mac_address: mac-address@66 { + reg = <0x66 0x6>; + }; }; }; };