105-linksys-viper-dts.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --- a/arch/arm/boot/dts/kirkwood-linksys-viper.dts
  2. +++ b/arch/arm/boot/dts/kirkwood-linksys-viper.dts
  3. @@ -24,6 +24,10 @@
  4. };
  5. aliases {
  6. + led-boot = &led_white_health;
  7. + led-failsafe = &led_white_health;
  8. + led-running = &led_white_health;
  9. + led-upgrade = &led_white_health;
  10. serial0 = &uart0;
  11. };
  12. @@ -56,9 +60,10 @@
  13. pinctrl-0 = < &pmx_led_white_health &pmx_led_white_pulse >;
  14. pinctrl-names = "default";
  15. - white-health {
  16. + led_white_health: white-health {
  17. label = "viper:white:health";
  18. gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
  19. + default-state = "on";
  20. };
  21. white-pulse {
  22. @@ -114,23 +119,23 @@
  23. };
  24. partition@200000 {
  25. - label = "kernel";
  26. - reg = <0x200000 0x2A0000>;
  27. + label = "kernel1";
  28. + reg = <0x200000 0x1A00000>;
  29. };
  30. - partition@4a0000 {
  31. - label = "rootfs";
  32. - reg = <0x4A0000 0x1760000>;
  33. + partition@600000 {
  34. + label = "rootfs1";
  35. + reg = <0x600000 0x1600000>;
  36. };
  37. partition@1c00000 {
  38. - label = "alt_kernel";
  39. - reg = <0x1C00000 0x2A0000>;
  40. + label = "kernel2";
  41. + reg = <0x1C00000 0x1A00000>;
  42. };
  43. - partition@1ea0000 {
  44. - label = "alt_rootfs";
  45. - reg = <0x1EA0000 0x1760000>;
  46. + partition@2000000 {
  47. + label = "rootfs2";
  48. + reg = <0x2000000 0x1600000>;
  49. };
  50. partition@3600000 {