From patchwork Wed Jan 4 13:05:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Schneider X-Patchwork-Id: 639536 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D512C4332F for ; Wed, 4 Jan 2023 13:07:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229461AbjADNHF (ORCPT ); Wed, 4 Jan 2023 08:07:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239295AbjADNGu (ORCPT ); Wed, 4 Jan 2023 08:06:50 -0500 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2112.outbound.protection.outlook.com [40.107.22.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EEDD1F9 for ; Wed, 4 Jan 2023 05:06:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CLCj6bhC/ZllVneyWWbcU1u6v7Jg+MDNUkF8aJkGHBCWkhQz88h4OIIENdTj5/48uxTVtbGTzPpDOsXG2SYJcwbZ1xsXCp01eoM7RR//rWZiqoVhH3wSmTkUXDVovWlE/Xmrmn1GHcaO/GaA4nLMRVCmb4SKzATuu7OXtPa06roAD3100gtqd/33I2jztMuO+eo/NXpVp3UNcBg2LSZJ65Pv/IktaU4wo8/iBkG9X3X1mxOKQYoFhXC+7pu5uvSPBS02px8qr1V7IZuSacFxzqmOvZWx7WWcydEt585Y7EWoQVWofBmrzvnvyDjziaTXBdD7e0jR5U0zvgN/WGSbmA== 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=StyfovoRtiDzwb8MrCcSeY10Yxi8A5JAP+6tmd9BbHs=; b=j8+q3jDZ5QA9BoKxOJRc4FcDXX56hgKqQaCNgydT+tB/Is+MBcw1fM7mnCmNDmIi0/AAbVLMgLB3yGg5dyM2HKoCNKTiNumK2/+QI3/tkIdKrvWN98j3ryucyj+7nK6VzJMotNR8+6hk/6dHGwCbRiyYWeWhguOK7PkRKgZ0/fVmKNxvNhJh3OoSu4h1VD8IFR60L7qGDXJ/feQcR1dCIvTWs4X9AW/XtuTTOdqkvAOmMdVJWNEZ7TsU7lpfM6Gj2/bWzMLlO5GYPz92HBlCvuuPkeEGsJ/b183n94cjhT4sLsoIiaZWcXpv+nTJYIOFGo4FSjNHuoTJgBBmRC1aOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 193.8.40.94) smtp.rcpttodomain=pengutronix.de 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=StyfovoRtiDzwb8MrCcSeY10Yxi8A5JAP+6tmd9BbHs=; b=evmY3DwEp166QopBiETnKrFjGFxgJOUSb950AMqhc5oi1Oir2pe2k/O1iIqTOcC+G4+6KWEKiBi2Nuzr7SUQsy6Xy4xDwPDKl0alWoDO+ZH10kHYmrb4FXGfGFLOjPrdEo+0U+dk4RYq0UM0PfCR9l99UBFH/Ij1O3nb/HsdKOo= Received: from FR0P281CA0050.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:48::13) by HE1PR06MB4012.eurprd06.prod.outlook.com (2603:10a6:7:a1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Wed, 4 Jan 2023 13:06:23 +0000 Received: from VI1EUR02FT040.eop-EUR02.prod.protection.outlook.com (2603:10a6:d10:48:cafe::b5) by FR0P281CA0050.outlook.office365.com (2603:10a6:d10:48::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.14 via Frontend Transport; Wed, 4 Jan 2023 13:06:23 +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 VI1EUR02FT040.mail.protection.outlook.com (10.13.60.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.14 via Frontend Transport; Wed, 4 Jan 2023 13:06:23 +0000 From: Johannes Schneider To: Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, ob Herring , Krzysztof Kozlowski Cc: Johannes Schneider Subject: [PATCH 1/2][v3] arm64: dts: imx8mm-evk: move PMIC setup of A53 Date: Wed, 4 Jan 2023 14:05:11 +0100 Message-Id: <20230104130511.1560237-2-johannes.schneider@leica-geosystems.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230104130511.1560237-1-johannes.schneider@leica-geosystems.com> References: <20230104130511.1560237-1-johannes.schneider@leica-geosystems.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1EUR02FT040:EE_|HE1PR06MB4012:EE_ X-MS-Office365-Filtering-Correlation-Id: fddaa69f-c534-4067-6dcc-08daee547b16 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9AgEV4nuZENgiWzdCZKhq8cMv3eGOewgruXeiadNuk3jDYi2oxFx48E5fMcIAnHQVrY4xZkf525ie9ZdNujInkyYOQTQY57iRVBl0IRbuyAQKE49qdgEBj/wid0C3uQ49GlRfP90eytAlm6RbQZkjEaKPZ2YOaKS+7kE8lzZQ3DV2yn62z6M9iRg8yhMxw4mLoZZjfIIoQnDJXuXFWK8dO4OrnzqL7kzH5L7WAlnKDTLnro29nCLE7/IV8l8KyAa3tHpmj4wXSyTTl3gv8n9E69lNPK24xD/0j9fnvwHNdgserypOcsd/EM/sFcB0VMvFJxwwlkt6HEl/jRv/lAMyqp4HeoK4Rb3R/e60J7skQi3DYYjkJx9B4zAdP36ZBSfihimlh25ygefh4jP29efsGANzGw4rd3HOmkvMdOEgeO/tQuLlu6qxhXZN/NIqmSJaAUBlQ4TCSK0iqaoLNZHIfxtj8Cy2S5jUmS7xku3qqdhhe5VwdFnpALzwUTa7JRDzFw+pIj8guT5aTQ/e+rWodlDUH5Irvei7nrx5F0MbJKm7vaDTcl1KgzQfMbQbMlh8/oqtVp1he1nX8K7cdlSSj1N5b2JAe2hJ701fsw9ezJYcs8TmC25Owl0fO2jnLSTuRnNHyPNOObtqwN5kkFDBdYk2NvSWScaEFb4OER9R2O54XAOX8YVtGhd0pRBI5bE7mjU7NbahBUPM/tY2y+6yvSmOJUOonBnPDo1fid/NrE= 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)(136003)(396003)(376002)(346002)(39860400002)(451199015)(36840700001)(46966006)(40470700004)(26005)(6486002)(6506007)(478600001)(107886003)(186003)(6512007)(82310400005)(86362001)(6666004)(9316004)(40460700003)(118246002)(44832011)(110136005)(81166007)(4326008)(8676002)(1076003)(336012)(36736006)(316002)(2616005)(70206006)(956004)(70586007)(356005)(82740400003)(47076005)(41300700001)(36756003)(83380400001)(5660300002)(8936002)(40480700001)(2906002)(36860700001)(32563001); DIR:OUT; SFP:1102; X-OriginatorOrg: leica-geosystems.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2023 13:06:23.4358 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fddaa69f-c534-4067-6dcc-08daee547b16 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: VI1EUR02FT040.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR06MB4012 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org from the dtsi to the two dts's Signed-off-by: Johannes Schneider --- .../boot/dts/freescale/imx8mm-ddr4-evk.dts | 130 ++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 130 ++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 128 ----------------- 3 files changed, 260 insertions(+), 128 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dts index 6c079c0a3a48..8274ddee49ac 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dts @@ -55,3 +55,133 @@ MX8MM_IOMUXC_NAND_CE3_B_GPIO3_IO4 0x19 >; }; }; + +&A53_0 { + cpu-supply = <&buck2_reg>; +}; + +&A53_1 { + cpu-supply = <&buck2_reg>; +}; + +&A53_2 { + cpu-supply = <&buck2_reg>; +}; + +&A53_3 { + cpu-supply = <&buck2_reg>; +}; + +&i2c1 { + pmic@4b { + compatible = "rohm,bd71847"; + reg = <0x4b>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pmic>; + interrupt-parent = <&gpio1>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + rohm,reset-snvs-powered; + + #clock-cells = <0>; + clocks = <&osc_32k 0>; + clock-output-names = "clk-32k-out"; + + regulators { + buck1_reg: BUCK1 { + regulator-name = "buck1"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1300000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <1250>; + }; + + buck2_reg: BUCK2 { + regulator-name = "buck2"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1300000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <1250>; + rohm,dvs-run-voltage = <1000000>; + rohm,dvs-idle-voltage = <900000>; + }; + + buck3_reg: BUCK3 { + // BUCK5 in datasheet + regulator-name = "buck3"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1350000>; + regulator-boot-on; + regulator-always-on; + }; + + buck4_reg: BUCK4 { + // BUCK6 in datasheet + regulator-name = "buck4"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + buck5_reg: BUCK5 { + // BUCK7 in datasheet + regulator-name = "buck5"; + regulator-min-microvolt = <1605000>; + regulator-max-microvolt = <1995000>; + regulator-boot-on; + regulator-always-on; + }; + + buck6_reg: BUCK6 { + // BUCK8 in datasheet + regulator-name = "buck6"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1400000>; + 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 = <900000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo3_reg: LDO3 { + regulator-name = "ldo3"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo4_reg: LDO4 { + regulator-name = "ldo4"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo6_reg: LDO6 { + regulator-name = "ldo6"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts index a2b24d4d4e3e..2b5b9c923dc6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts @@ -126,3 +126,133 @@ MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x196 >; }; }; + +&A53_0 { + cpu-supply = <&buck2_reg>; +}; + +&A53_1 { + cpu-supply = <&buck2_reg>; +}; + +&A53_2 { + cpu-supply = <&buck2_reg>; +}; + +&A53_3 { + cpu-supply = <&buck2_reg>; +}; + +&i2c1 { + pmic@4b { + compatible = "rohm,bd71847"; + reg = <0x4b>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pmic>; + interrupt-parent = <&gpio1>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + rohm,reset-snvs-powered; + + #clock-cells = <0>; + clocks = <&osc_32k 0>; + clock-output-names = "clk-32k-out"; + + regulators { + buck1_reg: BUCK1 { + regulator-name = "buck1"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1300000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <1250>; + }; + + buck2_reg: BUCK2 { + regulator-name = "buck2"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1300000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <1250>; + rohm,dvs-run-voltage = <1000000>; + rohm,dvs-idle-voltage = <900000>; + }; + + buck3_reg: BUCK3 { + // BUCK5 in datasheet + regulator-name = "buck3"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1350000>; + regulator-boot-on; + regulator-always-on; + }; + + buck4_reg: BUCK4 { + // BUCK6 in datasheet + regulator-name = "buck4"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + buck5_reg: BUCK5 { + // BUCK7 in datasheet + regulator-name = "buck5"; + regulator-min-microvolt = <1605000>; + regulator-max-microvolt = <1995000>; + regulator-boot-on; + regulator-always-on; + }; + + buck6_reg: BUCK6 { + // BUCK8 in datasheet + regulator-name = "buck6"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1400000>; + 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 = <900000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo3_reg: LDO3 { + regulator-name = "ldo3"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo4_reg: LDO4 { + regulator-name = "ldo4"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo6_reg: LDO6 { + regulator-name = "ldo6"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index 7d6317d95b13..b26460586f68 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -133,22 +133,6 @@ simple-audio-card,codec { }; }; -&A53_0 { - cpu-supply = <&buck2_reg>; -}; - -&A53_1 { - cpu-supply = <&buck2_reg>; -}; - -&A53_2 { - cpu-supply = <&buck2_reg>; -}; - -&A53_3 { - cpu-supply = <&buck2_reg>; -}; - &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; @@ -182,118 +166,6 @@ &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - - pmic@4b { - compatible = "rohm,bd71847"; - reg = <0x4b>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pmic>; - interrupt-parent = <&gpio1>; - interrupts = <3 IRQ_TYPE_LEVEL_LOW>; - rohm,reset-snvs-powered; - - #clock-cells = <0>; - clocks = <&osc_32k 0>; - clock-output-names = "clk-32k-out"; - - regulators { - buck1_reg: BUCK1 { - regulator-name = "buck1"; - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <1300000>; - regulator-boot-on; - regulator-always-on; - regulator-ramp-delay = <1250>; - }; - - buck2_reg: BUCK2 { - regulator-name = "buck2"; - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <1300000>; - regulator-boot-on; - regulator-always-on; - regulator-ramp-delay = <1250>; - rohm,dvs-run-voltage = <1000000>; - rohm,dvs-idle-voltage = <900000>; - }; - - buck3_reg: BUCK3 { - // BUCK5 in datasheet - regulator-name = "buck3"; - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <1350000>; - regulator-boot-on; - regulator-always-on; - }; - - buck4_reg: BUCK4 { - // BUCK6 in datasheet - regulator-name = "buck4"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3300000>; - regulator-boot-on; - regulator-always-on; - }; - - buck5_reg: BUCK5 { - // BUCK7 in datasheet - regulator-name = "buck5"; - regulator-min-microvolt = <1605000>; - regulator-max-microvolt = <1995000>; - regulator-boot-on; - regulator-always-on; - }; - - buck6_reg: BUCK6 { - // BUCK8 in datasheet - regulator-name = "buck6"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1400000>; - 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 = <900000>; - regulator-boot-on; - regulator-always-on; - }; - - ldo3_reg: LDO3 { - regulator-name = "ldo3"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - regulator-boot-on; - regulator-always-on; - }; - - ldo4_reg: LDO4 { - regulator-name = "ldo4"; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - regulator-always-on; - }; - - ldo6_reg: LDO6 { - regulator-name = "ldo6"; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - regulator-always-on; - }; - }; - }; }; &i2c2 { From patchwork Wed Jan 4 13:05:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Schneider X-Patchwork-Id: 639535 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A5EFC4708E for ; Wed, 4 Jan 2023 13:07:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234813AbjADNHI (ORCPT ); Wed, 4 Jan 2023 08:07:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239314AbjADNGv (ORCPT ); Wed, 4 Jan 2023 08:06:51 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2106.outbound.protection.outlook.com [40.107.6.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 117ED5F67 for ; Wed, 4 Jan 2023 05:06:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=asnaIJfpmQJw88eo+8L7jZt4diHv3L7f+u1zsH7kWCF5hL1xGcFTKtutgf2/oFBjPC3uw4P49y/ghtR6CacGF8mBGDkTtPapHRvH9GoeMcmZVKWD+47l+vzyuTG9rQBSyXA0u8HI6EPfPpFHzWSvQco287VLulKQ3HHqaZLZ3fdFxaIzV0uNiNWufrzkceGlrOS4DFFmrHWpl27L1u2YZ9aNBN6cktOznUAlmxHaREJSawZLUvCWqlUPcEpMnt4cVJrZ7MLvgjlBVmpJBO8zZd6guvuruWkUiLP352M6ree5mWByL4WIr9KxJCgcYqbECnaEgWZrW41Od6J9MgYLpg== 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=vgXQiu5MptkjXCbcZzgJL9OT8NVIs3lHNtEglKoJHUM=; b=KJ5AiCKw6a+tEzEIOpa9HUIO/VbBtxO0az1p1qL69n3KF24rLhdlgNkiQPLt37ghmeFqQ88pc9nBzNYhzZJn3gnWuns/9Pxja3FAdKP8+goqgnJlIZCDd1SW8DqKEtdJ+ZpJNmWctp38OuJbJlM1DvqJ4xbuMZsBuz5FH+B/i7nbrpt/KANXJKmHLVAmrxfXiIQQIlK7qN5/YDf0MSFJ67BY54fDa4V/dVakpZmsO5vDdCrvbH/KhZLtREL7sg6uLFJ4GuUvLVUtnF3I38F9ETJyyDuAX1Q55voj7X9kH3WurRiRTULLKHQF1tgfbDKmyp5eibsJfSXEQhHx8ruxyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 193.8.40.94) smtp.rcpttodomain=pengutronix.de 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=vgXQiu5MptkjXCbcZzgJL9OT8NVIs3lHNtEglKoJHUM=; b=KB0ZpJN2kCdJVPYMGiKjYkhIFuhgfSkrqLhPORtAQMyVJGOd1GV3ad7y0A1cmKe6TF20TZgpf+9gs79N65hy5Wqv6oFFqH6/yKpRyM2/P+C4YGu8RFaBmoCoSgOG+cxKJRFihdSKZUFnFHcnVhLhoV6Mp1JhGWdlxKkdFF5Pwaw= Received: from FR0P281CA0042.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:48::9) by DB7PR06MB4726.eurprd06.prod.outlook.com (2603:10a6:10:2b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Wed, 4 Jan 2023 13:06:28 +0000 Received: from VI1EUR02FT040.eop-EUR02.prod.protection.outlook.com (2603:10a6:d10:48:cafe::75) by FR0P281CA0042.outlook.office365.com (2603:10a6:d10:48::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.14 via Frontend Transport; Wed, 4 Jan 2023 13:06:27 +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 VI1EUR02FT040.mail.protection.outlook.com (10.13.60.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.14 via Frontend Transport; Wed, 4 Jan 2023 13:06:27 +0000 From: Johannes Schneider To: Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, ob Herring , Krzysztof Kozlowski Cc: Johannes Schneider Subject: [PATCH 2/2][v3] arm64: dts: imx8mm-evk: add revision-B EVK Date: Wed, 4 Jan 2023 14:05:12 +0100 Message-Id: <20230104130511.1560237-3-johannes.schneider@leica-geosystems.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230104130511.1560237-1-johannes.schneider@leica-geosystems.com> References: <20230104130511.1560237-1-johannes.schneider@leica-geosystems.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1EUR02FT040:EE_|DB7PR06MB4726:EE_ X-MS-Office365-Filtering-Correlation-Id: fbac11b0-0d65-4768-4b8e-08daee547d44 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PelOJGOCZKtIFpXsicaxHdwDlV8SRsdTTPjJ+fp8ghIIslcO07fItGAX9/MjOxtLQ3vl4vaybRhNgU8nY7hiMqCbcEdPKiAH2N1tVsKsxQeVeNIcA4QHr16p9QNH3LRvXqbvKU9p/EaCJRWgao19cZi5GrCIzYWorM5x5RjmfnV1SJFkvkF0qBiQS0xZn+nG1gbzy3uwcXN8xyiVGPIC/NBMCn3Modd2B2EmRePkUuSIFK1+Ww8jaTzROjF+UUpJErwpnd4vmFozuag/p1WXmH9IrGBcYG4g9s8LVFiwG6h1hcAKliE6SkXTU2vEHvhVjKL9bBzk87PIsRmGSxm40d1OAFglk2+b3gJ7+aVMFmBiJbMD7XuEPB/VthTGoJ8O7gUvm0vtp4M2BZLAdTKU3DmzA36ToHR895qkvyvzzdJ81CMeDOFZNoK4/9wLcOd3fsk0E520BDkMYuq+AnkiD9ig1x66yIkO0FKFaM7C6ampmsghfeK0NnC9sOQu+EuYX9VX3+cvzLLQoErh8CgWDvmmYXIlcgQTEcnHPJfgq2ve1+sJqmgzs3eXg9mRLqwI11EYmnHLdVZ4ohH8kLYao9RsLQKaOMYckqo64QaG7iET6d7653QEhvuH5lml1X6lfYPXDHDyTlSaY8ZtRJPsW25iNSQA6QH0+wSXcQqGbSwTEgjqfHOM8wgtjLnanPIAMRPhuNgBSF37kpiHscn/UjVkIOBfHnnTt84xmo4OTCM= 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)(376002)(136003)(346002)(396003)(451199015)(46966006)(36840700001)(40470700004)(70206006)(8676002)(70586007)(956004)(81166007)(4326008)(1076003)(36756003)(2616005)(41300700001)(47076005)(336012)(40460700003)(36736006)(316002)(110136005)(2906002)(356005)(118246002)(9316004)(86362001)(36860700001)(82310400005)(82740400003)(5660300002)(44832011)(40480700001)(6486002)(8936002)(6506007)(478600001)(186003)(6512007)(26005)(6666004)(107886003)(32563001); DIR:OUT; SFP:1102; X-OriginatorOrg: leica-geosystems.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2023 13:06:27.0919 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fbac11b0-0d65-4768-4b8e-08daee547d44 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: VI1EUR02FT040.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR06MB4726 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org the current EVKB come with LPDDR4, and a different PMIC Signed-off-by: Johannes Schneider Acked-by: Rob Herring --- .../devicetree/bindings/arm/fsl.yaml | 1 + arch/arm64/boot/dts/freescale/imx8mm-evkb.dts | 132 ++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-evkb.dts diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index fbfc4f99c01e..9c3a02c19847 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -818,6 +818,7 @@ properties: - emtrion,emcon-mx8mm-avari # emCON-MX8MM SoM on Avari Base - fsl,imx8mm-ddr4-evk # i.MX8MM DDR4 EVK Board - fsl,imx8mm-evk # i.MX8MM EVK Board + - fsl,imx8mm-evkb # i.MX8MM EVK Board, rev-B - gateworks,imx8mm-gw7904 - gw,imx8mm-gw71xx-0x # i.MX8MM Gateworks Development Kit - gw,imx8mm-gw72xx-0x # i.MX8MM Gateworks Development Kit 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..5907e739d9f6 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-evkb.dts @@ -0,0 +1,132 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2019-2020 NXP + */ + +/dts-v1/; + +#include "imx8mm-evk.dtsi" + +/ { + model = "FSL i.MX8MM EVK board with LPDDR4"; + compatible = "fsl,imx8mm-evkb", "fsl,imx8mm"; +}; + +&A53_0 { + cpu-supply = <&buck2_reg>; +}; + +&A53_1 { + cpu-supply = <&buck2_reg>; +}; + +&A53_2 { + cpu-supply = <&buck2_reg>; +}; + +&A53_3 { + cpu-supply = <&buck2_reg>; +}; + +&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>; + }; + }; + }; +};