kirkwood-dreamplug.dts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. };
  65. gpio-leds {
  66. compatible = "gpio-leds";
  67. bluetooth {
  68. label = "dreamplug:blue:bluetooth";
  69. gpios = <&gpio1 15 1>;
  70. };
  71. wifi {
  72. label = "dreamplug:green:wifi";
  73. gpios = <&gpio1 16 1>;
  74. };
  75. wifi-ap {
  76. label = "dreamplug:green:wifi_ap";
  77. gpios = <&gpio1 17 1>;
  78. };
  79. };
  80. };