summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki2022-03-15 13:21:23 +0000
committerRafał Miłecki2022-03-15 13:24:21 +0000
commit0625aad74d1f5b6f9c068955ad3fd7f6df635e50 (patch)
tree7da53fb61f24e9152800c03f6b325749ae47585b
parent6fb1cb624da2a1c169da771bddd5da40826e392a (diff)
downloadu-boot-0625aad74d1f5b6f9c068955ad3fd7f6df635e50.tar.gz
arm: dts: add ASUS GT-AX6000
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-rw-r--r--arch/arm/dts/GTAX6000.dts117
-rw-r--r--arch/arm/dts/Makefile3
2 files changed, 119 insertions, 1 deletions
diff --git a/arch/arm/dts/GTAX6000.dts b/arch/arm/dts/GTAX6000.dts
new file mode 100644
index 0000000000..74224ffc85
--- /dev/null
+++ b/arch/arm/dts/GTAX6000.dts
@@ -0,0 +1,117 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/dts-v1/;
+
+#include "bcm4912.dtsi"
+
+/ {
+ model = "GTAX6000";
+ compatible = "brcm,brcm-v8A";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory {
+ device_type = "memory";
+ reg = <0x0 0x0 0x0 0x8000000>;
+ };
+};
+
+&mdio {
+ phy1: 1 {
+ status = "okay";
+ };
+
+ phy2: 2 {
+ status = "okay";
+ };
+
+ phy3: 3 {
+ status = "okay";
+ };
+
+ phy4: 4 {
+ status = "okay";
+ };
+
+ phy6: 6 {
+ compatible = "brcm,bcaphy";
+ phy-type = "10GAE";
+ reg = <0x06>;
+ serdes-core = <0x00>;
+ serdes-lane = <0x00>;
+ status = "okay";
+ phy-handle = <0x0e>;
+ phandle = <0x17>;
+ };
+
+ phy7: 7 {
+ compatible = "brcm,bcaphy";
+ phy-type = "10GAE";
+ reg = <0x07>;
+ serdes-core = <0x01>;
+ serdes-lane = <0x00>;
+ status = "okay";
+ phy-handle = <0x0f>;
+ phandle = <0x19>;
+ };
+};
+
+&switch0 {
+ ports {
+ port0@0 {
+ phy-handle = <&phy1>;
+ status = "okay";
+ label = "eth1";
+ };
+
+ port1@1 {
+ phy-handle = <&phy2>;
+ status = "okay";
+ label = "eth2";
+ };
+
+ port2@2 {
+ phy-handle = <&phy3>;
+ status = "okay";
+ label = "eth3";
+ };
+
+ port3@3 {
+ phy-handle = <&phy4>;
+ status = "okay";
+ label = "eth4";
+ };
+
+ port5@5 {
+ reg = <0x05>;
+ mac-type = "XPORT";
+ xport-intf = <0x01>;
+ phy-handle = <&phy6>;
+ phy-mode = "serdes";
+ status = "okay";
+ network-leds = <0x18>;
+ label = "eth0";
+ };
+
+ port6@6 {
+ reg = <0x06>;
+ mac-type = "XPORT";
+ xport-intf = <0x03>;
+ phy-handle = <&phy7>;
+ phy-mode = "serdes";
+ status = "okay";
+ label = "eth5";
+ };
+ };
+};
+
+&nand {
+ write-protect = <1>;
+ status = "okay";
+};
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 4faa9e52da..1c4887faab 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -781,7 +781,8 @@ dtb-$(CONFIG_BCM4908) += \
RAX220.dtb
dtb-$(CONFIG_BCM4912) += \
- bcm94912.dtb
+ bcm94912.dtb \
+ GTAX6000.dtb
dtb-$(CONFIG_BCM63138) += \
bcm963138.dtb