gl-infra-builder-FUjr/patches-22.03.4/4006-support-e750-target.patch
Yin Ni 388b28e32b e750v2: support e750v2
support e750 oled and 5g

Signed-off-by: Yin Ni <yin.ni@gl-inet.com>
2023-04-27 01:49:07 -07:00

47 lines
1.4 KiB
Diff

From 2302fdf696aa6a451423a9ad076471462735cf24 Mon Sep 17 00:00:00 2001
From: Yin Ni <yin.ni@gl-inet.com>
Date: Wed, 15 Mar 2023 07:55:22 -0700
Subject: [PATCH] e750: support E750 target
Signed-off-by: Yin Ni <yin.ni@gl-inet.com>
---
.../ath79/dts/qca9531_glinet_gl-e750.dts | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-e750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-e750.dts
index ca0784e6bf..66b36a90e3 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-e750.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-e750.dts
@@ -13,6 +13,28 @@
label-mac-device = &eth0;
};
+ gl_hw {
+ compatible = "gl-hw-info";
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+ model = "e750";
+ lan = "eth0";
+ flash_size = <128>;
+ radio = "mac80211";
+ build-in-modem = "1-1.2";
+ reset-button = "gpio-3";
+ mcu = "/dev/ttyS0,115200";
+ oled = "sh1106";
+ factory_data {
+ device_mac = "art";
+ device_ddns = "art", "0x10";
+ device_sn_bak = "art", "0x20";
+ device_sn = "art", "0x30";
+ country_code = "art", "0x88";
+ };
+ };
+
keys {
compatible = "gpio-keys";
--
2.25.1