Skip to contentSkip to conversation

mips: lantiq: add British Telecom Home Hub 5A dts

PATCH In review Aleksander Jan Bajkowski 2 participants 9 messages Aug 13, 2025 – Aug 14, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover mips: lantiq: add British Telecom Home Hub 5A dts

This series adds a device tree and bindings for the BT Home Hub 5A router. It is based on the Lantiq VRX268 SoC. It has 128 MB of RAM and 128 MB of NAND memory. At the moment, only the peripherals necessary to run the initramfs image have been added. The remaining peripherals will be added later. Some of them do not have upstream drivers. This is one of the most popular Lantiq-based routers within the OpenWRT community.

Aleksander Jan Bajkowski (3):
dt-bindings: vendor-prefixes: add British Telecom
mips: lantiq: add British Telecom Home Hub 5A dts
dt-bindings: mips: lantiq: Add Lantiq platform binding

 .../devicetree/bindings/mips/lantiq/soc.yaml  |  60 ++++++++++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 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 ++
 6 files changed, 194 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mips/lantiq/soc.yaml
 create mode 100644 arch/mips/boot/dts/lantiq/xrx200.dtsi
 create mode 100644 arch/mips/boot/dts/lantiq/xrx200_bt_homehub-v5a.dts
Signature · 1 line
2.47.2
#1 lore raw

PATCH 1/3 dt-bindings: vendor-prefixes: add British Telecom

British Telecom is a telecommunications operator. It provides various home routers popular among OpenWRT enthusiasts.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 77160cd47f54..e91879137e43 100644
@@ -243,6 +243,8 @@ patternProperties:
     description: Shanghai Broadmobi Communication Technology Co.,Ltd.
   "^bsh,.*":
     description: BSH Hausgeraete GmbH
+  "^bt,.*":
+    description: British Telecom
   "^bticino,.*":
     description: Bticino International
   "^buffalo,.*":
Signature · 1 line
2.47.2
Acked-by on v1 1/3
#2 lore raw

Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add British Telecom

Quoted 5 lines · Aleksander Jan Bajkowski

British Telecom is a telecommunications operator. It provides various home routers popular among OpenWRT enthusiasts.

The blank line should be before the Link, not between Link and signoff FWIW.
Otherwise,

Quoted 20 lines
---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 77160cd47f54..e91879137e43 100644
@@ -243,6 +243,8 @@ patternProperties:
     description: Shanghai Broadmobi Communication Technology Co.,Ltd.
   "^bsh,.*":
     description: BSH Hausgeraete GmbH
+  "^bt,.*":
+    description: British Telecom
   "^bticino,.*":
     description: Bticino International
   "^buffalo,.*":
Signature · 1 line
2.47.2
#3 lore raw

PATCH 2/3 mips: lantiq: add British Telecom Home Hub 5A dts

In reply to Aleksander Jan Bajkowski

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.

---
 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
arch/mips/boot/dts/lantiq/Makefile +1 -0
index d8531b4653c0..9b43a7518bdc 100644
@@ -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
arch/mips/boot/dts/lantiq/xrx200.dtsi new file +104 -0

104 lines not on this page · raw message

arch/mips/boot/dts/lantiq/xrx200_bt_homehub-v5a.dts new file +17 -0
new file mode 100644
index 000000000000..ce1aae34adc9
@@ -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>;
+	};
+};
arch/mips/lantiq/Kconfig +10 -0
index 6c6802e482c9..3376ac595b8c 100644
@@ -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
Signature · 1 line
2.47.2
#4 lore raw

PATCH 3/3 dt-bindings: mips: lantiq: Add Lantiq platform binding

In reply to Aleksander Jan Bajkowski

Document the top-level device tree binding for Lantiq MIPS-based SoCs

---
 .../devicetree/bindings/mips/lantiq/soc.yaml  | 60 +++++++++++++++++++
 1 file changed, 60 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mips/lantiq/soc.yaml
Documentation/devicetree/bindings/mips/lantiq/soc.yaml new file +60 -0
new file mode 100644
index 000000000000..e1708cd9b07e
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mips/lantiq/soc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Lantiq SoC based Platform
+
+maintainers:
+  - Aleksander Jan Bajkowski <[email protected]>
+
+description:
+  Devices with a Lantiq CPU shall have the following properties.
+
+properties:
+  $nodename:
+    const: "/"
+  compatible:
+    oneOf:
+      - description: Boards with Lantiq Amazon-SE SoC
+        items:
+          - const: lantiq,ase
+
+      - description: Boards with Lantiq Danube SoC
+        items:
+          - const: lantiq,danube
+
+      - description: Boards with Lantiq Falcon SoC
+        items:
+          - const: lantiq,falcon
+
+      - description: Boards with Lantiq Twinpass SoC
+        items:
+          - const: lantiq,twinpass
+
+      - description: Boards with Lantiq ARX100 SoC
+        items:
+          - const: lantiq,ar9
+
+      - description: Boards with Lantiq GRX100 SoC
+        items:
+          - const: lantiq,gr9
+
+      - description: Boards with Lantiq xRX200 SoC
+        items:
+          - enum:
+              - bt,homehub-v5a
+          - const: lantiq,vr9
+
+      - description: Boards with Lantiq xRX300 SoC
+        items:
+          - const: lantiq,ar10
+
+      - description: Boards with Lantiq xRX330 SoC
+        items:
+          - const: lantiq,grx390
+
+additionalProperties: true
+
+...
Signature · 1 line
2.47.2
#5 lore raw

Re: [PATCH 3/3] dt-bindings: mips: lantiq: Add Lantiq platform binding

Quoted 26 lines · Aleksander Jan Bajkowski

Document the top-level device tree binding for Lantiq MIPS-based SoCs

---
 .../devicetree/bindings/mips/lantiq/soc.yaml  | 60 +++++++++++++++++++
 1 file changed, 60 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mips/lantiq/soc.yaml
Documentation/devicetree/bindings/mips/lantiq/soc.yaml new file +12 -0
new file mode 100644
index 000000000000..e1708cd9b07e
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mips/lantiq/soc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Lantiq SoC based Platform
+
+maintainers:
+  - Aleksander Jan Bajkowski <[email protected]>
+
+description:

Documentation/devicetree/bindings/mips/lantiq/soc.yaml line 22

Quoted 10 lines
Documentation/devicetree/bindings/mips/lantiq/soc.yaml new file +10 -0
+  Devices with a Lantiq CPU shall have the following properties.
+
+properties:
+  $nodename:
+    const: "/"
+  compatible:
+    oneOf:
+      - description: Boards with Lantiq Amazon-SE SoC
+        items:
+          - const: lantiq,ase

Half these entries you have added say "boards" but there are no boards in them at all. Where are the boards? Only the homehub entry appears to be complete.

Cheers,
Conor.

Quoted 41 lines
Documentation/devicetree/bindings/mips/lantiq/soc.yaml new file +38 -0
+
+      - description: Boards with Lantiq Danube SoC
+        items:
+          - const: lantiq,danube
+
+      - description: Boards with Lantiq Falcon SoC
+        items:
+          - const: lantiq,falcon
+
+      - description: Boards with Lantiq Twinpass SoC
+        items:
+          - const: lantiq,twinpass
+
+      - description: Boards with Lantiq ARX100 SoC
+        items:
+          - const: lantiq,ar9
+
+      - description: Boards with Lantiq GRX100 SoC
+        items:
+          - const: lantiq,gr9
+
+      - description: Boards with Lantiq xRX200 SoC
+        items:
+          - enum:
+              - bt,homehub-v5a
+          - const: lantiq,vr9
+
+      - description: Boards with Lantiq xRX300 SoC
+        items:
+          - const: lantiq,ar10
+
+      - description: Boards with Lantiq xRX330 SoC
+        items:
+          - const: lantiq,grx390
+
+additionalProperties: true
+
+...
Signature · 1 line
2.47.2
#6 lore raw

Re: [PATCH 3/3] dt-bindings: mips: lantiq: Add Lantiq platform binding

Hi Conor,

Quoted 42 lines · Conor Dooley
Quoted 26 lines · Aleksander Jan Bajkowski

Document the top-level device tree binding for Lantiq MIPS-based SoCs

---
  .../devicetree/bindings/mips/lantiq/soc.yaml  | 60 +++++++++++++++++++
  1 file changed, 60 insertions(+)

create mode 100644 Documentation/devicetree/bindings/mips/lantiq/soc.yaml

Documentation/devicetree/bindings/mips/lantiq/soc.yaml new file +12 -0
new file mode 100644
index 000000000000..e1708cd9b07e
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mips/lantiq/soc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Lantiq SoC based Platform
+
+maintainers:
+  - Aleksander Jan Bajkowski <[email protected]>
+
+description:

Documentation/devicetree/bindings/mips/lantiq/soc.yaml line 22

Quoted 10 lines
Documentation/devicetree/bindings/mips/lantiq/soc.yaml new file +10 -0
+  Devices with a Lantiq CPU shall have the following properties.
+
+properties:
+  $nodename:
+    const: "/"
+  compatible:
+    oneOf:
+      - description: Boards with Lantiq Amazon-SE SoC
+        items:
+          - const: lantiq,ase

Half these entries you have added say "boards" but there are no boards in them at all. Where are the boards? Only the homehub entry appears to be complete.

Quoted 2 lines

Cheers,
Conor.

Right now, I'm just adding one router with the Lantiq xRX200 SoC. The binding is prepared for adding more devices in the future. I'd like to add devices based on the xRX100 and xRX330 SoCs too. Should I remove the other SoCs from the list now?

Best regards,
Aleksander

#7 lore raw

Re: [PATCH 3/3] dt-bindings: mips: lantiq: Add Lantiq platform binding

Quoted 42 lines · Aleksander Jan Bajkowski
Quoted 32 lines · Conor Dooley
Quoted 31 lines · Aleksander Jan Bajkowski

Document the top-level device tree binding for Lantiq MIPS-based SoCs

---
  .../devicetree/bindings/mips/lantiq/soc.yaml  | 60 +++++++++++++++++++
  1 file changed, 60 insertions(+)

create mode 100644 Documentation/devicetree/bindings/mips/lantiq/soc.yaml

Documentation/devicetree/bindings/mips/lantiq/soc.yaml new file +17 -0
new file mode 100644
index 000000000000..e1708cd9b07e
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mips/lantiq/soc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Lantiq SoC based Platform
+
+maintainers:
+  - Aleksander Jan Bajkowski <[email protected]>
+
+description:
+  Devices with a Lantiq CPU shall have the following properties.
+
+properties:
+  $nodename:
+    const: "/"
Quoted 8 lines

Documentation/devicetree/bindings/mips/lantiq/soc.yaml line 22

Quoted 5 lines
Documentation/devicetree/bindings/mips/lantiq/soc.yaml new file +5 -0
+  compatible:
+    oneOf:
+      - description: Boards with Lantiq Amazon-SE SoC
+        items:
+          - const: lantiq,ase

Half these entries you have added say "boards" but there are no boards in them at all. Where are the boards? Only the homehub entry appears to be complete.

Quoted 5 lines

Right now, I'm just adding one router with the Lantiq xRX200 SoC. The binding
is prepared for adding more devices in the future. I'd like to add devices based on the xRX100 and xRX330 SoCs too. Should I remove the other SoCs from the list now?

Ye, I'd remove all of the unused SoCs.

#8 lore raw
In reply to Aleksander Jan Bajkowski
Quoted 7 lines · Aleksander Jan Bajkowski

This series adds a device tree and bindings for the BT Home Hub 5A router. It is based on the Lantiq VRX268 SoC. It has 128 MB of RAM and 128 MB of NAND memory. At the moment, only the peripherals necessary to run the initramfs image have been added. The remaining peripherals will be added later. Some of them do not have upstream drivers. This is one of the most popular Lantiq-based routers within the OpenWRT community.

Quoted 6 lines

Aleksander Jan Bajkowski (3):
dt-bindings: vendor-prefixes: add British Telecom
mips: lantiq: add British Telecom Home Hub 5A dts
dt-bindings: mips: lantiq: Add Lantiq platform binding

This order is wrong, the bindings must come before the users.