From patchwork Mon Jul 19 07:46:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 479805 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp3866510jao; Mon, 19 Jul 2021 00:13:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwD/o9o2BCkM5LX3uukTVwalFlBw6TYWw4+CIUMM05a8PaFi33Z74e26k5Y9cOixHITei7F X-Received: by 2002:a05:6402:1c05:: with SMTP id ck5mr2909416edb.268.1626678816213; Mon, 19 Jul 2021 00:13:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626678816; cv=pass; d=google.com; s=arc-20160816; b=k3xTyqqLppgnCWRmT/lE4AUwf8cOjsoblw47/yoLyJ/9C80iKmAKL8/6VrpWZgCNBa rqQAu62m7VGnpA61j/gTW984FZJbQT9ULMm9inO0BYJO2WHebTWAD3MKocgu6N0YJY12 VBxymTtw99G0wCGsQWlxjTYYhlalCU5CDtzDN2PLjzdFc7+EGsP7anvNWZbOTMTjHjWM iCnABegeAF1OhwHWEepZ62SHE350PKtFg0ApFXWPnK87RuQqLA1dfIHVFrgNQcm7KT06 MEgdf49Slyn74rdlHyoYQilMrRXodUzNyBJge8Ayv6cMsW0rOLlDu2ZAN5oqejpKrQ9o J+cg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature; bh=MDCd/PubUzW6erl/tbP/UqdRLG2bHQ4U0gJkb6ccFwg=; b=Ks3R77X4iaRGtokhEueEO7Z42CI+oKqvvR1BfxLubpq9GG76VmqX0TDPqcqDEhPngR 0gOMGXyRetnakuNA63TwK9CjRZFx1fOlKln2/sBb0dwU7BnjWe5unTz4O3Ssw7/V6wIN KrOwWWlYn9dgYMtCx9Pkig6hWKcMhP9AKxAzEfvOLFy2veOkmpj+rE7Yroti039cU3ak cuZrpuXXqjYGvgLL8h09asJvheciySyIWJg+R2KRnDJVfMJHQ1bOz5YbZJ9GWalQ3op9 G4+IoE/axA5pqJKw/id+/OeK2gHL4xD6RsJCsxdxaMn23d+N+PPNtXzBvQ3ICaH62wZH Z6RA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=aZi6IrGr; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id lh26si19685003ejb.187.2021.07.19.00.13.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 00:13:36 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=aZi6IrGr; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A498E82956; Mon, 19 Jul 2021 09:13:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="aZi6IrGr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0C10F829E4; Mon, 19 Jul 2021 09:13:31 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0602.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::602]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 73B5082956 for ; Mon, 19 Jul 2021 09:13:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DF060YKv4xt2dB4RBXm4hRrHFzGg0K2QILMNFNeZ4R+Gyb8GL+ivq2tHFXAmf++3qovV9p5i5H8DpwGFG9sqDY5Sb15sKRLMyyWri6DFsxaHsIR2gz1CML5emyLDapQLya1YSWli/XebwMyJSBo3AuuOqNIaqRV2vLZwovf2hlJLt74cFW5dBu8dS+3nNstxcEu7u/E11To46FPotdcDM3sm3JjS66JTjaLsUpQDwQETaUDOXR8dGd4IE3m+F1henarbLMmosuHx+1NimBRkXVU8x9xT9Ry+XFhvRuqpImhGW8CKP1ippF4vV2IkXfdl6QL7zs2m5uKb3hh+um+QDA== 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-SenderADCheck; bh=MDCd/PubUzW6erl/tbP/UqdRLG2bHQ4U0gJkb6ccFwg=; b=D4O3nDsy3n1Z7O2JJarIKAafai2kPStIr6HG0D9yZmPf5Z33s4RIl3oi8axBOQRbKXBra8HJIo0SpqoG+fCv89qIM7GjXU/8iFkilnfU6/eUdL11tMUhpI1910qGEn2qme3rIjLmCxV6X/ugMOHlE2x85ePFE0VDyVzLILkDblF9ZiliKCSXN4c++kc8q/kDPZ6iCPaGp4Y1mVd4tHtg2W9AsNn+jicsEuBqzYCEDK/Jzc5EUs1p96C5KAs9xGtltTZsqmY6bq2nlH4GLTFMe0YH1pMS3kZ7TaUuNmVgj8QJ/IzTubZQPkT57vYwxqVqcVLs4lzAcyqJTlF7Jm/pRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MDCd/PubUzW6erl/tbP/UqdRLG2bHQ4U0gJkb6ccFwg=; b=aZi6IrGrCKQK37VAe6nChpHPfJzzDysi7co/sMlc1PpEzB1uzaxtSZcDjq3p2dAmsQ9io6Daxtxkuha5v8cTyC9Zrt3wyZYJ9PPVIktH5Jy/qRiQmuJVuetFf4XOJthOvNdmlFV8CamxTQcbrMqmiW3l8TDPWL7BBVq2suuXU0M= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none; denx.de; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB5242.eurprd04.prod.outlook.com (2603:10a6:10:18::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.29; Mon, 19 Jul 2021 07:13:25 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd%9]) with mapi id 15.20.4331.032; Mon, 19 Jul 2021 07:13:25 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [Patch V3 00/44] imx: add i.MX8ULP support Date: Mon, 19 Jul 2021 15:46:50 +0800 Message-Id: <20210719074734.29170-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 X-ClientProxiedBy: SGAP274CA0006.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::18) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SGAP274CA0006.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Mon, 19 Jul 2021 07:13:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 61197bf5-a894-4b6f-a6a6-08d94a84b2fe X-MS-TrafficTypeDiagnostic: DB7PR04MB5242: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XhTYua9QFTjAeDugH+Lu1WXPOYoBkVPIVSrGudW50xEUC7KYLhM7vG6hFn3QTmAB5yWowDoe9T9TUUja29gfx5Pd7NM63FzBPqym1+PWBSjNwBRkTXS/7FAWDy4R/hiBftMXLJtTRq6CCcWhPzwhGGa1PHlhO7hMNGQmKUZ9NEBnaecQrTxHtAparfwzyUOMXnJaEKFxfR/Lm7RaXBQWng2sc/kxz8zj5HyZ/eT4yEvplhmfzu+lys+7c3hbKrPf+FcwyMwRUWTwz59WiBvRaIyZ+rKBxY0whxdMXjoPgvka8kRbf0zMtx6mBxZoAWW+QzwQ/1zSoTPCNnveAxgl5niVqwg+ghvHdZtSZHEte7JoPAXd2aLLfDpGgdoEB0jIkm9DfqkAQ7d1NerXdgzDLvvn1wGhSP6Uw0ce11rhUe0Rw+5bFGSFpGOmg9OIPc++AJVfIobJX3SdJFrrLLq2ZzVZ5Wpc7BGkHJT5VvW323hpz5FX//oJB4zY9UgDLT72jLVk8YL+OXrSB35ts5MLpVeAkQLODUgx7RRsMYv/kehqeU7BhYzpSqtyKCfQ3tw4tu6+7mzeDJapdp0460ZcRwJCRFeic+mVsfpV8XLYFnCqhSPyuy0xuSker9ld4Gp36IadRQjN7INBrz0re9ogchn2Ht2sg9q6VHF8inGuyr8jSNpBn0kD7krjK3Br23HGsDpb2zxZ8CQqgIR0F41Ueg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(346002)(39840400004)(396003)(376002)(26005)(6506007)(6666004)(52116002)(4326008)(8936002)(2906002)(478600001)(38350700002)(38100700002)(6512007)(66556008)(66476007)(86362001)(66946007)(8676002)(2616005)(83380400001)(186003)(1076003)(5660300002)(316002)(6486002)(956004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ssmbMwDuwdv9jd8uIUpsVc6OPuGpn7xwmsn3J73DqAdUFR4bopwo6lrq8sWv0oNfqplOjtvsCY/eZKEi+lLDXqigO3oBIwjbHJ9kHg2AphdJ+Oaznt2qGfe6lkFzFk5A/c+Nh0xOoFpafxgsbzQJRj1YiAmlZySB4V1ZeheaBLSRBZSbttgB6CQ2tlUJUTvlMFx6m2bgUFsZLR5uGdXs25nQI+vsSUcvzHyeB+A5f3DIL9qDeOEjJA9ars5prXkxH2QpuaxrqhU2Bwrmrg5HvygoQC1dbnkqtUlVi0ckb8kZNN2UraFyYu/aQF0Fm/ZL0UwFKRGwS+sSvDxA0JzjvOeooTDjeXgHyTbG9CTyTIRIVsSmfSCHmwHuMi02g5QEBoNL0aK0eR7fuboCmiZYxPmofBl4nGk7Jj0yQ6cVpIu/QDH0ey6XJzDf4zwK3p4B87EVZxJAyUnrsocypeGRrafYGyCaEvTfVfkEr2B6zJ0xv5c1u63Kbr7QNKOp5T7ITlEQjCdKAgfIl9sW/Xe181e/q3tY9c3WM/Kwe9wOfb1Dl2IhR/uN4DiZ67LLEqN+iDxnoc2P2sKV+snJlFiyQ7Iyidy9iPpLVyaCpFed+wR7ayTbxduPjfgi+0NspGcJPvTzTAYOYUuBANJojtXxTH80d3bpW+i/zPlcr2vq4WDGv+GZ+WglYhGivCkzalwocie92JP0ph318FbXXEjtABBwSDy45GQlBNBRetAn5mIVDIwLvIS0j2R94S2MZ/eXHGz0pODv+MFTgJR79TzvBJN1kTSmiD8RXKekNTf3MQPtZeO/S2igLhxoMojOhaw/fb2EIlR0w7ZMtOvYh9kkrYfG53CDPE1UTMyn9k9F8yZz6Qy6hP9mheJShi6olWiTlMLMo6TGxB1YSgeOUZZsBZ+k6DmeCP6paNoMeKQYUEtGnW8x9oS3LxYCxl15l5K15iO4t+RyaX9Z6Gx7vEbEvmXtMu2GI3DhoPBMfqNRaaIOQP2FmAm6uEE5V3+NBWxjzJpys/ZAiZTPFhH+CvHU4kW+Qoy2Z657BWKx7RX7RLePyWi2h+PR2nKvWqmHotJEv4LtyRBiS5qDHinMcOccU4UxxnjZGvKRwjGxExrv7sZqokBOEbXVjg9oL/f0zBAeeE+0CtsTGwD+yqcglpWdsAZyC+cu+2IWSkOyfUX71YPJSyjvWub94Vj6S5b0dVldCmfxyry23sSWUSFvvk8vWysqam/1idrnFaZlPe81N2OA2bDsDfqnBygZgjrJX577WapU9e/EszvufepcgTU/SwQhMrHxQxCN9XmS0RYwMqB3qaOCtuW2DOmb+PopvK5F X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61197bf5-a894-4b6f-a6a6-08d94a84b2fe X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 07:13:25.2655 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0klr/0tVRMQKsZkNJOvP8fIK5CeHZDULgHzp+EtUJX80OtQgmpT79iZrhd6SKI37ioWhjeb4v5PuEyJEOYSyzw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5242 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan V3: Fix build error which break 8MN, pass buildman for i.MX. Select GPIO_EXTRA_HEADER for 8ULP to fix build break which caused by upstream change. Rebased Drop 7ULP, since already been picked up. Stefano, I see you have a PR to Tom, do you plan to pick up this patchset for a following PR, or I send a PR to your? Thanks, Peng V2: Rebased and test on new revision silicon with upower included. The i.MX 8ULP crossover applications processor family brings ultra-low power processing and advanced integrated security with EdgeLockTM secure enclave to the intelligent edge. It includes an uPower core for handling power related functions. This patchset is to add initial support for i.MX8ULP, with core soc functions, clock, dtsi, and evk board. Peng Fan (24): arm: imx: add i.MX8ULP basic Kconfig option arm: imx: add i.MX8ULP cpu type and helper arm: imx: sys_proto: move boot mode define to common header arm: imx8ulp: support print cpu info imx: imx8ulp: add get reset cause arm: imx: basic i.MX8ULP support arm: imx: parse-container: guard included header files arm: imx: move container Kconfig under mach-imx net: fec_mxc: support i.MX8ULP driver: serial: fsl_lpuart: support i.MX8ULP arm: imx8ulp: add clock support drivers: mmc: fsl_esdhc_imx: support i.MX8ULP arm: imx8ulp: disable wdog3 arm: imx8ulp: add rdc support arm: imx8ulp: add trdc release request arm: imx8ulp: release trdc and assign lpav from RTD to APD imx8ulp: unify rdc functions arm: imx8ulp: add dummy imx_get_mac_from_fuse arm: imx8ulp: add iomuxc support imx8ulp: soc: correct reset cause imx8ulp: move struct mu_type to common header imx8ulp: add upower api support arm: dts: add i.MX8ULP dtsi arm: imx: add i.MX8ULP EVK support Ye Li (20): arm: imx8: Move container parser and image to mach-imx common folder arm: imx8: Move container image header file to mach-imx arm: imx8ulp: add container support driver: misc: Add MU and S400 API to communicate with Sentinel pinctrl: Add pinctrl driver for imx8ulp arm: imx8ulp: soc: Change to use CMC1 to get bootcfg arm: imx8ulp: Enable full L2 cache in SPL arm: imx8ulp: Update the reset vector in u-boot drivers: misc: s400_api: Update S400_SUCCESS_IND to 0xd6 drivers: misc: imx8ulp: Add S400 API for image authentication drivers: misc: imx8ulp: Update S400 API for release RDC drivers: misc: s400_api: Update API for fuse read and write arm: imx8ulp: release and configure XRDC at early phase arm: imx8ulp: Probe the S400 MU device in arch init arm: iMX8ULP: Add boot device relevant functions arm: imx8ulp: Allocate DCNANO and MIPI_DSI to AD domain driver: misc: imx8ulp: Add fuse driver for imx8ulp imx8ulp: Use DGO_GP5 to get boot config imx8ulp: Add workaround for eMMC boot ddr: Add DDR driver for iMX8ULP arch/arm/Kconfig | 11 + arch/arm/Makefile | 4 +- arch/arm/dts/Makefile | 3 + arch/arm/dts/imx8ulp-evk-u-boot.dtsi | 40 + arch/arm/dts/imx8ulp-evk.dts | 223 ++++ arch/arm/dts/imx8ulp-pinfunc.h | 978 ++++++++++++++ arch/arm/dts/imx8ulp.dtsi | 728 +++++++++++ arch/arm/include/asm/arch-imx/cpu.h | 4 + arch/arm/include/asm/arch-imx8ulp/cgc.h | 130 ++ arch/arm/include/asm/arch-imx8ulp/clock.h | 41 + arch/arm/include/asm/arch-imx8ulp/ddr.h | 38 + arch/arm/include/asm/arch-imx8ulp/gpio.h | 20 + arch/arm/include/asm/arch-imx8ulp/imx-regs.h | 162 +++ .../include/asm/arch-imx8ulp/imx8ulp-pins.h | 60 + arch/arm/include/asm/arch-imx8ulp/iomux.h | 82 ++ arch/arm/include/asm/arch-imx8ulp/mu_hal.h | 12 + arch/arm/include/asm/arch-imx8ulp/pcc.h | 139 ++ arch/arm/include/asm/arch-imx8ulp/rdc.h | 27 + arch/arm/include/asm/arch-imx8ulp/s400_api.h | 41 + arch/arm/include/asm/arch-imx8ulp/sys_proto.h | 19 + arch/arm/include/asm/arch-imx8ulp/upower.h | 15 + arch/arm/include/asm/arch-mx7ulp/sys_proto.h | 9 - arch/arm/include/asm/global_data.h | 5 + .../asm/{arch-imx8 => mach-imx}/image.h | 2 + arch/arm/include/asm/mach-imx/sys_proto.h | 13 +- arch/arm/mach-imx/Kconfig | 15 +- arch/arm/mach-imx/Makefile | 5 + arch/arm/mach-imx/cmd_dek.c | 2 +- .../{imx8/image.c => image-container.c} | 51 +- arch/arm/mach-imx/imx8/Kconfig | 13 - arch/arm/mach-imx/imx8/Makefile | 3 - arch/arm/mach-imx/imx8/ahab.c | 2 +- arch/arm/mach-imx/imx8ulp/Kconfig | 23 + arch/arm/mach-imx/imx8ulp/Makefile | 11 + arch/arm/mach-imx/imx8ulp/cgc.c | 455 +++++++ arch/arm/mach-imx/imx8ulp/clock.c | 397 ++++++ arch/arm/mach-imx/imx8ulp/iomux.c | 58 + arch/arm/mach-imx/imx8ulp/lowlevel_init.S | 26 + arch/arm/mach-imx/imx8ulp/pcc.c | 449 +++++++ arch/arm/mach-imx/imx8ulp/rdc.c | 411 ++++++ arch/arm/mach-imx/imx8ulp/soc.c | 544 ++++++++ arch/arm/mach-imx/imx8ulp/upower/Makefile | 6 + arch/arm/mach-imx/imx8ulp/upower/upower_api.c | 486 +++++++ arch/arm/mach-imx/imx8ulp/upower/upower_api.h | 258 ++++ arch/arm/mach-imx/imx8ulp/upower/upower_hal.c | 179 +++ .../arm/mach-imx/{imx8 => }/parse-container.c | 4 +- arch/arm/mach-imx/spl_imx_romapi.c | 172 ++- board/freescale/imx8ulp_evk/Kconfig | 14 + board/freescale/imx8ulp_evk/MAINTAINERS | 6 + board/freescale/imx8ulp_evk/Makefile | 7 + board/freescale/imx8ulp_evk/ddr_init.c | 207 +++ board/freescale/imx8ulp_evk/imx8ulp_evk.c | 67 + board/freescale/imx8ulp_evk/lpddr4_timing.c | 1159 +++++++++++++++++ board/freescale/imx8ulp_evk/spl.c | 115 ++ configs/imx8ulp_evk_defconfig | 103 ++ drivers/Makefile | 1 + drivers/ddr/imx/Kconfig | 1 + drivers/ddr/imx/imx8ulp/Kconfig | 11 + drivers/ddr/imx/imx8ulp/Makefile | 9 + drivers/ddr/imx/imx8ulp/ddr_init.c | 217 +++ drivers/misc/Makefile | 1 + drivers/misc/imx8ulp/Makefile | 4 + drivers/misc/imx8ulp/fuse.c | 198 +++ drivers/misc/imx8ulp/imx8ulp_mu.c | 234 ++++ drivers/misc/imx8ulp/s400_api.c | 244 ++++ drivers/mmc/Kconfig | 2 +- drivers/mmc/fsl_esdhc_imx.c | 12 +- drivers/net/Kconfig | 2 +- drivers/net/fec_mxc.c | 2 +- drivers/pinctrl/nxp/Kconfig | 14 + drivers/pinctrl/nxp/Makefile | 1 + drivers/pinctrl/nxp/pinctrl-imx8ulp.c | 44 + include/configs/imx8ulp_evk.h | 107 ++ include/dt-bindings/clock/imx8ulp-clock.h | 247 ++++ include/fsl_lpuart.h | 2 +- 75 files changed, 9321 insertions(+), 86 deletions(-) create mode 100644 arch/arm/dts/imx8ulp-evk-u-boot.dtsi create mode 100644 arch/arm/dts/imx8ulp-evk.dts create mode 100644 arch/arm/dts/imx8ulp-pinfunc.h create mode 100644 arch/arm/dts/imx8ulp.dtsi create mode 100644 arch/arm/include/asm/arch-imx8ulp/cgc.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/clock.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/ddr.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/gpio.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/imx-regs.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/imx8ulp-pins.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/iomux.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/mu_hal.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/pcc.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/rdc.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/s400_api.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/sys_proto.h create mode 100644 arch/arm/include/asm/arch-imx8ulp/upower.h rename arch/arm/include/asm/{arch-imx8 => mach-imx}/image.h (95%) rename arch/arm/mach-imx/{imx8/image.c => image-container.c} (79%) create mode 100644 arch/arm/mach-imx/imx8ulp/Kconfig create mode 100644 arch/arm/mach-imx/imx8ulp/Makefile create mode 100644 arch/arm/mach-imx/imx8ulp/cgc.c create mode 100644 arch/arm/mach-imx/imx8ulp/clock.c create mode 100644 arch/arm/mach-imx/imx8ulp/iomux.c create mode 100644 arch/arm/mach-imx/imx8ulp/lowlevel_init.S create mode 100644 arch/arm/mach-imx/imx8ulp/pcc.c create mode 100644 arch/arm/mach-imx/imx8ulp/rdc.c create mode 100644 arch/arm/mach-imx/imx8ulp/soc.c create mode 100644 arch/arm/mach-imx/imx8ulp/upower/Makefile create mode 100644 arch/arm/mach-imx/imx8ulp/upower/upower_api.c create mode 100644 arch/arm/mach-imx/imx8ulp/upower/upower_api.h create mode 100644 arch/arm/mach-imx/imx8ulp/upower/upower_hal.c rename arch/arm/mach-imx/{imx8 => }/parse-container.c (98%) create mode 100644 board/freescale/imx8ulp_evk/Kconfig create mode 100644 board/freescale/imx8ulp_evk/MAINTAINERS create mode 100644 board/freescale/imx8ulp_evk/Makefile create mode 100644 board/freescale/imx8ulp_evk/ddr_init.c create mode 100644 board/freescale/imx8ulp_evk/imx8ulp_evk.c create mode 100644 board/freescale/imx8ulp_evk/lpddr4_timing.c create mode 100644 board/freescale/imx8ulp_evk/spl.c create mode 100644 configs/imx8ulp_evk_defconfig create mode 100644 drivers/ddr/imx/imx8ulp/Kconfig create mode 100644 drivers/ddr/imx/imx8ulp/Makefile create mode 100644 drivers/ddr/imx/imx8ulp/ddr_init.c create mode 100644 drivers/misc/imx8ulp/Makefile create mode 100644 drivers/misc/imx8ulp/fuse.c create mode 100644 drivers/misc/imx8ulp/imx8ulp_mu.c create mode 100644 drivers/misc/imx8ulp/s400_api.c create mode 100644 drivers/pinctrl/nxp/pinctrl-imx8ulp.c create mode 100644 include/configs/imx8ulp_evk.h create mode 100644 include/dt-bindings/clock/imx8ulp-clock.h -- 2.30.0