ox820-cloudengines-pogoplugpro.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. #include <dt-bindings/gpio/gpio.h>
  11. / {
  12. model = "Cloud Engines PogoPlug Pro";
  13. compatible = "cloudengines,pogoplugpro", "oxsemi,ox820";
  14. chosen {
  15. bootargs = "earlyprintk console=ttyS0,115200";
  16. stdout-path = "serial0:115200n8";
  17. };
  18. memory {
  19. /* 128Mbytes DDR */
  20. reg = <0x60000000 0x8000000>;
  21. };
  22. aliases {
  23. serial0 = &uart0;
  24. gpio0 = &gpio0;
  25. gpio1 = &gpio1;
  26. led-boot = &led_status;
  27. led-failsafe = &led_warn;
  28. led-running = &led_act;
  29. led-upgrade = &led_warn;
  30. };
  31. leds {
  32. compatible = "gpio-leds";
  33. led_status: blue {
  34. label = "pogoplug:blue";
  35. gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
  36. default-state = "keep";
  37. };
  38. led_warn: orange {
  39. label = "pogoplug:orange";
  40. gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
  41. default-state = "keep";
  42. };
  43. led_act: green {
  44. label = "pogoplug:green";
  45. gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
  46. default-state = "keep";
  47. };
  48. };
  49. };
  50. &uart0 {
  51. status = "okay";
  52. pinctrl-names = "default";
  53. pinctrl-0 = <&pinctrl_uart0>;
  54. };
  55. &nandc {
  56. status = "okay";
  57. pinctrl-names = "default";
  58. pinctrl-0 = <&pinctrl_nand>;
  59. nand@0 {
  60. reg = <0>;
  61. #address-cells = <1>;
  62. #size-cells = <1>;
  63. nand-ecc-mode = "soft";
  64. nand-ecc-algo = "hamming";
  65. partition@0 {
  66. label = "stage1";
  67. reg = <0x00000000 0x00040000>;
  68. read-only;
  69. };
  70. partition@40000 {
  71. label = "u-boot";
  72. reg = <0x00040000 0x00380000>;
  73. read-only;
  74. };
  75. partition@3c0000 {
  76. label = "u-boot-env";
  77. reg = <0x003c0000 0x00080000>;
  78. };
  79. partition@440000 {
  80. label = "kernel";
  81. reg = <0x00440000 0x009c0000>;
  82. };
  83. partition@e00000 {
  84. label = "ubi";
  85. reg = <0x00e00000 0x07200000>;
  86. };
  87. };
  88. };
  89. &ehci {
  90. status = "okay";
  91. };
  92. &etha {
  93. status = "okay";
  94. pinctrl-names = "default";
  95. pinctrl-0 = <&pinctrl_etha_mdio>;
  96. };
  97. &sata {
  98. status = "okay";
  99. };
  100. &pcie_phy {
  101. status = "okay";
  102. };
  103. &pcie0 {
  104. status = "okay";
  105. };