kirkwood-dreamplug.dts 2.1 KB

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