ox820-pogoplug-v3.dts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. nand@41000000 {
  23. status = "okay";
  24. partition@0 {
  25. label = "boot";
  26. reg = <0x00000000 0x00e00000>;
  27. /*read-only;*/
  28. };
  29. partition@e00000 {
  30. label = "ubi";
  31. reg = <0x00e00000 0x07200000>;
  32. };
  33. };
  34. ethernet@40400000 {
  35. status = "okay";
  36. };
  37. ehci@40200100 {
  38. status = "okay";
  39. };
  40. pinctrl {
  41. leds {
  42. pinctrl_leds: leds-0 {
  43. plxtech,pins =
  44. <0 2 0 0 /* MF_A2 */
  45. 1 16 0 0 /* MF_B16 */
  46. 1 17 0 0>; /* MF_B17 */
  47. };
  48. };
  49. };
  50. leds {
  51. compatible = "gpio-leds";
  52. pinctrl-names = "default";
  53. pinctrl-0 = <&pinctrl_leds>;
  54. blue {
  55. label = "pogoplug:blue:internal";
  56. gpios = <&GPIOA 2 0>;
  57. };
  58. orange {
  59. label = "pogoplug:orange:usr";
  60. gpios = <&GPIOB 16 1>;
  61. };
  62. green {
  63. label = "pogoplug:green:usr";
  64. gpios = <&GPIOB 17 1>;
  65. };
  66. };
  67. };