Message ID | 20230106010155.26868-1-andre.przywara@arm.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp574205wrt; Thu, 5 Jan 2023 17:07:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXsYm+Cb2g6brWhCOhlPAsyqBPjoeqOPFsFTkh8r5PZzW8k+0YEpk8IAxccWzX0LmfNzbGvQ X-Received: by 2002:a05:6402:a55:b0:475:9918:37ce with SMTP id bt21-20020a0564020a5500b00475991837cemr46018135edb.13.1672967258911; Thu, 05 Jan 2023 17:07:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672967258; cv=none; d=google.com; s=arc-20160816; b=v2z7yEKfTb77HXDZhi/uXuZMh34vJ/dpP6urFfVpQsnxsbo/CFRms0sZgZP2n6/pK8 0I9CjwvFAMov5NJYp/mj8+wMLQsqenLENRzOu7ATqAGmZqPRVtFEirjIY5noLagWwW12 1eIew4N6eNTBl84H9YgRPVxXcvV5mG6r10x/jxVyR+iJAJ8/JQuXVj2qrG8vmHNvVbC3 FlbGB56zCn9opIhkm9qK9Vk448vbJFH+OsQLm8P8/ZmcrK4/L5PRvGMGBUaVQDxgo9u8 RPAFZ2v3o4V5efAnmMhz8BHAatTAeG0XufGFGyBA/M08xBK+lcMZXuVjGoYsVoII7a/S jtfw== 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; bh=I8OE9WlVTh+3ktcg7B0kasA8Of2aB6vdOMb4AgphVMA=; b=M1IqgdutjZ9nSlpUlREKGZWnmUJN6DZTr+oTQdYUWL/iMAbzuOlAhJENZIT4FDtSFv wFCZemyC2o9uSiA09UAlDsH/aqq0LEzeWs0LOfBGuBDPn59LI82S22Vc75pWAAH/d1oj srpbqa0dYuRwMkXcoyh2A+gK3rxtaLDZ5ReBO1FSZ8p8J2XelSo6GkGXCOkNhgTDoYmC THTB248SPezuQgG0kzmNO+X6Ppuhsk0F4LA0aGCE6HOuQHPiIS6AEfF5NlHBzorCRvB7 HotHq0C62goEy865xkCDfGNFWDWMe0B5PvtTFOFsXk0ShcgeDlv1cIyu2JIUuavL1OE8 UsLQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w24-20020aa7d298000000b004852eff77a2si25016187edq.604.2023.01.05.17.07.15; Thu, 05 Jan 2023 17:07:38 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236463AbjAFBDz (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Thu, 5 Jan 2023 20:03:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236385AbjAFBDu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Jan 2023 20:03:50 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 16BF654D9E; Thu, 5 Jan 2023 17:03:49 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8589811FB; Thu, 5 Jan 2023 17:04:30 -0800 (PST) Received: from slackpad.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4D3243F23F; Thu, 5 Jan 2023 17:03:46 -0800 (PST) From: Andre Przywara <andre.przywara@arm.com> To: Samuel Holland <samuel@sholland.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Chen-Yu Tsai <wens@csie.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Icenowy Zheng <uwu@icenowy.me>, =?utf-8?b?QW5kcsOhcyBTemVtesO2?= <szemzo.andras@gmail.com>, Fabien Poussin <fabien.poussin@gmail.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] ARM: dts: sunxi: Add MangoPi MQ-R board support Date: Fri, 6 Jan 2023 01:01:51 +0000 Message-Id: <20230106010155.26868-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.35.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754233316188498781?= X-GMAIL-MSGID: =?utf-8?q?1754233316188498781?= |
Series |
ARM: dts: sunxi: Add MangoPi MQ-R board support
|
|
Message
Andre Przywara
Jan. 6, 2023, 1:01 a.m. UTC
The MangoPi MQ-R is a small SBC with the Allwinner T113-s3 SoC. That is a very close relative to the Allwinner D1/D1s SoCs, but with Arm Cortex-A7 cores, and 128 MB of SIP co-packaged DDR3 DRAM. This series introduces the missing T113-s .dtsi, which builds on top of the D1/D1s .dtsi, but adds the ARM specific peripherals, like the CPU cores, the arch timer, the GIC and the PMU. This requires to add a symlink to the RISC-V DT directory in patch 1/4, to be able to easily reference the base .dtsi from other architecture directories. After I had written most of the board .dts, I realised that the MangoPi MQ is almost the same, minus the RISC-V/ARM difference. I am a bit unsure if we should share more of the board .dts, though, as this would go cross architectures. I am open to any comments here. Please have a look! Cheers, Andre Andre Przywara (4): dts: add riscv include prefix link ARM: dts: sunxi: add Allwinner T113-s SoC .dtsi dt-bindings: arm: sunxi: document MangoPi MQ-R board name ARM: dts: sunxi: add MangoPi MQ-R board .../devicetree/bindings/arm/sunxi.yaml | 5 + arch/arm/boot/dts/Makefile | 1 + .../arm/boot/dts/sun8i-t113s-mangopi-mq-r.dts | 160 ++++++++++++++++++ arch/arm/boot/dts/sun8i-t113s.dtsi | 59 +++++++ scripts/dtc/include-prefixes/riscv | 1 + 5 files changed, 226 insertions(+) create mode 100644 arch/arm/boot/dts/sun8i-t113s-mangopi-mq-r.dts create mode 100644 arch/arm/boot/dts/sun8i-t113s.dtsi create mode 120000 scripts/dtc/include-prefixes/riscv
Comments
On Fri, 6 Jan 2023 01:01:51 +0000 Andre Przywara <andre.przywara@arm.com> wrote: > The MangoPi MQ-R is a small SBC with the Allwinner T113-s3 SoC. That is > a very close relative to the Allwinner D1/D1s SoCs, but with Arm > Cortex-A7 cores, and 128 MB of SIP co-packaged DDR3 DRAM. > > This series introduces the missing T113-s .dtsi, which builds on top of > the D1/D1s .dtsi, but adds the ARM specific peripherals, like the CPU > cores, the arch timer, the GIC and the PMU. > This requires to add a symlink to the RISC-V DT directory in patch 1/4, > to be able to easily reference the base .dtsi from other architecture > directories. First, forgot to mention that this builds on top of Samuel's D1/D1s DT series: https://lore.kernel.org/linux-arm-kernel/20221231233851.24923-1-samuel@sholland.org/ To actually boot, this also relies on the R528/T113s clock series: https://lore.kernel.org/linux-arm-kernel/20221231231429.18357-1-samuel@sholland.org/ > After I had written most of the board .dts, I realised that the > MangoPi MQ is almost the same, minus the RISC-V/ARM difference. I am a > bit unsure if we should share more of the board .dts, though, as this > would go cross architectures. I am open to any comments here. So after getting some sleep and having a look at the MangoPi website again, I realised that there is of course a D1s edition of the MQ-R as well. So shall we split this up like this: - a sunxi-mangopi-mq.dtsi, which contains all the board specific nodes - a sun20i-d1-mangopi-mq.dts, which includes that and sun20i-d1s.dtsi - a sun20i-d1-mangopi-mq-r.dts, which maybe includes sun20i-d1-mangopi-mq.dts, and just overwrites the model name? - a sun8i-t113s-mangopi-mq-r.dts, which includes sunxi-mangopi-mq.dtsi and sun8i-t113s.dtsi Let me know if this useful or more confusing. Cheers, Andre > Andre Przywara (4): > dts: add riscv include prefix link > ARM: dts: sunxi: add Allwinner T113-s SoC .dtsi > dt-bindings: arm: sunxi: document MangoPi MQ-R board name > ARM: dts: sunxi: add MangoPi MQ-R board > > .../devicetree/bindings/arm/sunxi.yaml | 5 + > arch/arm/boot/dts/Makefile | 1 + > .../arm/boot/dts/sun8i-t113s-mangopi-mq-r.dts | 160 ++++++++++++++++++ > arch/arm/boot/dts/sun8i-t113s.dtsi | 59 +++++++ > scripts/dtc/include-prefixes/riscv | 1 + > 5 files changed, 226 insertions(+) > create mode 100644 arch/arm/boot/dts/sun8i-t113s-mangopi-mq-r.dts > create mode 100644 arch/arm/boot/dts/sun8i-t113s.dtsi > create mode 120000 scripts/dtc/include-prefixes/riscv >