dove-d3plug.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /dts-v1/;
  2. #include "dove.dtsi"
  3. / {
  4. model = "Globalscale D3Plug";
  5. compatible = "globalscale,d3plug", "marvell,dove";
  6. memory {
  7. device_type = "memory";
  8. reg = <0x00000000 0x40000000>;
  9. };
  10. chosen {
  11. bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/mmcblk0p2 rw rootwait";
  12. };
  13. leds {
  14. compatible = "gpio-leds";
  15. pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>;
  16. pinctrl-names = "default";
  17. wlan-act {
  18. label = "wlan-act";
  19. gpios = <&gpio0 0 1>;
  20. };
  21. wlan-ap {
  22. label = "wlan-ap";
  23. gpios = <&gpio0 1 1>;
  24. };
  25. status {
  26. label = "status";
  27. gpios = <&gpio0 2 1>;
  28. };
  29. };
  30. regulators {
  31. compatible = "simple-bus";
  32. #address-cells = <1>;
  33. #size-cells = <0>;
  34. usb_power: regulator@1 {
  35. compatible = "regulator-fixed";
  36. reg = <1>;
  37. regulator-name = "USB Power";
  38. regulator-min-microvolt = <5000000>;
  39. regulator-max-microvolt = <5000000>;
  40. enable-active-high;
  41. regulator-always-on;
  42. regulator-boot-on;
  43. gpio = <&gpio0 8 0>;
  44. pinctrl-0 = <&pmx_gpio_8>;
  45. pinctrl-names = "default";
  46. };
  47. };
  48. };
  49. &uart0 { status = "okay"; };
  50. &sata0 { status = "okay"; };
  51. &i2c0 { status = "okay"; };
  52. /* Samsung M8G2F eMMC */
  53. &sdio0 {
  54. status = "okay";
  55. non-removable;
  56. bus-width = <4>;
  57. };
  58. /* Marvell SD8787 WLAN/BT */
  59. &sdio1 {
  60. status = "okay";
  61. non-removable;
  62. };
  63. &spi0 {
  64. status = "okay";
  65. /* spi0.0: 2M Flash Macronix MX25L1605D */
  66. spi-flash@0 {
  67. compatible = "st,m25l1605d";
  68. spi-max-frequency = <86000000>;
  69. reg = <0>;
  70. };
  71. };
  72. &pcie {
  73. status = "okay";
  74. /* Fresco Logic USB3.0 xHCI controller */
  75. pcie-port@0 {
  76. status = "okay";
  77. reset-gpios = <&gpio0 26 1>;
  78. reset-delay-us = <20000>;
  79. pinctrl-0 = <&pmx_camera_gpio>;
  80. pinctrl-names = "default";
  81. };
  82. /* Mini-PCIe slot */
  83. pcie-port@1 {
  84. status = "okay";
  85. reset-gpios = <&gpio0 25 1>;
  86. };
  87. };