From patchwork Sun Dec 6 19:43:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying-Chun Liu X-Patchwork-Id: 339167 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp2839852jai; Mon, 7 Dec 2020 06:17:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/weUZ0KbxhR4j24fMeZviyCh0Q1VliCd5aYHgstAX5c1QRBBxY9e2adWZ2rdBgMS5T5td X-Received: by 2002:aa7:ce8a:: with SMTP id y10mr18788653edv.264.1607350628524; Mon, 07 Dec 2020 06:17:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607350628; cv=none; d=google.com; s=arc-20160816; b=G/VzF9iJuVTP1Fybkzr3Y09AK9/l9qn77aCv9TTncMJamUZcSc7xssuwY1vjP1s+Mn YUfR1AcgrKHscOJ8aIlAYJQexNIO9HBPEbzzUW7Oxl98vCWZG5y9r1o6DN77gptivXpO Bgtn7K7jDrLACWJH47uLL4N2fNGWEcmAXFfN8IjLzQmhvffYQvtFeDj51Hlx+7GzDIoB G+t8oL4g9AMrMJN9eNmtjUjUT6DP4BahqI40X50GCObqiHIB+DDzGc3ZsTE/DD5NLLvp hdGhq/GfRwE4HFSIHLXY/YU1Ufv/jfU4+uPJ3FBi9QyeH9qDHxZuRtE1nS8lkNqA5kWo vGsQ== 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=7wvp++Wu7zHXqna5Lgh0v8+Q+jH7NiYpiFUjkF0ahao=; b=VMPykdoY2/2TMy7Y7oOH0ii3OxIzFasrCDQ3JVpFy3IO4GpZlczEGnEPD9NV+e9faq f/wwqL8NtpnzOutqVzY3x6y5na3DR0Ulpx9kiU0akD6JzFNeeUGQZofHxe+O/5g6r8Iq cyX2LrW4+wTEWv/RjgsaStWesAG4sQaffPALJB8t5csl6ZTyppoc/Jzp9CrPmayS7gRV P6onmGQ3DNtTOL1Rq3Zwqo/pppy9cC6em3Wt73eHDIwMbXrdC9PvlZRo5v6s/KmmVJMh Txq/i+yipJUBlxlUW62WnEKaBXSlreEmQ+jKu84c0LP0h8zK6MChdlBYJ4FjvOCTnEcM GcXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q+MvEc+X; 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 a23si8410761edy.268.2020.12.07.06.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 06:17:08 -0800 (PST) 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=q+MvEc+X; 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 0EA0A82615; Mon, 7 Dec 2020 15:17:07 +0100 (CET) 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="q+MvEc+X"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A653981F67; Sun, 6 Dec 2020 20:43:35 +0100 (CET) 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,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (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 1617A81F67 for ; Sun, 6 Dec 2020 20:43:33 +0100 (CET) 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-pf1-x441.google.com with SMTP id q22so7576309pfk.12 for ; Sun, 06 Dec 2020 11:43:32 -0800 (PST) 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=7wvp++Wu7zHXqna5Lgh0v8+Q+jH7NiYpiFUjkF0ahao=; b=q+MvEc+X5OCWGErAkZeSJlryw2TDapwlws3ymbh2wdYX1wwjm+peOIIOyEcPfxZL6A Umsr7BGIYXmkP0qmqW8gf8R4UJ1sthb+y+EnEf4kuPBoHQRqyq9375NDFjj210XGMubT opwsg4NFbL8aBC8Lbyzfotxv0bY6GYAXzkGo5mLpUUyASKvjowjtXBFmKwazSL9VEeiq 56LDjU7mNHf52+QDCF1lUWOqrrXMN1NJP2PlQW38zPUOXyXA0kzeOEsIWtIBaEs4z7ls FfOoA2vb7JsrLGd1ahOoAmHXJ46bNDtwPQVIDxjg1QauMW/2eRodTQE1I/5QCJjL5142 Ws0g== 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=7wvp++Wu7zHXqna5Lgh0v8+Q+jH7NiYpiFUjkF0ahao=; b=nFlPY7vNou2sSRkRd4FhnCXtLWa8Cqb9IMeWkBa0Fjp1pcassNJWiyi8jt60IQJIDT iXjaHbbPUIO24xaR4swlGcQAgpOV5ivhdjbkFgWW+03zLOu+CzTc0hfO6Vp8KMTsPZxN lb+oviwFQlm0HCOvxk0wgpvB2XlRTpH/WFyHLHXEDfQs7Hj1NU9fJk2h8dC/O+WC7oWU 8ie3/OaBKeI/0ZT6p0X71XclcI2j/DWkKjBZBqiwdOXMiklNuyvFBI36wHwK73m/f3Ok bal81MlZfcedut6SY+OfdAvxG3I+FjYtDJ79b1f5Y2VoUPDYN2n9sHnjW8ddV74VIuuk KsHA== X-Gm-Message-State: AOAM533Ojn7ni5kKXY8KHg2HYfLcmNSSH/LhY+XU8ew2Sqh5iws3lED6 wRTTy3eCFiXyGyoN6Bh0fKDDA4WJ1wY= X-Received: by 2002:a63:3f87:: with SMTP id m129mr15791087pga.167.1607283811287; Sun, 06 Dec 2020 11:43:31 -0800 (PST) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id a1sm41132pfo.56.2020.12.06.11.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2020 11:43:30 -0800 (PST) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH v3 0/2] add support for Compulab iot-gate-imx8 Date: Mon, 7 Dec 2020 03:43:25 +0800 Message-Id: <20201206194327.31117-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 07 Dec 2020 15:17:05 +0100 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.3 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) arch/arm/dts/Makefile | 2 + arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi | 131 ++ arch/arm/dts/imx8mm-cl-iot-gate.dts | 550 +++++ arch/arm/mach-imx/imx8m/Kconfig | 8 + 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 | 130 ++ include/configs/imx8mm-cl-iot-gate.h | 190 ++ 18 files changed, 8932 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.29.2