From patchwork Fri Jan 29 19:26:38 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: 373340 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp2486340jam; Fri, 29 Jan 2021 11:26:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsLyUdCeMBpZaGcNIlWwqxl5XB2RiZXbs1aoCWrB6hcMG+cbGyzgGc2KrfTG/7PmBSjopR X-Received: by 2002:a50:fb0e:: with SMTP id d14mr6936548edq.369.1611948418708; Fri, 29 Jan 2021 11:26:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611948418; cv=none; d=google.com; s=arc-20160816; b=M9NudIzneF2A0cj5VH9PEvH8r6AEXX041IM8lAe4Mzvp0qkPZVsMXVtdIfjuNBGI4/ 08SSVCWp1n3ttHGPBAwTPUR8Nqgp9oGEuDvZORPuP611xHsGkQyK7gRJiTn5wHd58qWS hY/EIfeYJth1KT61NbhPXAaiqtmOOStek2eQxgGGa8fXYKTL+fwOMmFmSIqGyMQ+nL7x U06oCxqY1mbRXb5Iq/42S7JwjYrCprF8LMR8J2C4BMVAeKFScjnguVLYdgUMvXNielHa efzuMzJnQIdwlGsi6SR1r10SDnLMEvcMt9u1Fxg7i1jONi3bSQheipraTRUeAo3zHOBj XAew== 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=oC7OZLeGzxMJkEtd3Befm8ksihiNLslgowV2eYNZDJg=; b=D3/tZ3XF7OI00NMbJbxLihdNr18rplnMh0ThqBmml52i0pp3q5j1/j7/hsYinN5TG2 8JW4Arz8Yxk8tRu86cBZCuvjK7ajCtnlzfyRPXtRELSECT6+gxxFTCuLYNYOXoG0BJB+ GMfjV2m2GX56vIAtINfsknkAjuPAzkkbgDMdhJL0GrVrbgxuf1llGb1Xi9pZ31/58u2D OKVrvcpshCU2sefnzK3aavSYhQfgSaGmVvkIdnE/env3dwlmuXrcTMR74Z+RiV1HBD5I I7EB3LVbN8RqWSVkHm/ltc+UqbMwCtmjueYru2loaeQ+LcCpKaO+hGszsPF22GRFVkSi 7JPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kFp4J7PH; 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 o4si5214697ejx.582.2021.01.29.11.26.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 11:26:58 -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=kFp4J7PH; 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 3429982366; Fri, 29 Jan 2021 20:26:57 +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="kFp4J7PH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 13E6782366; Fri, 29 Jan 2021 20:26:56 +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-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (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 5FC91806C5 for ; Fri, 29 Jan 2021 20:26:53 +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-pg1-x534.google.com with SMTP id n10so7326168pgl.10 for ; Fri, 29 Jan 2021 11:26:53 -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=oC7OZLeGzxMJkEtd3Befm8ksihiNLslgowV2eYNZDJg=; b=kFp4J7PHmXnWWbTX4wTCIubKQjZYuc+B/hAcAhNp+V6GX/sPQwRAGWGXL6RA4YW2Tx YQXjVfeLR6YbjiEZrcnponts8DSt/rYbg0bFLaDaA9TA8dQDMifcgK0Sf8dfpy36mb78 E9G4BeAKmo2L7SHCuseL5tcS/CVd0sXbpmdaSRpIQX9HiuzahN6YdTyQiD6LFdbh2VeL vtntK9LTmLnDjsOVRXdxNxfePzafX6OLVMjIVW0wlNjmhLPLg6ETGBCiQ+fIsYIJokIQ /pMB6H80/cQ0koN2jaWljGpcA8i3yxdWxK7F5IMIOODjxguaG8af9VEA16ZDZH0nSy+g vsNw== 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=oC7OZLeGzxMJkEtd3Befm8ksihiNLslgowV2eYNZDJg=; b=JgCkyz8EfBnS+1Qy5VbwrBXoVR20vqob+QQ+M67RcuoAzV29EsSETLmGkAI7iWRLkz 58Jn9OKlCZtCCSG93yCSvZUqbS1rgah8lyr2KExz31mWtv42AgMvk3PdkWJS/4soKGHv 65IQ3GOpERCtUcgzAWfkxolPoRYctJcNbzalOoF2DHtm4vnuLFrKRwb0kTiF86lMYz6Z aBMd1ds9ih4ed17o6sa+a/KWvJGgDt9GmSMXbtjTzF98PZBDS2aC4pgGH9aKBAuEnzFE aTqPRetKgpWdMyYSYrnO+Kd8Bhbe1TWXyvR1QmeW/J0lRI+PqprLQz4agyUVVErppTwH 3kdA== X-Gm-Message-State: AOAM532OuX3Ew0aTz75/Ads6A4RhzRjBDzji9vYGpPpaxzJ+awlcspBB qDnfyjnCu/qDXJNMZ4qLX+wh7o1zdcY= X-Received: by 2002:a63:dd42:: with SMTP id g2mr6203229pgj.285.1611948411422; Fri, 29 Jan 2021 11:26:51 -0800 (PST) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id ep13sm8592177pjb.27.2021.01.29.11.26.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 11:26:50 -0800 (PST) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH v6 0/2] arm: imx8m: add support for Compulab iot-gate-imx8 (imx8mm-cl-iot-gate) Date: Sat, 30 Jan 2021 03:26:38 +0800 Message-Id: <20210129192640.84351-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.29.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.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) 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. 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 | 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.29.2