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 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 89B10C3ABAA for ; Fri, 2 May 2025 10:33:16 +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=KSbQcWCKnW9kqcIZmNzHZr72pPw6BVgSVbnYwzEr8/s=; b=Pd2eJ7AZuQH05q Z4Hqd0a63vJscLwf0fAcUupPSaYgsYJt88KYikcihRhTDvGw/uAGlCQhGRAyVWEyO/lImENl02J5X b7RiblIECulP8x8vJFHgWuGTJienqm/x1lcs8sfLpkXP2j1vGgX1/kSt6pf/q7xLaexlTOjgVg27n qL11sGrgG87AVCy+yrMCEFjXdIpbdkEJwk5Ww53a9g/xOLAt/t6Gq4sJ0ta5vxP5//UyCc2wABZc1 wxJu7dJfOJ1xRVvS2tWa2ET/Se43L2EVLEtYvR6KfKNjgm7IwMyD/p9JuvaK5+PTzEF0MN2R++CqK aUC/TyIizYC0vsImDKIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uAnhg-00000001bAs-0JGU; Fri, 02 May 2025 10:33:12 +0000 Received: from freeshell.de ([2a01:4f8:231:482b::2]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uAngC-00000001aaE-3I2H for linux-riscv@lists.infradead.org; Fri, 02 May 2025 10:31:42 +0000 Received: from hay.lan. (unknown [IPv6:2605:59c0:20f3:a400:6ecf:39ff:fe00:8375]) (Authenticated sender: e) by freeshell.de (Postfix) with ESMTPSA id ABF04B4C2404; Fri, 2 May 2025 12:31:36 +0200 (CEST) From: E Shattow To: Emil Renner Berthing , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, E Shattow , Hal Feng , Emil Renner Berthing Subject: [PATCH v3 3/4] riscv: dts: starfive: jh7110-common: add eeprom node to i2c5 Date: Fri, 2 May 2025 03:30:43 -0700 Message-ID: <20250502103101.957016-4-e@freeshell.de> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250502103101.957016-1-e@freeshell.de> References: <20250502103101.957016-1-e@freeshell.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250502_033140_966731_5A01003F X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org StarFive VisionFive2 and similar JH7110 boards have an eeprom compatible with Atmel 24c04. Add the node so this may be used with the at24 driver. Signed-off-by: E Shattow Reviewed-by: Hal Feng Reviewed-by: Emil Renner Berthing --- arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi index 5c525686c043..f1dc45b98e1d 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi @@ -245,6 +245,12 @@ emmc_vdd: aldo4 { }; }; }; + + eeprom@50 { + compatible = "atmel,24c04"; + reg = <0x50>; + pagesize = <16>; + }; }; &i2c6 { -- 2.49.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from freeshell.de (freeshell.de [116.202.128.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20DF523C517; Fri, 2 May 2025 10:31:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.202.128.144 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746181903; cv=none; b=nl7XVX1h9VtRWB0+y5PSproMDcr2j0ECKoyGhEPaVr6MlBNRmA9kt1bDsX1eUKLwjdSj+7lqjLTm/oP5RkAH8oYTL7RvIB8fhDJ14aSEK/c+BoiLs2dz9U/qZvg2VAIzKUx4FjoHLKE9FP22AYG9m/Ccvl1eh3Ew2xBrzpY5bYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746181903; c=relaxed/simple; bh=EDqhhxPhN+xWP50M4sF6ht4pLrdMr8hdVrG25WXdqFQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TRXeSQE90JHQKTT6iyRHZp8R2cMY7612zvuqT1uyYWj7/Z4Rl8jhzcI0WC3CAmHtoS8fyiKA/UtJktf8pZM/l6WSgCTqoxD9L8TsHK2ugvZtWX5f2dZ+vmW11N0lt4MYqlqeCu/mwacld46XH76OhT6TfwAbq3y0OAMNCTkqrgk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=freeshell.de; spf=pass smtp.mailfrom=freeshell.de; arc=none smtp.client-ip=116.202.128.144 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=freeshell.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=freeshell.de Received: from hay.lan. (unknown [IPv6:2605:59c0:20f3:a400:6ecf:39ff:fe00:8375]) (Authenticated sender: e) by freeshell.de (Postfix) with ESMTPSA id ABF04B4C2404; Fri, 2 May 2025 12:31:36 +0200 (CEST) From: E Shattow To: Emil Renner Berthing , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, E Shattow , Hal Feng , Emil Renner Berthing Subject: [PATCH v3 3/4] riscv: dts: starfive: jh7110-common: add eeprom node to i2c5 Date: Fri, 2 May 2025 03:30:43 -0700 Message-ID: <20250502103101.957016-4-e@freeshell.de> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250502103101.957016-1-e@freeshell.de> References: <20250502103101.957016-1-e@freeshell.de> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit StarFive VisionFive2 and similar JH7110 boards have an eeprom compatible with Atmel 24c04. Add the node so this may be used with the at24 driver. Signed-off-by: E Shattow Reviewed-by: Hal Feng Reviewed-by: Emil Renner Berthing --- arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi index 5c525686c043..f1dc45b98e1d 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi @@ -245,6 +245,12 @@ emmc_vdd: aldo4 { }; }; }; + + eeprom@50 { + compatible = "atmel,24c04"; + reg = <0x50>; + pagesize = <16>; + }; }; &i2c6 { -- 2.49.0