lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250813142917.2053814-3-olek2@wp.pl>
Date: Wed, 13 Aug 2025 16:21:33 +0200
From: Aleksander Jan Bajkowski <olek2@...pl>
To: robh@...nel.org,
	krzk+dt@...nel.org,
	conor+dt@...nel.org,
	neil.armstrong@...aro.org,
	heiko@...ech.de,
	kever.yang@...k-chips.com,
	mani@...nel.org,
	tsbogend@...ha.franken.de,
	john@...ozen.org,
	masahiroy@...nel.org,
	olek2@...pl,
	devicetree@...r.kernel.org,
	linux-mips@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH 2/3] mips: lantiq: add British Telecom Home Hub 5A dts

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@...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@...00000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "simple-bus";
+		reg = <0x1f800000 0x800000>;
+		ranges = <0x0 0x1f800000 0x7fffff>;
+
+		icu0: icu@...00 {
+			#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@...00000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "simple-bus";
+		reg = <0x1f000000 0x800000>;
+		ranges = <0x0 0x1f000000 0x7fffff>;
+
+		pmu@...000 {
+			compatible = "lantiq,pmu-xway";
+			reg = <0x102000 0x1000>;
+		};
+
+		cgu@...000 {
+			compatible = "lantiq,cgu-xway";
+			reg = <0x103000 0x1000>;
+		};
+
+		rcu0: rcu@...000 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
+			reg = <0x203000 0x100>;
+			ranges = <0x0 0x203000 0x100>;
+			big-endian;
+		};
+	};
+
+	localbus@...00000 {
+		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@...0c00 {
+			compatible = "lantiq,asc";
+			reg = <0xe100c00 0x400>;
+			interrupt-parent = <&icu0>;
+			interrupts = <112 113 114>;
+		};
+
+		ebu@...5300 {
+			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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ