From patchwork Tue Jan 19 14:43:00 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: 366158 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp817630jam; Tue, 19 Jan 2021 06:43:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxU7ggcjaPg8+/HXRUeBDORiCZHUlL7HWqDnz4Jv3LN2Z6jV3lcVnDUrCQc73hwMZswRvKr X-Received: by 2002:a17:906:9499:: with SMTP id t25mr3005315ejx.339.1611067416107; Tue, 19 Jan 2021 06:43:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611067416; cv=none; d=google.com; s=arc-20160816; b=gOW5N8cBBiR1jKEiQnHmwCpUXrlrMyGF3mMyfcY5MSqv1wg88i7tOMf/QpGHWp78Ll XWXq3R+PsnlANYO1BfiWuIk+e6cqh6mpHLgRi8wm20/O9mI0BQ53nGRoKbuRW52vg/mp 5/Vadg+3xA2H8qZTR1nYT/tUOXKrhqVKuskSmwj2LzkLSaYEK9s3xBlmiex8iP995sPC xad4XqrVOnkdPbHEl7xQ6dhmr4s9/f2WgODxihaHsNzmW7nXWgpv+VnmiJGhWVBYEtkp 7oGW+ghJarM9cL/Mdh4oWHSHUOw1cuK7sGEMsuO+92lMqdFdvcUsFk2nB2Vpyzzi6Wx2 M83g== 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=AHK1d72alFlffR/d3eL+b9t2JgL0nKHm6bWDGj5By2Y=; b=ffSy8YgAVPiAZMdzrsx5lEt258NodUvEnQSwA5Gv0s0D3jr8okie6WHaz3Wu1PdeG4 XVVN1x4ogljjko00uewdgom3p6mnhmVIa7GOrWyaXeevAzSfC646Jg2eqcDLhF0aK81L M45KJAe4Eoq25JRtyPg09Yvp0y8GhGvV69CV9BcHXfO7J1ffVRG5nfncOFvrOrvUIye0 dTRIAf/XEb+pYJXofZ2DK0zqIKZRxpR6Kr2O6ptT6qvEBhbaDQaH0KrH99QjBiXNkOkr alYZs1gXGWyGCEE5QNQ9BeXy5eXE/pNgjjoztLySqt46512yZvInaBs14bhzhtdmJDXW 5VRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XsGZljy1; 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 c24si3383448eja.436.2021.01.19.06.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 06:43:36 -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=XsGZljy1; 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 AE2E88293C; Tue, 19 Jan 2021 15:43:32 +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="XsGZljy1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 57F8B8293A; Tue, 19 Jan 2021 15:43:31 +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-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 11E138293A for ; Tue, 19 Jan 2021 15:43:28 +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-x432.google.com with SMTP id m6so12369810pfk.1 for ; Tue, 19 Jan 2021 06:43:27 -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=AHK1d72alFlffR/d3eL+b9t2JgL0nKHm6bWDGj5By2Y=; b=XsGZljy1zU7uzKXRTsvxDKzb/jlIrZlFiLpu1MpDMlKf32uHgaUPcmMKBJwQ9Hjfs6 nTWNOh4xXdxBQan2P6R3Rm6S64I/w1dvVXmurXVsWlGhI0mUqLuC6IUkaZiPjeRP4ia0 25ywhzVO0jLAzR108OaRxaj1PhbtvFngdA3vqNvnBWw/3CexZ7yAjWgjyzcucfM4uiSv nMT6nYxCM6vragCusIh1oNVsnDz0D5DR2NR4kfeQ7XD+Egqx1VPNf9ypS+5/GYtg5awy Phtx8ButuHV8VZ8Z2Y7zz1oFuq3RFLe1nQzeOVLM5DFq36FECjZxfUJaIt5LNOB2l6Sy LgHg== 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=AHK1d72alFlffR/d3eL+b9t2JgL0nKHm6bWDGj5By2Y=; b=eyrwOt44Dry8SawfzBWn0q4i5h7JiSDiiPOFRRnZJzqwboggDWX69esAzhTXP0CTIr an2PRMkhlgUA+HzCpFjpgNhNqmVLKyeF7lILMDlZk495KalcufsbsIbO3BlCqLrWlif+ NwA/I6QHApIcv5XfWQM6vUyDZTbloeonl1uSdaZVpwVRVpMSTP2CgkxTAaWu+cN16ign Y3GMnY+hcH/srouzSGVIhRYDOFeVWT5/fyQbuS8A+qaN2bsPOeG+wcf+WhWPPjtlp8y/ 2NMq9l3rqcwp1+G83s8nIVrAbBlOQGIgD7XfBIx+wuH1Cizyj2AL70h9Zsh2IserurcK 2W9g== X-Gm-Message-State: AOAM531wShyBKccXHkWUaM43FFJOM2Qu1Qf3kl1oDAx10wDROR7PKgDH cCOu1TiIxEHgEyI+QrT+LHBISrx1NZc= X-Received: by 2002:aa7:9eda:0:b029:19d:ce86:f941 with SMTP id r26-20020aa79eda0000b029019dce86f941mr4286760pfq.57.1611067406189; Tue, 19 Jan 2021 06:43:26 -0800 (PST) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id o32sm21068908pgm.10.2021.01.19.06.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 06:43:25 -0800 (PST) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH v5 0/2] arm: imx8m: add support for Compulab iot-gate-imx8 (imx8mm-cl-iot-gate) Date: Tue, 19 Jan 2021 22:43:00 +0800 Message-Id: <20210119144302.100202-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)" *** BLURB HERE *** 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. 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 | 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 | 193 ++ 18 files changed, 8939 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