ox820-pogoplug-v3.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*
  2. * Copyright (C) 2014 Daniel Golle <daniel@makrotopia.org>
  3. * Copyright (C) 2013 Ma Haijun <mahaijuns@gmail.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. /dts-v1/;
  10. #include "ox820.dtsi"
  11. / {
  12. model = "Pogoplug V3";
  13. chosen {
  14. bootargs = "console=ttyS0,115200n8 earlyprintk=serial";
  15. };
  16. uart@44200000 {
  17. status = "okay";
  18. };
  19. sata@45900000 {
  20. status = "okay";
  21. };
  22. ethernet@40400000 {
  23. status = "okay";
  24. };
  25. ehci@40200100 {
  26. status = "okay";
  27. };
  28. pinctrl {
  29. leds {
  30. pinctrl_leds: leds-0 {
  31. plxtech,pins =
  32. <0 2 0 0 /* MF_A2 */
  33. 1 16 0 0 /* MF_B16 */
  34. 1 17 0 0>; /* MF_B17 */
  35. };
  36. };
  37. };
  38. leds {
  39. compatible = "gpio-leds";
  40. pinctrl-names = "default";
  41. pinctrl-0 = <&pinctrl_leds>;
  42. blue {
  43. label = "pogoplug:blue:internal";
  44. gpios = <&GPIOA 2 0>;
  45. };
  46. orange {
  47. label = "pogoplug:orange:usr";
  48. gpios = <&GPIOB 16 1>;
  49. };
  50. green {
  51. label = "pogoplug:green:usr";
  52. gpios = <&GPIOB 17 1>;
  53. };
  54. };
  55. };
  56. &nandc {
  57. status = "okay";
  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 = "boot";
  66. reg = <0x00000000 0x00e00000>;
  67. /*read-only;*/
  68. };
  69. partition@e00000 {
  70. label = "ubi";
  71. reg = <0x00e00000 0x07200000>;
  72. };
  73. };
  74. };