aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/ar7161_ruckus_gd11.dtsi2
-rw-r--r--target/linux/ath79/dts/ar7161_ruckus_zf7341.dts8
-rw-r--r--target/linux/ath79/dts/ar7161_ruckus_zf734x.dtsi119
-rw-r--r--target/linux/ath79/dts/ar7161_ruckus_zf7363.dts39
4 files changed, 167 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar7161_ruckus_gd11.dtsi b/target/linux/ath79/dts/ar7161_ruckus_gd11.dtsi
index c640765545..e97e31e58e 100644
--- a/target/linux/ath79/dts/ar7161_ruckus_gd11.dtsi
+++ b/target/linux/ath79/dts/ar7161_ruckus_gd11.dtsi
@@ -16,7 +16,7 @@
label-mac-device = &eth0;
};
- keys {
+ keys: keys {
compatible = "gpio-keys";
reset {
diff --git a/target/linux/ath79/dts/ar7161_ruckus_zf7341.dts b/target/linux/ath79/dts/ar7161_ruckus_zf7341.dts
new file mode 100644
index 0000000000..17735e596f
--- /dev/null
+++ b/target/linux/ath79/dts/ar7161_ruckus_zf7341.dts
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "ar7161_ruckus_zf734x.dtsi"
+
+/ {
+ model = "Ruckus ZoneFlex 7341[-U]";
+ compatible = "ruckus,zf7341", "qca,ar7161";
+};
diff --git a/target/linux/ath79/dts/ar7161_ruckus_zf734x.dtsi b/target/linux/ath79/dts/ar7161_ruckus_zf734x.dtsi
new file mode 100644
index 0000000000..8861b09d1b
--- /dev/null
+++ b/target/linux/ath79/dts/ar7161_ruckus_zf734x.dtsi
@@ -0,0 +1,119 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "ar7161_ruckus_gd11.dtsi"
+
+&keys {
+ opt {
+ /* Not used by stock firmware */
+ label = "opt";
+ linux,code = <KEY_WPS_BUTTON>;
+ gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
+ debounce-interval = <60>;
+ };
+};
+
+&beamforming_2g_gpio {
+ /* Default beamforming switches configuration from stock firmware,
+ * the AP is started and for broadcast frames - all outputs high */
+ lb0 {
+ line-name = "beamforming:2g:lb0";
+ gpios = <0 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ lb1 {
+ line-name = "beamforming:2g:lb1";
+ gpios = <1 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ lb2 {
+ line-name = "beamforming:2g:lb2";
+ gpios = <2 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ lb3 {
+ line-name = "beamforming:2g:lb3";
+ gpios = <3 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ lb4 {
+ line-name = "beamforming:2g:lb4";
+ gpios = <4 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ lb5 {
+ line-name = "beamforming:2g:lb5";
+ gpios = <5 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ lb6 {
+ line-name = "beamforming:2g:lb6";
+ gpios = <6 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ lb7 {
+ line-name = "beamforming:2g:lb7";
+ gpios = <7 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+};
+
+&beamforming_5g_gpio {
+ /* Default beamforming switches configuration from stock firmware,
+ * the AP is started and for broadcast frames - all outputs high */
+ hb0 {
+ line-name = "beamforming:5g:hb0";
+ gpios = <0 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ hb1 {
+ line-name = "beamforming:5g:hb1";
+ gpios = <1 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ hb2 {
+ line-name = "beamforming:5g:hb2";
+ gpios = <2 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ hb3 {
+ line-name = "beamforming:5g:hb3";
+ gpios = <3 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ hb4 {
+ line-name = "beamforming:5g:hb4";
+ gpios = <4 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+
+ hb5 {
+ line-name = "beamforming:5g:hb5";
+ gpios = <5 GPIO_ACTIVE_LOW>;
+ output-high;
+ gpio-hog;
+ };
+};
diff --git a/target/linux/ath79/dts/ar7161_ruckus_zf7363.dts b/target/linux/ath79/dts/ar7161_ruckus_zf7363.dts
new file mode 100644
index 0000000000..4ece56dd0a
--- /dev/null
+++ b/target/linux/ath79/dts/ar7161_ruckus_zf7363.dts
@@ -0,0 +1,39 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "ar7161_ruckus_zf734x.dtsi"
+
+/ {
+ model = "Ruckus ZoneFlex 7343/7363[-U]";
+ compatible = "ruckus,zf7363", "qca,ar7161";
+};
+
+&mdio0 {
+ ethernet-phy@0 {
+ reg = <0x0>;
+ max-speed = <100>;
+ };
+
+ ethernet-phy@1 {
+ reg = <0x1>;
+ max-speed = <100>;
+ };
+};
+
+&eth1 {
+ status = "okay";
+ pll-data = <0x00110000 0x00001099 0x00991099>;
+ nvmem-cells = <&macaddr_bdata_6c>;
+ nvmem-cell-names = "mac-address";
+ phy-mode = "rgmii-id";
+
+ fixed-link {
+ speed = <100>;
+ full-duplex;
+ };
+};
+
+&board_data {
+ macaddr_bdata_6c: macaddr@6c {
+ reg = <0x6c 0x6>;
+ };
+};