perf: fix build on PowerPC
[openwrt/openwrt.git] / target / linux / kirkwood / patches-5.4 / 100-ib62x0.patch
1 --- a/arch/arm/boot/dts/kirkwood-ib62x0.dts
2 +++ b/arch/arm/boot/dts/kirkwood-ib62x0.dts
3 @@ -6,7 +6,14 @@
4
5 / {
6 model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
7 - compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
8 + compatible = "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9 +
10 + aliases {
11 + led-boot = &led_green_os;
12 + led-failsafe = &led_red_os;
13 + led-running = &led_green_os;
14 + led-upgrade = &led_red_os;
15 + };
16
17 memory {
18 device_type = "memory";
19 @@ -81,12 +88,12 @@
20 &pmx_led_usb_transfer>;
21 pinctrl-names = "default";
22
23 - green-os {
24 + led_green_os: green-os {
25 label = "ib62x0:green:os";
26 gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
27 - default-state = "keep";
28 + default-state = "on";
29 };
30 - red-os {
31 + led_red_os: red-os {
32 label = "ib62x0:red:os";
33 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
34 };
35 @@ -118,13 +125,13 @@
36 };
37
38 partition@100000 {
39 - label = "uImage";
40 - reg = <0x0100000 0x600000>;
41 + label = "second stage u-boot";
42 + reg = <0x100000 0x200000>;
43 };
44
45 - partition@700000 {
46 - label = "root";
47 - reg = <0x0700000 0xf900000>;
48 + partition@200000 {
49 + label = "ubi";
50 + reg = <0x200000 0xfe00000>;
51 };
52
53 };