From patchwork Wed Apr 21 20:50:29 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: 425301 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp649345jao; Wed, 21 Apr 2021 13:51:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyA98KivNpNeC9bL3PvCLPbU1L/veo+AeiMKOCLDIPvBLwG+dQaSbhkIA1mMckwsx95opnZ X-Received: by 2002:aa7:c2d9:: with SMTP id m25mr40262577edp.188.1619038278168; Wed, 21 Apr 2021 13:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619038278; cv=none; d=google.com; s=arc-20160816; b=Fxnizhr+eCnnA/z61ZQGJFD5K6C4JZSmebiOm8zzopJ9U/U8SxJH+i/NcV/587usTl e7Bc/+DImIuRzP5Cvvc8hvytHfujZfMPUIN306byVrYSaBZ+dyTwAkN+ShX01APP3On8 vTSlG9TlJEUwCZpFsN7yHifWLnECXxQxkOFFp3Oy0h2rp+/0/lwKkvw+XaZoRJa2hlVb KSO2pR6rrkHrg5N/nv9klYuIOVk5GVwKvgeKMXzCIMZ+y32qz/hPOIE3BhSGVAitEvg1 nUeYHRysC6FKT+BMbo0v85EwuiqO3TVflk7NWwq5qYafguE8pcDidlpu4lPIMp44dy3Q twJQ== 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=B0jn10GgwAvcxd79pUZYuTS5l/GFJHf8fwUjZjG6vbA=; b=VANC7B3Hro2ZQsl+RtjYfH+b3hbR4r4KEzwpxLeBKjbAlqnv0Mwdq8ipj86a9yQuCM lEpjy6wJynsY6P+5tW/MkqEBFlyglUTR1f2rgOEo+bRjMFxLH+NwsfDoeujrONokUS/8 Eiw82kN60zEY3LnsBeiZxeFITL9SPmXTttu68GNtFOZrbK+91uu9E2wvRYQyek2LVHqb xfhLsvDC/ARlmexBRq9sOHXCeiPUQuk2S5kNP+8B0LDoIp7EgMK4HpuzfQ8m8rZ2ZEko c9Vs5SnePx0zuHD6no1mifgvnIW0TDX1EVX/75TkazABW13/JfbsWfOQ6S2haiDyaXRO iqow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u9IGgrzE; 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 d16si349330edr.524.2021.04.21.13.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 13:51: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=u9IGgrzE; 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 C254E82008; Wed, 21 Apr 2021 22:50:51 +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="u9IGgrzE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2911382008; Wed, 21 Apr 2021 22:50:49 +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-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (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 E4BB880C92 for ; Wed, 21 Apr 2021 22:50:45 +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-pf1-x430.google.com with SMTP id i190so30019504pfc.12 for ; Wed, 21 Apr 2021 13:50:45 -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=B0jn10GgwAvcxd79pUZYuTS5l/GFJHf8fwUjZjG6vbA=; b=u9IGgrzEXWsIiexHzsceUgADdTTFjy7J13KRWoDZ1gGse8t+h1CqPGE3gWrirjpIam IVGBCW84hRolK63V0+rLkSKPrI/23SeJDyiAhMY7kdMckpMtDVKD3fCcI1UeIxMLx3DR Io5eQQFuCVZ0s9FgP2Ic3gcqK5ivKNAHRPZPDhgj4p+4v4i4pld+BRCoqxDF9+NsJ12D xJjlXM/74jkbNvIMw9EWhz8BF53v5uQyus84w9rIEefHvhxNfx5vpFbNxU47HsC1K69i n3Qp8qE9Wzli/doecRudEoNcDnuUZvcVUyXrsbuLq+9x0SMDQqmZ2oUtl6y1TdmQ8lPg aCCQ== 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=B0jn10GgwAvcxd79pUZYuTS5l/GFJHf8fwUjZjG6vbA=; b=EXNqZIMoXEUjPrCsK2GbmBgRwLVzOEEhDWCHuRorO9+CdVgnj9mqoI0+F+3Bg7xzxa e9nJ+qyS8ca3aTzKAsUc4bPW7WP1XA/FNJaGDC9ODa9lVmjQ4op4BIVOZ9Rfts0/hM47 uPeEsagowoE/0wim6o1bQt3uB63VIN8Rmha6H8tyqw+yCc+444RxZ0zVZlwvzQX6rtm9 O5R+9O6Sm94949XwfpJK83akOBFjpnepJdrcgvKeQDeXmb4w5rykgzk6qskyK8rTUSoj w1D01gA1ioEY9nHb0RaexvoSd3t+ERKk3jYkFBEkc4fiSOejkOrXZQzvJ44+840qoNMt U4OQ== X-Gm-Message-State: AOAM5301dMTw/ruuowwZjNjckCRDIeBiZX/rlV1FEw9QIPqNdFgOU+he 7kNH1jgu5ucL8qD0aOtst7+IRYOpmEs= X-Received: by 2002:a17:90a:8809:: with SMTP id s9mr13844551pjn.174.1619038243644; Wed, 21 Apr 2021 13:50:43 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id f5sm174772pfd.62.2021.04.21.13.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 13:50:43 -0700 (PDT) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH v8 0/2] arm: imx8m: add support for Compulab iot-gate-imx8 (imx8mm-cl-iot-gate) Date: Thu, 22 Apr 2021 04:50:29 +0800 Message-Id: <20210421205031.696440-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. v8: Use binman arch/arm/dts/Makefile | 2 + arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi | 255 +++ arch/arm/dts/imx8mm-cl-iot-gate.dts | 554 +++++ 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 | 71 + .../imximage-8mm-lpddr4.cfg | 9 + board/compulab/imx8mm-cl-iot-gate/spl.c | 187 ++ configs/imx8mm-cl-iot-gate_defconfig | 153 ++ include/configs/imx8mm-cl-iot-gate.h | 196 ++ 19 files changed, 9100 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/imximage-8mm-lpddr4.cfg 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