From patchwork Tue Jan 10 15:23:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SCHNEIDER Johannes X-Patchwork-Id: 13095291 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 0E890C54EBC for ; Tue, 10 Jan 2023 15:24:54 +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=Ys0in3xCdGX7OJhGGFHcQ7UQIZPWeGaqsPAsEoz7ey4=; b=UivL6XIDxEGGGd TfyGjM7e0G/XFOdDX89juHJ4/ToqNQHonPL1r4soIlUAPWGC1sdKFthBIoQEyEoHiJ9gGFUhHfTgj TCIu9PXT0LEcuoLHI0odautZpkNP4b1qlM8ui2pW/HpSq742NDp/fCSVS8uG/cKeYDhLjrE75eGJO LjogHLHGNIb9O5TqRDVusZZtcr4w9mcAljn5Nq+ivqffH2T2lEt9bDVeFJbfMHeD1yZz/nCd6Lsto j5A0WBnXq/OJwKGaQQ6Dra9x5ZWWMbtWY5hM4KNIcUJKL9vEku0RPq+3Bp9QiJZBBJO4bENk2AMKG f0FI6ZPKflQdOFjzldsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFGTb-007YW9-50; Tue, 10 Jan 2023 15:23:47 +0000 Received: from mail-vi1eur04on2090.outbound.protection.outlook.com ([40.107.8.90] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFGTI-007YQL-53 for linux-arm-kernel@lists.infradead.org; Tue, 10 Jan 2023 15:23:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AJX1UQfzs4rFrPQJ+JF3lC2kenST4adYbv9F1BZrUkY3NmXjWZcM9KQa4q72nOBC/S7YBDQzb9XfYsShpdajfsQSc+003VjpnC1AYQOb0TsfJgphe1NOxuDwhWgRrf/cZwF1jluOWA1dsWhHkTEiraCwRXEuuHPmkU9v5caTR+kCk4V+Fotwd2GiwnS9FiQhEtyn/JuF9mdUeA0UxoNwLnCS/WMxvCBs098PIO8WSRKK12wKWmFoB2FOqrlwGhUDhsQeq+PCoAImhOokH7svadKoZAehu+lDLc8EryHe/36KlZBkY5rINrga6dfPkYkv2CXpdBipdWAo4UVJrdrZYQ== 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=IHKrdoixi2Hfq2r9EnI5dMdTWimB1/X9B0TNpG3TqtU=; b=FCKpE3eF6/7bvadDpAT/Y5NjCVJ5n9yZo9vbh8vY6eBI1Il8eJ7vY7OnLrVY+R03NJdUVKg9aesyTIYWlJ8XjJEq8Oq6AMeawBPr3T/M8lB3uG6Xf/xP4oUffsLjyfeb8zqmdgIYoovJX5JFAHEZrc5C2ozaQLg8u1ahUG4QNBGZvNL+IBuvexD8UQNmPRjRq/bgNfKOHnzKmvuSirdtxG4Cxbzmju6M8Tgb9sXu6c0i87eCqIE6+oz++lDCWiqRC0FcWzKahn9xYN5WZXdps8v9UZ9E3tYDYrNs1K5T/teLLuhcGkBhGtG2PVCEyLJWXUJcNMUsaTCplbLnrax/EA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 193.8.40.94) smtp.rcpttodomain=kernel.org smtp.mailfrom=leica-geosystems.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=leica-geosystems.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leica-geosystems.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IHKrdoixi2Hfq2r9EnI5dMdTWimB1/X9B0TNpG3TqtU=; b=DIJpJGH8NeujR5iFR9v7WRgqsp5LOs6Uy7ASMC3KV9zl7pNO5UPuWRkHQr7gz3XPfwcTGEE5mbgzxPW9SHi0H83tlV6b4xsbiig1nrm5O7Z4IbLArqy/EO3pfcW1wPpU8SG5lkImkmx2ExdNhoPWFIA4NY7PFHz28StLyQZAfi0= Received: from AM6P191CA0013.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8b::26) by DB6PR0601MB2391.eurprd06.prod.outlook.com (2603:10a6:4:1f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 10 Jan 2023 15:23:24 +0000 Received: from VI1EUR02FT065.eop-EUR02.prod.protection.outlook.com (2603:10a6:209:8b:cafe::9a) by AM6P191CA0013.outlook.office365.com (2603:10a6:209:8b::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18 via Frontend Transport; Tue, 10 Jan 2023 15:23:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 193.8.40.94) smtp.mailfrom=leica-geosystems.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=leica-geosystems.com; Received-SPF: Pass (protection.outlook.com: domain of leica-geosystems.com designates 193.8.40.94 as permitted sender) receiver=protection.outlook.com; client-ip=193.8.40.94; helo=aherlnxbspsrv01.lgs-net.com; pr=C Received: from aherlnxbspsrv01.lgs-net.com (193.8.40.94) by VI1EUR02FT065.mail.protection.outlook.com (10.13.60.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18 via Frontend Transport; Tue, 10 Jan 2023 15:23:24 +0000 From: Johannes Schneider To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam , Li Yang , Shengjiu Wang , Richard Zhu Cc: Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Johannes Schneider Subject: [PATCH v7 2/3] arm64: dts: imx8mm-evk: add revision-B EVK Date: Tue, 10 Jan 2023 16:23:15 +0100 Message-Id: <20230110152316.1149940-3-johannes.schneider@leica-geosystems.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230110152316.1149940-1-johannes.schneider@leica-geosystems.com> References: <20230110152316.1149940-1-johannes.schneider@leica-geosystems.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1EUR02FT065:EE_|DB6PR0601MB2391:EE_ X-MS-Office365-Filtering-Correlation-Id: ceedd69c-7815-49e0-1322-08daf31e9d76 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NkR34lH3eQxY5WnefOVKLFK9dBB68vahZ6eZVcJ088XA3+Ne2fi8RevzebvIqEwx6F8w6d9K7orgyzBTwOVQe9qEGhxBmhwhnOxhYRn43anJpj4bLYTPhKRxm6eE3t5QNu1DVWdiem8514nriJFAlpwH8mYP6/CCdpa6S+OaQNhi+YMWia+zscjINFOjEHxDXgdXdIh3Kx1xwTTMyZDDFLL9la/sys5QGnSpqsXMoX/6uJ1QXox9gRQ45vVl8NRFVGm/XGMgXi6Hv0vWewhT+Bb++Wmje//OGfyN+2stS4NZITpJEMwI5/eQx8CnhMvtaGgbV+G04uOVc3z1yey/ioG71m/+JH+tD248r7My77diQlRhyaOmH+Je9FVPomApC5TfJlDyNcC+BN4j6z9219RgpatZdygkMu0X04UHnbYbFkuBgnXF+D+rmg3DoHjxGLz4JmOblkNKRlqF3dkO06GRufW1L3HBLYz3bXf+Q+SwSBVrBZlcc6VNZTG3nXtDUVUNhOPcc7SGrMohEF9J031qNQHEbmL0OQqyrN5OAoIZdWEVk2FUNR/hoiqRKaMfPfWbGdrf90m06f3QhL2/J+4DHVXvYrx0WtKDEsvcHQEki8AEQUcz3BMUyHlXW2yXFaaJYJ05PWbsasjv8gZlIlDsJbHiEncv0xU76ylWPFrbxA5G+NMmlxkfY8s138bZFytEiaps9WSqrym5hUpq6exb2YFNIjKwV6TySmZj+DY= X-Forefront-Antispam-Report: CIP:193.8.40.94;CTRY:CH;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:aherlnxbspsrv01.lgs-net.com;PTR:ahersrvdom50.leica-geosystems.com;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(136003)(346002)(376002)(396003)(451199015)(46966006)(40470700004)(36840700001)(70206006)(47076005)(4326008)(81166007)(8676002)(40460700003)(336012)(36756003)(41300700001)(54906003)(2616005)(36736006)(82740400003)(956004)(316002)(1076003)(70586007)(118246002)(110136005)(9316004)(5660300002)(86362001)(2906002)(356005)(82310400005)(36860700001)(478600001)(6486002)(44832011)(8936002)(6666004)(186003)(7416002)(107886003)(6512007)(40480700001)(26005)(6506007)(32563001);DIR:OUT;SFP:1102; X-OriginatorOrg: leica-geosystems.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2023 15:23:24.0176 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ceedd69c-7815-49e0-1322-08daf31e9d76 X-MS-Exchange-CrossTenant-Id: 1b16ab3e-b8f6-4fe3-9f3e-2db7fe549f6a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=1b16ab3e-b8f6-4fe3-9f3e-2db7fe549f6a;Ip=[193.8.40.94];Helo=[aherlnxbspsrv01.lgs-net.com] X-MS-Exchange-CrossTenant-AuthSource: VI1EUR02FT065.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0601MB2391 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230110_072328_214392_EA4D4E56 X-CRM114-Status: GOOD ( 13.63 ) 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 devicetree for the EVKB, which comes with LPDDR4 and a different PMIC. Signed-off-by: Johannes Schneider --- arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/imx8mm-evkb.dts | 116 ++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-evkb.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 3ea9edc87909..3bccc4d10928 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-data-modul-edm-sbc.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-emcon-avari.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-evkb.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-ctouch2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-edimm2.2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-bl.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evkb.dts b/arch/arm64/boot/dts/freescale/imx8mm-evkb.dts new file mode 100644 index 000000000000..b2d724ad43b2 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-evkb.dts @@ -0,0 +1,116 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2019-2020 NXP + */ + +/dts-v1/; + +#include "imx8mm-evk.dtsi" + +/ { + model = "FSL i.MX8MM EVKB"; // with LPDDR4 and PCA9450 PMIC + compatible = "fsl,imx8mm-evkb", "fsl,imx8mm"; +}; + +&i2c1 { + pmic: pmic@25 { + compatible = "nxp,pca9450a"; + reg = <0x25>; + pinctrl-0 = <&pinctrl_pmic>; + pinctrl-names = "default"; + interrupt-parent = <&gpio1>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + + regulators { + buck1_reg: BUCK1 { + regulator-name = "BUCK1"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + nxp,dvs-run-voltage = <820000>; + nxp,dvs-standby-voltage = <800000>; + }; + + buck2_reg: BUCK2 { + regulator-name = "BUCK2"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + }; + + buck3_reg: BUCK3 { + regulator-name = "BUCK3"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; + regulator-boot-on; + regulator-always-on; + }; + + buck4_reg: BUCK4 { + regulator-name = "BUCK4"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + buck5_reg: BUCK5 { + regulator-name = "BUCK5"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + buck6_reg: BUCK6 { + regulator-name = "BUCK6"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1_reg: LDO1 { + regulator-name = "LDO1"; + regulator-min-microvolt = <1600000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo2_reg: LDO2 { + regulator-name = "LDO2"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo3_reg: LDO3 { + regulator-name = "LDO3"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo4_reg: LDO4 { + regulator-name = "LDO4"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo5_reg: LDO5 { + regulator-name = "LDO5"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + }; + }; +};