kirkwood-dreamplug.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. pmx_led_bluetooth: pmx-led-bluetooth {
  17. marvell,pins = "mpp47";
  18. marvell,function = "gpio";
  19. };
  20. pmx_led_wifi: pmx-led-wifi {
  21. marvell,pins = "mpp48";
  22. marvell,function = "gpio";
  23. };
  24. pmx_led_wifi_ap: pmx-led-wifi-ap {
  25. marvell,pins = "mpp49";
  26. marvell,function = "gpio";
  27. };
  28. };
  29. serial@12000 {
  30. status = "ok";
  31. };
  32. spi@10600 {
  33. status = "okay";
  34. pinctrl-0 = <&pmx_spi>;
  35. pinctrl-names = "default";
  36. m25p40@0 {
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. compatible = "mx25l1606e";
  40. reg = <0>;
  41. spi-max-frequency = <50000000>;
  42. mode = <0>;
  43. partition@0 {
  44. reg = <0x0 0x80000>;
  45. label = "u-boot";
  46. };
  47. partition@100000 {
  48. reg = <0x100000 0x10000>;
  49. label = "u-boot env";
  50. };
  51. partition@180000 {
  52. reg = <0x180000 0x10000>;
  53. label = "dtb";
  54. };
  55. };
  56. };
  57. sata@80000 {
  58. status = "okay";
  59. nr-ports = <1>;
  60. };
  61. mvsdio@90000 {
  62. pinctrl-0 = <&pmx_sdio>;
  63. pinctrl-names = "default";
  64. status = "okay";
  65. /* No CD or WP GPIOs */
  66. broken-cd;
  67. };
  68. };
  69. gpio-leds {
  70. compatible = "gpio-leds";
  71. pinctrl-0 = <&pmx_led_bluetooth &pmx_led_wifi
  72. &pmx_led_wifi_ap >;
  73. pinctrl-names = "default";
  74. bluetooth {
  75. label = "dreamplug:blue:bluetooth";
  76. gpios = <&gpio1 15 1>;
  77. };
  78. wifi {
  79. label = "dreamplug:green:wifi";
  80. gpios = <&gpio1 16 1>;
  81. };
  82. wifi-ap {
  83. label = "dreamplug:green:wifi_ap";
  84. gpios = <&gpio1 17 1>;
  85. };
  86. };
  87. };
  88. &mdio {
  89. status = "okay";
  90. ethphy0: ethernet-phy@0 {
  91. device_type = "ethernet-phy";
  92. reg = <0>;
  93. };
  94. ethphy1: ethernet-phy@1 {
  95. device_type = "ethernet-phy";
  96. reg = <1>;
  97. };
  98. };
  99. &eth0 {
  100. status = "okay";
  101. ethernet0-port@0 {
  102. phy-handle = <&ethphy0>;
  103. };
  104. };
  105. &eth1 {
  106. status = "okay";
  107. ethernet1-port@0 {
  108. phy-handle = <&ethphy1>;
  109. };
  110. };