ox820-cloudengines-pogoplugpro.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /*
  2. * cloudengines-pogoplug-series-3.dtsi - Device tree file for Cloud Engines PogoPlug Series 3
  3. *
  4. * Copyright (C) 2016 Neil Armstrong <[email protected]>
  5. *
  6. * Licensed under GPLv2 or later
  7. */
  8. /dts-v1/;
  9. #include "ox820.dtsi"
  10. / {
  11. model = "Cloud Engines PogoPlug Pro";
  12. compatible = "cloudengines,pogoplugpro", "oxsemi,ox820";
  13. chosen {
  14. bootargs = "earlyprintk console=ttyS0,115200";
  15. stdout-path = "serial0:115200n8";
  16. };
  17. memory {
  18. /* 128Mbytes DDR */
  19. reg = <0x60000000 0x8000000>;
  20. };
  21. aliases {
  22. serial0 = &uart0;
  23. gpio0 = &gpio0;
  24. gpio1 = &gpio1;
  25. led-boot = &led_status;
  26. led-failsafe = &led_warn;
  27. led-running = &led_act;
  28. led-upgrade = &led_warn;
  29. };
  30. leds {
  31. compatible = "gpio-leds";
  32. led_status: blue {
  33. label = "pogoplug:blue";
  34. gpios = <&gpio0 2 0>;
  35. default-state = "keep";
  36. };
  37. led_warn: orange {
  38. label = "pogoplug:orange";
  39. gpios = <&gpio1 16 1>;
  40. default-state = "keep";
  41. };
  42. led_act: green {
  43. label = "pogoplug:green";
  44. gpios = <&gpio1 17 1>;
  45. default-state = "keep";
  46. };
  47. };
  48. };
  49. &uart0 {
  50. status = "okay";
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&pinctrl_uart0>;
  53. };
  54. &nandc {
  55. status = "okay";
  56. pinctrl-names = "default";
  57. pinctrl-0 = <&pinctrl_nand>;
  58. nand@0 {
  59. reg = <0>;
  60. #address-cells = <1>;
  61. #size-cells = <1>;
  62. nand-ecc-mode = "soft";
  63. nand-ecc-algo = "hamming";
  64. partition@0 {
  65. label = "stage1";
  66. reg = <0x00000000 0x00040000>;
  67. read-only;
  68. };
  69. partition@40000 {
  70. label = "u-boot";
  71. reg = <0x00040000 0x00380000>;
  72. read-only;
  73. };
  74. partition@3c0000 {
  75. label = "u-boot-env";
  76. reg = <0x003c0000 0x00080000>;
  77. };
  78. partition@440000 {
  79. label = "kernel";
  80. reg = <0x00440000 0x009c0000>;
  81. };
  82. partition@e00000 {
  83. label = "ubi";
  84. reg = <0x00e00000 0x07200000>;
  85. };
  86. };
  87. };
  88. &ehci {
  89. status = "okay";
  90. };
  91. &etha {
  92. status = "okay";
  93. pinctrl-names = "default";
  94. pinctrl-0 = <&pinctrl_etha_mdio>;
  95. };
  96. &pcie0 {
  97. status = "okay";
  98. };