010-pogoplug-series-3.patch 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. - add compatible string
  2. - add console to bootargs
  3. - add led aliases
  4. - adjust nand partition table
  5. ---
  6. --- a/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts
  7. +++ b/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts
  8. @@ -11,10 +11,10 @@
  9. / {
  10. model = "Cloud Engines PogoPlug Series 3";
  11. - compatible = "cloudengines,pogoplugv3", "oxsemi,ox820";
  12. + compatible = "cloudengines,pogoplug-series-3", "cloudengines,pogoplugv3", "oxsemi,ox820";
  13. chosen {
  14. - bootargs = "earlyprintk";
  15. + bootargs = "earlyprintk console=ttyS0,115200";
  16. stdout-path = "serial0:115200n8";
  17. };
  18. @@ -27,24 +27,28 @@
  19. serial0 = &uart0;
  20. gpio0 = &gpio0;
  21. gpio1 = &gpio1;
  22. + led-boot = &led_status;
  23. + led-failsafe = &led_warn;
  24. + led-running = &led_act;
  25. + led-upgrade = &led_warn;
  26. };
  27. leds {
  28. compatible = "gpio-leds";
  29. - blue {
  30. + led_status: blue {
  31. label = "pogoplug:blue";
  32. gpios = <&gpio0 2 0>;
  33. default-state = "keep";
  34. };
  35. - orange {
  36. + led_warn: orange {
  37. label = "pogoplug:orange";
  38. gpios = <&gpio1 16 1>;
  39. default-state = "keep";
  40. };
  41. - green {
  42. + led_act: green {
  43. label = "pogoplug:green";
  44. gpios = <&gpio1 17 1>;
  45. default-state = "keep";
  46. @@ -73,11 +77,27 @@
  47. nand-ecc-algo = "hamming";
  48. partition@0 {
  49. - label = "boot";
  50. - reg = <0x00000000 0x00e00000>;
  51. + label = "stage1";
  52. + reg = <0x00000000 0x00040000>;
  53. read-only;
  54. };
  55. + partition@40000 {
  56. + label = "u-boot";
  57. + reg = <0x00040000 0x00380000>;
  58. + read-only;
  59. + };
  60. +
  61. + partition@3c0000 {
  62. + label = "u-boot-env";
  63. + reg = <0x003c0000 0x00080000>;
  64. + };
  65. +
  66. + partition@440000 {
  67. + label = "kernel";
  68. + reg = <0x00440000 0x009c0000>;
  69. + };
  70. +
  71. partition@e00000 {
  72. label = "ubi";
  73. reg = <0x00e00000 0x07200000>;