From: Binbin Zhou <zhoubinbin@loongson.cn>
To: Binbin Zhou <zhoubb.aaron@gmail.com>,
Huacai Chen <chenhuacai@loongson.cn>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org
Cc: Huacai Chen <chenhuacai@kernel.org>,
loongson-kernel@lists.loongnix.cn,
Xuerui Wang <kernel@xen0n.name>,
loongarch@lists.linux.dev, Jiaxun Yang <jiaxun.yang@flygoat.com>,
Hongliang Wang <wanghongliang@loongson.cn>,
Binbin Zhou <zhoubinbin@loongson.cn>
Subject: [PATCH 0/6] LoongArch: Add built-in dtb support
Date: Fri, 16 Jun 2023 14:10:37 +0800 [thread overview]
Message-ID: <cover.1686882123.git.zhoubinbin@loongson.cn> (raw)
Hi all:
This patchset introduces LoongArch's built-in dtb support.
As we know, the Loongson-2K family supports DT. Inevitably, some systems
do not provide a useful device tree to the kernel at boot time. Chasing
around bootloaders for these systems is a headache, so we just keep a
device tree table in the kernel, keyed by the dts filename, that
contains the relevant DTBs.
Thanks.
Binbin Zhou (6):
dt-bindings: loongarch: Add CPU bindings for LoongArch
dt-bindings: loongarch: Add Loongson SoC boards compatibles
LoongArch: Allow device trees to be built into the kernel
LoongArch: DeviceTree for Loongson-2K0500
LoongArch: DeviceTree for Loongson-2K1000
LoongArch: DeviceTree for Loongson-2K2000
.../devicetree/bindings/loongarch/boards.yaml | 31 +
.../devicetree/bindings/loongarch/cpus.yaml | 65 ++
arch/loongarch/Kconfig | 16 +
arch/loongarch/Makefile | 10 +-
arch/loongarch/boot/dts/Makefile | 7 +-
arch/loongarch/boot/dts/loongson_2k0500.dts | 311 ++++++++++
arch/loongarch/boot/dts/loongson_2k1000.dts | 565 ++++++++++++++++++
arch/loongarch/boot/dts/loongson_2k2000.dts | 417 +++++++++++++
arch/loongarch/kernel/setup.c | 9 +-
9 files changed, 1425 insertions(+), 6 deletions(-)
create mode 100644 Documentation/devicetree/bindings/loongarch/boards.yaml
create mode 100644 Documentation/devicetree/bindings/loongarch/cpus.yaml
create mode 100644 arch/loongarch/boot/dts/loongson_2k0500.dts
create mode 100644 arch/loongarch/boot/dts/loongson_2k1000.dts
create mode 100644 arch/loongarch/boot/dts/loongson_2k2000.dts
--
2.39.3
next reply other threads:[~2023-06-16 6:10 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-16 6:10 Binbin Zhou [this message]
2023-06-16 6:10 ` [PATCH 1/6] dt-bindings: loongarch: Add CPU bindings for LoongArch Binbin Zhou
2023-06-16 9:34 ` Conor Dooley
2023-06-16 9:47 ` Krzysztof Kozlowski
2023-06-17 6:29 ` Binbin Zhou
2023-06-17 9:44 ` Conor Dooley
2023-06-16 9:51 ` Krzysztof Kozlowski
2023-06-17 6:31 ` Binbin Zhou
2023-06-17 7:15 ` Krzysztof Kozlowski
2023-06-16 6:10 ` [PATCH 2/6] dt-bindings: loongarch: Add Loongson SoC boards compatibles Binbin Zhou
2023-06-16 9:36 ` Conor Dooley
2023-06-16 6:10 ` [PATCH 3/6] LoongArch: Allow device trees to be built into the kernel Binbin Zhou
2023-06-16 6:10 ` [PATCH 4/6] LoongArch: DeviceTree for Loongson-2K0500 Binbin Zhou
2023-06-16 9:58 ` Krzysztof Kozlowski
2023-06-16 10:04 ` Krzysztof Kozlowski
2023-06-16 6:11 ` [PATCH 5/6] LoongArch: DeviceTree for Loongson-2K1000 Binbin Zhou
2023-06-16 9:48 ` Conor Dooley
2023-06-17 6:53 ` Binbin Zhou
2023-06-17 7:23 ` Krzysztof Kozlowski
2023-06-16 9:59 ` Krzysztof Kozlowski
2023-06-17 6:59 ` Binbin Zhou
2023-06-17 7:12 ` Krzysztof Kozlowski
2023-06-16 6:11 ` [PATCH 6/6] LoongArch: DeviceTree for Loongson-2K2000 Binbin Zhou
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=cover.1686882123.git.zhoubinbin@loongson.cn \
--to=zhoubinbin@loongson.cn \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jiaxun.yang@flygoat.com \
--cc=kernel@xen0n.name \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=loongarch@lists.linux.dev \
--cc=loongson-kernel@lists.loongnix.cn \
--cc=robh+dt@kernel.org \
--cc=wanghongliang@loongson.cn \
--cc=zhoubb.aaron@gmail.com \
/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