From patchwork Wed Aug 14 15:50:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Zi X-Patchwork-Id: 13763670 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 B736EC52D7B for ; Wed, 14 Aug 2024 15:53:41 +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: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:In-Reply-To:References:List-Owner; bh=Q26fMYtfCUFAhd5/3IFiFQJ0rQJODAHTZiPTRmvMCbQ=; b=AdvOF0Ar/SN5j6SYHOue5JdT4w cidW27vFtiWCqJ4jlSWSNuJlDwCgsDKI9zC5UZX3VZS155w+v750CvrJW8vxJ7TUqm3UU4s9Bd02f A6XpNps0vnvCwFqQGgZJA9qATHNViM4W7fhDVX2VoP33k81W23ddQEFl0Cf9CSWlZMP0D1BLUJU3u Aswh5bhDz1wTWsxx0wGwHmHZL08T603biVtx+0A56sEZ+zY+2e6Ce/lBOXrtxONEndGb3BWNW23iU 6iJ29QprHhWRFoM1NHoydnuNGkyI9qbjLscAQ17mECYB0Fc/cYNvodyDa4/br8j1CLzBQnfLXGa7H Oa8Vi2rw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1seGJY-00000007YE1-0d2l; Wed, 14 Aug 2024 15:53:32 +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 1seGIt-00000007Y2f-3Dww; Wed, 14 Aug 2024 15:52:53 +0000 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8FD7A41ABE; Wed, 14 Aug 2024 17:52:46 +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 WLbjJhDSXSZ9; Wed, 14 Aug 2024 17:52:45 +0200 (CEST) From: Yao Zi DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723650765; bh=1qewHqlWASIAhVOdfGLDw/liKY4yxKBTes4LCOBtdAw=; h=From:To:Cc:Subject:Date; b=OJAMElNXqVlglRAYXLuq0LVQdY6/GlLJY/w3rMG9FTqNoHZCcuJkXuQEAwRMn2913 cmci5SF/O25pSe6TByle42/sYeLD7lQidNBvp6Oum0JgOnyvNxC2Z+5nXw/BnK0aqR imn5JouvITG8x6EqrVcmAtFVyKCbvnhp86z+7qpxCOrLklSVXZbap9TNSzkKhucVMR lN/9zZPCUbdDenw47wodAG13Y8MXeVzzHnSjvs5Pq1AaQeIBfvEX/GPvad2X0gTekm 2CXozr8QPDPH/hOiEjqPNasQyttAT+HBVSMZtl8C4gMb6N0/k2Wp49tyu+WmGh+guL no/uUklLRfXnw== 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: Celeste Liu , 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 v3 0/4] Add initial support for Rockchip RK3528 SoC Date: Wed, 14 Aug 2024 15:50:10 +0000 Message-ID: <20240814155014.18097-1-ziyao@disroot.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240814_085252_244944_5D3014B0 X-CRM114-Status: GOOD ( 11.34 ) 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 Rockchip RK3528 is a quad-core ARM Cortex-A53 SoC designed for multimedia application. This series add a basic device tree with CPU, interrupts and UART nodes for it and is able to boot into a kernel with only UART console. Has been tested on Radxa E20C board[1] with vendor U-boot, successfully booted into initramfs with this log[2]. [1]: https://docs.radxa.com/en/e/e20c [2]: https://gist.github.com/ziyao233/b74523a1e3e8bf36286a572e008ca319 Changed from v2: - fix fixed-clock nodename https://lore.kernel.org/all/20240811140725.64866-1-ziyao@disroot.org/ Changed from v1: - fix stdout-path - style improvements https://lore.kernel.org/all/20240803125510.4699-2-ziyao@disroot.org/ Yao Zi (4): dt-bindings: serial: snps-dw-apb-uart: Document Rockchip RK3528 dt-bindings: arm: rockchip: Add Radxa E20C board arm64: dts: rockchip: Add base DT for rk3528 SoC arm64: dts: rockchip: Add Radxa e20c board .../devicetree/bindings/arm/rockchip.yaml | 5 + .../bindings/serial/snps-dw-apb-uart.yaml | 1 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3528-radxa-e20c.dts | 22 +++ arch/arm64/boot/dts/rockchip/rk3528.dtsi | 182 ++++++++++++++++++ 5 files changed, 211 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3528.dtsi