aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/patches-5.10/107-03-nsa325.patch
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2021-02-17 21:17:03 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-24 02:53:53 +0100
commite464d365fe66bd6b5b238a18b32650a8b1d1ef63 (patch)
tree58cefcef426c76d5a580d9c9c95dd65890703818 /target/linux/kirkwood/patches-5.10/107-03-nsa325.patch
parent8d766aa669702f8291a95f985a0b4dd16b1cca2d (diff)
downloadupstream-e464d365fe66bd6b5b238a18b32650a8b1d1ef63.tar.gz
upstream-e464d365fe66bd6b5b238a18b32650a8b1d1ef63.tar.bz2
upstream-e464d365fe66bd6b5b238a18b32650a8b1d1ef63.zip
kirkwood: copy files to kernel 5.10
Copy config and patches to kernel 5.10. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/kirkwood/patches-5.10/107-03-nsa325.patch')
-rw-r--r--target/linux/kirkwood/patches-5.10/107-03-nsa325.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/target/linux/kirkwood/patches-5.10/107-03-nsa325.patch b/target/linux/kirkwood/patches-5.10/107-03-nsa325.patch
new file mode 100644
index 0000000000..374c0895a9
--- /dev/null
+++ b/target/linux/kirkwood/patches-5.10/107-03-nsa325.patch
@@ -0,0 +1,54 @@
+--- a/arch/arm/boot/dts/kirkwood-nsa325.dts
++++ b/arch/arm/boot/dts/kirkwood-nsa325.dts
+@@ -15,6 +15,13 @@
+ model = "ZyXEL NSA325";
+ compatible = "zyxel,nsa325", "marvell,kirkwood-88f6282", "marvell,kirkwood";
+
++ aliases {
++ led-boot = &led_green_sys;
++ led-failsafe = &led_orange_sys;
++ led-running = &led_green_sys;
++ led-upgrade = &led_orange_sys;
++ };
++
+ memory {
+ device_type = "memory";
+ reg = <0x00000000 0x20000000>;
+@@ -162,17 +169,19 @@
+ &pmx_led_hdd1_green &pmx_led_hdd1_red>;
+ pinctrl-names = "default";
+
+- green-sys {
++ led_green_sys: green-sys {
+ label = "nsa325:green:sys";
+ gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
++ default-state = "on";
+ };
+- orange-sys {
++ led_orange_sys: orange-sys {
+ label = "nsa325:orange:sys";
+ gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
+ };
+ green-hdd1 {
+ label = "nsa325:green:hdd1";
+ gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
++ linux,default-trigger = "ata1";
+ };
+ red-hdd1 {
+ label = "nsa325:red:hdd1";
+@@ -181,6 +190,7 @@
+ green-hdd2 {
+ label = "nsa325:green:hdd2";
+ gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
++ linux,default-trigger = "ata2";
+ };
+ red-hdd2 {
+ label = "nsa325:red:hdd2";
+@@ -189,6 +199,7 @@
+ green-usb {
+ label = "nsa325:green:usb";
+ gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
++ linux,default-trigger = "usb-host";
+ };
+ green-copy {
+ label = "nsa325:green:copy";