diff mbox series

[2/2] arm64: dts: Add base DTS file for bcmbca device Asus GT-AX6000

Message ID 20220713200351.28526-2-zajec5@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] dt-bindings: arm: Add Asus GT-AX6000 based on BCM4912 | expand

Commit Message

Rafał Miłecki July 13, 2022, 8:03 p.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

It's a home router with 1 GiB of RAM, 6 Ethernet ports, 2 USB ports.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 arch/arm64/boot/dts/broadcom/bcmbca/Makefile  |  4 +++-
 .../bcmbca/bcm4912-asus-gt-ax6000.dts         | 19 +++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts

Comments

William Zhang July 13, 2022, 10:01 p.m. UTC | #1
On 7/13/22 13:03, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> It's a home router with 1 GiB of RAM, 6 Ethernet ports, 2 USB ports.
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---
>   arch/arm64/boot/dts/broadcom/bcmbca/Makefile  |  4 +++-
>   .../bcmbca/bcm4912-asus-gt-ax6000.dts         | 19 +++++++++++++++++++
>   2 files changed, 22 insertions(+), 1 deletion(-)
>   create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts
> 
> diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
> index d6621a6d888b..38f14307184b 100644
> --- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
> +++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
> @@ -1,5 +1,7 @@
>   # SPDX-License-Identifier: GPL-2.0
> -dtb-$(CONFIG_ARCH_BCMBCA) += bcm94912.dtb \
> +dtb-$(CONFIG_ARCH_BCMBCA) += \
> +				bcm4912-asus-gt-ax6000.dtb \
> +				bcm94912.dtb \
>   				bcm963158.dtb \
>   				bcm96858.dtb \
>   				bcm963146.dtb \
> diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts
> new file mode 100644
> index 000000000000..ed554666e95e
> --- /dev/null
> +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts
> @@ -0,0 +1,19 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
> +
> +/dts-v1/;
> +
> +#include "bcm4912.dtsi"
> +
> +/ {
> +	compatible = "asus,gt-ax6000", "brcm,bcm4912", "brcm,bcmbca";
> +	model = "Asus GT-AX6000";
> +
> +	memory@0 {
> +		device_type = "memory";
> +		reg = <0x00 0x00 0x00 0x40000000>;
> +	};
> +};
> +
> +&uart0 {
> +	status = "okay";
> +};

Acked-by: William Zhang <william.zhang@broadcom.com>
Florian Fainelli July 14, 2022, 9:01 p.m. UTC | #2
On Wed, 13 Jul 2022 22:03:51 +0200, Rafał Miłecki <zajec5@gmail.com> wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> It's a home router with 1 GiB of RAM, 6 Ethernet ports, 2 USB ports.
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks!
--
Florian
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
index d6621a6d888b..38f14307184b 100644
--- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
@@ -1,5 +1,7 @@ 
 # SPDX-License-Identifier: GPL-2.0
-dtb-$(CONFIG_ARCH_BCMBCA) += bcm94912.dtb \
+dtb-$(CONFIG_ARCH_BCMBCA) += \
+				bcm4912-asus-gt-ax6000.dtb \
+				bcm94912.dtb \
 				bcm963158.dtb \
 				bcm96858.dtb \
 				bcm963146.dtb \
diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts
new file mode 100644
index 000000000000..ed554666e95e
--- /dev/null
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912-asus-gt-ax6000.dts
@@ -0,0 +1,19 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+/dts-v1/;
+
+#include "bcm4912.dtsi"
+
+/ {
+	compatible = "asus,gt-ax6000", "brcm,bcm4912", "brcm,bcmbca";
+	model = "Asus GT-AX6000";
+
+	memory@0 {
+		device_type = "memory";
+		reg = <0x00 0x00 0x00 0x40000000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};