From patchwork Tue Apr 18 21:37:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 13216161 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 BE805C77B76 for ; Tue, 18 Apr 2023 21:38:42 +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=pO/6+FqCuDD/W7MdgzZ+iKfymcGOIAULWfIEfaKhUww=; b=3YCWz/0u8WQ4Yw fqIVI7yLCwq4XDoZIC1gqWyYH6/vapF3ioLwUf93f0NxaaHcCxh5Td890yQ1bJZRR4tAWUpIcBPcO iQus8iEzaMUBKdfPZY4+7s8OoL8AIjfxzDfD/jfm5x6rFkwTS3Cjrm90WtkvUrYFDb7ucWvCV57e/ RnltZVMTrqvnXZihmyCUiDenjquKSEgID6XRPoz9FG8FURCrMTZ0kOustdFoP0DThvaJsREyJmC+H ZxNzPEx8qwWadu8l4fZfqKhe6F3Li07NVJl6VH18QP8KcFRsb2qw0qYIW64KArVP0PjoOAoGKuRy1 dbzFn/fIEQ8SsS0wiThg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pot1Q-003PES-2C; Tue, 18 Apr 2023 21:37:56 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pot1N-003PBX-1N for linux-arm-kernel@lists.infradead.org; Tue, 18 Apr 2023 21:37:54 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33ILbjZw036050; Tue, 18 Apr 2023 16:37:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681853866; bh=jFSYZ2QSxLfP7JWjCXLFwoEf22Ro2xwsa7yb6J/+vW8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ZzQidDx2dZUbbgTl8cb4/ZqpXBh7ikaLhAzV8KU6kZIHldt4NwHeTRKh08+pdLRkT baA6e8fmU2JRWtN2gY5ytO2+KQlzooN36LY0pbZuKH7vrHvk3/dYAN1hS8dbYx9mNg gWsF/tOJMXgvTDwn2H5R++ojShqjshcQbpusfL3o= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33ILbjN1127330 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 18 Apr 2023 16:37:45 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 18 Apr 2023 16:37:45 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 18 Apr 2023 16:37:45 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33ILbjID041280; Tue, 18 Apr 2023 16:37:45 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra CC: , , , Tero Kristo , Nishanth Menon Subject: [PATCH 3/4] arm64: dts: ti: k3-am62x-sk-common: Add eeprom Date: Tue, 18 Apr 2023 16:37:39 -0500 Message-ID: <20230418213740.153519-4-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418213740.153519-1-nm@ti.com> References: <20230418213740.153519-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230418_143753_504566_83E198E7 X-CRM114-Status: GOOD ( 10.22 ) 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 board EEPROM support to device tree Signed-off-by: Nishanth Menon --- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi index dc76529f7aa1..68cc0bfc907c 100644 --- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi @@ -265,6 +265,12 @@ &main_i2c0 { pinctrl-names = "default"; pinctrl-0 = <&main_i2c0_pins_default>; clock-frequency = <400000>; + + eeprom@51 { + /* AT24C512C-MAHM-T or M24512-DFMC6TG */ + compatible = "atmel,24c512"; + reg = <0x51>; + }; }; &main_i2c1 {