| .. | .. |
|---|
| 4 | 4 | */ |
|---|
| 5 | 5 | |
|---|
| 6 | 6 | /dts-v1/; |
|---|
| 7 | | -#include <dt-bindings/gpio/gpio.h> |
|---|
| 8 | | -#include <dt-bindings/pinctrl/rockchip.h> |
|---|
| 9 | | -#include <dt-bindings/input/input.h> |
|---|
| 10 | | -#include <dt-bindings/display/drm_mipi_dsi.h> |
|---|
| 11 | | -#include <dt-bindings/sensor-dev.h> |
|---|
| 12 | 7 | #include "px30.dtsi" |
|---|
| 13 | 8 | #include "rk3326-linux.dtsi" |
|---|
| 9 | +#include "px30-evb-ddr3-v10.dtsi" |
|---|
| 14 | 10 | |
|---|
| 15 | 11 | / { |
|---|
| 16 | 12 | model = "Rockchip linux PX30 evb ddr3 board"; |
|---|
| 17 | 13 | compatible = "rockchip,px30-evb-ddr3-v10-linux", "rockchip,px30"; |
|---|
| 18 | 14 | |
|---|
| 19 | | - adc-keys { |
|---|
| 20 | | - compatible = "adc-keys"; |
|---|
| 21 | | - io-channels = <&saradc 2>; |
|---|
| 22 | | - io-channel-names = "buttons"; |
|---|
| 23 | | - poll-interval = <100>; |
|---|
| 24 | | - keyup-threshold-microvolt = <1800000>; |
|---|
| 25 | | - |
|---|
| 26 | | - esc-key { |
|---|
| 27 | | - linux,code = <KEY_ESC>; |
|---|
| 28 | | - label = "esc"; |
|---|
| 29 | | - press-threshold-microvolt = <1310000>; |
|---|
| 30 | | - }; |
|---|
| 31 | | - |
|---|
| 32 | | - home-key { |
|---|
| 33 | | - linux,code = <KEY_HOME>; |
|---|
| 34 | | - label = "home"; |
|---|
| 35 | | - press-threshold-microvolt = <624000>; |
|---|
| 36 | | - }; |
|---|
| 37 | | - |
|---|
| 38 | | - menu-key { |
|---|
| 39 | | - linux,code = <KEY_MENU>; |
|---|
| 40 | | - label = "menu"; |
|---|
| 41 | | - press-threshold-microvolt = <987000>; |
|---|
| 42 | | - }; |
|---|
| 43 | | - |
|---|
| 44 | | - vol-down-key { |
|---|
| 45 | | - linux,code = <KEY_VOLUMEDOWN>; |
|---|
| 46 | | - label = "volume down"; |
|---|
| 47 | | - press-threshold-microvolt = <300000>; |
|---|
| 48 | | - }; |
|---|
| 49 | | - |
|---|
| 50 | | - vol-up-key { |
|---|
| 51 | | - linux,code = <KEY_VOLUMEUP>; |
|---|
| 52 | | - label = "volume up"; |
|---|
| 53 | | - press-threshold-microvolt = <17000>; |
|---|
| 54 | | - }; |
|---|
| 55 | | - }; |
|---|
| 56 | | - |
|---|
| 57 | | - backlight: backlight { |
|---|
| 58 | | - compatible = "pwm-backlight"; |
|---|
| 59 | | - pwms = <&pwm1 0 25000 0>; |
|---|
| 60 | | - brightness-levels = < |
|---|
| 61 | | - 0 1 2 3 4 5 6 7 |
|---|
| 62 | | - 8 9 10 11 12 13 14 15 |
|---|
| 63 | | - 16 17 18 19 20 21 22 23 |
|---|
| 64 | | - 24 25 26 27 28 29 30 31 |
|---|
| 65 | | - 32 33 34 35 36 37 38 39 |
|---|
| 66 | | - 40 41 42 43 44 45 46 47 |
|---|
| 67 | | - 48 49 50 51 52 53 54 55 |
|---|
| 68 | | - 56 57 58 59 60 61 62 63 |
|---|
| 69 | | - 64 65 66 67 68 69 70 71 |
|---|
| 70 | | - 72 73 74 75 76 77 78 79 |
|---|
| 71 | | - 80 81 82 83 84 85 86 87 |
|---|
| 72 | | - 88 89 90 91 92 93 94 95 |
|---|
| 73 | | - 96 97 98 99 100 101 102 103 |
|---|
| 74 | | - 104 105 106 107 108 109 110 111 |
|---|
| 75 | | - 112 113 114 115 116 117 118 119 |
|---|
| 76 | | - 120 121 122 123 124 125 126 127 |
|---|
| 77 | | - 128 129 130 131 132 133 134 135 |
|---|
| 78 | | - 136 137 138 139 140 141 142 143 |
|---|
| 79 | | - 144 145 146 147 148 149 150 151 |
|---|
| 80 | | - 152 153 154 155 156 157 158 159 |
|---|
| 81 | | - 160 161 162 163 164 165 166 167 |
|---|
| 82 | | - 168 169 170 171 172 173 174 175 |
|---|
| 83 | | - 176 177 178 179 180 181 182 183 |
|---|
| 84 | | - 184 185 186 187 188 189 190 191 |
|---|
| 85 | | - 192 193 194 195 196 197 198 199 |
|---|
| 86 | | - 200 201 202 203 204 205 206 207 |
|---|
| 87 | | - 208 209 210 211 212 213 214 215 |
|---|
| 88 | | - 216 217 218 219 220 221 222 223 |
|---|
| 89 | | - 224 225 226 227 228 229 230 231 |
|---|
| 90 | | - 232 233 234 235 236 237 238 239 |
|---|
| 91 | | - 240 241 242 243 244 245 246 247 |
|---|
| 92 | | - 248 249 250 251 252 253 254 255>; |
|---|
| 93 | | - default-brightness-level = <200>; |
|---|
| 94 | | - }; |
|---|
| 95 | | - |
|---|
| 96 | | - charge-animation { |
|---|
| 97 | | - compatible = "rockchip,uboot-charge"; |
|---|
| 98 | | - rockchip,uboot-charge-on = <0>; |
|---|
| 99 | | - rockchip,android-charge-on = <1>; |
|---|
| 100 | | - rockchip,uboot-low-power-voltage = <3500>; |
|---|
| 101 | | - rockchip,screen-on-voltage = <3600>; |
|---|
| 102 | | - status = "okay"; |
|---|
| 103 | | - }; |
|---|
| 104 | | - |
|---|
| 105 | | - rk809-sound { |
|---|
| 106 | | - compatible = "simple-audio-card"; |
|---|
| 107 | | - simple-audio-card,format = "i2s"; |
|---|
| 108 | | - simple-audio-card,name = "rockchip,rk809-codec"; |
|---|
| 109 | | - simple-audio-card,mclk-fs = <256>; |
|---|
| 110 | | - simple-audio-card,widgets = |
|---|
| 111 | | - "Microphone", "Mic Jack", |
|---|
| 112 | | - "Headphone", "Headphone Jack"; |
|---|
| 113 | | - simple-audio-card,routing = |
|---|
| 114 | | - "Mic Jack", "MICBIAS1", |
|---|
| 115 | | - "IN1P", "Mic Jack", |
|---|
| 116 | | - "Headphone Jack", "HPOL", |
|---|
| 117 | | - "Headphone Jack", "HPOR"; |
|---|
| 118 | | - simple-audio-card,cpu { |
|---|
| 119 | | - sound-dai = <&i2s1_2ch>; |
|---|
| 120 | | - }; |
|---|
| 121 | | - simple-audio-card,codec { |
|---|
| 122 | | - sound-dai = <&rk809_codec>; |
|---|
| 123 | | - }; |
|---|
| 124 | | - }; |
|---|
| 125 | | - |
|---|
| 126 | | - rk_headset: rk-headset { |
|---|
| 127 | | - compatible = "rockchip_headset"; |
|---|
| 128 | | - headset_gpio = <&gpio2 RK_PB0 GPIO_ACTIVE_LOW>; |
|---|
| 129 | | - pinctrl-names = "default"; |
|---|
| 130 | | - pinctrl-0 = <&hp_det>; |
|---|
| 131 | | - io-channels = <&saradc 1>; |
|---|
| 132 | | - }; |
|---|
| 133 | | - |
|---|
| 134 | | - sdio_pwrseq: sdio-pwrseq { |
|---|
| 135 | | - compatible = "mmc-pwrseq-simple"; |
|---|
| 136 | | - /*clocks = <&rk809 1>;*/ |
|---|
| 137 | | - /*clock-names = "ext_clock";*/ |
|---|
| 138 | | - pinctrl-names = "default"; |
|---|
| 139 | | - pinctrl-0 = <&wifi_enable_h>; |
|---|
| 140 | | - |
|---|
| 141 | | - /* |
|---|
| 142 | | - * On the module itself this is one of these (depending |
|---|
| 143 | | - * on the actual card populated): |
|---|
| 144 | | - * - SDIO_RESET_L_WL_REG_ON |
|---|
| 145 | | - * - PDN (power down when low) |
|---|
| 146 | | - */ |
|---|
| 147 | | - reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO3_A4 */ |
|---|
| 148 | | - }; |
|---|
| 149 | | - |
|---|
| 150 | | - vcc_phy: vcc-phy-regulator { |
|---|
| 151 | | - compatible = "regulator-fixed"; |
|---|
| 152 | | - regulator-name = "vcc_phy"; |
|---|
| 153 | | - regulator-always-on; |
|---|
| 154 | | - regulator-boot-on; |
|---|
| 155 | | - }; |
|---|
| 156 | | - |
|---|
| 157 | | - vcc5v0_sys: vccsys { |
|---|
| 158 | | - compatible = "regulator-fixed"; |
|---|
| 159 | | - regulator-name = "vcc5v0_sys"; |
|---|
| 160 | | - regulator-always-on; |
|---|
| 161 | | - regulator-boot-on; |
|---|
| 162 | | - regulator-min-microvolt = <5000000>; |
|---|
| 163 | | - regulator-max-microvolt = <5000000>; |
|---|
| 164 | | - }; |
|---|
| 165 | | - |
|---|
| 166 | | - wireless-wlan { |
|---|
| 167 | | - compatible = "wlan-platdata"; |
|---|
| 168 | | - wifi_chip_type = "AP6210"; |
|---|
| 169 | | - WIFI,host_wake_irq = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>; |
|---|
| 170 | | - status = "okay"; |
|---|
| 171 | | - }; |
|---|
| 172 | | - |
|---|
| 173 | | - wireless-bluetooth { |
|---|
| 174 | | - compatible = "bluetooth-platdata"; |
|---|
| 175 | | - clocks = <&rk809 1>; |
|---|
| 176 | | - clock-names = "ext_clock"; |
|---|
| 177 | | - uart_rts_gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_LOW>; |
|---|
| 178 | | - pinctrl-names = "default","rts_gpio"; |
|---|
| 179 | | - pinctrl-0 = <&uart1_rts>; |
|---|
| 180 | | - pinctrl-1 = <&uart1_rts_gpio>; |
|---|
| 181 | | - BT,reset_gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; |
|---|
| 182 | | - BT,wake_gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; |
|---|
| 183 | | - BT,wake_host_irq = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>; |
|---|
| 184 | | - status = "okay"; |
|---|
| 185 | | - }; |
|---|
| 186 | | -}; |
|---|
| 187 | | - |
|---|
| 188 | | -&display_subsystem { |
|---|
| 189 | | - status = "okay"; |
|---|
| 15 | + /delete-node/ test-power; |
|---|
| 190 | 16 | }; |
|---|
| 191 | 17 | |
|---|
| 192 | 18 | &dsi { |
|---|
| 193 | 19 | status = "okay"; |
|---|
| 194 | 20 | |
|---|
| 195 | 21 | panel@0 { |
|---|
| 196 | | - compatible = "simple-panel-dsi"; |
|---|
| 22 | + compatible = "sitronix,st7703", "simple-panel-dsi"; |
|---|
| 197 | 23 | reg = <0>; |
|---|
| 198 | 24 | power-supply = <&vcc3v3_lcd>; |
|---|
| 199 | 25 | backlight = <&backlight>; |
|---|
| 200 | | - prepare-delay-ms = <0>; |
|---|
| 201 | | - reset-delay-ms = <0>; |
|---|
| 202 | | - init-delay-ms = <80>; |
|---|
| 203 | | - enable-delay-ms = <0>; |
|---|
| 204 | | - disable-delay-ms = <10>; |
|---|
| 205 | | - unprepare-delay-ms = <60>; |
|---|
| 26 | + prepare-delay-ms = <2>; |
|---|
| 27 | + reset-delay-ms = <1>; |
|---|
| 28 | + init-delay-ms = <20>; |
|---|
| 29 | + enable-delay-ms = <120>; |
|---|
| 30 | + disable-delay-ms = <50>; |
|---|
| 31 | + unprepare-delay-ms = <20>; |
|---|
| 206 | 32 | |
|---|
| 207 | 33 | width-mm = <68>; |
|---|
| 208 | 34 | height-mm = <121>; |
|---|
| .. | .. |
|---|
| 213 | 39 | dsi,lanes = <4>; |
|---|
| 214 | 40 | |
|---|
| 215 | 41 | panel-init-sequence = [ |
|---|
| 216 | | - 39 00 04 ff 98 81 03 |
|---|
| 217 | | - 15 00 02 01 00 |
|---|
| 218 | | - 15 00 02 02 00 |
|---|
| 219 | | - 15 00 02 03 53 |
|---|
| 220 | | - 15 00 02 04 53 |
|---|
| 221 | | - 15 00 02 05 13 |
|---|
| 222 | | - 15 00 02 06 04 |
|---|
| 223 | | - 15 00 02 07 02 |
|---|
| 224 | | - 15 00 02 08 02 |
|---|
| 225 | | - 15 00 02 09 00 |
|---|
| 226 | | - 15 00 02 0a 00 |
|---|
| 227 | | - 15 00 02 0b 00 |
|---|
| 228 | | - 15 00 02 0c 00 |
|---|
| 229 | | - 15 00 02 0d 00 |
|---|
| 230 | | - 15 00 02 0e 00 |
|---|
| 231 | | - 15 00 02 0f 00 |
|---|
| 232 | | - |
|---|
| 233 | | - 15 00 02 10 00 |
|---|
| 234 | | - 15 00 02 11 00 |
|---|
| 235 | | - 15 00 02 12 00 |
|---|
| 236 | | - 15 00 02 13 00 |
|---|
| 237 | | - 15 00 02 14 00 |
|---|
| 238 | | - 15 00 02 15 08 |
|---|
| 239 | | - 15 00 02 16 10 |
|---|
| 240 | | - 15 00 02 17 00 |
|---|
| 241 | | - 15 00 02 18 08 |
|---|
| 242 | | - 15 00 02 19 00 |
|---|
| 243 | | - 15 00 02 1a 00 |
|---|
| 244 | | - 15 00 02 1b 00 |
|---|
| 245 | | - 15 00 02 1c 00 |
|---|
| 246 | | - 15 00 02 1d 00 |
|---|
| 247 | | - 15 00 02 1e c0 |
|---|
| 248 | | - 15 00 02 1f 80 |
|---|
| 249 | | - |
|---|
| 250 | | - 15 00 02 20 02 |
|---|
| 251 | | - 15 00 02 21 09 |
|---|
| 252 | | - 15 00 02 22 00 |
|---|
| 253 | | - 15 00 02 23 00 |
|---|
| 254 | | - 15 00 02 24 00 |
|---|
| 255 | | - 15 00 02 25 00 |
|---|
| 256 | | - 15 00 02 26 00 |
|---|
| 257 | | - 15 00 02 27 00 |
|---|
| 258 | | - 15 00 02 28 55 |
|---|
| 259 | | - 15 00 02 29 03 |
|---|
| 260 | | - 15 00 02 2a 00 |
|---|
| 261 | | - 15 00 02 2b 00 |
|---|
| 262 | | - 15 00 02 2c 00 |
|---|
| 263 | | - 15 00 02 2d 00 |
|---|
| 264 | | - 15 00 02 2e 00 |
|---|
| 265 | | - 15 00 02 2f 00 |
|---|
| 266 | | - |
|---|
| 267 | | - 15 00 02 30 00 |
|---|
| 268 | | - 15 00 02 31 00 |
|---|
| 269 | | - 15 00 02 32 00 |
|---|
| 270 | | - 15 00 02 33 00 |
|---|
| 271 | | - 15 00 02 34 04 |
|---|
| 272 | | - 15 00 02 35 05 |
|---|
| 273 | | - 15 00 02 36 05 |
|---|
| 274 | | - 15 00 02 37 00 |
|---|
| 275 | | - 15 00 02 38 3c |
|---|
| 276 | | - 15 00 02 39 35 |
|---|
| 277 | | - 15 00 02 3a 00 |
|---|
| 278 | | - 15 00 02 3b 40 |
|---|
| 279 | | - 15 00 02 3c 00 |
|---|
| 280 | | - 15 00 02 3d 00 |
|---|
| 281 | | - 15 00 02 3e 00 |
|---|
| 282 | | - 15 00 02 3f 00 |
|---|
| 283 | | - |
|---|
| 284 | | - 15 00 02 40 00 |
|---|
| 285 | | - 15 00 02 41 88 |
|---|
| 286 | | - 15 00 02 42 00 |
|---|
| 287 | | - 15 00 02 43 00 |
|---|
| 288 | | - 15 00 02 44 1f |
|---|
| 289 | | - |
|---|
| 290 | | - 15 00 02 50 01 |
|---|
| 291 | | - 15 00 02 51 23 |
|---|
| 292 | | - 15 00 02 52 45 |
|---|
| 293 | | - 15 00 02 53 67 |
|---|
| 294 | | - 15 00 02 54 89 |
|---|
| 295 | | - 15 00 02 55 ab |
|---|
| 296 | | - 15 00 02 56 01 |
|---|
| 297 | | - 15 00 02 57 23 |
|---|
| 298 | | - 15 00 02 58 45 |
|---|
| 299 | | - 15 00 02 59 67 |
|---|
| 300 | | - 15 00 02 5a 89 |
|---|
| 301 | | - 15 00 02 5b ab |
|---|
| 302 | | - 15 00 02 5c cd |
|---|
| 303 | | - 15 00 02 5d ef |
|---|
| 304 | | - 15 00 02 5e 03 |
|---|
| 305 | | - 15 00 02 5f 14 |
|---|
| 306 | | - |
|---|
| 307 | | - 15 00 02 60 15 |
|---|
| 308 | | - 15 00 02 61 0c |
|---|
| 309 | | - 15 00 02 62 0d |
|---|
| 310 | | - 15 00 02 63 0e |
|---|
| 311 | | - 15 00 02 64 0f |
|---|
| 312 | | - 15 00 02 65 10 |
|---|
| 313 | | - 15 00 02 66 11 |
|---|
| 314 | | - 15 00 02 67 08 |
|---|
| 315 | | - 15 00 02 68 02 |
|---|
| 316 | | - 15 00 02 69 0a |
|---|
| 317 | | - 15 00 02 6a 02 |
|---|
| 318 | | - 15 00 02 6b 02 |
|---|
| 319 | | - 15 00 02 6c 02 |
|---|
| 320 | | - 15 00 02 6d 02 |
|---|
| 321 | | - 15 00 02 6e 02 |
|---|
| 322 | | - 15 00 02 6f 02 |
|---|
| 323 | | - |
|---|
| 324 | | - 15 00 02 70 02 |
|---|
| 325 | | - 15 00 02 71 02 |
|---|
| 326 | | - 15 00 02 72 06 |
|---|
| 327 | | - 15 00 02 73 02 |
|---|
| 328 | | - 15 00 02 74 02 |
|---|
| 329 | | - 15 00 02 75 14 |
|---|
| 330 | | - 15 00 02 76 15 |
|---|
| 331 | | - 15 00 02 77 0f |
|---|
| 332 | | - 15 00 02 78 0e |
|---|
| 333 | | - 15 00 02 79 0d |
|---|
| 334 | | - 15 00 02 7a 0c |
|---|
| 335 | | - 15 00 02 7b 11 |
|---|
| 336 | | - 15 00 02 7c 10 |
|---|
| 337 | | - 15 00 02 7d 06 |
|---|
| 338 | | - 15 00 02 7e 02 |
|---|
| 339 | | - 15 00 02 7f 0a |
|---|
| 340 | | - |
|---|
| 341 | | - 15 00 02 80 02 |
|---|
| 342 | | - 15 00 02 81 02 |
|---|
| 343 | | - 15 00 02 82 02 |
|---|
| 344 | | - 15 00 02 83 02 |
|---|
| 345 | | - 15 00 02 84 02 |
|---|
| 346 | | - 15 00 02 85 02 |
|---|
| 347 | | - 15 00 02 86 02 |
|---|
| 348 | | - 15 00 02 87 02 |
|---|
| 349 | | - 15 00 02 88 08 |
|---|
| 350 | | - 15 00 02 89 02 |
|---|
| 351 | | - 15 00 02 8a 02 |
|---|
| 352 | | - |
|---|
| 353 | | - 39 00 04 ff 98 81 04 |
|---|
| 354 | | - 15 00 02 00 80 |
|---|
| 355 | | - 15 00 02 70 00 |
|---|
| 356 | | - 15 00 02 71 00 |
|---|
| 357 | | - 15 00 02 66 fe |
|---|
| 358 | | - 15 00 02 82 15 |
|---|
| 359 | | - 15 00 02 84 15 |
|---|
| 360 | | - 15 00 02 85 15 |
|---|
| 361 | | - 15 00 02 3a 24 |
|---|
| 362 | | - 15 00 02 32 ac |
|---|
| 363 | | - 15 00 02 8c 80 |
|---|
| 364 | | - 15 00 02 3c f5 |
|---|
| 365 | | - 15 00 02 88 33 |
|---|
| 366 | | - |
|---|
| 367 | | - 39 00 04 ff 98 81 01 |
|---|
| 368 | | - 15 00 02 22 0a |
|---|
| 369 | | - 15 00 02 31 00 |
|---|
| 370 | | - 15 00 02 53 78 |
|---|
| 371 | | - 15 00 02 50 5b |
|---|
| 372 | | - 15 00 02 51 5b |
|---|
| 373 | | - 15 00 02 60 20 |
|---|
| 374 | | - 15 00 02 61 00 |
|---|
| 375 | | - 15 00 02 62 0d |
|---|
| 376 | | - 15 00 02 63 00 |
|---|
| 377 | | - |
|---|
| 378 | | - 15 00 02 a0 00 |
|---|
| 379 | | - 15 00 02 a1 10 |
|---|
| 380 | | - 15 00 02 a2 1c |
|---|
| 381 | | - 15 00 02 a3 13 |
|---|
| 382 | | - 15 00 02 a4 15 |
|---|
| 383 | | - 15 00 02 a5 26 |
|---|
| 384 | | - 15 00 02 a6 1a |
|---|
| 385 | | - 15 00 02 a7 1d |
|---|
| 386 | | - 15 00 02 a8 67 |
|---|
| 387 | | - 15 00 02 a9 1c |
|---|
| 388 | | - 15 00 02 aa 29 |
|---|
| 389 | | - 15 00 02 ab 5b |
|---|
| 390 | | - 15 00 02 ac 26 |
|---|
| 391 | | - 15 00 02 ad 28 |
|---|
| 392 | | - 15 00 02 ae 5c |
|---|
| 393 | | - 15 00 02 af 30 |
|---|
| 394 | | - 15 00 02 b0 31 |
|---|
| 395 | | - 15 00 02 b1 2e |
|---|
| 396 | | - 15 00 02 b2 32 |
|---|
| 397 | | - 15 00 02 b3 00 |
|---|
| 398 | | - |
|---|
| 399 | | - 15 00 02 c0 00 |
|---|
| 400 | | - 15 00 02 c1 10 |
|---|
| 401 | | - 15 00 02 c2 1c |
|---|
| 402 | | - 15 00 02 c3 13 |
|---|
| 403 | | - 15 00 02 c4 15 |
|---|
| 404 | | - 15 00 02 c5 26 |
|---|
| 405 | | - 15 00 02 c6 1a |
|---|
| 406 | | - 15 00 02 c7 1d |
|---|
| 407 | | - 15 00 02 c8 67 |
|---|
| 408 | | - 15 00 02 c9 1c |
|---|
| 409 | | - 15 00 02 ca 29 |
|---|
| 410 | | - 15 00 02 cb 5b |
|---|
| 411 | | - 15 00 02 cc 26 |
|---|
| 412 | | - 15 00 02 cd 28 |
|---|
| 413 | | - 15 00 02 ce 5c |
|---|
| 414 | | - 15 00 02 cf 30 |
|---|
| 415 | | - 15 00 02 d0 31 |
|---|
| 416 | | - 15 00 02 d1 2e |
|---|
| 417 | | - 15 00 02 d2 32 |
|---|
| 418 | | - 15 00 02 d3 00 |
|---|
| 419 | | - 39 00 04 ff 98 81 00 |
|---|
| 420 | | - 05 00 01 11 |
|---|
| 421 | | - 05 01 01 29 |
|---|
| 42 | + 05 fa 01 11 |
|---|
| 43 | + 39 00 04 b9 f1 12 83 |
|---|
| 44 | + 39 00 1c ba 33 81 05 f9 0e 0e 00 00 00 |
|---|
| 45 | + 00 00 00 00 00 44 25 00 91 0a |
|---|
| 46 | + 00 00 02 4f 01 00 00 37 |
|---|
| 47 | + 15 00 02 b8 25 |
|---|
| 48 | + 39 00 04 bf 02 11 00 |
|---|
| 49 | + 39 00 0b b3 0c 10 0a 50 03 ff 00 00 00 |
|---|
| 50 | + 00 |
|---|
| 51 | + 39 00 0a c0 73 73 50 50 00 00 08 70 00 |
|---|
| 52 | + 15 00 02 bc 46 |
|---|
| 53 | + 15 00 02 cc 0b |
|---|
| 54 | + 15 00 02 b4 80 |
|---|
| 55 | + 39 00 04 b2 c8 12 30 |
|---|
| 56 | + 39 00 0f e3 07 07 0b 0b 03 0b 00 00 00 |
|---|
| 57 | + 00 ff 00 c0 10 |
|---|
| 58 | + 39 00 0d c1 53 00 1e 1e 77 e1 cc dd 67 |
|---|
| 59 | + 77 33 33 |
|---|
| 60 | + 39 00 07 c6 00 00 ff ff 01 ff |
|---|
| 61 | + 39 00 03 b5 09 09 |
|---|
| 62 | + 39 00 03 b6 87 95 |
|---|
| 63 | + 39 00 40 e9 c2 10 05 05 10 05 a0 12 31 |
|---|
| 64 | + 23 3f 81 0a a0 37 18 00 80 01 |
|---|
| 65 | + 00 00 00 00 80 01 00 00 00 48 |
|---|
| 66 | + f8 86 42 08 88 88 80 88 88 88 |
|---|
| 67 | + 58 f8 87 53 18 88 88 81 88 88 |
|---|
| 68 | + 88 00 00 00 01 00 00 00 00 00 |
|---|
| 69 | + 00 00 00 00 |
|---|
| 70 | + 39 00 3e ea 00 1a 00 00 00 00 02 00 00 |
|---|
| 71 | + 00 00 00 1f 88 81 35 78 88 88 |
|---|
| 72 | + 85 88 88 88 0f 88 80 24 68 88 |
|---|
| 73 | + 88 84 88 88 88 23 10 00 00 1c |
|---|
| 74 | + 00 00 00 00 00 00 00 00 00 00 |
|---|
| 75 | + 00 00 00 00 00 30 05 a0 00 00 |
|---|
| 76 | + 00 00 |
|---|
| 77 | + 39 00 23 e0 00 06 08 2a 31 3f 38 36 07 |
|---|
| 78 | + 0c 0d 11 13 12 13 11 18 00 06 |
|---|
| 79 | + 08 2a 31 3f 38 36 07 0c 0d 11 |
|---|
| 80 | + 13 12 13 11 18 |
|---|
| 81 | + 05 32 01 29 |
|---|
| 422 | 82 | ]; |
|---|
| 423 | 83 | |
|---|
| 424 | 84 | panel-exit-sequence = [ |
|---|
| .. | .. |
|---|
| 471 | 131 | }; |
|---|
| 472 | 132 | }; |
|---|
| 473 | 133 | }; |
|---|
| 474 | | - |
|---|
| 475 | | -&dsi_in_vopb { |
|---|
| 476 | | - status = "okay"; |
|---|
| 477 | | -}; |
|---|
| 478 | | - |
|---|
| 479 | | -&dsi_in_vopl { |
|---|
| 480 | | - status = "disabled"; |
|---|
| 481 | | -}; |
|---|
| 482 | | - |
|---|
| 483 | | -&route_dsi { |
|---|
| 484 | | - connect = <&vopb_out_dsi>; |
|---|
| 485 | | - status = "okay"; |
|---|
| 486 | | -}; |
|---|
| 487 | | - |
|---|
| 488 | | -&bus_apll { |
|---|
| 489 | | - bus-supply = <&vdd_logic>; |
|---|
| 490 | | - status = "okay"; |
|---|
| 491 | | -}; |
|---|
| 492 | | - |
|---|
| 493 | | -&cpu0 { |
|---|
| 494 | | - cpu-supply = <&vdd_arm>; |
|---|
| 495 | | -}; |
|---|
| 496 | | - |
|---|
| 497 | | -&dfi { |
|---|
| 498 | | - status = "okay"; |
|---|
| 499 | | -}; |
|---|
| 500 | | - |
|---|
| 501 | | -&dmc { |
|---|
| 502 | | - center-supply = <&vdd_logic>; |
|---|
| 503 | | - status = "okay"; |
|---|
| 504 | | -}; |
|---|
| 505 | | - |
|---|
| 506 | | -&emmc { |
|---|
| 507 | | - bus-width = <8>; |
|---|
| 508 | | - cap-mmc-highspeed; |
|---|
| 509 | | - mmc-hs200-1_8v; |
|---|
| 510 | | - supports-emmc; |
|---|
| 511 | | - disable-wp; |
|---|
| 512 | | - non-removable; |
|---|
| 513 | | - num-slots = <1>; |
|---|
| 514 | | - status = "okay"; |
|---|
| 515 | | -}; |
|---|
| 516 | | - |
|---|
| 517 | | -&gmac { |
|---|
| 518 | | - phy-supply = <&vcc_phy>; |
|---|
| 519 | | - clock_in_out = "input"; |
|---|
| 520 | | - assigned-clocks = <&cru SCLK_GMAC>; |
|---|
| 521 | | - assigned-clock-parents = <&gmac_clkin>; |
|---|
| 522 | | - pinctrl-names = "default"; |
|---|
| 523 | | - pinctrl-0 = <&rmii_pins &mac_refclk>; |
|---|
| 524 | | - snps,reset-gpio = <&gpio2 13 GPIO_ACTIVE_LOW>; |
|---|
| 525 | | - snps,reset-active-low; |
|---|
| 526 | | - snps,reset-delays-us = <0 50000 50000>; |
|---|
| 527 | | - status = "okay"; |
|---|
| 528 | | -}; |
|---|
| 529 | | - |
|---|
| 530 | | -&gpu { |
|---|
| 531 | | - mali-supply = <&vdd_logic>; |
|---|
| 532 | | - status = "okay"; |
|---|
| 533 | | -}; |
|---|
| 534 | | - |
|---|
| 535 | | -&i2c0 { |
|---|
| 536 | | - status = "okay"; |
|---|
| 537 | | - |
|---|
| 538 | | - rk809: pmic@20 { |
|---|
| 539 | | - compatible = "rockchip,rk809"; |
|---|
| 540 | | - reg = <0x20>; |
|---|
| 541 | | - interrupt-parent = <&gpio0>; |
|---|
| 542 | | - interrupts = <7 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 543 | | - pinctrl-names = "default", "pmic-sleep", |
|---|
| 544 | | - "pmic-power-off", "pmic-reset"; |
|---|
| 545 | | - pinctrl-0 = <&pmic_int>; |
|---|
| 546 | | - pinctrl-1 = <&soc_slppin_slp>, <&rk817_slppin_slp>; |
|---|
| 547 | | - pinctrl-2 = <&soc_slppin_gpio>, <&rk817_slppin_pwrdn>; |
|---|
| 548 | | - pinctrl-3 = <&soc_slppin_rst>, <&rk817_slppin_rst>; |
|---|
| 549 | | - rockchip,system-power-controller; |
|---|
| 550 | | - wakeup-source; |
|---|
| 551 | | - #clock-cells = <1>; |
|---|
| 552 | | - clock-output-names = "rk808-clkout1", "rk808-clkout2"; |
|---|
| 553 | | - //fb-inner-reg-idxs = <2>; |
|---|
| 554 | | - /* 1: rst regs (default in codes), 0: rst the pmic */ |
|---|
| 555 | | - pmic-reset-func = <1>; |
|---|
| 556 | | - |
|---|
| 557 | | - vcc1-supply = <&vcc5v0_sys>; |
|---|
| 558 | | - vcc2-supply = <&vcc5v0_sys>; |
|---|
| 559 | | - vcc3-supply = <&vcc5v0_sys>; |
|---|
| 560 | | - vcc4-supply = <&vcc5v0_sys>; |
|---|
| 561 | | - vcc5-supply = <&vcc3v3_sys>; |
|---|
| 562 | | - vcc6-supply = <&vcc3v3_sys>; |
|---|
| 563 | | - vcc7-supply = <&vcc3v3_sys>; |
|---|
| 564 | | - vcc8-supply = <&vcc3v3_sys>; |
|---|
| 565 | | - vcc9-supply = <&vcc5v0_sys>; |
|---|
| 566 | | - |
|---|
| 567 | | - pwrkey { |
|---|
| 568 | | - status = "okay"; |
|---|
| 569 | | - }; |
|---|
| 570 | | - |
|---|
| 571 | | - pinctrl_rk8xx: pinctrl_rk8xx { |
|---|
| 572 | | - gpio-controller; |
|---|
| 573 | | - #gpio-cells = <2>; |
|---|
| 574 | | - |
|---|
| 575 | | - rk817_slppin_null: rk817_slppin_null { |
|---|
| 576 | | - pins = "gpio_slp"; |
|---|
| 577 | | - function = "pin_fun0"; |
|---|
| 578 | | - }; |
|---|
| 579 | | - |
|---|
| 580 | | - rk817_slppin_slp: rk817_slppin_slp { |
|---|
| 581 | | - pins = "gpio_slp"; |
|---|
| 582 | | - function = "pin_fun1"; |
|---|
| 583 | | - }; |
|---|
| 584 | | - |
|---|
| 585 | | - rk817_slppin_pwrdn: rk817_slppin_pwrdn { |
|---|
| 586 | | - pins = "gpio_slp"; |
|---|
| 587 | | - function = "pin_fun2"; |
|---|
| 588 | | - }; |
|---|
| 589 | | - |
|---|
| 590 | | - rk817_slppin_rst: rk817_slppin_rst { |
|---|
| 591 | | - pins = "gpio_slp"; |
|---|
| 592 | | - function = "pin_fun3"; |
|---|
| 593 | | - }; |
|---|
| 594 | | - }; |
|---|
| 595 | | - |
|---|
| 596 | | - regulators { |
|---|
| 597 | | - vdd_logic: DCDC_REG1 { |
|---|
| 598 | | - regulator-always-on; |
|---|
| 599 | | - regulator-boot-on; |
|---|
| 600 | | - regulator-min-microvolt = <850000>; |
|---|
| 601 | | - regulator-max-microvolt = <1350000>; |
|---|
| 602 | | - regulator-ramp-delay = <6001>; |
|---|
| 603 | | - regulator-initial-mode = <0x2>; |
|---|
| 604 | | - regulator-name = "vdd_logic"; |
|---|
| 605 | | - regulator-state-mem { |
|---|
| 606 | | - regulator-on-in-suspend; |
|---|
| 607 | | - regulator-suspend-microvolt = <950000>; |
|---|
| 608 | | - }; |
|---|
| 609 | | - }; |
|---|
| 610 | | - |
|---|
| 611 | | - vdd_arm: DCDC_REG2 { |
|---|
| 612 | | - regulator-always-on; |
|---|
| 613 | | - regulator-boot-on; |
|---|
| 614 | | - regulator-min-microvolt = <850000>; |
|---|
| 615 | | - regulator-max-microvolt = <1350000>; |
|---|
| 616 | | - regulator-ramp-delay = <6001>; |
|---|
| 617 | | - regulator-initial-mode = <0x2>; |
|---|
| 618 | | - regulator-name = "vdd_arm"; |
|---|
| 619 | | - regulator-state-mem { |
|---|
| 620 | | - regulator-off-in-suspend; |
|---|
| 621 | | - regulator-suspend-microvolt = <950000>; |
|---|
| 622 | | - }; |
|---|
| 623 | | - }; |
|---|
| 624 | | - |
|---|
| 625 | | - vcc_ddr: DCDC_REG3 { |
|---|
| 626 | | - regulator-always-on; |
|---|
| 627 | | - regulator-boot-on; |
|---|
| 628 | | - regulator-name = "vcc_ddr"; |
|---|
| 629 | | - regulator-initial-mode = <0x2>; |
|---|
| 630 | | - regulator-state-mem { |
|---|
| 631 | | - regulator-on-in-suspend; |
|---|
| 632 | | - }; |
|---|
| 633 | | - }; |
|---|
| 634 | | - |
|---|
| 635 | | - vcc_3v0: DCDC_REG4 { |
|---|
| 636 | | - regulator-always-on; |
|---|
| 637 | | - regulator-boot-on; |
|---|
| 638 | | - regulator-min-microvolt = <3000000>; |
|---|
| 639 | | - regulator-max-microvolt = <3000000>; |
|---|
| 640 | | - regulator-initial-mode = <0x2>; |
|---|
| 641 | | - regulator-name = "vcc_3v0"; |
|---|
| 642 | | - regulator-state-mem { |
|---|
| 643 | | - regulator-on-in-suspend; |
|---|
| 644 | | - regulator-suspend-microvolt = <3000000>; |
|---|
| 645 | | - }; |
|---|
| 646 | | - }; |
|---|
| 647 | | - |
|---|
| 648 | | - vcc_1v0: LDO_REG1 { |
|---|
| 649 | | - regulator-always-on; |
|---|
| 650 | | - regulator-boot-on; |
|---|
| 651 | | - regulator-min-microvolt = <1000000>; |
|---|
| 652 | | - regulator-max-microvolt = <1000000>; |
|---|
| 653 | | - regulator-name = "vcc_1v0"; |
|---|
| 654 | | - regulator-state-mem { |
|---|
| 655 | | - regulator-on-in-suspend; |
|---|
| 656 | | - regulator-suspend-microvolt = <1000000>; |
|---|
| 657 | | - }; |
|---|
| 658 | | - }; |
|---|
| 659 | | - |
|---|
| 660 | | - vccio_sdio: vcc1v8_soc: LDO_REG2 { |
|---|
| 661 | | - regulator-always-on; |
|---|
| 662 | | - regulator-boot-on; |
|---|
| 663 | | - regulator-min-microvolt = <1800000>; |
|---|
| 664 | | - regulator-max-microvolt = <1800000>; |
|---|
| 665 | | - |
|---|
| 666 | | - regulator-name = "vcc1v8_soc"; |
|---|
| 667 | | - regulator-state-mem { |
|---|
| 668 | | - regulator-on-in-suspend; |
|---|
| 669 | | - regulator-suspend-microvolt = <1800000>; |
|---|
| 670 | | - }; |
|---|
| 671 | | - }; |
|---|
| 672 | | - |
|---|
| 673 | | - vdd1v0_soc: LDO_REG3 { |
|---|
| 674 | | - regulator-always-on; |
|---|
| 675 | | - regulator-boot-on; |
|---|
| 676 | | - regulator-min-microvolt = <1000000>; |
|---|
| 677 | | - regulator-max-microvolt = <1000000>; |
|---|
| 678 | | - |
|---|
| 679 | | - regulator-name = "vcc1v0_soc"; |
|---|
| 680 | | - regulator-state-mem { |
|---|
| 681 | | - regulator-on-in-suspend; |
|---|
| 682 | | - regulator-suspend-microvolt = <1000000>; |
|---|
| 683 | | - }; |
|---|
| 684 | | - }; |
|---|
| 685 | | - |
|---|
| 686 | | - vcc3v0_pmu: LDO_REG4 { |
|---|
| 687 | | - regulator-always-on; |
|---|
| 688 | | - regulator-boot-on; |
|---|
| 689 | | - regulator-min-microvolt = <3000000>; |
|---|
| 690 | | - regulator-max-microvolt = <3000000>; |
|---|
| 691 | | - |
|---|
| 692 | | - regulator-name = "vcc3v0_pmu"; |
|---|
| 693 | | - regulator-state-mem { |
|---|
| 694 | | - regulator-on-in-suspend; |
|---|
| 695 | | - regulator-suspend-microvolt = <3000000>; |
|---|
| 696 | | - |
|---|
| 697 | | - }; |
|---|
| 698 | | - }; |
|---|
| 699 | | - |
|---|
| 700 | | - vccio_sd: LDO_REG5 { |
|---|
| 701 | | - regulator-always-on; |
|---|
| 702 | | - regulator-boot-on; |
|---|
| 703 | | - regulator-min-microvolt = <1800000>; |
|---|
| 704 | | - regulator-max-microvolt = <3300000>; |
|---|
| 705 | | - |
|---|
| 706 | | - regulator-name = "vccio_sd"; |
|---|
| 707 | | - regulator-state-mem { |
|---|
| 708 | | - regulator-on-in-suspend; |
|---|
| 709 | | - regulator-suspend-microvolt = <3300000>; |
|---|
| 710 | | - }; |
|---|
| 711 | | - }; |
|---|
| 712 | | - |
|---|
| 713 | | - vcc_sd: LDO_REG6 { |
|---|
| 714 | | - regulator-min-microvolt = <3300000>; |
|---|
| 715 | | - regulator-max-microvolt = <3300000>; |
|---|
| 716 | | - regulator-boot-on; |
|---|
| 717 | | - |
|---|
| 718 | | - regulator-name = "vcc_sd"; |
|---|
| 719 | | - regulator-state-mem { |
|---|
| 720 | | - regulator-on-in-suspend; |
|---|
| 721 | | - regulator-suspend-microvolt = <3300000>; |
|---|
| 722 | | - |
|---|
| 723 | | - }; |
|---|
| 724 | | - }; |
|---|
| 725 | | - |
|---|
| 726 | | - vcc2v8_dvp: LDO_REG7 { |
|---|
| 727 | | - regulator-boot-on; |
|---|
| 728 | | - regulator-min-microvolt = <2800000>; |
|---|
| 729 | | - regulator-max-microvolt = <2800000>; |
|---|
| 730 | | - |
|---|
| 731 | | - regulator-name = "vcc2v8_dvp"; |
|---|
| 732 | | - regulator-state-mem { |
|---|
| 733 | | - regulator-off-in-suspend; |
|---|
| 734 | | - regulator-suspend-microvolt = <2800000>; |
|---|
| 735 | | - }; |
|---|
| 736 | | - }; |
|---|
| 737 | | - |
|---|
| 738 | | - vcc1v8_dvp: LDO_REG8 { |
|---|
| 739 | | - regulator-boot-on; |
|---|
| 740 | | - regulator-min-microvolt = <1800000>; |
|---|
| 741 | | - regulator-max-microvolt = <1800000>; |
|---|
| 742 | | - |
|---|
| 743 | | - regulator-name = "vcc1v8_dvp"; |
|---|
| 744 | | - regulator-state-mem { |
|---|
| 745 | | - regulator-on-in-suspend; |
|---|
| 746 | | - regulator-suspend-microvolt = <1800000>; |
|---|
| 747 | | - }; |
|---|
| 748 | | - }; |
|---|
| 749 | | - |
|---|
| 750 | | - vdd1v5_dvp: LDO_REG9 { |
|---|
| 751 | | - regulator-boot-on; |
|---|
| 752 | | - regulator-min-microvolt = <1500000>; |
|---|
| 753 | | - regulator-max-microvolt = <1500000>; |
|---|
| 754 | | - |
|---|
| 755 | | - regulator-name = "vdd1v5_dvp"; |
|---|
| 756 | | - regulator-state-mem { |
|---|
| 757 | | - regulator-off-in-suspend; |
|---|
| 758 | | - regulator-suspend-microvolt = <1500000>; |
|---|
| 759 | | - }; |
|---|
| 760 | | - }; |
|---|
| 761 | | - |
|---|
| 762 | | - vcc3v3_sys: DCDC_REG5 { |
|---|
| 763 | | - regulator-always-on; |
|---|
| 764 | | - regulator-boot-on; |
|---|
| 765 | | - regulator-min-microvolt = <3300000>; |
|---|
| 766 | | - regulator-max-microvolt = <3300000>; |
|---|
| 767 | | - regulator-name = "vcc3v3_sys"; |
|---|
| 768 | | - regulator-state-mem { |
|---|
| 769 | | - regulator-on-in-suspend; |
|---|
| 770 | | - regulator-suspend-microvolt = <3300000>; |
|---|
| 771 | | - }; |
|---|
| 772 | | - }; |
|---|
| 773 | | - |
|---|
| 774 | | - vcc5v0_host: SWITCH_REG1 { |
|---|
| 775 | | - regulator-always-on; |
|---|
| 776 | | - regulator-boot-on; |
|---|
| 777 | | - regulator-name = "vcc5v0_host"; |
|---|
| 778 | | - }; |
|---|
| 779 | | - |
|---|
| 780 | | - vcc3v3_lcd: SWITCH_REG2 { |
|---|
| 781 | | - regulator-boot-on; |
|---|
| 782 | | - regulator-name = "vcc3v3_lcd"; |
|---|
| 783 | | - }; |
|---|
| 784 | | - }; |
|---|
| 785 | | - |
|---|
| 786 | | - rk809_codec: codec { |
|---|
| 787 | | - #sound-dai-cells = <0>; |
|---|
| 788 | | - compatible = "rockchip,rk809-codec", "rockchip,rk817-codec"; |
|---|
| 789 | | - clocks = <&cru SCLK_I2S1_OUT>; |
|---|
| 790 | | - clock-names = "mclk"; |
|---|
| 791 | | - pinctrl-names = "default"; |
|---|
| 792 | | - pinctrl-0 = <&i2s1_2ch_mclk>; |
|---|
| 793 | | - hp-volume = <20>; |
|---|
| 794 | | - spk-volume = <3>; |
|---|
| 795 | | - status = "okay"; |
|---|
| 796 | | - }; |
|---|
| 797 | | - }; |
|---|
| 798 | | -}; |
|---|
| 799 | | - |
|---|
| 800 | | -&i2c1 { |
|---|
| 801 | | - status = "okay"; |
|---|
| 802 | | - |
|---|
| 803 | | - sensor@f { |
|---|
| 804 | | - status = "okay"; |
|---|
| 805 | | - compatible = "ak8963"; |
|---|
| 806 | | - reg = <0x0f>; |
|---|
| 807 | | - type = <SENSOR_TYPE_COMPASS>; |
|---|
| 808 | | - irq_enable = <0>; |
|---|
| 809 | | - poll_delay_ms = <30>; |
|---|
| 810 | | - layout = <1>; |
|---|
| 811 | | - reprobe_en = <1>; |
|---|
| 812 | | - }; |
|---|
| 813 | | - |
|---|
| 814 | | - gt1x: gt1x@14 { |
|---|
| 815 | | - compatible = "goodix,gt1x"; |
|---|
| 816 | | - reg = <0x14>; |
|---|
| 817 | | - power-supply = <&vcc3v3_lcd>; |
|---|
| 818 | | - goodix,rst-gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; |
|---|
| 819 | | - goodix,irq-gpio = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 820 | | - }; |
|---|
| 821 | | - |
|---|
| 822 | | - sensor@4c { |
|---|
| 823 | | - status = "okay"; |
|---|
| 824 | | - compatible = "gs_mma7660"; |
|---|
| 825 | | - reg = <0x4c>; |
|---|
| 826 | | - type = <SENSOR_TYPE_ACCEL>; |
|---|
| 827 | | - irq-gpio = <&gpio0 RK_PB7 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 828 | | - irq_enable = <0>; |
|---|
| 829 | | - poll_delay_ms = <30>; |
|---|
| 830 | | - layout = <2>; |
|---|
| 831 | | - reprobe_en = <1>; |
|---|
| 832 | | - }; |
|---|
| 833 | | -}; |
|---|
| 834 | | - |
|---|
| 835 | | -&i2c2 { |
|---|
| 836 | | - status = "okay"; |
|---|
| 837 | | - |
|---|
| 838 | | - clock-frequency = <100000>; |
|---|
| 839 | | - |
|---|
| 840 | | - /* These are relatively safe rise/fall times; TODO: measure */ |
|---|
| 841 | | - i2c-scl-falling-time-ns = <50>; |
|---|
| 842 | | - i2c-scl-rising-time-ns = <300>; |
|---|
| 843 | | - |
|---|
| 844 | | - ov5695: ov5695@36 { |
|---|
| 845 | | - compatible = "ovti,ov5695"; |
|---|
| 846 | | - reg = <0x36>; |
|---|
| 847 | | - clocks = <&cru SCLK_CIF_OUT>; |
|---|
| 848 | | - clock-names = "xvclk"; |
|---|
| 849 | | - |
|---|
| 850 | | - avdd-supply = <&vcc2v8_dvp>; |
|---|
| 851 | | - dovdd-supply = <&vcc1v8_dvp>; |
|---|
| 852 | | - dvdd-supply = <&vdd1v5_dvp>; |
|---|
| 853 | | - |
|---|
| 854 | | - /*reset-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;*/ |
|---|
| 855 | | - pwdn-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>; |
|---|
| 856 | | - pinctrl-names = "default"; |
|---|
| 857 | | - pinctrl-0 = <&cif_clkout_m0>; |
|---|
| 858 | | - port { |
|---|
| 859 | | - ucam_out: endpoint { |
|---|
| 860 | | - remote-endpoint = <&mipi_in_ucam>; |
|---|
| 861 | | - data-lanes = <1 2>; |
|---|
| 862 | | - }; |
|---|
| 863 | | - }; |
|---|
| 864 | | - }; |
|---|
| 865 | | -}; |
|---|
| 866 | | - |
|---|
| 867 | | -&i2s1_2ch { |
|---|
| 868 | | - status = "okay"; |
|---|
| 869 | | - #sound-dai-cells = <0>; |
|---|
| 870 | | -}; |
|---|
| 871 | | - |
|---|
| 872 | | -&io_domains { |
|---|
| 873 | | - status = "okay"; |
|---|
| 874 | | - |
|---|
| 875 | | - vccio1-supply = <&vccio_sdio>; |
|---|
| 876 | | - vccio2-supply = <&vccio_sd>; |
|---|
| 877 | | - vccio3-supply = <&vcc_3v0>; |
|---|
| 878 | | - vccio4-supply = <&vcc3v0_pmu>; |
|---|
| 879 | | - vccio5-supply = <&vcc_3v0>; |
|---|
| 880 | | -}; |
|---|
| 881 | | - |
|---|
| 882 | | -&isp_mmu { |
|---|
| 883 | | - status = "okay"; |
|---|
| 884 | | -}; |
|---|
| 885 | | - |
|---|
| 886 | | -&mipi_dphy_rx0 { |
|---|
| 887 | | - status = "okay"; |
|---|
| 888 | | - |
|---|
| 889 | | - ports { |
|---|
| 890 | | - #address-cells = <1>; |
|---|
| 891 | | - #size-cells = <0>; |
|---|
| 892 | | - |
|---|
| 893 | | - port@0 { |
|---|
| 894 | | - reg = <0>; |
|---|
| 895 | | - #address-cells = <1>; |
|---|
| 896 | | - #size-cells = <0>; |
|---|
| 897 | | - |
|---|
| 898 | | - mipi_in_ucam: endpoint@1 { |
|---|
| 899 | | - reg = <1>; |
|---|
| 900 | | - remote-endpoint = <&ucam_out>; |
|---|
| 901 | | - data-lanes = <1 2>; |
|---|
| 902 | | - }; |
|---|
| 903 | | - }; |
|---|
| 904 | | - |
|---|
| 905 | | - port@1 { |
|---|
| 906 | | - reg = <1>; |
|---|
| 907 | | - #address-cells = <1>; |
|---|
| 908 | | - #size-cells = <0>; |
|---|
| 909 | | - |
|---|
| 910 | | - dphy_rx0_out: endpoint@0 { |
|---|
| 911 | | - reg = <0>; |
|---|
| 912 | | - remote-endpoint = <&isp0_mipi_in>; |
|---|
| 913 | | - }; |
|---|
| 914 | | - }; |
|---|
| 915 | | - }; |
|---|
| 916 | | -}; |
|---|
| 917 | | - |
|---|
| 918 | | -&nandc0 { |
|---|
| 919 | | - status = "okay"; |
|---|
| 920 | | -}; |
|---|
| 921 | | - |
|---|
| 922 | | -&pmu_io_domains { |
|---|
| 923 | | - status = "okay"; |
|---|
| 924 | | - |
|---|
| 925 | | - pmuio1-supply = <&vcc3v0_pmu>; |
|---|
| 926 | | - pmuio2-supply = <&vcc3v0_pmu>; |
|---|
| 927 | | -}; |
|---|
| 928 | | - |
|---|
| 929 | | -&pwm1 { |
|---|
| 930 | | - status = "okay"; |
|---|
| 931 | | -}; |
|---|
| 932 | | - |
|---|
| 933 | | -&rk_rga { |
|---|
| 934 | | - status = "okay"; |
|---|
| 935 | | -}; |
|---|
| 936 | | - |
|---|
| 937 | | -&rkisp1 { |
|---|
| 938 | | - status = "okay"; |
|---|
| 939 | | - |
|---|
| 940 | | - port { |
|---|
| 941 | | - #address-cells = <1>; |
|---|
| 942 | | - #size-cells = <0>; |
|---|
| 943 | | - |
|---|
| 944 | | - isp0_mipi_in: endpoint@0 { |
|---|
| 945 | | - reg = <0>; |
|---|
| 946 | | - remote-endpoint = <&dphy_rx0_out>; |
|---|
| 947 | | - }; |
|---|
| 948 | | - }; |
|---|
| 949 | | -}; |
|---|
| 950 | | - |
|---|
| 951 | | -&rockchip_suspend { |
|---|
| 952 | | - status = "okay"; |
|---|
| 953 | | - rockchip,sleep-debug-en = <1>; |
|---|
| 954 | | -}; |
|---|
| 955 | | - |
|---|
| 956 | | -&saradc { |
|---|
| 957 | | - status = "okay"; |
|---|
| 958 | | - vref-supply = <&vcc1v8_soc>; |
|---|
| 959 | | -}; |
|---|
| 960 | | - |
|---|
| 961 | | -&sdmmc { |
|---|
| 962 | | - bus-width = <4>; |
|---|
| 963 | | - cap-mmc-highspeed; |
|---|
| 964 | | - cap-sd-highspeed; |
|---|
| 965 | | - supports-sd; |
|---|
| 966 | | - card-detect-delay = <800>; |
|---|
| 967 | | - ignore-pm-notify; |
|---|
| 968 | | - /*cd-gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>; [> CD GPIO <]*/ |
|---|
| 969 | | - sd-uhs-sdr12; |
|---|
| 970 | | - sd-uhs-sdr25; |
|---|
| 971 | | - sd-uhs-sdr50; |
|---|
| 972 | | - sd-uhs-sdr104; |
|---|
| 973 | | - vqmmc-supply = <&vccio_sd>; |
|---|
| 974 | | - vmmc-supply = <&vcc_sd>; |
|---|
| 975 | | - status = "okay"; |
|---|
| 976 | | -}; |
|---|
| 977 | | - |
|---|
| 978 | | -&sdio { |
|---|
| 979 | | - bus-width = <4>; |
|---|
| 980 | | - cap-sd-highspeed; |
|---|
| 981 | | - supports-sdio; |
|---|
| 982 | | - ignore-pm-notify; |
|---|
| 983 | | - keep-power-in-suspend; |
|---|
| 984 | | - non-removable; |
|---|
| 985 | | - mmc-pwrseq = <&sdio_pwrseq>; |
|---|
| 986 | | - sd-uhs-sdr104; |
|---|
| 987 | | - status = "okay"; |
|---|
| 988 | | -}; |
|---|
| 989 | | - |
|---|
| 990 | | -&tsadc { |
|---|
| 991 | | - pinctrl-names = "gpio", "otpout"; |
|---|
| 992 | | - pinctrl-0 = <&tsadc_otp_gpio>; |
|---|
| 993 | | - pinctrl-1 = <&tsadc_otp_out>; |
|---|
| 994 | | - status = "okay"; |
|---|
| 995 | | -}; |
|---|
| 996 | | - |
|---|
| 997 | | -&uart1 { |
|---|
| 998 | | - pinctrl-names = "default"; |
|---|
| 999 | | - pinctrl-0 = <&uart1_xfer &uart1_cts>; |
|---|
| 1000 | | - status = "okay"; |
|---|
| 1001 | | -}; |
|---|
| 1002 | | - |
|---|
| 1003 | | -&u2phy { |
|---|
| 1004 | | - status = "okay"; |
|---|
| 1005 | | - |
|---|
| 1006 | | - u2phy_host: host-port { |
|---|
| 1007 | | - status = "okay"; |
|---|
| 1008 | | - }; |
|---|
| 1009 | | - |
|---|
| 1010 | | - u2phy_otg: otg-port { |
|---|
| 1011 | | - status = "okay"; |
|---|
| 1012 | | - }; |
|---|
| 1013 | | -}; |
|---|
| 1014 | | - |
|---|
| 1015 | | -&usb20_otg { |
|---|
| 1016 | | - status = "okay"; |
|---|
| 1017 | | -}; |
|---|
| 1018 | | - |
|---|
| 1019 | | -&usb_host0_ehci { |
|---|
| 1020 | | - status = "okay"; |
|---|
| 1021 | | -}; |
|---|
| 1022 | | - |
|---|
| 1023 | | -&usb_host0_ohci { |
|---|
| 1024 | | - status = "okay"; |
|---|
| 1025 | | -}; |
|---|
| 1026 | | - |
|---|
| 1027 | | -&vopb { |
|---|
| 1028 | | - status = "okay"; |
|---|
| 1029 | | -}; |
|---|
| 1030 | | - |
|---|
| 1031 | | -&vopb_mmu { |
|---|
| 1032 | | - status = "okay"; |
|---|
| 1033 | | -}; |
|---|
| 1034 | | - |
|---|
| 1035 | | -&vopl { |
|---|
| 1036 | | - status = "okay"; |
|---|
| 1037 | | -}; |
|---|
| 1038 | | - |
|---|
| 1039 | | -&vopl_mmu { |
|---|
| 1040 | | - status = "okay"; |
|---|
| 1041 | | -}; |
|---|
| 1042 | | - |
|---|
| 1043 | | -&mpp_srv { |
|---|
| 1044 | | - status = "okay"; |
|---|
| 1045 | | -}; |
|---|
| 1046 | | - |
|---|
| 1047 | | -&vdpu { |
|---|
| 1048 | | - status = "okay"; |
|---|
| 1049 | | -}; |
|---|
| 1050 | | - |
|---|
| 1051 | | -&vepu { |
|---|
| 1052 | | - status = "okay"; |
|---|
| 1053 | | -}; |
|---|
| 1054 | | - |
|---|
| 1055 | | -&vpu_mmu { |
|---|
| 1056 | | - status = "okay"; |
|---|
| 1057 | | -}; |
|---|
| 1058 | | - |
|---|
| 1059 | | -&hevc { |
|---|
| 1060 | | - status = "okay"; |
|---|
| 1061 | | -}; |
|---|
| 1062 | | - |
|---|
| 1063 | | -&hevc_mmu { |
|---|
| 1064 | | - status = "okay"; |
|---|
| 1065 | | -}; |
|---|
| 1066 | | - |
|---|
| 1067 | | -&pinctrl { |
|---|
| 1068 | | - headphone { |
|---|
| 1069 | | - hp_det: hp-det { |
|---|
| 1070 | | - rockchip,pins = <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_down>; |
|---|
| 1071 | | - }; |
|---|
| 1072 | | - }; |
|---|
| 1073 | | - |
|---|
| 1074 | | - pmic { |
|---|
| 1075 | | - pmic_int: pmic_int { |
|---|
| 1076 | | - rockchip,pins = |
|---|
| 1077 | | - <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>; |
|---|
| 1078 | | - }; |
|---|
| 1079 | | - |
|---|
| 1080 | | - soc_slppin_gpio: soc_slppin_gpio { |
|---|
| 1081 | | - rockchip,pins = |
|---|
| 1082 | | - <0 RK_PA4 RK_FUNC_GPIO &pcfg_output_low>; |
|---|
| 1083 | | - }; |
|---|
| 1084 | | - |
|---|
| 1085 | | - soc_slppin_slp: soc_slppin_slp { |
|---|
| 1086 | | - rockchip,pins = |
|---|
| 1087 | | - <0 RK_PA4 1 &pcfg_pull_none>; |
|---|
| 1088 | | - }; |
|---|
| 1089 | | - |
|---|
| 1090 | | - soc_slppin_rst: soc_slppin_rst { |
|---|
| 1091 | | - rockchip,pins = |
|---|
| 1092 | | - <0 RK_PA4 2 &pcfg_pull_none>; |
|---|
| 1093 | | - }; |
|---|
| 1094 | | - }; |
|---|
| 1095 | | - |
|---|
| 1096 | | - sdio-pwrseq { |
|---|
| 1097 | | - wifi_enable_h: wifi-enable-h { |
|---|
| 1098 | | - rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 1099 | | - }; |
|---|
| 1100 | | - }; |
|---|
| 1101 | | -}; |
|---|
| 1102 | | - |
|---|
| 1103 | | -/* DON'T PUT ANYTHING BELOW HERE. PUT IT ABOVE PINCTRL */ |
|---|
| 1104 | | -/* DON'T PUT ANYTHING BELOW HERE. PUT IT ABOVE PINCTRL */ |
|---|
| 1105 | | -/* DON'T PUT ANYTHING BELOW HERE. PUT IT ABOVE PINCTRL */ |
|---|
| 1106 | | - |
|---|