From: "Andreas Färber" <afaerber@suse.de>
To: linux-rockchip@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, "Andreas Färber" <afaerber@suse.de>,
devicetree@vger.kernel.org, "Rob Herring" <robh+dt@kernel.org>,
"Marc Zyngier" <maz@kernel.org>
Subject: [PATCH 0/9] arm64: dts: rockchip: Initial Toybrick TB-RK1808M0 support
Date: Mon, 17 May 2021 01:05:42 +0200 [thread overview]
Message-ID: <20210516230551.12469-1-afaerber@suse.de> (raw)
Hello Heiko et al.,
It seems linux-rockchip list only saw two RK1808 patches for ASoC in 2019.
Following up on a SUSE Hackweek 20 project of mine, here's some patches that
allow me to start booting into the TB-RK1808M0 mPCIe card's eMMC.
Tested using its USB adapter, which allows to connect a serial cable and a
USB storage device that I load kernel+dtb from. It has a reset button, and
Ctrl+C allows to enter a U-Boot prompt (without EBBR/UEFI support though).
Patches are based on the shipping toybrick.dtb file.
http://t.rock-chips.com/en/wiki.php?mod=view&id=110 gives instructions for
compiling sources, but no source download or link is actually provided.
I encountered a hang: earlycon revealed it being related to KVM and vGIC.
Disabling KVM in Kconfig works around it, as does removing the vGIC irq in DT.
I've already tried low and high for the vGIC interrupt, so no clue what might
cause it. On an mPCIe card with 1 GiB of RAM I figured KVM is not going to be
a major use case, so if we find no other solution, we could just delete the
interrupts property in its .dts, as demonstrated here.
The TB-96AIoT 96Boards SoM would be another RK1808 platform someone might
test these patches on. For the TB-RK1808S0 USB stick there's at least no
documented way to access a serial console.
Have a lot of fun!
Cheers,
Andreas
Cc: devicetree@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Andreas Färber (9):
dt-bindings: arm: rockchip: Add Rockchip RK1808 and TB-RK1808M0
dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK1808
arm64: dts: rockchip: Prepare Rockchip RK1808
arm64: dts: rockchip: Add Rockchip TB-RK1808M0
arm64: dts: rockchip: rk1808k-toybrick-m0: Suppress vGIC interrupt
dt-bindings: mmc: rockchip-dw-mshc: Add Rockchip RK1808
arm64: dts: rockchip: rk1808: Prepare eMMC node
arm64: dts: rockchip: rk1808k-toybrick-m0: Enable eMMC
arm64: dts: rockchip: rk1808: Add CPU operating points
.../devicetree/bindings/arm/rockchip.yaml | 5 +
.../bindings/mmc/rockchip-dw-mshc.yaml | 1 +
.../bindings/serial/snps-dw-apb-uart.yaml | 1 +
arch/arm64/boot/dts/rockchip/Makefile | 1 +
arch/arm64/boot/dts/rockchip/rk1808.dtsi | 276 ++++++++++++++++++
.../boot/dts/rockchip/rk1808k-toybrick-m0.dts | 97 ++++++
6 files changed, 381 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk1808.dtsi
create mode 100644 arch/arm64/boot/dts/rockchip/rk1808k-toybrick-m0.dts
--
2.31.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2021-05-16 23:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-16 23:05 Andreas Färber [this message]
2021-05-16 23:05 ` [PATCH 1/9] dt-bindings: arm: rockchip: Add Rockchip RK1808 and TB-RK1808M0 Andreas Färber
2021-05-18 14:15 ` Rob Herring
2021-05-16 23:05 ` [PATCH 2/9] dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK1808 Andreas Färber
2021-05-18 14:16 ` Rob Herring
2021-05-16 23:05 ` [PATCH 3/9] arm64: dts: rockchip: Prepare " Andreas Färber
2021-05-17 1:29 ` Johan Jonker
2021-05-17 11:03 ` Andreas Färber
2021-05-17 9:21 ` Marc Zyngier
2021-05-24 13:32 ` Andreas Färber
2021-05-24 15:21 ` Marc Zyngier
2021-05-24 21:13 ` Heiko Stübner
2021-05-16 23:05 ` [PATCH 4/9] arm64: dts: rockchip: Add Rockchip TB-RK1808M0 Andreas Färber
2021-05-16 23:05 ` [PATCH RFC 5/9] arm64: dts: rockchip: rk1808k-toybrick-m0: Suppress vGIC interrupt Andreas Färber
2021-05-17 9:29 ` Marc Zyngier
2021-05-24 14:40 ` Andreas Färber
2021-05-24 15:46 ` Marc Zyngier
2021-05-16 23:05 ` [PATCH 6/9] dt-bindings: mmc: rockchip-dw-mshc: Add Rockchip RK1808 Andreas Färber
2021-05-18 14:16 ` Rob Herring
2021-05-24 14:10 ` Ulf Hansson
2021-05-16 23:05 ` [PATCH 7/9] arm64: dts: rockchip: rk1808: Prepare eMMC node Andreas Färber
2021-05-16 23:05 ` [PATCH 8/9] arm64: dts: rockchip: rk1808k-toybrick-m0: Enable eMMC Andreas Färber
2021-05-16 23:05 ` [PATCH 9/9] arm64: dts: rockchip: rk1808: Add CPU operating points Andreas Färber
2021-05-17 9:02 ` [PATCH 0/9] arm64: dts: rockchip: Initial Toybrick TB-RK1808M0 support Marc Zyngier
2021-05-17 12:22 ` Andreas Färber
2021-05-17 13:42 ` Marc Zyngier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210516230551.12469-1-afaerber@suse.de \
--to=afaerber@suse.de \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maz@kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).