mmp3-dell-ariel.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Dell Wyse 3020 a.k.a. "Ariel" a.k.a. Tx0D (T00D, T10D)
  4. *
  5. * Copyright (C) 2019 Lubomir Rintel <[email protected]>
  6. */
  7. /dts-v1/;
  8. #include "mmp3.dtsi"
  9. #include <dt-bindings/gpio/gpio.h>
  10. #include <dt-bindings/interrupt-controller/irq.h>
  11. / {
  12. model = "Dell Ariel";
  13. compatible = "dell,wyse-ariel", "marvell,mmp3";
  14. aliases {
  15. serial2 = &uart3;
  16. };
  17. chosen {
  18. #address-cells = <0x1>;
  19. #size-cells = <0x1>;
  20. ranges;
  21. bootargs = "earlyprintk=ttyS2,115200 console=ttyS2,115200";
  22. };
  23. memory@0 {
  24. available = <0x7f700000 0x7ff00000 0x00000000 0x7f600000>;
  25. reg = <0x0 0x80000000>;
  26. device_type = "memory";
  27. };
  28. ec_input_spi: spi {
  29. compatible = "spi-gpio";
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. num-chipselects = <0>;
  33. sck-gpios = <&gpio 55 GPIO_ACTIVE_HIGH>;
  34. miso-gpios = <&gpio 57 GPIO_ACTIVE_HIGH>;
  35. mosi-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>;
  36. };
  37. };
  38. &uart3 {
  39. status = "okay";
  40. };
  41. &rtc {
  42. status = "okay";
  43. };
  44. &usb_otg0 {
  45. status = "okay";
  46. };
  47. &usb_otg_phy0 {
  48. status = "okay";
  49. };
  50. &hsic0 {
  51. status = "okay";
  52. usb1@1 {
  53. compatible = "usb424,2640";
  54. reg = <0x01>;
  55. #address-cells = <0x01>;
  56. #size-cells = <0x00>;
  57. mass-storage@1 {
  58. compatible = "usb424,4040";
  59. reg = <0x01>;
  60. status = "disabled";
  61. };
  62. };
  63. };
  64. &hsic_phy0 {
  65. status = "okay";
  66. reset-gpios = <&gpio 63 GPIO_ACTIVE_HIGH>;
  67. };
  68. &mmc3 {
  69. status = "okay";
  70. max-frequency = <50000000>;
  71. status = "okay";
  72. bus-width = <8>;
  73. non-removable;
  74. cap-mmc-highspeed;
  75. };
  76. &twsi1 {
  77. status = "okay";
  78. rtc@68 {
  79. compatible = "dallas,ds1338";
  80. reg = <0x68>;
  81. status = "okay";
  82. };
  83. };
  84. &twsi3 {
  85. status = "okay";
  86. };
  87. &twsi4 {
  88. status = "okay";
  89. embedded-controller@58 {
  90. compatible = "dell,wyse-ariel-ec", "ene,kb3930";
  91. reg = <0x58>;
  92. system-power-controller;
  93. off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,
  94. <&gpio 127 GPIO_ACTIVE_HIGH>;
  95. };
  96. };
  97. &ssp1 {
  98. status = "okay";
  99. cs-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
  100. firmware-flash@0 {
  101. compatible = "winbond,w25q32", "jedec,spi-nor";
  102. reg = <0>;
  103. spi-max-frequency = <104000000>;
  104. m25p,fast-read;
  105. };
  106. };
  107. &ec_input_spi {
  108. status = "okay";
  109. cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
  110. power-button@0 {
  111. reg = <0>;
  112. interrupt-parent = <&gpio>;
  113. interrupts = <60 IRQ_TYPE_EDGE_RISING>;
  114. compatible = "dell,wyse-ariel-ec-input", "ene,kb3930-input";
  115. spi-max-frequency = <33000000>;
  116. };
  117. };
  118. &gpu_2d {
  119. status = "okay";
  120. };
  121. &gpu_3d {
  122. status = "okay";
  123. };