| .. | .. |
|---|
| 4 | 4 | */ |
|---|
| 5 | 5 | |
|---|
| 6 | 6 | /dts-v1/; |
|---|
| 7 | | -#include <dt-bindings/display/drm_mipi_dsi.h> |
|---|
| 8 | | -#include <dt-bindings/gpio/gpio.h> |
|---|
| 9 | | -#include <dt-bindings/input/input.h> |
|---|
| 10 | | -#include <dt-bindings/pinctrl/rockchip.h> |
|---|
| 11 | | -#include <dt-bindings/sensor-dev.h> |
|---|
| 12 | 7 | #include "rk3326.dtsi" |
|---|
| 13 | 8 | #include "rk3326-linux.dtsi" |
|---|
| 9 | +#include "rk3326-evb-lp3-v10.dtsi" |
|---|
| 14 | 10 | |
|---|
| 15 | 11 | / { |
|---|
| 16 | 12 | model = "Rockchip rk3326 evb lpddr3 v10 board for linux"; |
|---|
| .. | .. |
|---|
| 20 | 16 | bootargs = "earlycon=uart8250,mmio32,0xff160000 console=ttyFIQ0 rw root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait"; |
|---|
| 21 | 17 | }; |
|---|
| 22 | 18 | |
|---|
| 23 | | - adc-keys { |
|---|
| 24 | | - compatible = "adc-keys"; |
|---|
| 25 | | - io-channels = <&saradc 2>; |
|---|
| 26 | | - io-channel-names = "buttons"; |
|---|
| 27 | | - poll-interval = <100>; |
|---|
| 28 | | - keyup-threshold-microvolt = <1800000>; |
|---|
| 29 | | - |
|---|
| 30 | | - esc-key { |
|---|
| 31 | | - linux,code = <KEY_ESC>; |
|---|
| 32 | | - label = "esc"; |
|---|
| 33 | | - press-threshold-microvolt = <1310000>; |
|---|
| 34 | | - }; |
|---|
| 35 | | - |
|---|
| 36 | | - home-key { |
|---|
| 37 | | - linux,code = <KEY_HOME>; |
|---|
| 38 | | - label = "home"; |
|---|
| 39 | | - press-threshold-microvolt = <624000>; |
|---|
| 40 | | - }; |
|---|
| 41 | | - |
|---|
| 42 | | - menu-key { |
|---|
| 43 | | - linux,code = <KEY_MENU>; |
|---|
| 44 | | - label = "menu"; |
|---|
| 45 | | - press-threshold-microvolt = <987000>; |
|---|
| 46 | | - }; |
|---|
| 47 | | - |
|---|
| 48 | | - vol-down-key { |
|---|
| 49 | | - linux,code = <KEY_VOLUMEDOWN>; |
|---|
| 50 | | - label = "volume down"; |
|---|
| 51 | | - press-threshold-microvolt = <300000>; |
|---|
| 52 | | - }; |
|---|
| 53 | | - |
|---|
| 54 | | - vol-up-key { |
|---|
| 55 | | - linux,code = <KEY_VOLUMEUP>; |
|---|
| 56 | | - label = "volume up"; |
|---|
| 57 | | - press-threshold-microvolt = <17000>; |
|---|
| 58 | | - }; |
|---|
| 59 | | - }; |
|---|
| 60 | | - |
|---|
| 61 | | - backlight: backlight { |
|---|
| 62 | | - compatible = "pwm-backlight"; |
|---|
| 63 | | - pwms = <&pwm1 0 25000 0>; |
|---|
| 64 | | - brightness-levels = < |
|---|
| 65 | | - 0 1 2 3 4 5 6 7 |
|---|
| 66 | | - 8 9 10 11 12 13 14 15 |
|---|
| 67 | | - 16 17 18 19 20 21 22 23 |
|---|
| 68 | | - 24 25 26 27 28 29 30 31 |
|---|
| 69 | | - 32 33 34 35 36 37 38 39 |
|---|
| 70 | | - 40 41 42 43 44 45 46 47 |
|---|
| 71 | | - 48 49 50 51 52 53 54 55 |
|---|
| 72 | | - 56 57 58 59 60 61 62 63 |
|---|
| 73 | | - 64 65 66 67 68 69 70 71 |
|---|
| 74 | | - 72 73 74 75 76 77 78 79 |
|---|
| 75 | | - 80 81 82 83 84 85 86 87 |
|---|
| 76 | | - 88 89 90 91 92 93 94 95 |
|---|
| 77 | | - 96 97 98 99 100 101 102 103 |
|---|
| 78 | | - 104 105 106 107 108 109 110 111 |
|---|
| 79 | | - 112 113 114 115 116 117 118 119 |
|---|
| 80 | | - 120 121 122 123 124 125 126 127 |
|---|
| 81 | | - 128 129 130 131 132 133 134 135 |
|---|
| 82 | | - 136 137 138 139 140 141 142 143 |
|---|
| 83 | | - 144 145 146 147 148 149 150 151 |
|---|
| 84 | | - 152 153 154 155 156 157 158 159 |
|---|
| 85 | | - 160 161 162 163 164 165 166 167 |
|---|
| 86 | | - 168 169 170 171 172 173 174 175 |
|---|
| 87 | | - 176 177 178 179 180 181 182 183 |
|---|
| 88 | | - 184 185 186 187 188 189 190 191 |
|---|
| 89 | | - 192 193 194 195 196 197 198 199 |
|---|
| 90 | | - 200 201 202 203 204 205 206 207 |
|---|
| 91 | | - 208 209 210 211 212 213 214 215 |
|---|
| 92 | | - 216 217 218 219 220 221 222 223 |
|---|
| 93 | | - 224 225 226 227 228 229 230 231 |
|---|
| 94 | | - 232 233 234 235 236 237 238 239 |
|---|
| 95 | | - 240 241 242 243 244 245 246 247 |
|---|
| 96 | | - 248 249 250 251 252 253 254 255>; |
|---|
| 97 | | - default-brightness-level = <200>; |
|---|
| 98 | | - }; |
|---|
| 99 | | - |
|---|
| 100 | | - rk817-sound { |
|---|
| 101 | | - compatible = "simple-audio-card"; |
|---|
| 102 | | - simple-audio-card,format = "i2s"; |
|---|
| 103 | | - simple-audio-card,name = "rockchip,rk817-codec"; |
|---|
| 104 | | - simple-audio-card,mclk-fs = <256>; |
|---|
| 105 | | - simple-audio-card,widgets = |
|---|
| 106 | | - "Microphone", "Mic Jack", |
|---|
| 107 | | - "Headphone", "Headphone Jack"; |
|---|
| 108 | | - simple-audio-card,routing = |
|---|
| 109 | | - "MIC_IN", "Microphone Jack", |
|---|
| 110 | | - "IN1P", "Mic Jack", |
|---|
| 111 | | - "Headphone Jack", "HPOL", |
|---|
| 112 | | - "Headphone Jack", "HPOR"; |
|---|
| 113 | | - simple-audio-card,cpu { |
|---|
| 114 | | - sound-dai = <&i2s1_2ch>; |
|---|
| 115 | | - }; |
|---|
| 116 | | - simple-audio-card,codec { |
|---|
| 117 | | - sound-dai = <&rk817_codec>; |
|---|
| 118 | | - }; |
|---|
| 119 | | - }; |
|---|
| 120 | | - |
|---|
| 121 | | - rk_headset { |
|---|
| 122 | | - compatible = "rockchip_headset"; |
|---|
| 123 | | - headset_gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; |
|---|
| 124 | | - pinctrl-names = "default"; |
|---|
| 125 | | - pinctrl-0 = <&hp_det>; |
|---|
| 126 | | - io-channels = <&saradc 1>; |
|---|
| 127 | | - }; |
|---|
| 128 | | - |
|---|
| 129 | | - sdio_pwrseq: sdio-pwrseq { |
|---|
| 130 | | - compatible = "mmc-pwrseq-simple"; |
|---|
| 131 | | - /*clocks = <&rk817 1>;*/ |
|---|
| 132 | | - /*clock-names = "ext_clock";*/ |
|---|
| 133 | | - pinctrl-names = "default"; |
|---|
| 134 | | - pinctrl-0 = <&wifi_enable_h>; |
|---|
| 135 | | - |
|---|
| 136 | | - /* |
|---|
| 137 | | - * On the module itself this is one of these (depending |
|---|
| 138 | | - * on the actual card populated): |
|---|
| 139 | | - * - SDIO_RESET_L_WL_REG_ON |
|---|
| 140 | | - * - PDN (power down when low) |
|---|
| 141 | | - */ |
|---|
| 142 | | - reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO3_A4 */ |
|---|
| 143 | | - }; |
|---|
| 144 | | - |
|---|
| 145 | | - vccsys: vccsys { |
|---|
| 146 | | - compatible = "regulator-fixed"; |
|---|
| 147 | | - regulator-name = "vcc3v8_sys"; |
|---|
| 148 | | - regulator-always-on; |
|---|
| 149 | | - regulator-boot-on; |
|---|
| 150 | | - regulator-min-microvolt = <3800000>; |
|---|
| 151 | | - regulator-max-microvolt = <3800000>; |
|---|
| 152 | | - }; |
|---|
| 153 | | - |
|---|
| 154 | | - wireless-wlan { |
|---|
| 155 | | - compatible = "wlan-platdata"; |
|---|
| 156 | | - wifi_chip_type = "AP6210"; |
|---|
| 157 | | - WIFI,host_wake_irq = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>; |
|---|
| 158 | | - status = "okay"; |
|---|
| 159 | | - }; |
|---|
| 160 | | - |
|---|
| 161 | | - wireless-bluetooth { |
|---|
| 162 | | - compatible = "bluetooth-platdata"; |
|---|
| 163 | | - clocks = <&rk817 1>; |
|---|
| 164 | | - clock-names = "ext_clock"; |
|---|
| 165 | | - uart_rts_gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_LOW>; |
|---|
| 166 | | - pinctrl-names = "default","rts_gpio"; |
|---|
| 167 | | - pinctrl-0 = <&uart1_rts>; |
|---|
| 168 | | - pinctrl-1 = <&uart1_rts_gpio>; |
|---|
| 169 | | - BT,reset_gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; |
|---|
| 170 | | - BT,wake_gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; |
|---|
| 171 | | - BT,wake_host_irq = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>; |
|---|
| 172 | | - status = "okay"; |
|---|
| 173 | | - }; |
|---|
| 174 | | - |
|---|
| 175 | | - vcc18_lcd_n: vcc18-lcd-n { |
|---|
| 176 | | - compatible = "regulator-fixed"; |
|---|
| 177 | | - regulator-name = "vcc18_lcd_n"; |
|---|
| 178 | | - regulator-boot-on; |
|---|
| 179 | | - gpio = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>; |
|---|
| 180 | | - enable-active-high; |
|---|
| 181 | | - }; |
|---|
| 182 | | -}; |
|---|
| 183 | | - |
|---|
| 184 | | -&bus_apll { |
|---|
| 185 | | - bus-supply = <&vdd_logic>; |
|---|
| 186 | | - status = "okay"; |
|---|
| 19 | + /delete-node/ test-power; |
|---|
| 187 | 20 | }; |
|---|
| 188 | 21 | |
|---|
| 189 | 22 | &cif_new { |
|---|
| .. | .. |
|---|
| 195 | 28 | vsync-active = <0>; |
|---|
| 196 | 29 | hsync-active = <1>; |
|---|
| 197 | 30 | }; |
|---|
| 198 | | - }; |
|---|
| 199 | | -}; |
|---|
| 200 | | - |
|---|
| 201 | | -&cpu0 { |
|---|
| 202 | | - cpu-supply = <&vdd_arm>; |
|---|
| 203 | | -}; |
|---|
| 204 | | - |
|---|
| 205 | | -&display_subsystem { |
|---|
| 206 | | - status = "okay"; |
|---|
| 207 | | -}; |
|---|
| 208 | | - |
|---|
| 209 | | -&dsi { |
|---|
| 210 | | - status = "okay"; |
|---|
| 211 | | - |
|---|
| 212 | | - panel@0 { |
|---|
| 213 | | - compatible = "sitronix,st7703", "simple-panel-dsi"; |
|---|
| 214 | | - reg = <0>; |
|---|
| 215 | | - backlight = <&backlight>; |
|---|
| 216 | | - power-supply = <&vcc18_lcd_n>; |
|---|
| 217 | | - prepare-delay-ms = <2>; |
|---|
| 218 | | - reset-delay-ms = <1>; |
|---|
| 219 | | - init-delay-ms = <20>; |
|---|
| 220 | | - enable-delay-ms = <120>; |
|---|
| 221 | | - disable-delay-ms = <50>; |
|---|
| 222 | | - unprepare-delay-ms = <20>; |
|---|
| 223 | | - |
|---|
| 224 | | - width-mm = <68>; |
|---|
| 225 | | - height-mm = <121>; |
|---|
| 226 | | - |
|---|
| 227 | | - dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | |
|---|
| 228 | | - MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>; |
|---|
| 229 | | - dsi,format = <MIPI_DSI_FMT_RGB888>; |
|---|
| 230 | | - dsi,lanes = <4>; |
|---|
| 231 | | - |
|---|
| 232 | | - panel-init-sequence = [ |
|---|
| 233 | | - 05 fa 01 11 |
|---|
| 234 | | - 39 00 04 b9 f1 12 83 |
|---|
| 235 | | - 39 00 1c ba 33 81 05 f9 0e 0e 00 00 00 |
|---|
| 236 | | - 00 00 00 00 00 44 25 00 91 0a |
|---|
| 237 | | - 00 00 02 4f 01 00 00 37 |
|---|
| 238 | | - 15 00 02 b8 25 |
|---|
| 239 | | - 39 00 04 bf 02 11 00 |
|---|
| 240 | | - 39 00 0b b3 0c 10 0a 50 03 ff 00 00 00 |
|---|
| 241 | | - 00 |
|---|
| 242 | | - 39 00 0a c0 73 73 50 50 00 00 08 70 00 |
|---|
| 243 | | - 15 00 02 bc 46 |
|---|
| 244 | | - 15 00 02 cc 0b |
|---|
| 245 | | - 15 00 02 b4 80 |
|---|
| 246 | | - 39 00 04 b2 c8 12 30 |
|---|
| 247 | | - 39 00 0f e3 07 07 0b 0b 03 0b 00 00 00 |
|---|
| 248 | | - 00 ff 00 c0 10 |
|---|
| 249 | | - 39 00 0d c1 53 00 1e 1e 77 e1 cc dd 67 |
|---|
| 250 | | - 77 33 33 |
|---|
| 251 | | - 39 00 07 c6 00 00 ff ff 01 ff |
|---|
| 252 | | - 39 00 03 b5 09 09 |
|---|
| 253 | | - 39 00 03 b6 87 95 |
|---|
| 254 | | - 39 00 40 e9 c2 10 05 05 10 05 a0 12 31 |
|---|
| 255 | | - 23 3f 81 0a a0 37 18 00 80 01 |
|---|
| 256 | | - 00 00 00 00 80 01 00 00 00 48 |
|---|
| 257 | | - f8 86 42 08 88 88 80 88 88 88 |
|---|
| 258 | | - 58 f8 87 53 18 88 88 81 88 88 |
|---|
| 259 | | - 88 00 00 00 01 00 00 00 00 00 |
|---|
| 260 | | - 00 00 00 00 |
|---|
| 261 | | - 39 00 3e ea 00 1a 00 00 00 00 02 00 00 |
|---|
| 262 | | - 00 00 00 1f 88 81 35 78 88 88 |
|---|
| 263 | | - 85 88 88 88 0f 88 80 24 68 88 |
|---|
| 264 | | - 88 84 88 88 88 23 10 00 00 1c |
|---|
| 265 | | - 00 00 00 00 00 00 00 00 00 00 |
|---|
| 266 | | - 00 00 00 00 00 30 05 a0 00 00 |
|---|
| 267 | | - 00 00 |
|---|
| 268 | | - 39 00 23 e0 00 06 08 2a 31 3f 38 36 07 |
|---|
| 269 | | - 0c 0d 11 13 12 13 11 18 00 06 |
|---|
| 270 | | - 08 2a 31 3f 38 36 07 0c 0d 11 |
|---|
| 271 | | - 13 12 13 11 18 |
|---|
| 272 | | - 05 32 01 29 |
|---|
| 273 | | - ]; |
|---|
| 274 | | - |
|---|
| 275 | | - panel-exit-sequence = [ |
|---|
| 276 | | - 05 00 01 28 |
|---|
| 277 | | - 05 00 01 10 |
|---|
| 278 | | - ]; |
|---|
| 279 | | - |
|---|
| 280 | | - display-timings { |
|---|
| 281 | | - native-mode = <&timing0>; |
|---|
| 282 | | - |
|---|
| 283 | | - timing0: timing0 { |
|---|
| 284 | | - clock-frequency = <66000000>; |
|---|
| 285 | | - hactive = <720>; |
|---|
| 286 | | - vactive = <1280>; |
|---|
| 287 | | - hfront-porch = <40>; |
|---|
| 288 | | - hsync-len = <10>; |
|---|
| 289 | | - hback-porch = <40>; |
|---|
| 290 | | - vfront-porch = <22>; |
|---|
| 291 | | - vsync-len = <4>; |
|---|
| 292 | | - vback-porch = <11>; |
|---|
| 293 | | - hsync-active = <0>; |
|---|
| 294 | | - vsync-active = <0>; |
|---|
| 295 | | - de-active = <0>; |
|---|
| 296 | | - pixelclk-active = <0>; |
|---|
| 297 | | - }; |
|---|
| 298 | | - }; |
|---|
| 299 | | - |
|---|
| 300 | | - ports { |
|---|
| 301 | | - #address-cells = <1>; |
|---|
| 302 | | - #size-cells = <0>; |
|---|
| 303 | | - |
|---|
| 304 | | - port@0 { |
|---|
| 305 | | - reg = <0>; |
|---|
| 306 | | - panel_in_dsi: endpoint { |
|---|
| 307 | | - remote-endpoint = <&dsi_out_panel>; |
|---|
| 308 | | - }; |
|---|
| 309 | | - }; |
|---|
| 310 | | - }; |
|---|
| 311 | | - }; |
|---|
| 312 | | - |
|---|
| 313 | | - ports { |
|---|
| 314 | | - #address-cells = <1>; |
|---|
| 315 | | - #size-cells = <0>; |
|---|
| 316 | | - |
|---|
| 317 | | - port@1 { |
|---|
| 318 | | - reg = <1>; |
|---|
| 319 | | - dsi_out_panel: endpoint { |
|---|
| 320 | | - remote-endpoint = <&panel_in_dsi>; |
|---|
| 321 | | - }; |
|---|
| 322 | | - }; |
|---|
| 323 | | - }; |
|---|
| 324 | | -}; |
|---|
| 325 | | - |
|---|
| 326 | | -&dsi_in_vopb { |
|---|
| 327 | | - status = "okay"; |
|---|
| 328 | | -}; |
|---|
| 329 | | - |
|---|
| 330 | | -&dsi_in_vopl { |
|---|
| 331 | | - status = "disabled"; |
|---|
| 332 | | -}; |
|---|
| 333 | | - |
|---|
| 334 | | -&route_dsi { |
|---|
| 335 | | - connect = <&vopb_out_dsi>; |
|---|
| 336 | | - status = "okay"; |
|---|
| 337 | | -}; |
|---|
| 338 | | - |
|---|
| 339 | | -&dfi { |
|---|
| 340 | | - status = "okay"; |
|---|
| 341 | | -}; |
|---|
| 342 | | - |
|---|
| 343 | | -&dmc { |
|---|
| 344 | | - center-supply = <&vdd_logic>; |
|---|
| 345 | | - status = "okay"; |
|---|
| 346 | | -}; |
|---|
| 347 | | - |
|---|
| 348 | | -&emmc { |
|---|
| 349 | | - bus-width = <8>; |
|---|
| 350 | | - cap-mmc-highspeed; |
|---|
| 351 | | - mmc-hs200-1_8v; |
|---|
| 352 | | - supports-emmc; |
|---|
| 353 | | - disable-wp; |
|---|
| 354 | | - non-removable; |
|---|
| 355 | | - num-slots = <1>; |
|---|
| 356 | | - status = "okay"; |
|---|
| 357 | | -}; |
|---|
| 358 | | - |
|---|
| 359 | | -&gpu { |
|---|
| 360 | | - mali-supply = <&vdd_logic>; |
|---|
| 361 | | - status = "okay"; |
|---|
| 362 | | -}; |
|---|
| 363 | | - |
|---|
| 364 | | -&i2c0 { |
|---|
| 365 | | - status = "okay"; |
|---|
| 366 | | - clock-frequency = <400000>; |
|---|
| 367 | | - i2c-scl-rising-time-ns = <280>; |
|---|
| 368 | | - i2c-scl-falling-time-ns = <16>; |
|---|
| 369 | | - |
|---|
| 370 | | - rk817: pmic@20 { |
|---|
| 371 | | - compatible = "rockchip,rk817"; |
|---|
| 372 | | - reg = <0x20>; |
|---|
| 373 | | - interrupt-parent = <&gpio0>; |
|---|
| 374 | | - interrupts = <7 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 375 | | - pinctrl-names = "default", "pmic-sleep", |
|---|
| 376 | | - "pmic-power-off", "pmic-reset"; |
|---|
| 377 | | - pinctrl-0 = <&pmic_int>; |
|---|
| 378 | | - pinctrl-1 = <&soc_slppin_slp>, <&rk817_slppin_slp>; |
|---|
| 379 | | - pinctrl-2 = <&soc_slppin_gpio>, <&rk817_slppin_pwrdn>; |
|---|
| 380 | | - pinctrl-3 = <&soc_slppin_rst>, <&rk817_slppin_rst>; |
|---|
| 381 | | - rockchip,system-power-controller; |
|---|
| 382 | | - wakeup-source; |
|---|
| 383 | | - #clock-cells = <1>; |
|---|
| 384 | | - clock-output-names = "rk808-clkout1", "rk808-clkout2"; |
|---|
| 385 | | - //fb-inner-reg-idxs = <2>; |
|---|
| 386 | | - /* 1: rst regs (default in codes), 0: rst the pmic */ |
|---|
| 387 | | - pmic-reset-func = <1>; |
|---|
| 388 | | - |
|---|
| 389 | | - vcc1-supply = <&vccsys>; |
|---|
| 390 | | - vcc2-supply = <&vccsys>; |
|---|
| 391 | | - vcc3-supply = <&vccsys>; |
|---|
| 392 | | - vcc4-supply = <&vccsys>; |
|---|
| 393 | | - vcc5-supply = <&vccsys>; |
|---|
| 394 | | - vcc6-supply = <&vccsys>; |
|---|
| 395 | | - vcc7-supply = <&vcc_3v0>; |
|---|
| 396 | | - vcc8-supply = <&vccsys>; |
|---|
| 397 | | - vcc9-supply = <&dcdc_boost>; |
|---|
| 398 | | - |
|---|
| 399 | | - pwrkey { |
|---|
| 400 | | - status = "okay"; |
|---|
| 401 | | - }; |
|---|
| 402 | | - |
|---|
| 403 | | - pinctrl_rk8xx: pinctrl_rk8xx { |
|---|
| 404 | | - gpio-controller; |
|---|
| 405 | | - #gpio-cells = <2>; |
|---|
| 406 | | - |
|---|
| 407 | | - rk817_ts_gpio1: rk817_ts_gpio1 { |
|---|
| 408 | | - pins = "gpio_ts"; |
|---|
| 409 | | - function = "pin_fun1"; |
|---|
| 410 | | - /* output-low; */ |
|---|
| 411 | | - /* input-enable; */ |
|---|
| 412 | | - }; |
|---|
| 413 | | - |
|---|
| 414 | | - rk817_gt_gpio2: rk817_gt_gpio2 { |
|---|
| 415 | | - pins = "gpio_gt"; |
|---|
| 416 | | - function = "pin_fun1"; |
|---|
| 417 | | - }; |
|---|
| 418 | | - |
|---|
| 419 | | - rk817_pin_ts: rk817_pin_ts { |
|---|
| 420 | | - pins = "gpio_ts"; |
|---|
| 421 | | - function = "pin_fun0"; |
|---|
| 422 | | - }; |
|---|
| 423 | | - |
|---|
| 424 | | - rk817_pin_gt: rk817_pin_gt { |
|---|
| 425 | | - pins = "gpio_gt"; |
|---|
| 426 | | - function = "pin_fun0"; |
|---|
| 427 | | - }; |
|---|
| 428 | | - |
|---|
| 429 | | - rk817_slppin_null: rk817_slppin_null { |
|---|
| 430 | | - pins = "gpio_slp"; |
|---|
| 431 | | - function = "pin_fun0"; |
|---|
| 432 | | - }; |
|---|
| 433 | | - |
|---|
| 434 | | - rk817_slppin_slp: rk817_slppin_slp { |
|---|
| 435 | | - pins = "gpio_slp"; |
|---|
| 436 | | - function = "pin_fun1"; |
|---|
| 437 | | - }; |
|---|
| 438 | | - |
|---|
| 439 | | - rk817_slppin_pwrdn: rk817_slppin_pwrdn { |
|---|
| 440 | | - pins = "gpio_slp"; |
|---|
| 441 | | - function = "pin_fun2"; |
|---|
| 442 | | - }; |
|---|
| 443 | | - |
|---|
| 444 | | - rk817_slppin_rst: rk817_slppin_rst { |
|---|
| 445 | | - pins = "gpio_slp"; |
|---|
| 446 | | - function = "pin_fun3"; |
|---|
| 447 | | - }; |
|---|
| 448 | | - }; |
|---|
| 449 | | - |
|---|
| 450 | | - regulators { |
|---|
| 451 | | - vdd_logic: DCDC_REG1 { |
|---|
| 452 | | - regulator-always-on; |
|---|
| 453 | | - regulator-boot-on; |
|---|
| 454 | | - regulator-min-microvolt = <850000>; |
|---|
| 455 | | - regulator-max-microvolt = <1350000>; |
|---|
| 456 | | - regulator-ramp-delay = <6001>; |
|---|
| 457 | | - regulator-initial-mode = <0x2>; |
|---|
| 458 | | - regulator-name = "vdd_logic"; |
|---|
| 459 | | - regulator-state-mem { |
|---|
| 460 | | - regulator-on-in-suspend; |
|---|
| 461 | | - regulator-suspend-microvolt = <950000>; |
|---|
| 462 | | - }; |
|---|
| 463 | | - }; |
|---|
| 464 | | - |
|---|
| 465 | | - vdd_arm: DCDC_REG2 { |
|---|
| 466 | | - regulator-always-on; |
|---|
| 467 | | - regulator-boot-on; |
|---|
| 468 | | - regulator-min-microvolt = <850000>; |
|---|
| 469 | | - regulator-max-microvolt = <1350000>; |
|---|
| 470 | | - regulator-ramp-delay = <6001>; |
|---|
| 471 | | - regulator-initial-mode = <0x2>; |
|---|
| 472 | | - regulator-name = "vdd_arm"; |
|---|
| 473 | | - regulator-state-mem { |
|---|
| 474 | | - regulator-off-in-suspend; |
|---|
| 475 | | - regulator-suspend-microvolt = <950000>; |
|---|
| 476 | | - }; |
|---|
| 477 | | - }; |
|---|
| 478 | | - |
|---|
| 479 | | - vcc_ddr: DCDC_REG3 { |
|---|
| 480 | | - regulator-always-on; |
|---|
| 481 | | - regulator-boot-on; |
|---|
| 482 | | - regulator-initial-mode = <0x2>; |
|---|
| 483 | | - regulator-name = "vcc_ddr"; |
|---|
| 484 | | - regulator-state-mem { |
|---|
| 485 | | - regulator-on-in-suspend; |
|---|
| 486 | | - }; |
|---|
| 487 | | - }; |
|---|
| 488 | | - |
|---|
| 489 | | - vcc_3v0: DCDC_REG4 { |
|---|
| 490 | | - regulator-always-on; |
|---|
| 491 | | - regulator-boot-on; |
|---|
| 492 | | - regulator-min-microvolt = <3000000>; |
|---|
| 493 | | - regulator-max-microvolt = <3000000>; |
|---|
| 494 | | - regulator-initial-mode = <0x2>; |
|---|
| 495 | | - regulator-name = "vcc_3v0"; |
|---|
| 496 | | - regulator-state-mem { |
|---|
| 497 | | - regulator-off-in-suspend; |
|---|
| 498 | | - regulator-suspend-microvolt = <3000000>; |
|---|
| 499 | | - }; |
|---|
| 500 | | - }; |
|---|
| 501 | | - |
|---|
| 502 | | - vcc_1v0: LDO_REG1 { |
|---|
| 503 | | - regulator-always-on; |
|---|
| 504 | | - regulator-boot-on; |
|---|
| 505 | | - regulator-min-microvolt = <1000000>; |
|---|
| 506 | | - regulator-max-microvolt = <1000000>; |
|---|
| 507 | | - regulator-name = "vcc_1v0"; |
|---|
| 508 | | - regulator-state-mem { |
|---|
| 509 | | - regulator-on-in-suspend; |
|---|
| 510 | | - regulator-suspend-microvolt = <1000000>; |
|---|
| 511 | | - }; |
|---|
| 512 | | - }; |
|---|
| 513 | | - |
|---|
| 514 | | - vcc1v8_soc: LDO_REG2 { |
|---|
| 515 | | - regulator-always-on; |
|---|
| 516 | | - regulator-boot-on; |
|---|
| 517 | | - regulator-min-microvolt = <1800000>; |
|---|
| 518 | | - regulator-max-microvolt = <1800000>; |
|---|
| 519 | | - |
|---|
| 520 | | - regulator-name = "vcc1v8_soc"; |
|---|
| 521 | | - regulator-state-mem { |
|---|
| 522 | | - regulator-on-in-suspend; |
|---|
| 523 | | - regulator-suspend-microvolt = <1800000>; |
|---|
| 524 | | - }; |
|---|
| 525 | | - }; |
|---|
| 526 | | - |
|---|
| 527 | | - vdd1v0_soc: LDO_REG3 { |
|---|
| 528 | | - regulator-always-on; |
|---|
| 529 | | - regulator-boot-on; |
|---|
| 530 | | - regulator-min-microvolt = <1000000>; |
|---|
| 531 | | - regulator-max-microvolt = <1000000>; |
|---|
| 532 | | - |
|---|
| 533 | | - regulator-name = "vcc1v0_soc"; |
|---|
| 534 | | - regulator-state-mem { |
|---|
| 535 | | - regulator-on-in-suspend; |
|---|
| 536 | | - regulator-suspend-microvolt = <1000000>; |
|---|
| 537 | | - }; |
|---|
| 538 | | - }; |
|---|
| 539 | | - |
|---|
| 540 | | - vcc3v0_pmu: LDO_REG4 { |
|---|
| 541 | | - regulator-always-on; |
|---|
| 542 | | - regulator-boot-on; |
|---|
| 543 | | - regulator-min-microvolt = <3000000>; |
|---|
| 544 | | - regulator-max-microvolt = <3000000>; |
|---|
| 545 | | - |
|---|
| 546 | | - regulator-name = "vcc3v0_pmu"; |
|---|
| 547 | | - regulator-state-mem { |
|---|
| 548 | | - regulator-on-in-suspend; |
|---|
| 549 | | - regulator-suspend-microvolt = <3000000>; |
|---|
| 550 | | - |
|---|
| 551 | | - }; |
|---|
| 552 | | - }; |
|---|
| 553 | | - |
|---|
| 554 | | - vccio_sd: LDO_REG5 { |
|---|
| 555 | | - regulator-always-on; |
|---|
| 556 | | - regulator-boot-on; |
|---|
| 557 | | - regulator-min-microvolt = <1800000>; |
|---|
| 558 | | - regulator-max-microvolt = <3300000>; |
|---|
| 559 | | - |
|---|
| 560 | | - regulator-name = "vccio_sd"; |
|---|
| 561 | | - regulator-state-mem { |
|---|
| 562 | | - regulator-on-in-suspend; |
|---|
| 563 | | - regulator-suspend-microvolt = <3300000>; |
|---|
| 564 | | - }; |
|---|
| 565 | | - }; |
|---|
| 566 | | - |
|---|
| 567 | | - vcc_sd: LDO_REG6 { |
|---|
| 568 | | - regulator-min-microvolt = <3300000>; |
|---|
| 569 | | - regulator-max-microvolt = <3300000>; |
|---|
| 570 | | - regulator-boot-on; |
|---|
| 571 | | - |
|---|
| 572 | | - regulator-name = "vcc_sd"; |
|---|
| 573 | | - regulator-state-mem { |
|---|
| 574 | | - regulator-on-in-suspend; |
|---|
| 575 | | - regulator-suspend-microvolt = <3300000>; |
|---|
| 576 | | - |
|---|
| 577 | | - }; |
|---|
| 578 | | - }; |
|---|
| 579 | | - |
|---|
| 580 | | - vcc2v8_dvp: LDO_REG7 { |
|---|
| 581 | | - regulator-boot-on; |
|---|
| 582 | | - regulator-min-microvolt = <2800000>; |
|---|
| 583 | | - regulator-max-microvolt = <2800000>; |
|---|
| 584 | | - |
|---|
| 585 | | - regulator-name = "vcc2v8_dvp"; |
|---|
| 586 | | - regulator-state-mem { |
|---|
| 587 | | - regulator-off-in-suspend; |
|---|
| 588 | | - regulator-suspend-microvolt = <2800000>; |
|---|
| 589 | | - }; |
|---|
| 590 | | - }; |
|---|
| 591 | | - |
|---|
| 592 | | - vcc1v8_dvp: LDO_REG8 { |
|---|
| 593 | | - regulator-boot-on; |
|---|
| 594 | | - regulator-min-microvolt = <1800000>; |
|---|
| 595 | | - regulator-max-microvolt = <1800000>; |
|---|
| 596 | | - |
|---|
| 597 | | - regulator-name = "vcc1v8_dvp"; |
|---|
| 598 | | - regulator-state-mem { |
|---|
| 599 | | - regulator-on-in-suspend; |
|---|
| 600 | | - regulator-suspend-microvolt = <1800000>; |
|---|
| 601 | | - }; |
|---|
| 602 | | - }; |
|---|
| 603 | | - |
|---|
| 604 | | - vdd1v5_dvp: LDO_REG9 { |
|---|
| 605 | | - regulator-boot-on; |
|---|
| 606 | | - regulator-min-microvolt = <1500000>; |
|---|
| 607 | | - regulator-max-microvolt = <1500000>; |
|---|
| 608 | | - |
|---|
| 609 | | - regulator-name = "vdd1v5_dvp"; |
|---|
| 610 | | - regulator-state-mem { |
|---|
| 611 | | - regulator-off-in-suspend; |
|---|
| 612 | | - regulator-suspend-microvolt = <1500000>; |
|---|
| 613 | | - }; |
|---|
| 614 | | - }; |
|---|
| 615 | | - |
|---|
| 616 | | - dcdc_boost: BOOST { |
|---|
| 617 | | - regulator-always-on; |
|---|
| 618 | | - regulator-boot-on; |
|---|
| 619 | | - regulator-min-microvolt = <4700000>; |
|---|
| 620 | | - regulator-max-microvolt = <5400000>; |
|---|
| 621 | | - regulator-name = "boost"; |
|---|
| 622 | | - }; |
|---|
| 623 | | - |
|---|
| 624 | | - otg_switch: OTG_SWITCH { |
|---|
| 625 | | - regulator-name = "otg_switch"; |
|---|
| 626 | | - }; |
|---|
| 627 | | - }; |
|---|
| 628 | | - |
|---|
| 629 | | - battery { |
|---|
| 630 | | - compatible = "rk817,battery"; |
|---|
| 631 | | - ocv_table = <3500 3625 3685 3697 3718 3735 3748 |
|---|
| 632 | | - 3760 3774 3788 3802 3816 3834 3853 |
|---|
| 633 | | - 3877 3908 3946 3975 4018 4071 4106>; |
|---|
| 634 | | - design_capacity = <2500>; |
|---|
| 635 | | - design_qmax = <2750>; |
|---|
| 636 | | - bat_res = <100>; |
|---|
| 637 | | - sleep_enter_current = <300>; |
|---|
| 638 | | - sleep_exit_current = <300>; |
|---|
| 639 | | - sleep_filter_current = <100>; |
|---|
| 640 | | - power_off_thresd = <3500>; |
|---|
| 641 | | - zero_algorithm_vol = <3850>; |
|---|
| 642 | | - max_soc_offset = <60>; |
|---|
| 643 | | - monitor_sec = <5>; |
|---|
| 644 | | - sample_res = <10>; |
|---|
| 645 | | - virtual_power = <1>; |
|---|
| 646 | | - }; |
|---|
| 647 | | - |
|---|
| 648 | | - charger { |
|---|
| 649 | | - compatible = "rk817,charger"; |
|---|
| 650 | | - min_input_voltage = <4500>; |
|---|
| 651 | | - max_input_current = <1500>; |
|---|
| 652 | | - max_chrg_current = <2000>; |
|---|
| 653 | | - max_chrg_voltage = <4200>; |
|---|
| 654 | | - chrg_term_mode = <0>; |
|---|
| 655 | | - chrg_finish_cur = <300>; |
|---|
| 656 | | - virtual_power = <0>; |
|---|
| 657 | | - dc_det_adc = <0>; |
|---|
| 658 | | - extcon = <&u2phy>; |
|---|
| 659 | | - }; |
|---|
| 660 | | - |
|---|
| 661 | | - rk817_codec: codec { |
|---|
| 662 | | - #sound-dai-cells = <0>; |
|---|
| 663 | | - compatible = "rockchip,rk817-codec"; |
|---|
| 664 | | - clocks = <&cru SCLK_I2S1_OUT>; |
|---|
| 665 | | - clock-names = "mclk"; |
|---|
| 666 | | - pinctrl-names = "default"; |
|---|
| 667 | | - pinctrl-0 = <&i2s1_2ch_mclk>; |
|---|
| 668 | | - hp-volume = <20>; |
|---|
| 669 | | - spk-volume = <3>; |
|---|
| 670 | | - status = "okay"; |
|---|
| 671 | | - }; |
|---|
| 672 | | - }; |
|---|
| 673 | | -}; |
|---|
| 674 | | - |
|---|
| 675 | | -&i2c1 { |
|---|
| 676 | | - status = "okay"; |
|---|
| 677 | | - clock-frequency = <400000>; |
|---|
| 678 | | - i2c-scl-rising-time-ns = <275>; |
|---|
| 679 | | - i2c-scl-falling-time-ns = <16>; |
|---|
| 680 | | - |
|---|
| 681 | | - sensor@f { |
|---|
| 682 | | - status = "okay"; |
|---|
| 683 | | - compatible = "ak8963"; |
|---|
| 684 | | - reg = <0x0f>; |
|---|
| 685 | | - type = <SENSOR_TYPE_COMPASS>; |
|---|
| 686 | | - irq_enable = <0>; |
|---|
| 687 | | - poll_delay_ms = <30>; |
|---|
| 688 | | - layout = <1>; |
|---|
| 689 | | - reprobe_en = <1>; |
|---|
| 690 | | - }; |
|---|
| 691 | | - |
|---|
| 692 | | - gt1x: gt1x@14 { |
|---|
| 693 | | - compatible = "goodix,gt1x"; |
|---|
| 694 | | - reg = <0x14>; |
|---|
| 695 | | - power-supply = <&vcc18_lcd_n>; |
|---|
| 696 | | - goodix,rst-gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; |
|---|
| 697 | | - goodix,irq-gpio = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 698 | | - }; |
|---|
| 699 | | - |
|---|
| 700 | | - sensor@4c { |
|---|
| 701 | | - status = "okay"; |
|---|
| 702 | | - compatible = "gs_mma7660"; |
|---|
| 703 | | - reg = <0x4c>; |
|---|
| 704 | | - type = <SENSOR_TYPE_ACCEL>; |
|---|
| 705 | | - irq-gpio = <&gpio0 RK_PB5 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 706 | | - irq_enable = <0>; |
|---|
| 707 | | - poll_delay_ms = <30>; |
|---|
| 708 | | - layout = <1>; |
|---|
| 709 | | - reprobe_en = <1>; |
|---|
| 710 | 31 | }; |
|---|
| 711 | 32 | }; |
|---|
| 712 | 33 | |
|---|
| .. | .. |
|---|
| 772 | 93 | }; |
|---|
| 773 | 94 | }; |
|---|
| 774 | 95 | |
|---|
| 775 | | -&i2s1_2ch { |
|---|
| 776 | | - status = "okay"; |
|---|
| 777 | | - #sound-dai-cells = <0>; |
|---|
| 778 | | -}; |
|---|
| 779 | | - |
|---|
| 780 | | -&io_domains { |
|---|
| 781 | | - status = "okay"; |
|---|
| 782 | | - |
|---|
| 783 | | - vccio1-supply = <&vcc1v8_soc>; |
|---|
| 784 | | - vccio2-supply = <&vccio_sd>; |
|---|
| 785 | | - vccio3-supply = <&vcc1v8_dvp>; |
|---|
| 786 | | - vccio4-supply = <&vcc_3v0>; |
|---|
| 787 | | - vccio5-supply = <&vcc_3v0>; |
|---|
| 788 | | -}; |
|---|
| 789 | | - |
|---|
| 790 | | -&isp_mmu { |
|---|
| 791 | | - status = "okay"; |
|---|
| 792 | | -}; |
|---|
| 793 | | - |
|---|
| 794 | 96 | &mipi_dphy_rx0 { |
|---|
| 795 | 97 | status = "okay"; |
|---|
| 796 | 98 | |
|---|
| .. | .. |
|---|
| 823 | 125 | }; |
|---|
| 824 | 126 | }; |
|---|
| 825 | 127 | |
|---|
| 826 | | -&nandc0 { |
|---|
| 827 | | - status = "okay"; |
|---|
| 828 | | -}; |
|---|
| 829 | | - |
|---|
| 830 | | -&rkisp1 { |
|---|
| 831 | | - status = "okay"; |
|---|
| 832 | | - |
|---|
| 833 | | - port { |
|---|
| 834 | | - #address-cells = <1>; |
|---|
| 835 | | - #size-cells = <0>; |
|---|
| 836 | | - |
|---|
| 837 | | - isp0_mipi_in: endpoint@0 { |
|---|
| 838 | | - reg = <0>; |
|---|
| 839 | | - remote-endpoint = <&dphy_rx0_out>; |
|---|
| 840 | | - }; |
|---|
| 841 | | - }; |
|---|
| 842 | | -}; |
|---|
| 843 | | - |
|---|
| 844 | | -&pmu_io_domains { |
|---|
| 845 | | - status = "okay"; |
|---|
| 846 | | - |
|---|
| 847 | | - pmuio1-supply = <&vcc3v0_pmu>; |
|---|
| 848 | | - pmuio2-supply = <&vcc3v0_pmu>; |
|---|
| 849 | | -}; |
|---|
| 850 | | - |
|---|
| 851 | | -&pwm1 { |
|---|
| 852 | | - status = "okay"; |
|---|
| 853 | | -}; |
|---|
| 854 | | - |
|---|
| 855 | | -&rk_rga { |
|---|
| 856 | | - status = "okay"; |
|---|
| 857 | | -}; |
|---|
| 858 | | - |
|---|
| 859 | | -&rockchip_suspend { |
|---|
| 860 | | - status = "okay"; |
|---|
| 861 | | - rockchip,sleep-debug-en = <1>; |
|---|
| 862 | | -}; |
|---|
| 863 | | - |
|---|
| 864 | | -&saradc { |
|---|
| 865 | | - status = "okay"; |
|---|
| 866 | | - vref-supply = <&vcc1v8_soc>; |
|---|
| 867 | | -}; |
|---|
| 868 | | - |
|---|
| 869 | | -&sdmmc { |
|---|
| 870 | | - bus-width = <4>; |
|---|
| 871 | | - cap-mmc-highspeed; |
|---|
| 872 | | - cap-sd-highspeed; |
|---|
| 873 | | - supports-sd; |
|---|
| 874 | | - card-detect-delay = <800>; |
|---|
| 875 | | - ignore-pm-notify; |
|---|
| 876 | | - /*cd-gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>; [> CD GPIO <]*/ |
|---|
| 877 | | - sd-uhs-sdr12; |
|---|
| 878 | | - sd-uhs-sdr25; |
|---|
| 879 | | - sd-uhs-sdr50; |
|---|
| 880 | | - sd-uhs-sdr104; |
|---|
| 881 | | - vqmmc-supply = <&vccio_sd>; |
|---|
| 882 | | - vmmc-supply = <&vcc_sd>; |
|---|
| 883 | | - status = "disabled"; |
|---|
| 884 | | -}; |
|---|
| 885 | | - |
|---|
| 886 | | -&sdio { |
|---|
| 887 | | - bus-width = <4>; |
|---|
| 888 | | - cap-sd-highspeed; |
|---|
| 889 | | - supports-sdio; |
|---|
| 890 | | - ignore-pm-notify; |
|---|
| 891 | | - keep-power-in-suspend; |
|---|
| 892 | | - non-removable; |
|---|
| 893 | | - mmc-pwrseq = <&sdio_pwrseq>; |
|---|
| 894 | | - sd-uhs-sdr104; |
|---|
| 895 | | - status = "okay"; |
|---|
| 896 | | -}; |
|---|
| 897 | | - |
|---|
| 898 | | -&tsadc { |
|---|
| 899 | | - pinctrl-names = "gpio", "otpout"; |
|---|
| 900 | | - pinctrl-0 = <&tsadc_otp_gpio>; |
|---|
| 901 | | - pinctrl-1 = <&tsadc_otp_out>; |
|---|
| 902 | | - status = "okay"; |
|---|
| 903 | | -}; |
|---|
| 904 | | - |
|---|
| 905 | | -&u2phy { |
|---|
| 906 | | - status = "okay"; |
|---|
| 907 | | - |
|---|
| 908 | | - u2phy_host: host-port { |
|---|
| 909 | | - status = "okay"; |
|---|
| 910 | | - }; |
|---|
| 911 | | - |
|---|
| 912 | | - u2phy_otg: otg-port { |
|---|
| 913 | | - status = "okay"; |
|---|
| 914 | | - }; |
|---|
| 915 | | -}; |
|---|
| 916 | | - |
|---|
| 917 | | -&usb20_otg { |
|---|
| 918 | | - status = "okay"; |
|---|
| 919 | | -}; |
|---|
| 920 | | - |
|---|
| 921 | | -&uart1 { |
|---|
| 922 | | - pinctrl-names = "default"; |
|---|
| 923 | | - pinctrl-0 = <&uart1_xfer &uart1_cts>; |
|---|
| 924 | | - status = "okay"; |
|---|
| 925 | | -}; |
|---|
| 926 | | - |
|---|
| 927 | | -&vip_mmu { |
|---|
| 928 | | - status = "okay"; |
|---|
| 929 | | -}; |
|---|
| 930 | | - |
|---|
| 931 | | -&vopb { |
|---|
| 932 | | - status = "okay"; |
|---|
| 933 | | -}; |
|---|
| 934 | | - |
|---|
| 935 | | -&vopb_mmu { |
|---|
| 936 | | - status = "okay"; |
|---|
| 937 | | -}; |
|---|
| 938 | | - |
|---|
| 939 | | -&vopl { |
|---|
| 940 | | - status = "okay"; |
|---|
| 941 | | -}; |
|---|
| 942 | | - |
|---|
| 943 | | -&vopl_mmu { |
|---|
| 944 | | - status = "okay"; |
|---|
| 945 | | -}; |
|---|
| 946 | | - |
|---|
| 947 | | -&mpp_srv { |
|---|
| 948 | | - status = "okay"; |
|---|
| 949 | | -}; |
|---|
| 950 | | - |
|---|
| 951 | | -&vdpu { |
|---|
| 952 | | - status = "okay"; |
|---|
| 953 | | -}; |
|---|
| 954 | | - |
|---|
| 955 | | -&vepu { |
|---|
| 956 | | - status = "okay"; |
|---|
| 957 | | -}; |
|---|
| 958 | | - |
|---|
| 959 | | -&vpu_mmu { |
|---|
| 960 | | - status = "okay"; |
|---|
| 961 | | -}; |
|---|
| 962 | | - |
|---|
| 963 | | -&hevc { |
|---|
| 964 | | - status = "okay"; |
|---|
| 965 | | -}; |
|---|
| 966 | | - |
|---|
| 967 | | -&hevc_mmu { |
|---|
| 968 | | - status = "okay"; |
|---|
| 969 | | -}; |
|---|
| 970 | | - |
|---|
| 971 | 128 | &pinctrl { |
|---|
| 972 | 129 | cif-pin-m0 { |
|---|
| 973 | 130 | cif_pin_m0: cif-pin-m0 { |
|---|
| .. | .. |
|---|
| 985 | 142 | <2 RK_PB2 1 &pcfg_pull_none>;/* cif_clkin */ |
|---|
| 986 | 143 | }; |
|---|
| 987 | 144 | }; |
|---|
| 145 | +}; |
|---|
| 988 | 146 | |
|---|
| 989 | | - headphone { |
|---|
| 990 | | - hp_det: hp-det { |
|---|
| 991 | | - rockchip,pins = <2 RK_PC6 RK_FUNC_GPIO &pcfg_pull_down>; |
|---|
| 992 | | - }; |
|---|
| 993 | | - }; |
|---|
| 147 | +&rkisp1 { |
|---|
| 148 | + status = "okay"; |
|---|
| 994 | 149 | |
|---|
| 995 | | - pmic { |
|---|
| 996 | | - pmic_int: pmic_int { |
|---|
| 997 | | - rockchip,pins = |
|---|
| 998 | | - <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>; |
|---|
| 999 | | - }; |
|---|
| 150 | + port { |
|---|
| 151 | + #address-cells = <1>; |
|---|
| 152 | + #size-cells = <0>; |
|---|
| 1000 | 153 | |
|---|
| 1001 | | - soc_slppin_gpio: soc_slppin_gpio { |
|---|
| 1002 | | - rockchip,pins = |
|---|
| 1003 | | - <0 RK_PA4 RK_FUNC_GPIO &pcfg_output_low>; |
|---|
| 1004 | | - }; |
|---|
| 1005 | | - |
|---|
| 1006 | | - soc_slppin_slp: soc_slppin_slp { |
|---|
| 1007 | | - rockchip,pins = |
|---|
| 1008 | | - <0 RK_PA4 1 &pcfg_pull_none>; |
|---|
| 1009 | | - }; |
|---|
| 1010 | | - |
|---|
| 1011 | | - soc_slppin_rst: soc_slppin_rst { |
|---|
| 1012 | | - rockchip,pins = |
|---|
| 1013 | | - <0 RK_PA4 2 &pcfg_pull_none>; |
|---|
| 1014 | | - }; |
|---|
| 1015 | | - }; |
|---|
| 1016 | | - |
|---|
| 1017 | | - sdio-pwrseq { |
|---|
| 1018 | | - wifi_enable_h: wifi-enable-h { |
|---|
| 1019 | | - rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 154 | + isp0_mipi_in: endpoint@0 { |
|---|
| 155 | + reg = <0>; |
|---|
| 156 | + remote-endpoint = <&dphy_rx0_out>; |
|---|
| 1020 | 157 | }; |
|---|
| 1021 | 158 | }; |
|---|
| 1022 | 159 | }; |
|---|
| 1023 | 160 | |
|---|
| 1024 | | -/* DON'T PUT ANYTHING BELOW HERE. PUT IT ABOVE PINCTRL */ |
|---|
| 1025 | | -/* DON'T PUT ANYTHING BELOW HERE. PUT IT ABOVE PINCTRL */ |
|---|
| 1026 | | -/* DON'T PUT ANYTHING BELOW HERE. PUT IT ABOVE PINCTRL */ |
|---|
| 161 | +&vip_mmu { |
|---|
| 162 | + status = "okay"; |
|---|
| 163 | +}; |
|---|