From patchwork Tue Apr 6 02:43:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying-Chun Liu X-Patchwork-Id: 415859 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4174273jai; Mon, 5 Apr 2021 19:44:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDngYZd/fy0UIz8t3C7yKA0O13iJgdkU+8FdobyrAii+HsmzAxBBL+GbNj3AL5VSUoebs6 X-Received: by 2002:a05:6402:1a54:: with SMTP id bf20mr14557660edb.345.1617677058613; Mon, 05 Apr 2021 19:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617677058; cv=none; d=google.com; s=arc-20160816; b=c6s7XxKUgN31e3+XC2SHWV4025ytbv7oy+RQLMX6FwwTR+loPSD8ddzAbtOskAY7VY ibMk+hwwmRSvfk7cPb/7nLINJcQm3tSD3uX50MUYBp/hX38VRc7yzF6Fv2GIpg2b2+Ut Xlyhk/MFe149ym2skmmPGn497ube4iPmZjjUUjL+pSuv2zFYrGrkFt5pnjvHb/oSKmf3 yHybGm5bPY63Yc4fPM5dvJGzt2zas/mcf8RPdntMmHvF6Ukg4nb/f0nQPsS9Zg0q75bS HKUYvK611YOEhR6gc9iQ4L54e4/ciotD6lpvVgwRVbUo9XvannSg5o6JHPGJMRR8XnyG aYIw== ARC-Message-Signature: i=1; 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:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=o7Wwt56mzk9OTysD3cvHTpOgu5bLpaWIZae41U0hV4I=; b=0dOo4gKjVf7HiGceHcqpe9tuxLOSXuy6kx7/aFBGws/SV/h7c+g3wDjpK/oAs5jqGy ZvmyQi4p+sVL3EYNyBTfuHMCfMG7XUCVsH56wCnhoTuVQlCUwITw1scGIxebdMModiAl glrbSGZtg3v6tu543RoRP6KbsGL09vdCYC6g21geGBWSxq7yqRi9ZhguUxo4PDExCakR gMzlC0xcsr1IGqgNE4kjePxo2Vfv6hoSfIIILzOtDRgzKgY2414oe/hz+Kk9mxIKwowJ B4lFiRvn4y1nShqnSU2w6KwYBWVpF9gy1KbkOKjQ+gGskOVYgpP/Qv/RMZuMbdDOg+E8 bueQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tHrlFOU5; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 h1si15525367ede.545.2021.04.05.19.44.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 19:44:18 -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=@gmail.com header.s=20161025 header.b=tHrlFOU5; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 42C09816C4; Tue, 6 Apr 2021 04:44:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tHrlFOU5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1CAC9816D0; Tue, 6 Apr 2021 04:44:13 +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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D67C681691 for ; Tue, 6 Apr 2021 04:44:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=grandpaul@gmail.com Received: by mail-pl1-x630.google.com with SMTP id l1so6658552plg.12 for ; Mon, 05 Apr 2021 19:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o7Wwt56mzk9OTysD3cvHTpOgu5bLpaWIZae41U0hV4I=; b=tHrlFOU5evgrEYc062XwtRcTPF9fhUIMcBPi/lu+k+GfAnN+ULhNN5dCHbADhNrL8m ZMqAoIbywfwrGBKjwqPdusc9k08of7sSf/wS/rLaKwyApHuku76SwUF0flR7R9fuj7M2 5f61ZpKRCxaC9OuBPhrsI5meVxfyPHLq5AW7EAvYgLIRDuLG7SrkwvXj+xwgcgrqOy4b Miklvd8PQQ5j0NOArk7KcHV86Vg8fU45yVHlG1dcMGtrwqaZ4YWp4trVEJZBq1bQgQaE urgQDiILHU2RGQK75GiSwImcqd6QQB/ecWB5NeF1vNVjgMS+8TnJPV4+T4SJbuTOZ6lh URgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o7Wwt56mzk9OTysD3cvHTpOgu5bLpaWIZae41U0hV4I=; b=dpSGTMDWHzZS8TuqvYGDYRfJ4X/D5hYZ12SEmK5OYvVMX2iYeSMi7x7lid4E6JvL0p wv2f3dNk9qHlAv5XHEK8FOJdxscqVjkdn9TLtENWtluIrDrOnJzEG/dfGTMHYnS/4kHT a24SpWWKDtokqcusgx03Qa4UP5KfAuNOnqvXwhQX7g+a5+ldxpgvku/TztfM/I6MQZbl pTXMpRC6dMl9MckH8UUM60Rp9WXvySNMJbEWn1/NOv2ZKM08QKJJ3jCzsSOhzvx9m7iI xzIr/qt1oLSCOpJd/oW7be6OR7L0C1oTXbl8XtbLlL5MjsnfTgfWRI8G8cH0LXaKPEAE jCtw== X-Gm-Message-State: AOAM531sNVTI83vIFp17tbEMmvCfO9YnIa4thX6SJYZpsCsYZrWOZQnd mihQrkUHNc11AeeQXu/E4gJFO21NA3FjTw== X-Received: by 2002:a17:90a:cca:: with SMTP id 10mr2098129pjt.103.1617677047704; Mon, 05 Apr 2021 19:44:07 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id kx11sm439391pjb.21.2021.04.05.19.44.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 19:44:07 -0700 (PDT) From: Ying-Chun Liu To: u-boot@lists.denx.de, uboot-imx@nxp.com Cc: festevam@gmail.com, sbabic@denx.de, "Ying-Chun Liu (PaulLiu)" Subject: [PATCH v7 0/2] arm: imx8m: add support for Compulab iot-gate-imx8 (imx8mm-cl-iot-gate) Date: Tue, 6 Apr 2021 10:43:56 +0800 Message-Id: <20210406024358.46714-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: "Ying-Chun Liu (PaulLiu)" Add initial support for Compulab iot-gate-imx8 board (imx8mm-cl-iot-gate). The initial support includes: - MMC - eMMC - I2C - FEC - Serial console Ying-Chun Liu (PaulLiu) (2): arm: dts: add imx8mm-cl-iot-gate dts file arm: imx8m: add support for Compulab iot-gate-imx8 (imx8mm-cl-iot-gate) v2: Rename iot-gate-imx8 -> imx8mm-cl-iot-gate v3: Use distro_bootcmd. v4: Re-sent for adding changelog v5: add eeprom and rtc node, clean redundant pinctrl node, add dfu/pxeboot variable. v6: Rebase to latest master. Use abx80x rtc driver instead of emulation rtc. v7: Rebase to latest master. arch/arm/dts/Makefile | 2 + arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi | 131 ++ arch/arm/dts/imx8mm-cl-iot-gate.dts | 554 +++++ arch/arm/mach-imx/imx8m/Kconfig | 7 + board/compulab/imx8mm-cl-iot-gate/Kconfig | 12 + board/compulab/imx8mm-cl-iot-gate/MAINTAINERS | 6 + board/compulab/imx8mm-cl-iot-gate/Makefile | 13 + .../compulab/imx8mm-cl-iot-gate/ddr/Makefile | 8 + board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c | 211 ++ board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h | 26 + .../ddr/lpddr4_timing_01061010.1_2.c | 1848 +++++++++++++++++ .../ddr/lpddr4_timing_01061010.c | 1847 ++++++++++++++++ .../ddr/lpddr4_timing_ff000110.c | 1847 ++++++++++++++++ .../ddr/lpddr4_timing_ff020008.c | 1847 ++++++++++++++++ .../imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c | 69 + board/compulab/imx8mm-cl-iot-gate/spl.c | 187 ++ configs/imx8mm-cl-iot-gate_defconfig | 150 ++ include/configs/imx8mm-cl-iot-gate.h | 193 ++ 18 files changed, 8958 insertions(+) create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate.dts create mode 100644 board/compulab/imx8mm-cl-iot-gate/Kconfig create mode 100644 board/compulab/imx8mm-cl-iot-gate/MAINTAINERS create mode 100644 board/compulab/imx8mm-cl-iot-gate/Makefile create mode 100644 board/compulab/imx8mm-cl-iot-gate/ddr/Makefile create mode 100644 board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c create mode 100644 board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h create mode 100644 board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.1_2.c create mode 100644 board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.c create mode 100644 board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff000110.c create mode 100644 board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff020008.c create mode 100644 board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c create mode 100644 board/compulab/imx8mm-cl-iot-gate/spl.c create mode 100644 configs/imx8mm-cl-iot-gate_defconfig create mode 100644 include/configs/imx8mm-cl-iot-gate.h -- 2.30.2