dove-d3plug.dts 1.8 KB

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