From patchwork Mon Dec 7 09:22:31 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: 339170 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp2840331jai; Mon, 7 Dec 2020 06:17:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTfcYUuDXbHImM3K1PAnbxnocoWFtCcueH1MCtvZYD7zdHaQe5Lyx/moJkUkFkDTWkedLE X-Received: by 2002:aa7:cccf:: with SMTP id y15mr15075377edt.112.1607350667269; Mon, 07 Dec 2020 06:17:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607350667; cv=none; d=google.com; s=arc-20160816; b=rYjsZNrhtESvrKbaqQFFmP+zXJ4sqAB7AkTBmjHK8IvyKTp7Wy+Eds6an+VktMmnbq DAB0rFt1rO8qq71nYTp7rdOF4WDCsNHuNO38HmJDZP6i4sfpW+6rE53tJsmE2ZeLUvNI GQxPJLaCK9qsPE25gcL3rfGoNs40AlwJvfo+9AfgbbjTF3eZS4w9qTGgA/pobMLi1Mv4 T7NU6BJM/RMgLPQkIV9JaA7j/Dlqb43P7G/Nhw2GAp0Abl52Y4W/3bXA2scgQxbXZfsh VsgjEtB0Us5UrssUbYI1Av3qqlUsyHYIdGac9RxDE2zfdpqJzzrLwqcRhrlY5c7YURj1 jisg== 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=wc+x+GhI5SjWmjXF9eIOk9ghg+8dsAQWyCV1xxzDFBs=; b=nME1xnl20im8iWRjUBUJQpj+k+73lQXMETix9wPVANSPGay8ScHoXYnTz+efcYm5SU /Qbz3Luu/E7K8gTypjyUX5KgqcFc+BQS8NCYiyiClBSRUJsHU3DQUp0jY+ilXdj9XRCX A7gLjIfZco94d3a8XNMLHqJZWJ6hJl7qg4Vy1oXay+mgJx0M1CNdBQqFRfyiCAX0Uo+X eU07hJ72ZZpkWnn+rfaO7+ZZbIETGWTFiePxoQjh18BNwgy0A3dXkeoLYEXZMbfFKqXa 4JGpzKJlb5bSCP3DU8+eGRobUbXnwbhf3AjUyXe8j3kfB0FV/TT8MRMqp+z32EsmDh4r 0ESQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qxqs4J9a; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id re10si7414023ejb.754.2020.12.07.06.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 06:17:47 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qxqs4J9a; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 797FE82661; Mon, 7 Dec 2020 15:17:14 +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="qxqs4J9a"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3875082667; Mon, 7 Dec 2020 10:22:46 +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-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) (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 9EFDF82667 for ; Mon, 7 Dec 2020 10:22:43 +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-pj1-x1043.google.com with SMTP id j13so7085282pjz.3 for ; Mon, 07 Dec 2020 01:22:43 -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=wc+x+GhI5SjWmjXF9eIOk9ghg+8dsAQWyCV1xxzDFBs=; b=qxqs4J9aBOIku6pEmzknEvqvwPnWYFrOpPT9LD7SieYQvVpJXdaHHREBZ1xW7lOatq lOXnBsDNM0xs9dVSUEQGrb4ibfL3uHoojAElm7KPOEU1T/Ruw4nsAQDITI0+9JWCtAlz F5Uy9QsC9plfawzcRHhM794si1oK+AdAAYgRswYq4hCGLtHG28Mn0sYoKS2tgMZKzDAa fQ4sEXJt0thHaKQztHjhzJW8ks6WKML5sN8ZJldph1LU52V/wPczr//C6YAMGXXuVv9Y hkfAWpAgy5T5wv2tM9kHqfEsu+fpLkcwl+2VLiM/uEIz6YP3BCpLvZZpzWBvSv17DzLM 4yug== 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=wc+x+GhI5SjWmjXF9eIOk9ghg+8dsAQWyCV1xxzDFBs=; b=Kepbb+ecwPYY7QPpdrl8JBoAEoFsUX7vzo6aZYG7KLuK8461bMVDeRHE0kNZf/SaJn Z61tCF5IC334+81StevZbvoIWtrgwnPnwhJ+aqDRTda3WkBigcNwVCMzOIHoRpzmdNq1 2K3yPETpLxLQ4chFV4IURgKKrNsGKK0aY4ekmOg0/H9sa3CwPWuyX12k9c/3DBqVZIFo bmQnQCUBWwUzZPIsbeVsxdbSEMv76rrfLG/vU43AYs+AaNT3tim/Li5XGiTnv7KMglRz fcRpNwVxXrdlhyJf3QSVk3ZcXnmGguIudKGz6aDP6Vd200noq3bJQMl9rUFRY12zU9W1 eWSw== X-Gm-Message-State: AOAM533avwHy7ZfZWWb3OI2WqJRcdF9RXMmkCrWT2c6hipOckLW6v1NW gPNHhUVYRO9UqToW6jRVl1In5ndDI1NvzA== X-Received: by 2002:a17:90b:3845:: with SMTP id nl5mr15667485pjb.108.1607332961844; Mon, 07 Dec 2020 01:22:41 -0800 (PST) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id c3sm11900771pgm.41.2020.12.07.01.22.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 01:22:41 -0800 (PST) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH v4 0/2] arm: imx8m: add support for Compulab iot-gate-imx8 (imx8mm-cl-iot-gate) Date: Mon, 7 Dec 2020 17:22:31 +0800 Message-Id: <20201207092233.71385-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 07 Dec 2020 15:17:05 +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) v2: Rename iot-gate-imx8 -> imx8mm-cl-iot-gate v3: Use distro_bootcmd. v4: Re-sent for adding changelog 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 | 190 ++ 18 files changed, 8932 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