From patchwork Sat Aug 3 12:55:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Zi X-Patchwork-Id: 13752379 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 857E2C49EA1 for ; Sat, 3 Aug 2024 12:59:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dj4rb3/Fgzx1g2QOK7l6FBX60VH0TwhVmsc6GeReFtw=; b=CkaA005WK8i9ySEdJKcVHQZl1d FoNWI1i5v2+lqwb8ojCnwlBeJkSSHbxbn3Szew61LZ2bAEUv9yQOaE1f6Dg47MImU6UmF3vDRCpbe uPabNBJzF+aBDDrikDXnttLJERsArYhhllfLlh4dLyAudwD6WXXTJQFhz0ZzCCi6bVOBTsOgJFYnv P/E9t0kl7WYjscgNykcGoKRrJ+g1PL8P5aqwbWdB9gi9bQ6aSNnoa/Z3+UzzsnKSHoC8HOeH7XJqa x6r8Yeb0KEzHWu26rygVo7xUJir+uwnru853XsBLVEmewj3Zee4fYeR6M1nOYAlPUquXQRh+MooMr M/YPQS4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1saELU-0000000BRI3-2vSF; Sat, 03 Aug 2024 12:58:52 +0000 Received: from layka.disroot.org ([178.21.23.139]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1saEJQ-0000000BQi1-01o6; Sat, 03 Aug 2024 12:56:45 +0000 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A43DB41543; Sat, 3 Aug 2024 14:56:42 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2rQ8-3FMsvEv; Sat, 3 Aug 2024 14:56:41 +0200 (CEST) From: Yao Zi DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1722689801; bh=+39DlTn+1NPKqj39xALS4CS3Z56Hh+NbpNox+jk++Ds=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=eIF/28/naPF063/OA0n2adU/yOVsmv/FFohGj3I4JN3d0opG4CyFEPkpLA7/8uKrw kNZXWxzFJVXvBpIXn5o3rPGTb68HIe47V7EXhL0VeEFCY76+CNgjDtKQK/yVZ1locv Dt+FpxD4G1Am16eMCNhIdq9sIdxmNdlUUc/3q6i8bx2WP0OVAQRQtDzDeuZNzjwxqM 1qQVRwT9f+DtSXIib0JGsg6+JahRZ1SYM5SCTgAyUJqNUNZgQ8Y1WGO/leObpIg7EX oIduQJgkcvdTBFg47ZcvpNlETh2f2x1+whp/liCQvq5RVTB+gmcs7zL5w+r+W1DQtH tlV9Fj/6lO3Ww== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Greg Kroah-Hartman , Jiri Slaby , Chris Morgan , Jonas Karlman , Tim Lunn , Andy Yan , Muhammed Efe Cetin , Jagan Teki , Dragan Simic , Ondrej Jirman Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Yao Zi Subject: [PATCH 4/4] arm64: dts: rockchip: Add Radxa e20c board Date: Sat, 3 Aug 2024 12:55:11 +0000 Message-ID: <20240803125510.4699-6-ziyao@disroot.org> In-Reply-To: <20240803125510.4699-2-ziyao@disroot.org> References: <20240803125510.4699-2-ziyao@disroot.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240803_055644_333642_0915F9C7 X-CRM114-Status: GOOD ( 13.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add board-level device tree for Radxa e20c board[1]. This basic implementation supports boot into a kernel with only UART console. Other features will be added later. [1]: https://docs.radxa.com/en/e/e20c Signed-off-by: Yao Zi --- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3528-radxa-e20c.dts | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index fda1b980eb4b..ecdd767d0323 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -74,6 +74,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399pro-rock-pi-n10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-radxa-e20c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-anbernic-rg-arc-d.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-anbernic-rg-arc-s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-anbernic-rg353p.dtb diff --git a/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts b/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts new file mode 100644 index 000000000000..534bd47e9971 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2020 Rockchip Electronics Co., Ltd + * Copyright (c) 2024 Radxa Limited + * Copyright (c) 2024 Yao Zi + */ + +/dts-v1/; +#include "rk3528.dtsi" + +/ { + model = "Radxa E20C"; + compatible = "radxa,e20c", "rockchip,rk3528"; + + chosen { + stdout-path = "serial5:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +};