1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2018 Fuzhou Rockchip Electron 3 * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include "px30.dtsi" 10 #include "px30.dtsi" 11 11 12 / { 12 / { 13 model = "Rockchip PX30 EVB"; 13 model = "Rockchip PX30 EVB"; 14 compatible = "rockchip,px30-evb", "roc 14 compatible = "rockchip,px30-evb", "rockchip,px30"; 15 15 16 aliases { << 17 ethernet0 = &gmac; << 18 mmc0 = &sdmmc; << 19 mmc1 = &sdio; << 20 mmc2 = &emmc; << 21 }; << 22 << 23 chosen { 16 chosen { 24 stdout-path = "serial5:115200n 17 stdout-path = "serial5:115200n8"; 25 }; 18 }; 26 19 27 adc-keys { 20 adc-keys { 28 compatible = "adc-keys"; 21 compatible = "adc-keys"; 29 io-channels = <&saradc 2>; 22 io-channels = <&saradc 2>; 30 io-channel-names = "buttons"; 23 io-channel-names = "buttons"; 31 keyup-threshold-microvolt = <1 24 keyup-threshold-microvolt = <1800000>; 32 poll-interval = <100>; 25 poll-interval = <100>; 33 26 34 button-esc { !! 27 esc-key { 35 label = "esc"; 28 label = "esc"; 36 linux,code = <KEY_ESC> 29 linux,code = <KEY_ESC>; 37 press-threshold-microv 30 press-threshold-microvolt = <1310000>; 38 }; 31 }; 39 32 40 button-home { !! 33 home-key { 41 label = "home"; 34 label = "home"; 42 linux,code = <KEY_HOME 35 linux,code = <KEY_HOME>; 43 press-threshold-microv 36 press-threshold-microvolt = <624000>; 44 }; 37 }; 45 38 46 button-menu { !! 39 menu-key { 47 label = "menu"; 40 label = "menu"; 48 linux,code = <KEY_MENU 41 linux,code = <KEY_MENU>; 49 press-threshold-microv 42 press-threshold-microvolt = <987000>; 50 }; 43 }; 51 44 52 button-down { !! 45 vol-down-key { 53 label = "volume down"; 46 label = "volume down"; 54 linux,code = <KEY_VOLU 47 linux,code = <KEY_VOLUMEDOWN>; 55 press-threshold-microv 48 press-threshold-microvolt = <300000>; 56 }; 49 }; 57 50 58 button-up { !! 51 vol-up-key { 59 label = "volume up"; 52 label = "volume up"; 60 linux,code = <KEY_VOLU 53 linux,code = <KEY_VOLUMEUP>; 61 press-threshold-microv 54 press-threshold-microvolt = <17000>; 62 }; 55 }; 63 }; 56 }; 64 57 65 backlight: backlight { 58 backlight: backlight { 66 compatible = "pwm-backlight"; 59 compatible = "pwm-backlight"; 67 pwms = <&pwm1 0 25000 0>; 60 pwms = <&pwm1 0 25000 0>; 68 power-supply = <&vcc3v3_lcd>; 61 power-supply = <&vcc3v3_lcd>; 69 }; 62 }; 70 63 71 emmc_pwrseq: emmc-pwrseq { 64 emmc_pwrseq: emmc-pwrseq { 72 compatible = "mmc-pwrseq-emmc" 65 compatible = "mmc-pwrseq-emmc"; 73 pinctrl-0 = <&emmc_reset>; 66 pinctrl-0 = <&emmc_reset>; 74 pinctrl-names = "default"; 67 pinctrl-names = "default"; 75 reset-gpios = <&gpio1 RK_PB3 G 68 reset-gpios = <&gpio1 RK_PB3 GPIO_ACTIVE_HIGH>; 76 }; 69 }; 77 70 78 sdio_pwrseq: sdio-pwrseq { 71 sdio_pwrseq: sdio-pwrseq { 79 compatible = "mmc-pwrseq-simpl 72 compatible = "mmc-pwrseq-simple"; 80 pinctrl-names = "default"; 73 pinctrl-names = "default"; 81 pinctrl-0 = <&wifi_enable_h>; 74 pinctrl-0 = <&wifi_enable_h>; 82 75 83 /* 76 /* 84 * On the module itself this i 77 * On the module itself this is one of these (depending 85 * on the actual card populate 78 * on the actual card populated): 86 * - SDIO_RESET_L_WL_REG_ON 79 * - SDIO_RESET_L_WL_REG_ON 87 * - PDN (power down when low) 80 * - PDN (power down when low) 88 */ 81 */ 89 reset-gpios = <&gpio0 RK_PA2 G 82 reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO3_A4 */ 90 }; 83 }; 91 84 92 vcc5v0_sys: vccsys { 85 vcc5v0_sys: vccsys { 93 compatible = "regulator-fixed" 86 compatible = "regulator-fixed"; 94 regulator-name = "vcc5v0_sys"; 87 regulator-name = "vcc5v0_sys"; 95 regulator-always-on; 88 regulator-always-on; 96 regulator-boot-on; 89 regulator-boot-on; 97 regulator-min-microvolt = <500 90 regulator-min-microvolt = <5000000>; 98 regulator-max-microvolt = <500 91 regulator-max-microvolt = <5000000>; 99 }; 92 }; 100 }; 93 }; 101 94 102 &cpu0 { 95 &cpu0 { 103 cpu-supply = <&vdd_arm>; 96 cpu-supply = <&vdd_arm>; 104 }; 97 }; 105 98 106 &cpu1 { 99 &cpu1 { 107 cpu-supply = <&vdd_arm>; 100 cpu-supply = <&vdd_arm>; 108 }; 101 }; 109 102 110 &cpu2 { 103 &cpu2 { 111 cpu-supply = <&vdd_arm>; 104 cpu-supply = <&vdd_arm>; 112 }; 105 }; 113 106 114 &cpu3 { 107 &cpu3 { 115 cpu-supply = <&vdd_arm>; 108 cpu-supply = <&vdd_arm>; 116 }; 109 }; 117 110 118 &csi_dphy { << 119 status = "okay"; << 120 }; << 121 << 122 &display_subsystem { 111 &display_subsystem { 123 status = "okay"; 112 status = "okay"; 124 }; 113 }; 125 114 126 &dsi { 115 &dsi { 127 status = "okay"; 116 status = "okay"; 128 117 129 ports { 118 ports { 130 mipi_out: port@1 { 119 mipi_out: port@1 { 131 reg = <1>; 120 reg = <1>; 132 121 133 mipi_out_panel: endpoi 122 mipi_out_panel: endpoint { 134 remote-endpoin 123 remote-endpoint = <&mipi_in_panel>; 135 }; 124 }; 136 }; 125 }; 137 }; 126 }; 138 127 139 panel@0 { 128 panel@0 { 140 compatible = "xinpeng,xpp055c2 129 compatible = "xinpeng,xpp055c272"; 141 reg = <0>; 130 reg = <0>; 142 backlight = <&backlight>; 131 backlight = <&backlight>; 143 iovcc-supply = <&vcc_1v8>; 132 iovcc-supply = <&vcc_1v8>; 144 vci-supply = <&vcc3v3_lcd>; 133 vci-supply = <&vcc3v3_lcd>; 145 134 146 port { 135 port { 147 mipi_in_panel: endpoin 136 mipi_in_panel: endpoint { 148 remote-endpoin 137 remote-endpoint = <&mipi_out_panel>; 149 }; 138 }; 150 }; 139 }; 151 }; 140 }; 152 }; 141 }; 153 142 154 &dsi_dphy { 143 &dsi_dphy { 155 status = "okay"; 144 status = "okay"; 156 }; 145 }; 157 146 158 &emmc { 147 &emmc { 159 cap-mmc-highspeed; 148 cap-mmc-highspeed; 160 mmc-hs200-1_8v; 149 mmc-hs200-1_8v; 161 non-removable; 150 non-removable; 162 mmc-pwrseq = <&emmc_pwrseq>; 151 mmc-pwrseq = <&emmc_pwrseq>; 163 vmmc-supply = <&vcc_3v0>; 152 vmmc-supply = <&vcc_3v0>; 164 vqmmc-supply = <&vccio_flash>; 153 vqmmc-supply = <&vccio_flash>; 165 status = "okay"; 154 status = "okay"; 166 }; 155 }; 167 156 168 &gmac { 157 &gmac { 169 clock_in_out = "output"; 158 clock_in_out = "output"; 170 phy-supply = <&vcc_rmii>; 159 phy-supply = <&vcc_rmii>; 171 snps,reset-gpio = <&gpio2 13 GPIO_ACTI 160 snps,reset-gpio = <&gpio2 13 GPIO_ACTIVE_LOW>; 172 snps,reset-active-low; 161 snps,reset-active-low; 173 snps,reset-delays-us = <0 50000 50000> 162 snps,reset-delays-us = <0 50000 50000>; 174 status = "okay"; 163 status = "okay"; 175 }; 164 }; 176 165 177 &gpu { 166 &gpu { 178 mali-supply = <&vdd_log>; 167 mali-supply = <&vdd_log>; 179 status = "okay"; 168 status = "okay"; 180 }; 169 }; 181 170 182 &i2c0 { 171 &i2c0 { 183 status = "okay"; 172 status = "okay"; 184 173 185 rk809: pmic@20 { 174 rk809: pmic@20 { 186 compatible = "rockchip,rk809"; 175 compatible = "rockchip,rk809"; 187 reg = <0x20>; 176 reg = <0x20>; 188 interrupt-parent = <&gpio0>; 177 interrupt-parent = <&gpio0>; 189 interrupts = <7 IRQ_TYPE_LEVEL 178 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 190 pinctrl-names = "default"; 179 pinctrl-names = "default"; 191 pinctrl-0 = <&pmic_int>; 180 pinctrl-0 = <&pmic_int>; 192 rockchip,system-power-controll 181 rockchip,system-power-controller; 193 wakeup-source; 182 wakeup-source; 194 #clock-cells = <0>; 183 #clock-cells = <0>; 195 clock-output-names = "xin32k"; 184 clock-output-names = "xin32k"; 196 185 197 vcc1-supply = <&vcc5v0_sys>; 186 vcc1-supply = <&vcc5v0_sys>; 198 vcc2-supply = <&vcc5v0_sys>; 187 vcc2-supply = <&vcc5v0_sys>; 199 vcc3-supply = <&vcc5v0_sys>; 188 vcc3-supply = <&vcc5v0_sys>; 200 vcc4-supply = <&vcc5v0_sys>; 189 vcc4-supply = <&vcc5v0_sys>; 201 vcc5-supply = <&vcc3v3_sys>; 190 vcc5-supply = <&vcc3v3_sys>; 202 vcc6-supply = <&vcc3v3_sys>; 191 vcc6-supply = <&vcc3v3_sys>; 203 vcc7-supply = <&vcc3v3_sys>; 192 vcc7-supply = <&vcc3v3_sys>; 204 vcc8-supply = <&vcc3v3_sys>; 193 vcc8-supply = <&vcc3v3_sys>; 205 vcc9-supply = <&vcc5v0_sys>; 194 vcc9-supply = <&vcc5v0_sys>; 206 195 207 regulators { 196 regulators { 208 vdd_log: DCDC_REG1 { 197 vdd_log: DCDC_REG1 { 209 regulator-name 198 regulator-name = "vdd_log"; 210 regulator-min- 199 regulator-min-microvolt = <950000>; 211 regulator-max- 200 regulator-max-microvolt = <1350000>; 212 regulator-ramp 201 regulator-ramp-delay = <6001>; 213 regulator-alwa 202 regulator-always-on; 214 regulator-boot 203 regulator-boot-on; 215 204 216 regulator-stat 205 regulator-state-mem { 217 regula 206 regulator-on-in-suspend; 218 regula 207 regulator-suspend-microvolt = <950000>; 219 }; 208 }; 220 }; 209 }; 221 210 222 vdd_arm: DCDC_REG2 { 211 vdd_arm: DCDC_REG2 { 223 regulator-name 212 regulator-name = "vdd_arm"; 224 regulator-min- 213 regulator-min-microvolt = <950000>; 225 regulator-max- 214 regulator-max-microvolt = <1350000>; 226 regulator-ramp 215 regulator-ramp-delay = <6001>; 227 regulator-alwa 216 regulator-always-on; 228 regulator-boot 217 regulator-boot-on; 229 218 230 regulator-stat 219 regulator-state-mem { 231 regula 220 regulator-off-in-suspend; 232 regula 221 regulator-suspend-microvolt = <950000>; 233 }; 222 }; 234 }; 223 }; 235 224 236 vcc_ddr: DCDC_REG3 { 225 vcc_ddr: DCDC_REG3 { 237 regulator-name 226 regulator-name = "vcc_ddr"; 238 regulator-alwa 227 regulator-always-on; 239 regulator-boot 228 regulator-boot-on; 240 229 241 regulator-stat 230 regulator-state-mem { 242 regula 231 regulator-on-in-suspend; 243 }; 232 }; 244 }; 233 }; 245 234 246 vcc_3v0: vcc_rmii: DCD 235 vcc_3v0: vcc_rmii: DCDC_REG4 { 247 regulator-name 236 regulator-name = "vcc_3v0"; 248 regulator-min- 237 regulator-min-microvolt = <3000000>; 249 regulator-max- 238 regulator-max-microvolt = <3000000>; 250 regulator-alwa 239 regulator-always-on; 251 regulator-boot 240 regulator-boot-on; 252 241 253 regulator-stat 242 regulator-state-mem { 254 regula 243 regulator-on-in-suspend; 255 regula 244 regulator-suspend-microvolt = <3000000>; 256 }; 245 }; 257 }; 246 }; 258 247 259 vcc3v3_sys: DCDC_REG5 248 vcc3v3_sys: DCDC_REG5 { 260 regulator-name 249 regulator-name = "vcc3v3_sys"; 261 regulator-min- 250 regulator-min-microvolt = <3300000>; 262 regulator-max- 251 regulator-max-microvolt = <3300000>; 263 regulator-alwa 252 regulator-always-on; 264 regulator-boot 253 regulator-boot-on; 265 254 266 regulator-stat 255 regulator-state-mem { 267 regula 256 regulator-on-in-suspend; 268 regula 257 regulator-suspend-microvolt = <3300000>; 269 }; 258 }; 270 }; 259 }; 271 260 272 vcc_1v0: LDO_REG1 { 261 vcc_1v0: LDO_REG1 { 273 regulator-name 262 regulator-name = "vcc_1v0"; 274 regulator-min- 263 regulator-min-microvolt = <1000000>; 275 regulator-max- 264 regulator-max-microvolt = <1000000>; 276 regulator-alwa 265 regulator-always-on; 277 regulator-boot 266 regulator-boot-on; 278 267 279 regulator-stat 268 regulator-state-mem { 280 regula 269 regulator-on-in-suspend; 281 regula 270 regulator-suspend-microvolt = <1000000>; 282 }; 271 }; 283 }; 272 }; 284 273 285 vcc_1v8: vccio_flash: 274 vcc_1v8: vccio_flash: vccio_sdio: LDO_REG2 { 286 regulator-name 275 regulator-name = "vcc_1v8"; 287 regulator-min- 276 regulator-min-microvolt = <1800000>; 288 regulator-max- 277 regulator-max-microvolt = <1800000>; 289 regulator-alwa 278 regulator-always-on; 290 regulator-boot 279 regulator-boot-on; 291 280 292 regulator-stat 281 regulator-state-mem { 293 regula 282 regulator-on-in-suspend; 294 regula 283 regulator-suspend-microvolt = <1800000>; 295 }; 284 }; 296 }; 285 }; 297 286 298 vdd_1v0: LDO_REG3 { 287 vdd_1v0: LDO_REG3 { 299 regulator-name 288 regulator-name = "vdd_1v0"; 300 regulator-min- 289 regulator-min-microvolt = <1000000>; 301 regulator-max- 290 regulator-max-microvolt = <1000000>; 302 regulator-alwa 291 regulator-always-on; 303 regulator-boot 292 regulator-boot-on; 304 293 305 regulator-stat 294 regulator-state-mem { 306 regula 295 regulator-on-in-suspend; 307 regula 296 regulator-suspend-microvolt = <1000000>; 308 }; 297 }; 309 }; 298 }; 310 299 311 vcc3v0_pmu: LDO_REG4 { 300 vcc3v0_pmu: LDO_REG4 { 312 regulator-name 301 regulator-name = "vcc3v0_pmu"; 313 regulator-min- 302 regulator-min-microvolt = <3000000>; 314 regulator-max- 303 regulator-max-microvolt = <3000000>; 315 regulator-alwa 304 regulator-always-on; 316 regulator-boot 305 regulator-boot-on; 317 306 318 regulator-stat 307 regulator-state-mem { 319 regula 308 regulator-on-in-suspend; 320 regula 309 regulator-suspend-microvolt = <3000000>; 321 }; 310 }; 322 }; 311 }; 323 312 324 vccio_sd: LDO_REG5 { 313 vccio_sd: LDO_REG5 { 325 regulator-name 314 regulator-name = "vccio_sd"; 326 regulator-min- 315 regulator-min-microvolt = <1800000>; 327 regulator-max- 316 regulator-max-microvolt = <3300000>; 328 regulator-alwa 317 regulator-always-on; 329 regulator-boot 318 regulator-boot-on; 330 319 331 regulator-stat 320 regulator-state-mem { 332 regula 321 regulator-on-in-suspend; 333 regula 322 regulator-suspend-microvolt = <3300000>; 334 }; 323 }; 335 }; 324 }; 336 325 337 vcc_sd: LDO_REG6 { 326 vcc_sd: LDO_REG6 { 338 regulator-name 327 regulator-name = "vcc_sd"; 339 regulator-min- 328 regulator-min-microvolt = <3300000>; 340 regulator-max- 329 regulator-max-microvolt = <3300000>; 341 regulator-boot 330 regulator-boot-on; 342 331 343 regulator-stat 332 regulator-state-mem { 344 regula 333 regulator-on-in-suspend; 345 regula 334 regulator-suspend-microvolt = <3300000>; 346 }; 335 }; 347 }; 336 }; 348 337 349 vcc2v8_dvp: LDO_REG7 { 338 vcc2v8_dvp: LDO_REG7 { 350 regulator-name 339 regulator-name = "vcc2v8_dvp"; 351 regulator-min- 340 regulator-min-microvolt = <2800000>; 352 regulator-max- 341 regulator-max-microvolt = <2800000>; 353 regulator-boot 342 regulator-boot-on; 354 343 355 regulator-stat 344 regulator-state-mem { 356 regula 345 regulator-off-in-suspend; 357 regula 346 regulator-suspend-microvolt = <2800000>; 358 }; 347 }; 359 }; 348 }; 360 349 361 vcc1v8_dvp: LDO_REG8 { 350 vcc1v8_dvp: LDO_REG8 { 362 regulator-name 351 regulator-name = "vcc1v8_dvp"; 363 regulator-min- 352 regulator-min-microvolt = <1800000>; 364 regulator-max- 353 regulator-max-microvolt = <1800000>; 365 regulator-boot 354 regulator-boot-on; 366 355 367 regulator-stat 356 regulator-state-mem { 368 regula 357 regulator-on-in-suspend; 369 regula 358 regulator-suspend-microvolt = <1800000>; 370 }; 359 }; 371 }; 360 }; 372 361 373 vcc1v5_dvp: LDO_REG9 { 362 vcc1v5_dvp: LDO_REG9 { 374 regulator-name 363 regulator-name = "vcc1v5_dvp"; 375 regulator-min- 364 regulator-min-microvolt = <1500000>; 376 regulator-max- 365 regulator-max-microvolt = <1500000>; 377 regulator-boot 366 regulator-boot-on; 378 367 379 regulator-stat 368 regulator-state-mem { 380 regula 369 regulator-off-in-suspend; 381 regula 370 regulator-suspend-microvolt = <1500000>; 382 }; 371 }; 383 }; 372 }; 384 373 385 vcc3v3_lcd: SWITCH_REG 374 vcc3v3_lcd: SWITCH_REG1 { 386 regulator-name 375 regulator-name = "vcc3v3_lcd"; 387 regulator-boot 376 regulator-boot-on; 388 }; 377 }; 389 378 390 vcc5v0_host: SWITCH_RE 379 vcc5v0_host: SWITCH_REG2 { 391 regulator-name 380 regulator-name = "vcc5v0_host"; 392 regulator-alwa 381 regulator-always-on; 393 regulator-boot 382 regulator-boot-on; 394 }; 383 }; 395 }; 384 }; 396 }; 385 }; 397 }; 386 }; 398 387 399 &i2c1 { 388 &i2c1 { 400 status = "okay"; 389 status = "okay"; 401 390 402 sensor@d { 391 sensor@d { 403 compatible = "asahi-kasei,ak89 392 compatible = "asahi-kasei,ak8963"; 404 reg = <0x0d>; 393 reg = <0x0d>; 405 gpios = <&gpio0 RK_PB7 GPIO_AC 394 gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; 406 vdd-supply = <&vcc3v0_pmu>; 395 vdd-supply = <&vcc3v0_pmu>; 407 mount-matrix = "1", /* x0 */ 396 mount-matrix = "1", /* x0 */ 408 "0", /* y0 */ 397 "0", /* y0 */ 409 "0", /* z0 */ 398 "0", /* z0 */ 410 "0", /* x1 */ 399 "0", /* x1 */ 411 "1", /* y1 */ 400 "1", /* y1 */ 412 "0", /* z1 */ 401 "0", /* z1 */ 413 "0", /* x2 */ 402 "0", /* x2 */ 414 "0", /* y2 */ 403 "0", /* y2 */ 415 "1"; /* z2 */ 404 "1"; /* z2 */ 416 }; 405 }; 417 406 418 touchscreen@14 { 407 touchscreen@14 { 419 compatible = "goodix,gt1151"; 408 compatible = "goodix,gt1151"; 420 reg = <0x14>; 409 reg = <0x14>; 421 interrupt-parent = <&gpio0>; 410 interrupt-parent = <&gpio0>; 422 interrupts = <RK_PA5 IRQ_TYPE_ 411 interrupts = <RK_PA5 IRQ_TYPE_LEVEL_LOW>; 423 irq-gpios = <&gpio0 RK_PA5 GPI 412 irq-gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; 424 reset-gpios = <&gpio0 RK_PB4 G 413 reset-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; 425 VDDIO-supply = <&vcc3v3_lcd>; 414 VDDIO-supply = <&vcc3v3_lcd>; 426 }; 415 }; 427 416 428 sensor@4c { 417 sensor@4c { 429 compatible = "fsl,mma7660"; 418 compatible = "fsl,mma7660"; 430 reg = <0x4c>; 419 reg = <0x4c>; 431 interrupt-parent = <&gpio0>; 420 interrupt-parent = <&gpio0>; 432 interrupts = <RK_PB7 IRQ_TYPE_ 421 interrupts = <RK_PB7 IRQ_TYPE_LEVEL_LOW>; 433 }; 422 }; 434 }; 423 }; 435 424 436 &i2c2 { << 437 status = "okay"; << 438 << 439 clock-frequency = <100000>; << 440 << 441 /* These are relatively safe rise/fall << 442 i2c-scl-falling-time-ns = <50>; << 443 i2c-scl-rising-time-ns = <300>; << 444 << 445 ov5695: ov5695@36 { << 446 compatible = "ovti,ov5695"; << 447 reg = <0x36>; << 448 avdd-supply = <&vcc2v8_dvp>; << 449 clocks = <&cru SCLK_CIF_OUT>; << 450 clock-names = "xvclk"; << 451 dvdd-supply = <&vcc1v5_dvp>; << 452 dovdd-supply = <&vcc1v8_dvp>; << 453 pinctrl-names = "default"; << 454 pinctrl-0 = <&cif_clkout_m0 &m << 455 reset-gpios = <&gpio2 RK_PB6 G << 456 << 457 port { << 458 ucam_out: endpoint { << 459 remote-endpoin << 460 data-lanes = < << 461 }; << 462 }; << 463 }; << 464 }; << 465 << 466 &i2s1_2ch { 425 &i2s1_2ch { 467 status = "okay"; 426 status = "okay"; 468 }; 427 }; 469 428 470 &io_domains { 429 &io_domains { 471 status = "okay"; 430 status = "okay"; 472 431 473 vccio1-supply = <&vccio_sdio>; 432 vccio1-supply = <&vccio_sdio>; 474 vccio2-supply = <&vccio_sd>; 433 vccio2-supply = <&vccio_sd>; 475 vccio3-supply = <&vcc_3v0>; 434 vccio3-supply = <&vcc_3v0>; 476 vccio4-supply = <&vcc3v0_pmu>; 435 vccio4-supply = <&vcc3v0_pmu>; 477 vccio5-supply = <&vcc_3v0>; 436 vccio5-supply = <&vcc_3v0>; 478 vccio6-supply = <&vccio_flash>; 437 vccio6-supply = <&vccio_flash>; 479 }; 438 }; 480 439 481 &isp { << 482 status = "okay"; << 483 << 484 ports { << 485 port@0 { << 486 mipi_in_ucam: endpoint << 487 reg = <0>; << 488 data-lanes = < << 489 remote-endpoin << 490 }; << 491 }; << 492 }; << 493 }; << 494 << 495 &isp_mmu { << 496 status = "okay"; << 497 }; << 498 << 499 &pinctrl { 440 &pinctrl { 500 headphone { 441 headphone { 501 hp_det: hp-det { 442 hp_det: hp-det { 502 rockchip,pins = 443 rockchip,pins = 503 <2 RK_PB0 RK_F 444 <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_down>; 504 }; 445 }; 505 }; 446 }; 506 447 507 emmc { 448 emmc { 508 emmc_reset: emmc-reset { 449 emmc_reset: emmc-reset { 509 rockchip,pins = <1 RK_ 450 rockchip,pins = <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 510 }; 451 }; 511 }; 452 }; 512 453 513 pmic { 454 pmic { 514 pmic_int: pmic_int { 455 pmic_int: pmic_int { 515 rockchip,pins = 456 rockchip,pins = 516 <0 RK_PA7 RK_F 457 <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>; 517 }; 458 }; 518 459 519 soc_slppin_gpio: soc_slppin_gp 460 soc_slppin_gpio: soc_slppin_gpio { 520 rockchip,pins = 461 rockchip,pins = 521 <0 RK_PA4 RK_F 462 <0 RK_PA4 RK_FUNC_GPIO &pcfg_output_low>; 522 }; 463 }; 523 464 524 soc_slppin_slp: soc_slppin_slp 465 soc_slppin_slp: soc_slppin_slp { 525 rockchip,pins = 466 rockchip,pins = 526 <0 RK_PA4 1 &p 467 <0 RK_PA4 1 &pcfg_pull_none>; 527 }; 468 }; 528 469 529 soc_slppin_rst: soc_slppin_rst 470 soc_slppin_rst: soc_slppin_rst { 530 rockchip,pins = 471 rockchip,pins = 531 <0 RK_PA4 2 &p 472 <0 RK_PA4 2 &pcfg_pull_none>; 532 }; 473 }; 533 }; 474 }; 534 475 535 sdio-pwrseq { 476 sdio-pwrseq { 536 wifi_enable_h: wifi-enable-h { 477 wifi_enable_h: wifi-enable-h { 537 rockchip,pins = 478 rockchip,pins = 538 <0 RK_PA2 RK_F 479 <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 539 }; << 540 }; << 541 << 542 cif-m0 { << 543 cif_clkout_m0: cif-clkout-m0 { << 544 rockchip,pins = << 545 <2 RK_PB3 1 &p << 546 }; << 547 }; << 548 << 549 mipi { << 550 mipi_pdn: mipi-pdn { << 551 rockchip,pins = <2 RK_ << 552 }; 480 }; 553 }; 481 }; 554 }; 482 }; 555 483 556 &pmu_io_domains { 484 &pmu_io_domains { 557 status = "okay"; 485 status = "okay"; 558 486 559 pmuio1-supply = <&vcc3v0_pmu>; 487 pmuio1-supply = <&vcc3v0_pmu>; 560 pmuio2-supply = <&vcc3v0_pmu>; 488 pmuio2-supply = <&vcc3v0_pmu>; 561 }; 489 }; 562 490 563 &pwm1 { 491 &pwm1 { 564 status = "okay"; 492 status = "okay"; 565 }; 493 }; 566 494 567 &saradc { 495 &saradc { 568 vref-supply = <&vcc_1v8>; 496 vref-supply = <&vcc_1v8>; 569 status = "okay"; 497 status = "okay"; 570 }; 498 }; 571 499 572 &sdmmc { 500 &sdmmc { 573 cap-mmc-highspeed; 501 cap-mmc-highspeed; 574 cap-sd-highspeed; 502 cap-sd-highspeed; 575 card-detect-delay = <800>; 503 card-detect-delay = <800>; 576 sd-uhs-sdr12; 504 sd-uhs-sdr12; 577 sd-uhs-sdr25; 505 sd-uhs-sdr25; 578 sd-uhs-sdr50; 506 sd-uhs-sdr50; 579 sd-uhs-sdr104; 507 sd-uhs-sdr104; 580 vmmc-supply = <&vcc_sd>; 508 vmmc-supply = <&vcc_sd>; 581 vqmmc-supply = <&vccio_sd>; 509 vqmmc-supply = <&vccio_sd>; 582 status = "okay"; 510 status = "okay"; 583 }; 511 }; 584 512 585 &sdio { 513 &sdio { 586 cap-sd-highspeed; 514 cap-sd-highspeed; 587 keep-power-in-suspend; 515 keep-power-in-suspend; 588 non-removable; 516 non-removable; 589 mmc-pwrseq = <&sdio_pwrseq>; 517 mmc-pwrseq = <&sdio_pwrseq>; 590 sd-uhs-sdr104; 518 sd-uhs-sdr104; 591 status = "okay"; 519 status = "okay"; 592 }; 520 }; 593 521 594 &tsadc { 522 &tsadc { 595 rockchip,hw-tshut-mode = <1>; 523 rockchip,hw-tshut-mode = <1>; 596 rockchip,hw-tshut-polarity = <1>; 524 rockchip,hw-tshut-polarity = <1>; 597 status = "okay"; 525 status = "okay"; 598 }; 526 }; 599 527 600 &u2phy { 528 &u2phy { 601 status = "okay"; 529 status = "okay"; 602 530 603 u2phy_host: host-port { 531 u2phy_host: host-port { 604 status = "okay"; 532 status = "okay"; 605 }; 533 }; 606 534 607 u2phy_otg: otg-port { 535 u2phy_otg: otg-port { 608 status = "okay"; 536 status = "okay"; 609 }; 537 }; 610 }; 538 }; 611 539 612 &uart1 { 540 &uart1 { 613 pinctrl-names = "default"; 541 pinctrl-names = "default"; 614 pinctrl-0 = <&uart1_xfer &uart1_cts>; 542 pinctrl-0 = <&uart1_xfer &uart1_cts>; 615 status = "okay"; 543 status = "okay"; 616 }; 544 }; 617 545 618 &uart5 { 546 &uart5 { 619 status = "okay"; 547 status = "okay"; 620 }; 548 }; 621 549 622 &usb20_otg { 550 &usb20_otg { 623 status = "okay"; 551 status = "okay"; 624 }; 552 }; 625 553 626 &usb_host0_ehci { 554 &usb_host0_ehci { 627 status = "okay"; 555 status = "okay"; 628 }; 556 }; 629 557 630 &usb_host0_ohci { 558 &usb_host0_ohci { 631 status = "okay"; 559 status = "okay"; 632 }; 560 }; 633 561 634 &vopb { 562 &vopb { 635 status = "okay"; 563 status = "okay"; 636 }; 564 }; 637 565 638 &vopb_mmu { 566 &vopb_mmu { 639 status = "okay"; 567 status = "okay"; 640 }; 568 }; 641 569 642 &vopl { 570 &vopl { 643 status = "okay"; 571 status = "okay"; 644 }; 572 }; 645 573 646 &vopl_mmu { 574 &vopl_mmu { 647 status = "okay"; 575 status = "okay"; 648 }; 576 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.