rv1108-evb.dts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /dts-v1/;
  3. #include "rv1108.dtsi"
  4. / {
  5. model = "Rockchip RV1108 Evaluation board";
  6. compatible = "rockchip,rv1108-evb", "rockchip,rv1108";
  7. aliases {
  8. mmc0 = &sdmmc;
  9. };
  10. memory@60000000 {
  11. device_type = "memory";
  12. reg = <0x60000000 0x08000000>;
  13. };
  14. chosen {
  15. stdout-path = "serial2:1500000n8";
  16. };
  17. backlight: backlight {
  18. compatible = "pwm-backlight";
  19. brightness-levels = <
  20. 0 1 2 3 4 5 6 7
  21. 8 9 10 11 12 13 14 15
  22. 16 17 18 19 20 21 22 23
  23. 24 25 26 27 28 29 30 31
  24. 32 33 34 35 36 37 38 39
  25. 40 41 42 43 44 45 46 47
  26. 48 49 50 51 52 53 54 55
  27. 56 57 58 59 60 61 62 63
  28. 64 65 66 67 68 69 70 71
  29. 72 73 74 75 76 77 78 79
  30. 80 81 82 83 84 85 86 87
  31. 88 89 90 91 92 93 94 95
  32. 96 97 98 99 100 101 102 103
  33. 104 105 106 107 108 109 110 111
  34. 112 113 114 115 116 117 118 119
  35. 120 121 122 123 124 125 126 127
  36. 128 129 130 131 132 133 134 135
  37. 136 137 138 139 140 141 142 143
  38. 144 145 146 147 148 149 150 151
  39. 152 153 154 155 156 157 158 159
  40. 160 161 162 163 164 165 166 167
  41. 168 169 170 171 172 173 174 175
  42. 176 177 178 179 180 181 182 183
  43. 184 185 186 187 188 189 190 191
  44. 192 193 194 195 196 197 198 199
  45. 200 201 202 203 204 205 206 207
  46. 208 209 210 211 212 213 214 215
  47. 216 217 218 219 220 221 222 223
  48. 224 225 226 227 228 229 230 231
  49. 232 233 234 235 236 237 238 239
  50. 240 241 242 243 244 245 246 247
  51. 248 249 250 251 252 253 254 255>;
  52. default-brightness-level = <200>;
  53. pwms = <&pwm0 0 25000 0>;
  54. };
  55. vcc_sys: vsys-regulator {
  56. compatible = "regulator-fixed";
  57. regulator-name = "vsys";
  58. regulator-min-microvolt = <5000000>;
  59. regulator-max-microvolt = <5000000>;
  60. regulator-boot-on;
  61. };
  62. };
  63. &cpu0 {
  64. cpu-supply = <&vdd_core>;
  65. };
  66. &i2c0 {
  67. status = "okay";
  68. i2c-scl-rising-time-ns = <275>;
  69. i2c-scl-falling-time-ns = <16>;
  70. clock-frequency = <400000>;
  71. rk805: pmic@18 {
  72. compatible = "rockchip,rk805";
  73. reg = <0x18>;
  74. interrupt-parent = <&gpio0>;
  75. interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>;
  76. rockchip,system-power-controller;
  77. #clock-cells = <0>;
  78. vcc1-supply = <&vcc_sys>;
  79. vcc2-supply = <&vcc_sys>;
  80. vcc3-supply = <&vcc_sys>;
  81. vcc4-supply = <&vcc_sys>;
  82. vcc5-supply = <&vcc_sys>;
  83. vcc6-supply = <&vcc_sys>;
  84. regulators {
  85. vdd_core: DCDC_REG1 {
  86. regulator-name = "vdd_core";
  87. regulator-min-microvolt = <700000>;
  88. regulator-max-microvolt = <1500000>;
  89. regulator-always-on;
  90. regulator-boot-on;
  91. regulator-state-mem {
  92. regulator-on-in-suspend;
  93. regulator-suspend-microvolt = <900000>;
  94. };
  95. };
  96. vdd_cam: DCDC_REG2 {
  97. regulator-name = "vdd_cam";
  98. regulator-min-microvolt = <700000>;
  99. regulator-max-microvolt = <2000000>;
  100. regulator-state-mem {
  101. regulator-off-in-suspend;
  102. };
  103. };
  104. vcc_ddr: DCDC_REG3 {
  105. regulator-name = "vcc_ddr";
  106. regulator-always-on;
  107. regulator-boot-on;
  108. regulator-state-mem {
  109. regulator-on-in-suspend;
  110. };
  111. };
  112. vcc_io: DCDC_REG4 {
  113. regulator-name = "vcc_io";
  114. regulator-min-microvolt = <3300000>;
  115. regulator-max-microvolt = <3300000>;
  116. regulator-always-on;
  117. regulator-boot-on;
  118. regulator-state-mem {
  119. regulator-on-in-suspend;
  120. regulator-suspend-microvolt = <3300000>;
  121. };
  122. };
  123. vdd_10: LDO_REG1 {
  124. regulator-name = "vdd_10";
  125. regulator-min-microvolt = <1000000>;
  126. regulator-max-microvolt = <1000000>;
  127. regulator-always-on;
  128. regulator-boot-on;
  129. regulator-state-mem {
  130. regulator-off-in-suspend;
  131. };
  132. };
  133. vcc_18: LDO_REG2 {
  134. regulator-name = "vcc_18";
  135. regulator-min-microvolt = <1800000>;
  136. regulator-max-microvolt = <1800000>;
  137. regulator-always-on;
  138. regulator-boot-on;
  139. regulator-state-mem {
  140. regulator-off-in-suspend;
  141. };
  142. };
  143. vdd10_pmu: LDO_REG3 {
  144. regulator-name = "vdd10_pmu";
  145. regulator-min-microvolt = <1000000>;
  146. regulator-max-microvolt = <1000000>;
  147. regulator-always-on;
  148. regulator-boot-on;
  149. regulator-state-mem {
  150. regulator-on-in-suspend;
  151. regulator-suspend-microvolt = <1000000>;
  152. };
  153. };
  154. };
  155. };
  156. bma250: accelerometer@19 {
  157. compatible = "bosch,bma250e";
  158. reg = <0x19>;
  159. interrupt-parent = <&gpio0>;
  160. interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
  161. };
  162. };
  163. &pwm0 {
  164. status = "okay";
  165. };
  166. &sdmmc {
  167. status = "okay";
  168. };
  169. &tsadc {
  170. status = "okay";
  171. };
  172. &u2phy {
  173. status = "okay";
  174. u2phy_host: host-port {
  175. status = "okay";
  176. };
  177. u2phy_otg: otg-port {
  178. status = "okay";
  179. };
  180. };
  181. &uart0 {
  182. status = "okay";
  183. };
  184. &uart1 {
  185. status = "okay";
  186. };
  187. &uart2 {
  188. status = "okay";
  189. };
  190. &usb_host_ehci {
  191. status = "okay";
  192. };
  193. &usb_host_ohci {
  194. status = "okay";
  195. };
  196. &usb_otg {
  197. status = "okay";
  198. };