From: Aleksander Jan Bajkowski <olek2@wp.pl>
To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
neil.armstrong@linaro.org, heiko@sntech.de,
kever.yang@rock-chips.com, mani@kernel.org,
tsbogend@alpha.franken.de, john@phrozen.org,
masahiroy@kernel.org, olek2@wp.pl, devicetree@vger.kernel.org,
linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] mips: lantiq: add British Telecom Home Hub 5A dts
Date: Wed, 13 Aug 2025 16:21:33 +0200 [thread overview]
Message-ID: <20250813142917.2053814-3-olek2@wp.pl> (raw)
In-Reply-To: <20250813142917.2053814-1-olek2@wp.pl>
This patch adds minimal dts for BT Home Hub 5A. The provided dts
allows to boot the initramfs image. Nodes for other peripherals
inside the SoC will be added in the future.
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
arch/mips/boot/dts/lantiq/Makefile | 1 +
arch/mips/boot/dts/lantiq/xrx200.dtsi | 104 ++++++++++++++++++
.../boot/dts/lantiq/xrx200_bt_homehub-v5a.dts | 17 +++
arch/mips/lantiq/Kconfig | 10 ++
4 files changed, 132 insertions(+)
create mode 100644 arch/mips/boot/dts/lantiq/xrx200.dtsi
create mode 100644 arch/mips/boot/dts/lantiq/xrx200_bt_homehub-v5a.dts
diff --git a/arch/mips/boot/dts/lantiq/Makefile b/arch/mips/boot/dts/lantiq/Makefile
index d8531b4653c0..9b43a7518bdc 100644
--- a/arch/mips/boot/dts/lantiq/Makefile
+++ b/arch/mips/boot/dts/lantiq/Makefile
@@ -1,2 +1,3 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_DT_EASY50712) += danube_easy50712.dtb
+dtb-$(CONFIG_DT_HH5A) += xrx200_bt_homehub-v5a.dtb
diff --git a/arch/mips/boot/dts/lantiq/xrx200.dtsi b/arch/mips/boot/dts/lantiq/xrx200.dtsi
new file mode 100644
index 000000000000..7e7cb6264e6f
--- /dev/null
+++ b/arch/mips/boot/dts/lantiq/xrx200.dtsi
@@ -0,0 +1,104 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
+
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "lantiq,vr9";
+
+ aliases {
+ serial0 = &asc1;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ cpu@0 {
+ compatible = "mips,mips34Kc";
+ reg = <0>;
+ };
+ };
+
+ cpuintc: cpuintc {
+ compatible = "mti,cpu-interrupt-controller";
+
+ #address-cells = <0>;
+ #interrupt-cells = <1>;
+
+ interrupt-controller;
+ };
+
+ localbus@1f800000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "simple-bus";
+ reg = <0x1f800000 0x800000>;
+ ranges = <0x0 0x1f800000 0x7fffff>;
+
+ icu0: icu@80200 {
+ #interrupt-cells = <1>;
+ interrupt-controller;
+ interrupt-parent = <&cpuintc>;
+ interrupts = <2>, <3>, <4>, <5>, <6>;
+ compatible = "lantiq,icu";
+ reg = <0x80200 0xc8 /* icu0 */
+ 0x80300 0xc8>; /* icu1 */
+ };
+ };
+
+ localbus@1f000000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "simple-bus";
+ reg = <0x1f000000 0x800000>;
+ ranges = <0x0 0x1f000000 0x7fffff>;
+
+ pmu@102000 {
+ compatible = "lantiq,pmu-xway";
+ reg = <0x102000 0x1000>;
+ };
+
+ cgu@103000 {
+ compatible = "lantiq,cgu-xway";
+ reg = <0x103000 0x1000>;
+ };
+
+ rcu0: rcu@203000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
+ reg = <0x203000 0x100>;
+ ranges = <0x0 0x203000 0x100>;
+ big-endian;
+ };
+ };
+
+ localbus@10000000 {
+ compatible = "lantiq,xrx200-fpi", "simple-bus";
+ ranges = <0x0 0x10000000 0xf000000>;
+ reg = <0x1f400000 0x1000>,
+ <0x10000000 0xf000000>;
+ regmap = <&rcu0>;
+ offset-endianness = <0x4c>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ asc1: serial@e100c00 {
+ compatible = "lantiq,asc";
+ reg = <0xe100c00 0x400>;
+ interrupt-parent = <&icu0>;
+ interrupts = <112 113 114>;
+ };
+
+ ebu@e105300 {
+ compatible = "lantiq,ebu-xway";
+ reg = <0xe105300 0x100>;
+ };
+ };
+};
diff --git a/arch/mips/boot/dts/lantiq/xrx200_bt_homehub-v5a.dts b/arch/mips/boot/dts/lantiq/xrx200_bt_homehub-v5a.dts
new file mode 100644
index 000000000000..ce1aae34adc9
--- /dev/null
+++ b/arch/mips/boot/dts/lantiq/xrx200_bt_homehub-v5a.dts
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
+
+#include "xrx200.dtsi"
+
+/ {
+ compatible = "bt,homehub-v5a", "lantiq,vr9";
+ model = "BT Home Hub 5A";
+
+ chosen {
+ bootargs = "console=ttyLTQ0,115200";
+ };
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x8000000>;
+ };
+};
diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig
index 6c6802e482c9..3376ac595b8c 100644
--- a/arch/mips/lantiq/Kconfig
+++ b/arch/mips/lantiq/Kconfig
@@ -46,6 +46,16 @@ config DT_EASY50712
bool "Easy50712"
depends on SOC_XWAY
select BUILTIN_DTB
+
+config DT_HH5A
+ bool "BT Home Hub 5A"
+ depends on SOC_XWAY
+ select BUILTIN_DTB
+ help
+ The BT Home Hub 5A is a device based on the VRX268 SoC. It has 128MB
+ of memory and 128MB of NAND flash. This kernel needs only an appended
+ initramfs to boot. It can be loaded through tftp and booted from
+ memory in the bootloader.
endchoice
config PCI_LANTIQ
--
2.47.2
next prev parent reply other threads:[~2025-08-13 14:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-13 14:21 [PATCH 0/3] mips: lantiq: add British Telecom Home Hub 5A dts Aleksander Jan Bajkowski
2025-08-13 14:21 ` [PATCH 1/3] dt-bindings: vendor-prefixes: add British Telecom Aleksander Jan Bajkowski
2025-08-13 16:58 ` Conor Dooley
2025-08-13 14:21 ` Aleksander Jan Bajkowski [this message]
2025-08-13 14:21 ` [PATCH 3/3] dt-bindings: mips: lantiq: Add Lantiq platform binding Aleksander Jan Bajkowski
2025-08-13 16:56 ` Conor Dooley
2025-08-14 16:31 ` Aleksander Jan Bajkowski
2025-08-14 18:38 ` Conor Dooley
2025-08-13 16:57 ` [PATCH 0/3] mips: lantiq: add British Telecom Home Hub 5A dts Conor Dooley
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=20250813142917.2053814-3-olek2@wp.pl \
--to=olek2@wp.pl \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=john@phrozen.org \
--cc=kever.yang@rock-chips.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=mani@kernel.org \
--cc=masahiroy@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=tsbogend@alpha.franken.de \
/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