ox820-pogoplug-pro.dts 1.3 KB

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