2020-03-02 20:24:03 +00:00
|
|
|
--- a/arch/arm/boot/dts/kirkwood-linksys-viper.dts
|
|
|
|
+++ b/arch/arm/boot/dts/kirkwood-linksys-viper.dts
|
|
|
|
@@ -24,6 +24,10 @@
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
+ led-boot = &led_white_health;
|
|
|
|
+ led-failsafe = &led_white_health;
|
|
|
|
+ led-running = &led_white_health;
|
|
|
|
+ led-upgrade = &led_white_health;
|
|
|
|
serial0 = &uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
@@ -56,9 +60,10 @@
|
|
|
|
pinctrl-0 = < &pmx_led_white_health &pmx_led_white_pulse >;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
- white-health {
|
|
|
|
+ led_white_health: white-health {
|
|
|
|
label = "viper:white:health";
|
|
|
|
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ default-state = "on";
|
|
|
|
};
|
|
|
|
|
|
|
|
white-pulse {
|
2020-04-29 16:12:51 +00:00
|
|
|
@@ -114,23 +119,23 @@
|
2020-03-02 20:24:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
partition@200000 {
|
|
|
|
- label = "kernel";
|
2020-04-29 16:12:51 +00:00
|
|
|
- reg = <0x200000 0x2A0000>;
|
2020-03-02 20:24:03 +00:00
|
|
|
+ label = "kernel1";
|
2020-04-29 16:12:51 +00:00
|
|
|
+ reg = <0x200000 0x1A00000>;
|
2020-03-02 20:24:03 +00:00
|
|
|
};
|
|
|
|
|
2020-04-29 16:12:51 +00:00
|
|
|
- partition@4a0000 {
|
2020-03-02 20:24:03 +00:00
|
|
|
- label = "rootfs";
|
2020-04-29 16:12:51 +00:00
|
|
|
- reg = <0x4A0000 0x1760000>;
|
|
|
|
+ partition@500000 {
|
2020-03-02 20:24:03 +00:00
|
|
|
+ label = "rootfs1";
|
2020-04-29 16:12:51 +00:00
|
|
|
+ reg = <0x500000 0x1700000>;
|
2020-03-02 20:24:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
partition@1c00000 {
|
|
|
|
- label = "alt_kernel";
|
2020-04-29 16:12:51 +00:00
|
|
|
- reg = <0x1C00000 0x2A0000>;
|
2020-03-02 20:24:03 +00:00
|
|
|
+ label = "kernel2";
|
2020-04-29 16:12:51 +00:00
|
|
|
+ reg = <0x1C00000 0x1A00000>;
|
2020-03-02 20:24:03 +00:00
|
|
|
};
|
|
|
|
|
2020-04-29 16:12:51 +00:00
|
|
|
- partition@1ea0000 {
|
2020-03-02 20:24:03 +00:00
|
|
|
- label = "alt_rootfs";
|
2020-04-29 16:12:51 +00:00
|
|
|
- reg = <0x1EA0000 0x1760000>;
|
|
|
|
+ partition@1f00000 {
|
2020-03-02 20:24:03 +00:00
|
|
|
+ label = "rootfs2";
|
2020-04-29 16:12:51 +00:00
|
|
|
+ reg = <0x1F00000 0x1700000>;
|
2020-03-02 20:24:03 +00:00
|
|
|
};
|
|
|
|
|
2020-04-29 16:12:51 +00:00
|
|
|
partition@3600000 {
|