From patchwork Thu Mar 9 15:30:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13167751 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 0DB28C64EC4 for ; Thu, 9 Mar 2023 15:47:05 +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:References:In-Reply-To: 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: List-Owner; bh=WoUqmsY3H2z0ROpvfxNkHEdaOi7Q8vQhMtuA6YOpS6I=; b=yPOE4IPLphrK40 3TxoyLGk3H6uxrrE3aMzOmFrAlJ3hi9Iur3I46/xlxshUwcxFHobMAcfoV0E0vfIx9v9xFZK0H00I P3mNjXIkkGYKLKiTZ1rLWPGWgcYhjt3XKv8dgywcsVP7bO4qCS+z9g+LXWmF7/YkxMYhdTX4EoT60 a0YgIFJVx0XOylEKgKYweqyKaAzIfLqzYayatom/QycJ32SfiJNCJV+7Zg7Ckr2I17sFKDQZqJXoC VPOqcl/XYofboTOB14/HzxcBz6/EFwT+JDaB8bF+FqS+VYRvYSnnK9PyzH5Cgj01IUmQBKnKtmVfS fecI2n1HpE7Me5ChMaZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paIT0-00B0Ys-SN; Thu, 09 Mar 2023 15:46:07 +0000 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paIEL-00Av06-WE for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 15:31:00 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:3a77:63e:b168:ae06]) by baptiste.telenet-ops.be with bizsmtp id WFWs2900Z54Hw2A01FWsuQ; Thu, 09 Mar 2023 16:30:52 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1paIDi-00BL6g-1U; Thu, 09 Mar 2023 16:30:52 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1paIEG-00GUnn-Jh; Thu, 09 Mar 2023 16:30:52 +0100 From: Geert Uytterhoeven To: Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 1/3] ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address Date: Thu, 9 Mar 2023 16:30:47 +0100 Message-Id: <6d402b289fd20125d9f6f6b2a4f239aa1887daa6.1678375464.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_073058_232569_D0CA76E8 X-CRM114-Status: GOOD ( 10.92 ) 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 Add a device node for the M24C01 I2C EEPROM which serves as external storage for the Ethernet MAC address. While at it, restore sort order (by unit address) of the I2C devices. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts index 76f04011870cc571..48b678a6c5cb92e5 100644 --- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts @@ -210,6 +210,19 @@ &cmt1 { &i2c0 { status = "okay"; + + wm8978: codec@1a { + #sound-dai-cells = <0>; + compatible = "wlf,wm8978"; + reg = <0x1a>; + }; + + eeprom@50 { + compatible = "st,24c01", "atmel,24c01"; + reg = <0x50>; + pagesize = <16>; + }; + touchscreen@55 { compatible = "sitronix,st1232"; reg = <0x55>; @@ -219,12 +232,6 @@ touchscreen@55 { pinctrl-names = "default"; gpios = <&pfc 166 GPIO_ACTIVE_LOW>; }; - - wm8978: codec@1a { - #sound-dai-cells = <0>; - compatible = "wlf,wm8978"; - reg = <0x1a>; - }; }; &i2c2 {