kirkwood-dreamplug.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. status = "ok";
  35. };
  36. spi@10600 {
  37. status = "okay";
  38. m25p40@0 {
  39. #address-cells = <1>;
  40. #size-cells = <1>;
  41. compatible = "mx25l1606e";
  42. reg = <0>;
  43. spi-max-frequency = <50000000>;
  44. mode = <0>;
  45. partition@0 {
  46. reg = <0x0 0x80000>;
  47. label = "u-boot";
  48. };
  49. partition@100000 {
  50. reg = <0x100000 0x10000>;
  51. label = "u-boot env";
  52. };
  53. partition@180000 {
  54. reg = <0x180000 0x10000>;
  55. label = "dtb";
  56. };
  57. };
  58. };
  59. sata@80000 {
  60. status = "okay";
  61. nr-ports = <1>;
  62. };
  63. mvsdio@90000 {
  64. pinctrl-0 = <&pmx_sdio>;
  65. pinctrl-names = "default";
  66. status = "okay";
  67. /* No CD or WP GPIOs */
  68. };
  69. };
  70. gpio-leds {
  71. compatible = "gpio-leds";
  72. bluetooth {
  73. label = "dreamplug:blue:bluetooth";
  74. gpios = <&gpio1 15 1>;
  75. };
  76. wifi {
  77. label = "dreamplug:green:wifi";
  78. gpios = <&gpio1 16 1>;
  79. };
  80. wifi-ap {
  81. label = "dreamplug:green:wifi_ap";
  82. gpios = <&gpio1 17 1>;
  83. };
  84. };
  85. };