From patchwork Tue Dec 1 17:21:16 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: 335139 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp309580ilb; Tue, 1 Dec 2020 09:35:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5x97jAgNwbHBwouWmnMv3nqSuO25KRZgRkDGsLRGhBtJl8UkRxyQIZezJKjEWQKCbpx0K X-Received: by 2002:a17:906:1542:: with SMTP id c2mr3879991ejd.382.1606844130149; Tue, 01 Dec 2020 09:35:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606844130; cv=none; d=google.com; s=arc-20160816; b=slWxugdYD3zPRopIKSzJgusKCITdOEWqEvkPHuPW2G1byZeBZYVx+8Qv5O7fsCWomx Jv64MMQ+u+3sAuAfyH4WOSJ3M052PVnXDKdIE1GwrKIJyLFV3y8mF9m/prFF9K/WQoiw CbFo4PNYlqoWvDNiFc5hO0qvzr1ceKyOwP6WiT+u40ReuJiIYN8JEogUMIUP+OVS9HIK 3JeAxb68YarTRHIWqSN407pmWrDmHqCVnSYCPxTmLvQn3qLbjCo92dza9yKEmp8rwcr2 4O4jp2UDQ73jH2XDb2aSNOAFaaBgrCHi3zpAQbUq4yhXtPr0T9DUbB66btln5LLWzMcA bCUA== 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=LVhiq/PvBZqawnLl7sYlrUKQ468wtqWbwOJlS+JPn2E=; b=U+iRAREqZymEsnhD+ZN3i4Ie5tHlD6cz9CJ4iZPJ2OOmHf6AIAdJNjpoBZz03Q3jlc MfUN4T0OmdH603QxeT2Nx6vXt5hLk55/0Fsp3w4OZMbrPwsgypLXo3jLS/S4MZ6i516D lh0yG3OJxFL1S5y8NWJRuWO6iErY6Sdrmp+pS8h/sAn5WslzZ6Ize4QpLUDHJUmfd10y 5HZeojlbMLFmDmAc78IOhTH6u1l5Octtoo0pUKkKX+xIITrVwJubpWc/gQw3ITrJoHry 4JjxFkdbX8Xt6dMX/0c+U5q4min8ogWQ4ZM51tEX7kaUG1GjQpaxQQz2sbDmXd/yiOdf Y7IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ZJ7/fmEO"; 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 a3si438168ejd.407.2020.12.01.09.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 09:35:30 -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="ZJ7/fmEO"; 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 13B94826C1; Tue, 1 Dec 2020 18:35:27 +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="ZJ7/fmEO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4F933826AC; Tue, 1 Dec 2020 18:22:42 +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-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (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 698D5826AC for ; Tue, 1 Dec 2020 18:22:39 +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-x444.google.com with SMTP id b6so1542962pfp.7 for ; Tue, 01 Dec 2020 09:22:39 -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=LVhiq/PvBZqawnLl7sYlrUKQ468wtqWbwOJlS+JPn2E=; b=ZJ7/fmEO+avpNUWuqy1ueNV0P22FiILNbEffnL/OB3MKjk0csU/qs/UljgDsqPAcHi XSV60akT1/srVOyATEJf6q6rfceAkVyvUgbaddYzBXgZ0LU899BriO8Y4JTcbGYgtoIh AuQAIs6N42oDWP1MbQMTVob36YhvxsE7pZiw9K1bMUcZJmVCoO39d7C4CFT2GR3CLdX5 R42jU7iROPXzYZZKViA5wRICCup00wxDBVzoGSx8LPOUMj+L21v32Jyuv3if39iVaV42 ByAhSyVZD7RUECgR5Ml5uC+BY/t5XOZaWRCwUVsWQsPgVEkzWfY7QAe/XrbNpmYWW0gc uGjw== 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=LVhiq/PvBZqawnLl7sYlrUKQ468wtqWbwOJlS+JPn2E=; b=bFXP9lCqZ3RUFXA/pQGTkbeE8GwstNQZGaK5yjg03RWEaa22djg1AT5hMzhslpUj31 ct8+NAjSqGtt5ORJWQes8H/PGltN1s4DR+b3NXS9A6x0vKXg8z/gP9iRgNtMFawzdtUL eVZB/AP4Ojl0K5S81IXMK2tdUEDcHgtb42ZyIILl7sLfO+u8KahLYLKTiwsw5u9jfeTW pfJm4k7dlZY4EbtMuI4fvcteGTUWx5yXDyJW3lgv9QU56b9ZL5uLtMOO09CtLnSr6nsq FcU7Cw8htPdB4Zc64Utc3Qq0HtG+ZCmV5aBOQ9pvR3Hs65/jD0IHeZpvEZcTqRlXPjVh 2evA== X-Gm-Message-State: AOAM5312cQ4VR2pjeDdn6qHwvIz9lj5irk1wFabOv38iBG/pGLVNSeUy u+ifqe0eAHOtr3W8rmnfkQrlMiuWYYs= X-Received: by 2002:a63:1c4e:: with SMTP id c14mr3067692pgm.334.1606843357283; Tue, 01 Dec 2020 09:22:37 -0800 (PST) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id az19sm291188pjb.24.2020.12.01.09.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 09:22:36 -0800 (PST) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH 0/2] add support for Compulab iot-gate-imx8 Date: Wed, 2 Dec 2020 01:21:16 +0800 Message-Id: <20201201172118.258508-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 01 Dec 2020 18:35:25 +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. The initial support includes: - MMC - eMMC - I2C - FEC - Serial console Ying-Chun Liu (PaulLiu) (2): dts: add iot-gate-imx8 dts file arm: imx8m: add support for Compulab iot-gate-imx8 arch/arm/dts/Makefile | 2 + arch/arm/dts/iot-gate-imx8-u-boot.dtsi | 131 ++ arch/arm/dts/iot-gate-imx8.dts | 550 +++++ arch/arm/mach-imx/imx8m/Kconfig | 8 + board/compulab/iot-gate-imx8/Kconfig | 12 + board/compulab/iot-gate-imx8/MAINTAINERS | 6 + board/compulab/iot-gate-imx8/Makefile | 13 + board/compulab/iot-gate-imx8/ddr/Makefile | 8 + board/compulab/iot-gate-imx8/ddr/ddr.c | 211 ++ board/compulab/iot-gate-imx8/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 ++++++++++++++++ board/compulab/iot-gate-imx8/iot-gate-imx8.c | 69 + board/compulab/iot-gate-imx8/spl.c | 187 ++ configs/iot-gate-imx8_defconfig | 130 ++ include/configs/iot-gate-imx8.h | 153 ++ 18 files changed, 8895 insertions(+) create mode 100644 arch/arm/dts/iot-gate-imx8-u-boot.dtsi create mode 100644 arch/arm/dts/iot-gate-imx8.dts create mode 100644 board/compulab/iot-gate-imx8/Kconfig create mode 100644 board/compulab/iot-gate-imx8/MAINTAINERS create mode 100644 board/compulab/iot-gate-imx8/Makefile create mode 100644 board/compulab/iot-gate-imx8/ddr/Makefile create mode 100644 board/compulab/iot-gate-imx8/ddr/ddr.c create mode 100644 board/compulab/iot-gate-imx8/ddr/ddr.h create mode 100644 board/compulab/iot-gate-imx8/ddr/lpddr4_timing_01061010.1_2.c create mode 100644 board/compulab/iot-gate-imx8/ddr/lpddr4_timing_01061010.c create mode 100644 board/compulab/iot-gate-imx8/ddr/lpddr4_timing_ff000110.c create mode 100644 board/compulab/iot-gate-imx8/ddr/lpddr4_timing_ff020008.c create mode 100644 board/compulab/iot-gate-imx8/iot-gate-imx8.c create mode 100644 board/compulab/iot-gate-imx8/spl.c create mode 100644 configs/iot-gate-imx8_defconfig create mode 100644 include/configs/iot-gate-imx8.h -- 2.29.2