2
0

106-goflexnet.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --- a/arch/arm/boot/dts/kirkwood-goflexnet.dts
  2. +++ b/arch/arm/boot/dts/kirkwood-goflexnet.dts
  3. @@ -8,6 +8,13 @@
  4. model = "Seagate GoFlex Net";
  5. compatible = "seagate,goflexnet", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  6. + aliases {
  7. + led-boot = &led_health;
  8. + led-failsafe = &led_fault;
  9. + led-running = &led_health;
  10. + led-upgrade = &led_fault;
  11. + };
  12. +
  13. memory {
  14. device_type = "memory";
  15. reg = <0x00000000 0x8000000>;
  16. @@ -85,12 +92,12 @@
  17. >;
  18. pinctrl-names = "default";
  19. - health {
  20. + led_health: health {
  21. label = "status:green:health";
  22. gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
  23. - default-state = "keep";
  24. + default-state = "on";
  25. };
  26. - fault {
  27. + led_fault: fault {
  28. label = "status:orange:fault";
  29. gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
  30. };
  31. @@ -159,18 +166,8 @@
  32. };
  33. partition@100000 {
  34. - label = "uImage";
  35. - reg = <0x0100000 0x400000>;
  36. - };
  37. -
  38. - partition@500000 {
  39. - label = "pogoplug";
  40. - reg = <0x0500000 0x2000000>;
  41. - };
  42. -
  43. - partition@2500000 {
  44. - label = "root";
  45. - reg = <0x02500000 0xd800000>;
  46. + label = "ubi";
  47. + reg = <0x0100000 0x0ff00000>;
  48. };
  49. };