kirkwood-dreamplug.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /dts-v1/;
  2. /include/ "kirkwood.dtsi"
  3. /include/ "kirkwood-6281.dtsi"
  4. / {
  5. model = "Globalscale Technologies Dreamplug";
  6. compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x20000000>;
  10. };
  11. chosen {
  12. bootargs = "console=ttyS0,115200n8 earlyprintk";
  13. };
  14. ocp@f1000000 {
  15. pinctrl: pinctrl@10000 {
  16. pinctrl-0 = < &pmx_spi
  17. &pmx_led_bluetooth &pmx_led_wifi
  18. &pmx_led_wifi_ap >;
  19. pinctrl-names = "default";
  20. pmx_led_bluetooth: pmx-led-bluetooth {
  21. marvell,pins = "mpp47";
  22. marvell,function = "gpio";
  23. };
  24. pmx_led_wifi: pmx-led-wifi {
  25. marvell,pins = "mpp48";
  26. marvell,function = "gpio";
  27. };
  28. pmx_led_wifi_ap: pmx-led-wifi-ap {
  29. marvell,pins = "mpp49";
  30. marvell,function = "gpio";
  31. };
  32. };
  33. serial@12000 {
  34. clock-frequency = <200000000>;
  35. status = "ok";
  36. };
  37. spi@10600 {
  38. status = "okay";
  39. m25p40@0 {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "mx25l1606e";
  43. reg = <0>;
  44. spi-max-frequency = <50000000>;
  45. mode = <0>;
  46. partition@0 {
  47. reg = <0x0 0x80000>;
  48. label = "u-boot";
  49. };
  50. partition@100000 {
  51. reg = <0x100000 0x10000>;
  52. label = "u-boot env";
  53. };
  54. partition@180000 {
  55. reg = <0x180000 0x10000>;
  56. label = "dtb";
  57. };
  58. };
  59. };
  60. sata@80000 {
  61. status = "okay";
  62. nr-ports = <1>;
  63. };
  64. mvsdio@90000 {
  65. pinctrl-0 = <&pmx_sdio>;
  66. pinctrl-names = "default";
  67. status = "okay";
  68. /* No CD or WP GPIOs */
  69. };
  70. };
  71. gpio-leds {
  72. compatible = "gpio-leds";
  73. bluetooth {
  74. label = "dreamplug:blue:bluetooth";
  75. gpios = <&gpio1 15 1>;
  76. };
  77. wifi {
  78. label = "dreamplug:green:wifi";
  79. gpios = <&gpio1 16 1>;
  80. };
  81. wifi-ap {
  82. label = "dreamplug:green:wifi_ap";
  83. gpios = <&gpio1 17 1>;
  84. };
  85. };
  86. };