From patchwork Sun Oct 31 14:19:50 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: 516526 Delivered-To: patch@linaro.org Received: by 2002:ad5:5208:0:0:0:0:0 with SMTP id p8csp2237605iml; Sun, 31 Oct 2021 07:20:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFZgupB8f6BMoLFZQ3gcO/MI4BAqZQdJ1n4LS/fnwY0F6wW95DbJu6dF+P4D8ctx45x+iQ X-Received: by 2002:a17:906:58c8:: with SMTP id e8mr27601167ejs.212.1635690013126; Sun, 31 Oct 2021 07:20:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635690013; cv=none; d=google.com; s=arc-20160816; b=jMmA0vz6SR5bkBVUYbJveESmImQECSdn6T9PRvRiqcYTwcojNKhx0L9VlLnXH6r5uw g8wn57vCFlfC+4Poxqo+Lo+UkHkPczxGjIZuFGUkwongKTNRXIdEY6gI4V+G38EXzGz/ IHeAET9UcACzBQNpi1E9n4bIzsOChAZq6/8+wvCx7GV9pYDJHOKwX60XvLFwL5VpZhyX 9hqs8WhFnKuIlwiHeHyyH8dWFq+yiNr5xqMbV8PVuQAuh69CzMJ8Bw3f+dVkMAer2MK+ kTBEdvIT7upCSwQ4afAZf8qU2hBEpZsnwhZ2cDH6Z1RS7eI/Wgre1/cQZ57tJBJ7JfuR z8sQ== 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=A7w7tEclFjr6pbE6jgT3HfFYMu1KrtDI5POJv4ziYuA=; b=iLKBVcm7oMySUIEXZAB9SxAP6VqSXlNxuiRgikgXwJxJA+y79GRI7gtWx8xdp6yPKf RF4ZMJkKo50GH1wLjUk6VlMV+hOJtUdeyJLWEzzYtgUlqgUMT70Sc70DSJA1mptg8mMo D/gWHWI2b/S+Ivm6V5t8Evp1zHXsuEaFsFt3Dr7nZPHwMmQyeq5SclLr5z0QBYzk6WYy NLbKUO/dG34mLap2/EeL74+Ag/2dqg51Zd0V1wbvOXQ2lW20zP7c71Mmrdf5AQ8kQv8J cOCqsNJRBESbCsc/q8Yp+rmE29wnkeqMt0NwezXN/mnP1ghjvpf1wRNSsO9fku5bid7/ p5jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kjAGNGDH; 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 t11si4435713edt.61.2021.10.31.07.20.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Oct 2021 07:20:13 -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=20210112 header.b=kjAGNGDH; 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 3A93D81BF4; Sun, 31 Oct 2021 15:20:07 +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="kjAGNGDH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 52F4883121; Sun, 31 Oct 2021 15:20:05 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) (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 A6835815A8 for ; Sun, 31 Oct 2021 15:20:00 +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-x536.google.com with SMTP id m21so14746419pgu.13 for ; Sun, 31 Oct 2021 07:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=A7w7tEclFjr6pbE6jgT3HfFYMu1KrtDI5POJv4ziYuA=; b=kjAGNGDHGzq/p2WkdTmMxNN9mnAp+uuhFcyhxSH2d1gFUmXVpPp8m//EijzturlYan vQEzWPAuLVCntp1h0RyKrkXjRSsUSMLaVlVEyREi2AexATxg6YEkDaR9vAFxt4OXUbbh HjvdzhpXwHueIaGMRb/PncUaC3uy9RaZc/NvytmcLN0qZd4tBDo31JGaA4Pmm5du3pYQ afD/Qk9/HL4ShVcRKTJSW2l6k721w5vQ2mnIc++7vlA48nm042525uGlltNMvG7u5YBM nz79bQ6j3hFcIgGoENdKcody58E+OtrteQSd3HBJq6XXP/kFxTPeEUWjBmts+om20ivx L4/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=A7w7tEclFjr6pbE6jgT3HfFYMu1KrtDI5POJv4ziYuA=; b=QdJdcBqA58Y/Agq1eP+3NNn6m1OJVkX7+KjhXBm8NEM3RJS5BmJNKQN24d8GjCBurb 7qXyM4IhkdE6quhHVVJKQFZnhUkoBbsrYN2aFZpYfDGa5L//YIYBjq12jC6ciFdHG3eQ 58atQE3MSyVMjJpBYwI3l5sD3JuilmXJrHsUIg8NLsZRR/7aXBkps2cl6TvIy0ngcUkL O9Rt1hx7sFqe8U5BzSBKMz/rOCj4trnTJbNbrSeoFB1zoInPjGi+Hg0KpDh2fIxdGen5 azGTzxzyPAUm1hb9tavKH/C16Cfx4+Uu2rp7vtiKO4hlVrZqlN7XLHvVP1CoUCHGz6eq N0lA== X-Gm-Message-State: AOAM532EVs4aMoHm/AusqsDkv1lUoGkQo78oQPmmUmHuKxCaLgXNyP22 Ix1BNHKWl0HuuHXmzlR/ieqfKixrmMk= X-Received: by 2002:a63:b706:: with SMTP id t6mr17430184pgf.11.1635689998712; Sun, 31 Oct 2021 07:19:58 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id t40sm14196759pfg.142.2021.10.31.07.19.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Oct 2021 07:19:58 -0700 (PDT) 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 Advantech RSB-3720 Date: Sun, 31 Oct 2021 22:19:50 +0800 Message-Id: <20211031141952.32484-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.33.0 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.103.2 at phobos.denx.de X-Virus-Status: Clean From: "Ying-Chun Liu (PaulLiu)" Add initial support for Advantech RSB-3720 board. The initial support includes: - MMC - eMMC - I2C - FEC - Serial console Ying-Chun Liu (PaulLiu) (2): arm: dts: add imx8mp-rsb3720-a1 dts file arm: imx8m: add support for Advantech RSB-3720 v2: update dts v3: remove unnecessary code. move board code to board/advantech v4: rebase to latest master branch. v5: fix commit description arch/arm/dts/Makefile | 3 + arch/arm/dts/imx8mp-rsb3720-a1-u-boot.dtsi | 157 ++ arch/arm/dts/imx8mp-rsb3720-a1.dts | 771 +++++++ arch/arm/mach-imx/imx8m/Kconfig | 15 + board/advantech/imx8mp_rsb3720a1/Kconfig | 14 + board/advantech/imx8mp_rsb3720a1/MAINTAINERS | 7 + board/advantech/imx8mp_rsb3720a1/Makefile | 24 + .../imx8mp_rsb3720a1/imx8mp_rsb3720a1.c | 213 ++ .../imx8mp_rsb3720a1/imximage-8mp-lpddr4.cfg | 11 + .../lpddr4_timing_rsb3720a1_4G.c | 1848 ++++++++++++++++ .../lpddr4_timing_rsb3720a1_6G.c | 1875 +++++++++++++++++ board/advantech/imx8mp_rsb3720a1/spl.c | 263 +++ configs/imx8mp_rsb3720a1_4G_defconfig | 163 ++ configs/imx8mp_rsb3720a1_6G_defconfig | 164 ++ include/configs/imx8mp_rsb3720.h | 233 ++ 15 files changed, 5761 insertions(+) create mode 100644 arch/arm/dts/imx8mp-rsb3720-a1-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mp-rsb3720-a1.dts create mode 100644 board/advantech/imx8mp_rsb3720a1/Kconfig create mode 100644 board/advantech/imx8mp_rsb3720a1/MAINTAINERS create mode 100644 board/advantech/imx8mp_rsb3720a1/Makefile create mode 100644 board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c create mode 100644 board/advantech/imx8mp_rsb3720a1/imximage-8mp-lpddr4.cfg create mode 100644 board/advantech/imx8mp_rsb3720a1/lpddr4_timing_rsb3720a1_4G.c create mode 100644 board/advantech/imx8mp_rsb3720a1/lpddr4_timing_rsb3720a1_6G.c create mode 100644 board/advantech/imx8mp_rsb3720a1/spl.c create mode 100644 configs/imx8mp_rsb3720a1_4G_defconfig create mode 100644 configs/imx8mp_rsb3720a1_6G_defconfig create mode 100644 include/configs/imx8mp_rsb3720.h -- 2.33.0