2018-03-12 19:50:48 +00:00
|
|
|
--- a/arch/arm/boot/dts/kirkwood-ib62x0.dts
|
|
|
|
+++ b/arch/arm/boot/dts/kirkwood-ib62x0.dts
|
2020-02-04 16:26:47 +00:00
|
|
|
@@ -6,7 +6,14 @@
|
2018-03-12 19:50:48 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
|
|
|
|
- compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
+ compatible = "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
2020-02-04 16:26:47 +00:00
|
|
|
+
|
|
|
|
+ aliases {
|
|
|
|
+ led-boot = &led_green_os;
|
|
|
|
+ led-failsafe = &led_red_os;
|
|
|
|
+ led-running = &led_green_os;
|
|
|
|
+ led-upgrade = &led_red_os;
|
|
|
|
+ };
|
2018-03-12 19:50:48 +00:00
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
2020-02-19 16:03:04 +00:00
|
|
|
@@ -81,12 +88,12 @@
|
2020-02-04 16:26:47 +00:00
|
|
|
&pmx_led_usb_transfer>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
- green-os {
|
|
|
|
+ led_green_os: green-os {
|
|
|
|
label = "ib62x0:green:os";
|
|
|
|
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
|
|
|
|
- default-state = "keep";
|
2020-02-19 16:03:04 +00:00
|
|
|
+ default-state = "on";
|
2020-02-04 16:26:47 +00:00
|
|
|
};
|
|
|
|
- red-os {
|
|
|
|
+ led_red_os: red-os {
|
|
|
|
label = "ib62x0:red:os";
|
|
|
|
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
2020-02-19 16:03:04 +00:00
|
|
|
@@ -118,13 +125,13 @@
|
2018-03-12 19:50:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
partition@100000 {
|
|
|
|
- label = "uImage";
|
|
|
|
- reg = <0x0100000 0x600000>;
|
|
|
|
+ label = "second stage u-boot";
|
|
|
|
+ reg = <0x100000 0x200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
- partition@700000 {
|
|
|
|
- label = "root";
|
|
|
|
- reg = <0x0700000 0xf900000>;
|
|
|
|
+ partition@200000 {
|
|
|
|
+ label = "ubi";
|
|
|
|
+ reg = <0x200000 0xfe00000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|