Message ID | 20240604-nvmem-v1-4-b784260a36a6@cherry.de (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org> 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 1350FC25B78 for <linux-rockchip@archiver.kernel.org>; Tue, 4 Jun 2024 16:29:01 +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:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=wQZHPjCZ4PdqVHfmk0JzXghE0fbq3zqcCN04fREdUKI=; b=PiLoaEf9Kll4SKLEbo07+8m+gd H/oqRTMhLngLDh0k77qvVLIwOdKiUpp2NzLEIhUF+uHj3Sl+YzSBgKhn1AHk+XZOhkkRr9lnQ+NoK IM4yaXKzb4GODS2/4qgk2RQkvgUkqWW8eGvE/fQIGT9ITwHosIgcA0XQD1PGfB19fK7Wicq5bnlaH v/uJKAXq7GL+Ib/FuMJj3jUbqXcpqFTaae37R3yUayPp8YDyqieyQykt9cu6JLa2788Vixkm2qydT uXjCsoI9UhtrN+oxUKHRh6ePTg7Y6n3uNKQkc3YgcsLdp2KJ8FE/b00yaCVBucPsdUjfLtgZtKPDc 3QwrAkrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEX1t-000000037mp-0FOi; Tue, 04 Jun 2024 16:28:57 +0000 Received: from mail-db5eur01on072f.outbound.protection.outlook.com ([2a01:111:f400:fe02::72f] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEX1d-000000037VB-35VZ; Tue, 04 Jun 2024 16:28:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dhRwytJCA8OcArvcTVjmD2X0JD8lw48/EDFVjDaZfLC5EUQklPOTVwELQZzeYkJPbmdtzQxhN3vUfpIA5faqTaoeQLeaYhXd+toaIojnHDbt9f7hcJltnW0KEj8Bsf7J7cwufBSuCy2UX6HJ5gJluni2PPq8wYIOqeRX+zdAabOiKX8PE3GJEDaEPGVyZaf3A14yMwKQocuWaHRoQPkwJ8Y+BKdSStzSx532+fLQXjNqDRXG30ROXsjvR6SSuuprreWJa9Y2fQ+Wq+4l3XwR3toltmTIAabzXQ0N/QvwJ2GqD0bN9pym3pohhx+GUMLru0uLqouom7RvAIOVsHFFlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=D/VAcOZD1swnqZLqBuUZQ2ns+6ku6ncE17Jcsgv4okU=; b=bgoZKbA57px6ojNhKYsJ7GolTbSiQCVXz0oWrixG50I7dapeW5UbOEWlI5n3BRE4D00tQxakscFxrGhgPqGWST7CXVvcWLRuEvRiPU3L9GfdhKnTKzd/V/l1ugLlMk53Ix6gSliJf939fXx0VIZ7UgMK7/LYoRrS7a/dvEAtqTfNav4FTOS/Rv8uC+NJNEPygjFNBDcTg6P/ciu6HeExQtEIouweDwnx66RKkIbbqJzVsJpPHmzwoAysOfFalGj+FKtb11E8nSovBjQ5FDb7mxfqewX24kIBtewVyfVo4TJ737JkR0FpkzZ70v+dyOPYHRt1J4GQhqnR3uk1oPs2Ag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cherry.de; dmarc=pass action=none header.from=cherry.de; dkim=pass header.d=cherry.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cherry.de; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D/VAcOZD1swnqZLqBuUZQ2ns+6ku6ncE17Jcsgv4okU=; b=Tw1cOtaBptuax/BXUpQbVKNF/vgG2duBddQ8IYGU/ujMkEYqRz63taygjcmkhFPIqsb8Stp98Z0DsuRVvcM52TGqkgUqi/QCs2MAP9bJrynVb02rq5pOuvHeUD7IVZ0iRQgg0h73vJ92JYwpwuwrF097jfQJGPvZDxupWwA+BpI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cherry.de; Received: from VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) by PAXPR04MB8893.eurprd04.prod.outlook.com (2603:10a6:102:20c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.25; Tue, 4 Jun 2024 16:28:27 +0000 Received: from VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6]) by VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6%5]) with mapi id 15.20.7633.021; Tue, 4 Jun 2024 16:28:27 +0000 From: Farouk Bouabid <farouk.bouabid@cherry.de> Date: Tue, 04 Jun 2024 18:23:54 +0200 Subject: [PATCH 4/4] arm64: dts: rockchip: add mule nvram/rom to rk3588-jaguar Message-Id: <20240604-nvmem-v1-4-b784260a36a6@cherry.de> References: <20240604-nvmem-v1-0-b784260a36a6@cherry.de> In-Reply-To: <20240604-nvmem-v1-0-b784260a36a6@cherry.de> To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Heiko Stuebner <heiko@sntech.de> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Farouk Bouabid <farouk.bouabid@cherry.de>, quentin.schulz@cherry.de X-Mailer: b4 0.13.0 X-ClientProxiedBy: VE1PR08CA0003.eurprd08.prod.outlook.com (2603:10a6:803:104::16) To VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|PAXPR04MB8893:EE_ X-MS-Office365-Filtering-Correlation-Id: 3c8d1e22-885c-48ac-5ead-08dc84b35cdb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?BPSERZO53TW5SWQDptVVwl56hwd/dS0?= =?utf-8?q?vGGKSPd60zfFILC8ajQXvHNnN8MhTa9w1H55j/2UzmXKX6i+1ttkfa/VXKxiv9nDb?= =?utf-8?q?cEskf4bACWzptBOFm0EwmVPtxYB92wMzlDN05VkvPYb867WLNzttvmdTK30pH4ZSz?= =?utf-8?q?fZPlqk/2DDMwkYEMsaM9K7cRf1nFXqMbadWsL9yUGFpCozp8PCffzbs/7+G5kjTN2?= =?utf-8?q?6bnGd7yFYrNDgWJHQokjodKyRjIzTp9MGSkLx8cwHRZsa8+C5S7HICiaIHGHzo4qT?= =?utf-8?q?b5rp/1TaVqTkdO3Y3rcMSBNcSeghpLNghSO0wkVoYO2Hk3n9Dx/mFQ9n4xqRgHbjT?= =?utf-8?q?n+SgJzulOZfRGpfAV5a1ltT1/Ezvs7FSGeA3bHLi8wiOn0wP46m3z/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eU2PV58QzBFpdqajXC?= =?utf-8?q?/Pt7SfpW+dFntjGV3R3VUOSZ8K6SUdQPnbG3KhNtqZAs+QSmWZPNvdto=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6382.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+fnD+kWNpYTH1o1zgx37RzaiIvw2?= =?utf-8?q?h7xvcpe1t4rhZHqd9mjlC5S6MRb7FiFBTXYDRWcC94BGe6GXh4udWEcw6BmeEWSEZ?= =?utf-8?q?PpU8HTv+7NuOs9rl8S+a9nOlBgJ7Hr0o7ag5RZqF/7veUie4xvNQnpDx5sBDYC758?= =?utf-8?q?9OBGspy9CNJeUab+pNo1vQhGukDS/w3AlGJyYm2Czyuu0vTPQ/KBfUyEQr73lUHzT?= =?utf-8?q?NGGsdLNzTUUX0UzFMGcDH5qSzJAyG7A9/lui26YHsSC2/68uHPQ335SUmjxHJo/np?= =?utf-8?q?PTp1URdeTpkFXzJ/xHCaTu1fZikbDCuvPOCpD6DwAXDIpNGQSDDjbtr1hg8qA+wwO?= =?utf-8?q?fsHIAwgpkMhWs0HEtK08vP+50SJkomjCLtTaqi6eO8g7wC4jag3rh+3tAQG9mtdPl?= =?utf-8?q?BLe1+yp7E9S/MZJ2vZfVWgHbZBQgJEwI0kp7AbKpq9b80WyVApCpQmKT6zm2KuQOE?= =?utf-8?q?l4Hnerxa4fpW1rfQoBR8lCaYIv6sHVT/bRUO8t198AClMgDEwEAdN3Qjl18ke3Y0f?= =?utf-8?q?djz60ZVf+oUUYgvAvuTiimgk4rMDitFtsjNQW6DLfB3qyrdeEwAYN+QN/YxR4ojDa?= =?utf-8?q?A8CLAZSrQAtEexk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QRBP/b89aSMBCGftoUWal4z1dd/fDf2LyJkKshYN?= =?utf-8?q?zQ+/8V0mZxmNN1l+NRNWuomZDIT3Gvr4uA=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 3c8d1e22-885c-48ac-5ead-08dc84b35cdb X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6382.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 16:28:27.2781 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5e0e1b52-21b5-4e7b-83bb-514ec460677e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kdVt8zbgZxs1GZJuNLAxn40pOs9n2fnUhLlqowCcN7QI3C601bs4K6VyI1roBpP5adFp4eX/cOE/3xAQcyPAAg9c2sAApswc2GcmOk4lB78= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8893 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240604_092842_217267_03201770 X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org |
Series |
Add Mule NVRAM/ROM support
|
expand
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts index 14f1322c162f..7434771901c3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts @@ -33,6 +33,8 @@ button-bios-disable { aliases { ethernet0 = &gmac0; i2c10 = &i2c10; + i2c12 = &i2c12; + i2c13 = &i2c13; mmc0 = &sdhci; mmc1 = &sdmmc; rtc0 = &rtc_twi; @@ -267,6 +269,49 @@ fan: fan@18 { #cooling-cells = <2>; }; }; + + i2c12: i2c@2 { + reg = <0x2>; + #address-cells = <1>; + #size-cells = <0>; + + eeprom@18 { + compatible = "atmel,24c02"; + reg = <0x18>; + size = <8>; + }; + }; + + i2c13: i2c@3 { + reg = <0x3>; + #address-cells = <1>; + #size-cells = <0>; + + eeprom@18 { + compatible = "atmel,24c02"; + reg = <0x18>; + read-only; + size = <32>; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + mule-variant@0 { + reg = <0x0 0x1>; + }; + + mule-bl-version@1 { + reg = <0x1 0x8>; + }; + + mule-version@9 { + reg = <0x9 0x8>; + }; + }; + }; + }; }; vdd_npu_s0: regulator@42 {
Add mule NVRAM and ROM on the Mule I2C mux (0x18). Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de> --- arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+)