From patchwork Wed Dec 2 08:29:57 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: 335988 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp1001011ilb; Wed, 2 Dec 2020 04:43:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIaftjhh5F4MYiGwp7voH+11u2qKaiFmHVkz3ECpyQrFxbbp7wpztmVJhIG9xU+cDt/5Yh X-Received: by 2002:a17:906:ae4e:: with SMTP id lf14mr2173016ejb.310.1606913007573; Wed, 02 Dec 2020 04:43:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606913007; cv=none; d=google.com; s=arc-20160816; b=W8XYQ59JoPrY8o1lMoDcoCWIvzAd+ImzukhQpGXE4wI3KRCorygfsotULxjLxVrazp LhNlQw8E7BaRDsrhdPTeZRlmsYKQeGo+8hNtgraj8o+Az3BTJgdoQnl60AqQXnvcxWit W4TvEv+X7u73LLhCGhD8efsZ3DJz421diVWmpsSgvl3pbfYKTplzAJv4YjYBcBh+r71o GKVfh7L5vjsyS5lHYTR6k7xGCCc7m5mMvinRKo3MrPuyreKoW/DSM1e7/pWDaCwtK6qn u/x9o4kSKrBai3prSxrxp/0B+1NggrY/VTJVf5p5mtJD3/hruJLgvCDrPbXsOx6cJFqU lNyw== 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=/DBl13g5pI4c6V4BOEEiVZ/EI2d3tnDcqqXP12PWIs0=; b=q7sDSlZ7vUdBDBxbuT9XBk3H/DbOf5BDxw+vB+cri/C1tFNhhTzedHcS/LHopdG6+r F14ViDDlggcP8+vxejvsFkQjd/Up6EN+5zjE9vWh+vcZoDTaMmolmOtVZmTHaNjiaihP PvsqZVxo5BBkq1eGeaDD5TpKUjrAb9IohHTBZj9dhTSbVDXg9HaJpfEutl4PeWXmASAO Rx10TZLFpVy14NepgHrF+47U3gkFbrb3wAu84q540mKJRUFjee+muUdUyFmVry8rWg9r 4oXrxK5dKQ6BPYAKk6RLUnJnXqlH58ILlmMizcYqAxNabvKAHa3CP7imeD80CPhbvYcs YciQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=teplySfj; 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 se3si748258ejb.527.2020.12.02.04.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 04:43:27 -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=teplySfj; 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 0D6A0825F0; Wed, 2 Dec 2020 13:43:24 +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="teplySfj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AB201826AC; Wed, 2 Dec 2020 09:30:24 +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-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (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 DDC27826AC for ; Wed, 2 Dec 2020 09:30:20 +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-pl1-x633.google.com with SMTP id r2so734938pls.3 for ; Wed, 02 Dec 2020 00:30:20 -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=/DBl13g5pI4c6V4BOEEiVZ/EI2d3tnDcqqXP12PWIs0=; b=teplySfj83wXlhV2tceLvKLBkEyyIwl+8QTPYWZkqYNpuUyBqDlYmoJeVo0DGz8RFW xgpjH0aA4+tVWqUH2I3xRsnuMyUmA11Ce5+POBpiK5yLAFtHERrV7oYy8DNW9vofK92Z ZoOlISEbqZTU2a3YEX0HfIdkpU6K9wMP+a0x9XMQRTkiS5rK7vW4/lOhpVb80kUryL35 0kjb2MFJRslDWYJCHa8myWvqG4emY2gjd5DZycA3FRt8b5F7iUsN0rcjWNtLfRd7c/AQ HbINmXwXo+CM0Zw7auqlQf8P0NEAqxVI7zz4gURjvPOcImVaxDS1SPcV4WJcdB5Fh+PV ro6A== 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=/DBl13g5pI4c6V4BOEEiVZ/EI2d3tnDcqqXP12PWIs0=; b=XreWKjt1+5EXFLAotBrt+MOgPJKc9Wv025BzLZwr8yyYhZGSNTtUNNT+W4D/0axVRc OEJnT8Bpjs4SWD2ParF1YyaGtDhM3xHbDkiaR/Ezgc5tOfPHf5g61uWaY9hGb3T4rt7k e+PaMPfEbNOcdEY8BrZ+QuRUdKPFz3x1N6Ux4sbMp5i2aEdIKHJ8W7xhLbPkw+R4L3Rv WwhaLZT968floCHqUSOQdVjIMbdVfnQ0wYK9nIFigkP76bu4p12xpCMeie08ttiV4ePZ zVt6tsS1Jv8a1EtIQqs6UeJpUYwfEfFq381FgLVW/D4jl4cRT5GqrL+lkoYXjRKB1vqj 8ZLA== X-Gm-Message-State: AOAM530WdrnBtcRPkrdnGEEGH38QwN4CA6TplsZ3dvSikaU2GedTnDft zngRLU+BC7zWZSX1ILg66gnD2B9cUOU= X-Received: by 2002:a17:902:223:b029:da:af1e:b112 with SMTP id 32-20020a1709020223b02900daaf1eb112mr1712110plc.83.1606897817432; Wed, 02 Dec 2020 00:30:17 -0800 (PST) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id r7sm1083599pjd.8.2020.12.02.00.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 00:30:16 -0800 (PST) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: pbrobinson@gmail.com, "Ying-Chun Liu (PaulLiu)" Subject: [PATCHv2 0/2] add support for Compulab iot-gate-imx8 Date: Wed, 2 Dec 2020 16:29:57 +0800 Message-Id: <20201202082959.57052-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 02 Dec 2020 13:43:22 +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 | 153 ++ 18 files changed, 8895 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