100-ib62x0.patch 1.3 KB

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