mirror of
https://github.com/FUjr/gl-infra-builder.git
synced 2025-12-17 01:25:25 +00:00
X750/XE300: renamed support patch
This commit is contained in:
parent
24e0a40486
commit
ef18d927ee
@ -1,4 +1,4 @@
|
||||
From 0507354f0eda32ccecbf15fe795bcbc1592556ac Mon Sep 17 00:00:00 2001
|
||||
From 78f1f12572faa76b7bc65c8a1bff68ba2a428aa3 Mon Sep 17 00:00:00 2001
|
||||
From: niyin <yin.ni@gl-inet.com>
|
||||
Date: Fri, 16 Dec 2022 00:40:14 -0800
|
||||
Subject: [PATCH] add xe300 support
|
||||
@ -6,13 +6,13 @@ Subject: [PATCH] add xe300 support
|
||||
---
|
||||
.../dts/qca9531_glinet_gl-xe300-nor-nand.dts | 193 ++++++++++++++++++
|
||||
target/linux/ath79/image/nand.mk | 17 ++
|
||||
.../ath79/nand/base-files/etc/board.d/01_leds | 5 +-
|
||||
3 files changed, 214 insertions(+), 1 deletion(-)
|
||||
.../ath79/nand/base-files/etc/board.d/01_leds | 9 +-
|
||||
3 files changed, 216 insertions(+), 3 deletions(-)
|
||||
create mode 100644 target/linux/ath79/dts/qca9531_glinet_gl-xe300-nor-nand.dts
|
||||
|
||||
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-xe300-nor-nand.dts b/target/linux/ath79/dts/qca9531_glinet_gl-xe300-nor-nand.dts
|
||||
new file mode 100644
|
||||
index 0000000000..586382c409
|
||||
index 0000000000..7c703c7c81
|
||||
--- /dev/null
|
||||
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-xe300-nor-nand.dts
|
||||
@@ -0,0 +1,193 @@
|
||||
@ -86,23 +86,23 @@ index 0000000000..586382c409
|
||||
+
|
||||
+ lan {
|
||||
+ gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
|
||||
+ label = "green:lan";
|
||||
+ label = "gl-xe300:green:lan";
|
||||
+ };
|
||||
+
|
||||
+ wan {
|
||||
+ gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
||||
+ label = "green:wan";
|
||||
+ label = "gl-xe300:green:wan";
|
||||
+ };
|
||||
+
|
||||
+ wlan {
|
||||
+ gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
||||
+ label = "green:wlan";
|
||||
+ label = "gl-xe300:green:wlan";
|
||||
+ linux,default-trigger = "phy0tpt";
|
||||
+ };
|
||||
+
|
||||
+ lte {
|
||||
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
||||
+ label = "green:lte";
|
||||
+ label = "gl-xe300:green:lte";
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
@ -238,7 +238,7 @@ index 583d70ccbe..c51e61d507 100644
|
||||
define Device/netgear_ath79_nand
|
||||
DEVICE_VENDOR := NETGEAR
|
||||
diff --git a/target/linux/ath79/nand/base-files/etc/board.d/01_leds b/target/linux/ath79/nand/base-files/etc/board.d/01_leds
|
||||
index 8507425aaf..41454cd63d 100644
|
||||
index 8507425aaf..5c452c4b9f 100644
|
||||
--- a/target/linux/ath79/nand/base-files/etc/board.d/01_leds
|
||||
+++ b/target/linux/ath79/nand/base-files/etc/board.d/01_leds
|
||||
@@ -19,10 +19,13 @@ glinet,gl-ar750s-nor-nand)
|
||||
@ -246,11 +246,13 @@ index 8507425aaf..41454cd63d 100644
|
||||
ucidef_set_led_wlan "wlan5g" "WLAN5G" "gl-ar750s:green:wlan5g" "phy0tpt"
|
||||
;;
|
||||
-glinet,gl-xe300)
|
||||
- ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
|
||||
- ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x10"
|
||||
+glinet,gl-xe300|\
|
||||
+glinet,gl-xe300-nor-nand)
|
||||
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
|
||||
ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x10"
|
||||
+ ucidef_set_led_netdev "3gnet" "LTE" "green:lte" "wwan0"
|
||||
+ ucidef_set_led_netdev "wan" "WAN" "gl-xe300:green:wan" "eth1"
|
||||
+ ucidef_set_led_switch "lan" "LAN" "gl-xe300:green:lan" "switch0" "0x10"
|
||||
+ ucidef_set_led_netdev "3gnet" "LTE" "gl-xe300:green:lte" "wwan0"
|
||||
;;
|
||||
+
|
||||
glinet,gl-x300b-nor|\
|
||||
@ -1,4 +1,4 @@
|
||||
From 8b8ed9f684da0d675ab0c56052956bd144794c1f Mon Sep 17 00:00:00 2001
|
||||
From 98f17c7e8048102b2b2c8b8ad3a07cc1f713d2d1 Mon Sep 17 00:00:00 2001
|
||||
From: niyin <yin.ni@gl-inet.com>
|
||||
Date: Wed, 28 Dec 2022 20:28:15 -0800
|
||||
Subject: [PATCH] add x750 support
|
||||
@ -234,7 +234,7 @@ index c51e61d507..d5b9a78628 100644
|
||||
define Device/netgear_ath79_nand
|
||||
DEVICE_VENDOR := NETGEAR
|
||||
diff --git a/target/linux/ath79/nand/base-files/etc/board.d/01_leds b/target/linux/ath79/nand/base-files/etc/board.d/01_leds
|
||||
index 41454cd63d..a8e3470858 100644
|
||||
index 5c452c4b9f..3804b6898d 100644
|
||||
--- a/target/linux/ath79/nand/base-files/etc/board.d/01_leds
|
||||
+++ b/target/linux/ath79/nand/base-files/etc/board.d/01_leds
|
||||
@@ -19,6 +19,11 @@ glinet,gl-ar750s-nor-nand)
|
||||
@ -248,7 +248,7 @@ index 41454cd63d..a8e3470858 100644
|
||||
+ ;;
|
||||
glinet,gl-xe300|\
|
||||
glinet,gl-xe300-nor-nand)
|
||||
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
|
||||
ucidef_set_led_netdev "wan" "WAN" "gl-xe300:green:wan" "eth1"
|
||||
diff --git a/target/linux/ath79/nand/base-files/etc/board.d/02_network b/target/linux/ath79/nand/base-files/etc/board.d/02_network
|
||||
index 522451e31e..72a99887fb 100644
|
||||
--- a/target/linux/ath79/nand/base-files/etc/board.d/02_network
|
||||
Loading…
Reference in New Issue
Block a user