ox820-cloudengines-pogoplug-series-3.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * cloudengines-pogoplug-series-3.dtsi - Device tree file for Cloud Engines PogoPlug Series 3
  4. *
  5. * Copyright (C) 2016 Neil Armstrong <[email protected]>
  6. */
  7. /dts-v1/;
  8. #include "ox820.dtsi"
  9. / {
  10. model = "Cloud Engines PogoPlug Series 3";
  11. compatible = "cloudengines,pogoplugv3", "oxsemi,ox820";
  12. chosen {
  13. bootargs = "earlyprintk";
  14. stdout-path = "serial0:115200n8";
  15. };
  16. memory {
  17. /* 128Mbytes DDR */
  18. reg = <0x60000000 0x8000000>;
  19. };
  20. aliases {
  21. serial0 = &uart0;
  22. gpio0 = &gpio0;
  23. gpio1 = &gpio1;
  24. };
  25. leds {
  26. compatible = "gpio-leds";
  27. blue {
  28. label = "pogoplug:blue";
  29. gpios = <&gpio0 2 0>;
  30. default-state = "keep";
  31. };
  32. orange {
  33. label = "pogoplug:orange";
  34. gpios = <&gpio1 16 1>;
  35. default-state = "keep";
  36. };
  37. green {
  38. label = "pogoplug:green";
  39. gpios = <&gpio1 17 1>;
  40. default-state = "keep";
  41. };
  42. };
  43. };
  44. &uart0 {
  45. status = "okay";
  46. pinctrl-names = "default";
  47. pinctrl-0 = <&pinctrl_uart0>;
  48. };
  49. &nandc {
  50. status = "okay";
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&pinctrl_nand>;
  53. nand@0 {
  54. reg = <0>;
  55. #address-cells = <1>;
  56. #size-cells = <1>;
  57. nand-ecc-mode = "soft";
  58. nand-ecc-algo = "hamming";
  59. partition@0 {
  60. label = "boot";
  61. reg = <0x00000000 0x00e00000>;
  62. read-only;
  63. };
  64. partition@e00000 {
  65. label = "ubi";
  66. reg = <0x00e00000 0x07200000>;
  67. };
  68. };
  69. };
  70. &etha {
  71. status = "okay";
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&pinctrl_etha_mdio>;
  74. };