summaryrefslogtreecommitdiff
path: root/target/linux/kirkwood/patches-5.15/115-nsa310s.patch
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2023-05-11 17:02:43 +0200
committerChristian Lamparter <chunkeey@gmail.com>2023-05-14 00:08:35 +0200
commit749237967a122a40465b65c7e9eb6924d8fe09c4 (patch)
tree12a1940d7c8a025f856ec4cfdb2a0df5a7cb272a /target/linux/kirkwood/patches-5.15/115-nsa310s.patch
parent1d49310fdb5e6febd2e7a60d55deb0adb4364307 (diff)
downloadopenwrt-749237967a122a40465b65c7e9eb6924d8fe09c4.tar.gz
kirkwood: Replace dtses with upstream accepted
DTSes from of three boards was sent and accpeted upstream. Let's use backport patches with small OpenWrt tweak like other upstream stuff. List of boards: - Zyxel NSA310S - Endian 4i Edge 200 - Ctera C-200 V1 Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/kirkwood/patches-5.15/115-nsa310s.patch')
-rw-r--r--target/linux/kirkwood/patches-5.15/115-nsa310s.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/kirkwood/patches-5.15/115-nsa310s.patch b/target/linux/kirkwood/patches-5.15/115-nsa310s.patch
new file mode 100644
index 0000000000..4c6e08f49c
--- /dev/null
+++ b/target/linux/kirkwood/patches-5.15/115-nsa310s.patch
@@ -0,0 +1,35 @@
+--- a/arch/arm/boot/dts/kirkwood-nsa310s.dts
++++ b/arch/arm/boot/dts/kirkwood-nsa310s.dts
+@@ -16,6 +16,13 @@
+ model = "ZyXEL NSA310S";
+ compatible = "zyxel,nsa310s", "marvell,kirkwood-88f6702", "marvell,kirkwood";
+
++ aliases {
++ led-boot = &led_green_sys;
++ led-failsafe = &led_red_sys;
++ led-running = &led_green_sys;
++ led-upgrade = &led_red_sys;
++ };
++
+ memory {
+ device_type = "memory";
+ reg = <0x00000000 0x10000000>;
+@@ -96,14 +103,16 @@
+ gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
+ };
+
+- led-6 {
++ led_green_sys: led-6 {
++ label = "nsa310s:green:sys";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_GREEN>;
+ gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "default-on";
+ };
+
+- led-7 {
++ led_red_sys: led-7 {
++ label = "nsa310s:red:sys";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_RED>;
+ gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;