ox820-pogoplug-pro.dts 1.4 KB

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