Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp3432864rwr; Sun, 7 May 2023 11:35:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4abNMAfiYEu0IdZQvImWUq3YJ7uNj77QZQA7MyCf0aQzCzRycD8HpngnmfwnBxU6VOLzwN X-Received: by 2002:a05:6a20:3d8f:b0:d9:2cef:949a with SMTP id s15-20020a056a203d8f00b000d92cef949amr10115831pzi.28.1683484504103; Sun, 07 May 2023 11:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683484504; cv=none; d=google.com; s=arc-20160816; b=H2ECVweO9yl9/N70liA0q68hf9ryjw01t+FPbGhiwaeGICM/vVK8AdIIZQSbyDyHCk peZy8bGlyqUlTnUAB2EmiGJJQHaNt/Pa0XaDpwOYDH/WQmYZBSULuixKuRH0Ns49QaSY a4LBFItHBqX4aNOzRMfGBIlRo9xFane1UPjXJ5Z7R9WanPJXW/3WOuSexWUm1mV5El9q pHACexGp/ACLNxYfyUKC4e7j3rqvSitSHk0XcDw0VAVRsrKGVbH0Cjnh60hdO+RaKI5F faetAir7YHs2PdcNJ62SyArw9pj7AGKiyKRq15nEsaTNYEMncD2vQBVSQnAGSPLuw0s+ 00Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+j9QGYIngODl1nu3XYhN3MBaCp0ePJW+e/aXQ0e2WsI=; b=zQsJJD+p4OOW4q6fkChp8xkvvo4vc2tEO1dF35l7gKcNgmkzcDRL8TRYcfRO4NqcDp 2QnzEC/+taXCMoSENcEfwbnuZ1tHmQRmSf0npzd/bv6kKI9LpxG4hVHlzSdCj5hah4t6 gZi5RI7yTrQoboBIUIBr9iJgEu4I7sKIH5nMdoTT4su9JbpQchCdU7yfnYIjhkS88P8n 7mQe5JCPurEC5yYmtipc5hEopdZTKHOOr+6IZH3LZdRLUSO+UHVR8K/zyOwwAP9Z7OTE MtjMOS5h+7hsIbUXrctq2mNbYZ/aft4u3XOD4BJfN88/YWwc2ic8mNaqbcbfe/i5qmxA FPeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GGfJb8xh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a6540cb000000b0051a6292309fsi6591211pgp.894.2023.05.07.11.34.51; Sun, 07 May 2023 11:35:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GGfJb8xh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230187AbjEGSeQ (ORCPT + 99 others); Sun, 7 May 2023 14:34:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjEGSeO (ORCPT ); Sun, 7 May 2023 14:34:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11CCA6E93; Sun, 7 May 2023 11:34:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9543161C65; Sun, 7 May 2023 18:34:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 691D1C433D2; Sun, 7 May 2023 18:34:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683484453; bh=6wkccwfFp70jUqmzDa70DrICPNNNF/6YSnMyCoDzYtA=; h=From:To:Cc:Subject:Date:From; b=GGfJb8xhCtbBizsSgq+L/pzFC+wkkmQpgHPMmB2mCjLgflAzd1Jz4/tmtpjbC4qVl latiE9fgxVZ0BitcJNUdSCf7T5/A4dEXi6ytz/HhYq3qlpRparmrSSccKBVMQ65UQw pQFhGKhIMe/4ubpF4kqqezODN9244vkj2GaOBU0KwswKkuiHdPZHvW6kTzJsvqSHEp 6SVC5mFuPhZfVAoHSV/mTzlEd5M61gV6cREX2WkExyYl3ioaB0vV8hYohrkBABxWK5 Kg/JWGMiaaVJ3eBqnVKpAdrOyXnUdtU98a0TOROKFJ8fvYr1rwG4uYdeLyPL9rplCo w1aiD2EpYsSHw== From: Jisheng Zhang To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Albert Ou Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Guo Ren Subject: [PATCH 0/5] Add Sipeed Lichee Pi 4A RISC-V board support Date: Mon, 8 May 2023 02:22:59 +0800 Message-Id: <20230507182304.2934-1-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sipeed's Lichee Pi 4A development board uses Lichee Module 4A core module which is powered by T-HEAD's light(a.k.a TH1520) SoC. Add minimal device tree files for the core module and the development board. Support basic uart/gpio/dmac drivers, so supports booting to a basic shell. Jisheng Zhang (5): irqchip/sifive-plic: Support T-HEAD's C910 PLIC riscv: Add the T-HEAD SoC family Kconfig option riscv: dts: add initial T-HEAD light SoC device tree riscv: dts: thead: add sipeed Lichee Pi 4A board device tree MAINTAINERS: add entry for T-HEAD RISC-V SoC .../sifive,plic-1.0.0.yaml | 4 + MAINTAINERS | 6 + arch/riscv/Kconfig.socs | 6 + arch/riscv/boot/dts/Makefile | 1 + arch/riscv/boot/dts/thead/Makefile | 2 + .../dts/thead/light-lichee-module-4a.dtsi | 38 ++ .../boot/dts/thead/light-lichee-pi-4a.dts | 32 ++ arch/riscv/boot/dts/thead/light.dtsi | 454 ++++++++++++++++++ drivers/irqchip/irq-sifive-plic.c | 1 + 9 files changed, 544 insertions(+) create mode 100644 arch/riscv/boot/dts/thead/Makefile create mode 100644 arch/riscv/boot/dts/thead/light-lichee-module-4a.dtsi create mode 100644 arch/riscv/boot/dts/thead/light-lichee-pi-4a.dts create mode 100644 arch/riscv/boot/dts/thead/light.dtsi -- 2.40.0