kirkwood-dreamplug.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. // SPDX-License-Identifier: GPL-2.0
  2. /dts-v1/;
  3. #include "kirkwood.dtsi"
  4. #include "kirkwood-6281.dtsi"
  5. / {
  6. model = "Globalscale Technologies Dreamplug";
  7. compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  8. memory {
  9. device_type = "memory";
  10. reg = <0x00000000 0x20000000>;
  11. };
  12. chosen {
  13. bootargs = "console=ttyS0,115200n8 earlyprintk";
  14. stdout-path = &uart0;
  15. };
  16. ocp@f1000000 {
  17. pinctrl: pin-controller@10000 {
  18. pmx_led_bluetooth: pmx-led-bluetooth {
  19. marvell,pins = "mpp47";
  20. marvell,function = "gpio";
  21. };
  22. pmx_led_wifi: pmx-led-wifi {
  23. marvell,pins = "mpp48";
  24. marvell,function = "gpio";
  25. };
  26. pmx_led_wifi_ap: pmx-led-wifi-ap {
  27. marvell,pins = "mpp49";
  28. marvell,function = "gpio";
  29. };
  30. };
  31. serial@12000 {
  32. status = "okay";
  33. };
  34. spi@10600 {
  35. status = "okay";
  36. m25p40@0 {
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. compatible = "mxicy,mx25l1606e", "jedec,spi-nor";
  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 GPIO_ACTIVE_LOW>;
  77. };
  78. wifi {
  79. label = "dreamplug:green:wifi";
  80. gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
  81. };
  82. wifi-ap {
  83. label = "dreamplug:green:wifi_ap";
  84. gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
  85. };
  86. };
  87. };
  88. &mdio {
  89. status = "okay";
  90. ethphy0: ethernet-phy@0 {
  91. reg = <0>;
  92. };
  93. ethphy1: ethernet-phy@1 {
  94. reg = <1>;
  95. };
  96. };
  97. &eth0 {
  98. status = "okay";
  99. ethernet0-port@0 {
  100. phy-handle = <&ethphy0>;
  101. };
  102. };
  103. &eth1 {
  104. status = "okay";
  105. ethernet1-port@0 {
  106. phy-handle = <&ethphy1>;
  107. };
  108. };