From patchwork Tue Jun 4 16:23:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13685646 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 BF14DC27C53 for ; Tue, 4 Jun 2024 16:28:57 +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=U+0fjIjrsReC1xXlmnWiQTBs6l8sWQ7nqmEldrQRWow=; b=AISaskjQei84vv85riu7sXBRZR y65tCzcwA4RwVDN+EDkkNKArskOhYFWWXNcYYehsJtuqCKqHOoE2Di0vfRj+sXg5NsGB2CrRtqEZV YnrTqizWfkUrSpqbM3p3VkV6Xv7RdZ7+cEheX018Xyzd4tCBPRe0FkEjyHLkRqlVBEem2gY1a0B10 niM5Q5/YjoRutKJRD2ywmPUEyxyP41Fgly3i1Qy7m/ylgFHecKwBVBb+eL1gCBwV/aybdydvSsvm6 50sN7er35okNCooCkGg0LVqDSrw5IhI8V87pexxEkZl1SIhSAwaTuTDgt1HM7CdomBcwuC7vi5sm3 f1Wto1mA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEX1h-000000037cz-16R5; Tue, 04 Jun 2024 16:28:45 +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 1sEX1b-000000037VB-3151; Tue, 04 Jun 2024 16:28:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X96jDsq8qyE5AvnlLqjQz1OVZ3/nUNyydFrb471ISofPeczxU9RrxRalVpESxu9VRLKKWaCchdJ9eUepwdgDAtBfLY+gMKI3KYdvFTMrwBBIi4kZurGefiBwXKjtmxLCMS7/FYzvV6oTw7zu86V3HY8DlfUwShXCAMhdTC8A/NOzamvQLhz5cafPFAp3HJRVAt83Tef3N1qhFWiVqeK1bMZ/o3VA+wHeIEUG94l1020Wdw7XNFLmfKoaaTvuxo1+o7U0bhyOqbi4SeX8rPGmZwTW8MJFBuLVlajHe/blJ11eS/HHzCNP4Io7FEgQuo7sFKRwHspoh8mmk8sXSk0Hog== 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=avE6P4xXZ4OckeDwpM23qjS1g2VVqeERRfjh8Z+9u4Y=; b=TxzckldAwveU8W2YOjBjWveQXHu4nRo5S7wO6HQ50jFQmnrvlwi30JnXvGP5GIYgmPRnUqsUjdaAGaUKjfvx6Dbbsxo1ddPJLPUHKhJWI77OxH/6q9KNnqL4iRxVncTyn5wlpoFBe96yvYuE/rmsRIhCV0zhvEjkVc6ReSjLBjZS2l3rpyOAqFzpWkINhYqDLYGtnAEip8clJ62Uop57FBl3ulArfRBuVlcx8eI7oDDU1C4XhLw1OdiNds/lgkLW38cgZ8sXjYh48uQ+Kbe9saOSnGdRFS/bFtMQSWg7z2ciC9KoZUXO1/uiJvZyn2DyeJD6jsnWg1a7cCACdrR4kg== 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=avE6P4xXZ4OckeDwpM23qjS1g2VVqeERRfjh8Z+9u4Y=; b=dYxJjLCxAFjh3CXQ5gLeeXD/ls3lAcCWu5Uc8yCObozonK1UsPN6oPDO0wkwrfQ5JlMLSaceS71pMt3st2LfFmLDpAWcVBsvWvgyr11Z8gs5urbUjPhEkrm8kQGYjvTG6Xtj6msYKHWqMLx5LOzLFElA19JoIdTBN2/5Oj4jqxE= 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 Date: Tue, 04 Jun 2024 18:23:53 +0200 Subject: [PATCH 3/4] arm64: dts: rockchip: add mule nvram/rom to rk3588-tiger Message-Id: <20240604-nvmem-v1-3-b784260a36a6@cherry.de> References: <20240604-nvmem-v1-0-b784260a36a6@cherry.de> In-Reply-To: <20240604-nvmem-v1-0-b784260a36a6@cherry.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Farouk Bouabid , 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: e0253dbb-373a-44cc-1324-08dc84b35cbd 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?PvqEMrNLOFx77i1aXLveKKF9c5+WM5A?= =?utf-8?q?oBF2qO9FbGDru3i82EggnIR2qX+fOj/5z/MmsN8ga+KPT1Q9ERN2Ra60EdzQ/B+73?= =?utf-8?q?UqT7Nh8F5jz/1i8ZFOLwF11AV+bT1F2Kr001HUP68t63qEl+fLseEIWTJmRBXhxlT?= =?utf-8?q?49fV3osYAjfabRy5N1AP0YxUAlzajGsDOhHOruwqk/Rpt+wT6YfJg7n2Fb4tIqXyi?= =?utf-8?q?xiC6wIDUcIJP3DtkhoOkgP1OmHq2rXlJr0dT+FlOc2XttFQiLvKDqizpZBnYtGjCx?= =?utf-8?q?B8F19njGvLZ6q5I+g1IApZI+TLQ8ZGkafOwudjPYuu/Bagmj1BzNEvum0a6c2MyS4?= =?utf-8?q?P6a8nzhqJ+hJ/p1o9+dKJnGS8dUxnpTqCxjVs13ZNarWmt+f7b3F5veEQE9+yJ3Ei?= =?utf-8?q?aY5slYwlHZCeAVppQNha6gkO+f2GkkPrh+WC/9ReS8SM8mLPyhqzC5w7b8xQ7Ffd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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?T7ealTd6//kFtLgFMhl8eC/R+c+1?= =?utf-8?q?GcZOC8zmlNVzc2e9XDLoUsZDAg7XfuuZpP53ni9EwcLCl9W5JrqirS4rkJKRcbaRx?= =?utf-8?q?uwIYUB279GpoE05sGflIg6/46MAEFBgnshQTekJxqNbGLTARrP0tAtW96/+TUtivw?= =?utf-8?q?PD+IMYYA8g4YfQH2Gxow3kWsL8BUP8spAyaMpNQCCWUymj9Avu4y/tStSYWSc6pAQ?= =?utf-8?q?b2hVgEAocTcXP7YdEDahcU6f/jAaOkclVlBiJ3SuRwwkJ5eYiMSqP1LFTdu959NEV?= =?utf-8?q?SNVpYOk0mV98uTOO7Ujs0Xf9xYONnfoo55eAGaRbq6zdKg6UJKUgK3mZz7toq0VZK?= =?utf-8?q?+8lEnVwvn6OGnc72XNjo5F679gHOiWn2TL7AQtoNGv3r70y3zXv4/NbDHwo6AWSwI?= =?utf-8?q?GCBPmB36/Zvz8EMrlQPRvWlPSF3e5Hdww4sBA9bejFuPptYfGZYXAF7LNN+i0sg5+?= =?utf-8?q?cTSIqctiYODcMpxG8jSSBHFZZ9pj1/HLzzgeT4wLpdQRwRVE1k+2HRgvNQan7CENF?= =?utf-8?q?Q6hC5pPMpXYor7n2rB7E3o3PMO7couapCSSWrBrKSIBmuIOUfWCr2H9Cn6Pc/9Paz?= =?utf-8?q?VEiat0Ri5Qz9py6C2mhN4W5YRgxP60WL1/4RBJRqYqCDsSZpEN4NK/raHkcvkwlAr?= =?utf-8?q?J4dcyh6UuoH8dKw5rliSkywTDwAzmkOWMkNbhMNkNbvyPz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=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: e0253dbb-373a-44cc-1324-08dc84b35cbd 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.0474 (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: rj1miQM2PTX9py9Ja4Ruu1Fo+UvbqqotSbqdquJ+P/EjhV4I5asBQG50kbi2gxRbI19QMufzN6iYS+PYXuht10Df5PNioN1QX8MrIvXMNHw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8893 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240604_092839_801922_2F3EA5E3 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. 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 mule NVRAM and ROM on the Mule I2C mux (0x18). Signed-off-by: Farouk Bouabid --- arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi index 5ed7d51717bb..7418bf86a618 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi @@ -13,6 +13,8 @@ / { aliases { i2c10 = &i2c10; + i2c12 = &i2c12; + i2c13 = &i2c13; mmc0 = &sdhci; rtc0 = &rtc_twi; }; @@ -228,6 +230,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>; + }; + }; + }; + }; }; rtc_twi: rtc@6f {