kirkwood: switch kernel version to 6.1
[openwrt/staging/stintel.git] / target / linux / kirkwood / patches-5.15 / 113-readynas_duo_v2.patch
1 --- a/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
2 +++ b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
3 @@ -19,6 +19,13 @@
4 reg = <0x00000000 0x10000000>;
5 };
6
7 + aliases {
8 + led-boot = &led_power;
9 + led-failsafe = &led_power;
10 + led-running = &led_power;
11 + led-upgrade = &led_power;
12 + };
13 +
14 chosen {
15 bootargs = "console=ttyS0,115200n8 earlyprintk";
16 stdout-path = &uart0;
17 @@ -115,7 +122,7 @@
18 &pmx_led_blue_backup >;
19 pinctrl-names = "default";
20
21 - power_led {
22 + led_power: power_led {
23 label = "status:blue:power_led";
24 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
25 default-state = "keep";
26 @@ -129,11 +136,13 @@
27 disk1_led {
28 label = "status:blue:disk1_led";
29 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
30 + linux,default-trigger = "ata1";
31 };
32
33 disk2_led {
34 label = "status:blue:disk2_led";
35 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
36 + linux,default-trigger = "ata2";
37 };
38
39 backup_led {
40 @@ -150,7 +159,13 @@
41
42 power-button {
43 label = "Power Button";
44 - linux,code = <KEY_POWER>;
45 + /* Power button and INT pin from PHY are both connected
46 + * to this GPIO. Every network restart causes PHY restart
47 + * and button is pressed. It's difficult to use it as
48 + * KEY_POWER without changes in kernel (or netifd) so
49 + * the button is configured as regular one.
50 + */
51 + linux,code = <BTN_1>;
52 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
53 };
54
55 @@ -208,18 +223,13 @@
56 };
57
58 partition@200000 {
59 - label = "uImage";
60 + label = "kernel";
61 reg = <0x0200000 0x600000>;
62 };
63
64 partition@800000 {
65 - label = "minirootfs";
66 - reg = <0x0800000 0x1000000>;
67 - };
68 -
69 - partition@1800000 {
70 - label = "jffs2";
71 - reg = <0x1800000 0x6800000>;
72 + label = "ubi";
73 + reg = <0x0800000 0x7800000>;
74 };
75 };
76