1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 2 3 #include <dt-bindings/gpio/gpio.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/soc/rockchip,vop2.h> 5 #include <dt-bindings/soc/rockchip,vop2.h> 6 #include "rk3566.dtsi" 6 #include "rk3566.dtsi" 7 7 8 / { 8 / { 9 chosen { 9 chosen { 10 stdout-path = "serial2:1500000 10 stdout-path = "serial2:1500000n8"; 11 }; 11 }; 12 12 13 hdmi-con { 13 hdmi-con { 14 compatible = "hdmi-connector"; 14 compatible = "hdmi-connector"; 15 type = "d"; 15 type = "d"; 16 16 17 port { 17 port { 18 hdmi_con_in: endpoint 18 hdmi_con_in: endpoint { 19 remote-endpoin 19 remote-endpoint = <&hdmi_out_con>; 20 }; 20 }; 21 }; 21 }; 22 }; 22 }; 23 23 24 leds { 24 leds { 25 compatible = "gpio-leds"; 25 compatible = "gpio-leds"; 26 pinctrl-names = "default"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&user_led2>; 27 pinctrl-0 = <&user_led2>; 28 28 29 led-green { 29 led-green { 30 color = <LED_COLOR_ID_ 30 color = <LED_COLOR_ID_GREEN>; 31 default-state = "on"; 31 default-state = "on"; 32 function = LED_FUNCTIO 32 function = LED_FUNCTION_HEARTBEAT; 33 gpios = <&gpio0 RK_PA0 33 gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; 34 linux,default-trigger 34 linux,default-trigger = "heartbeat"; 35 }; 35 }; 36 }; 36 }; 37 37 38 vcc_1v8: regulator-1v8-vcc { 38 vcc_1v8: regulator-1v8-vcc { 39 compatible = "regulator-fixed" 39 compatible = "regulator-fixed"; 40 regulator-name = "vcc_1v8"; 40 regulator-name = "vcc_1v8"; 41 regulator-always-on; 41 regulator-always-on; 42 regulator-boot-on; 42 regulator-boot-on; 43 regulator-min-microvolt = <180 43 regulator-min-microvolt = <1800000>; 44 regulator-max-microvolt = <180 44 regulator-max-microvolt = <1800000>; 45 vin-supply = <&vcc_1v8_p>; 45 vin-supply = <&vcc_1v8_p>; 46 }; 46 }; 47 47 48 vcca_1v8: regulator-1v8-vcca { 48 vcca_1v8: regulator-1v8-vcca { 49 compatible = "regulator-fixed" 49 compatible = "regulator-fixed"; 50 regulator-name = "vcca_1v8"; 50 regulator-name = "vcca_1v8"; 51 regulator-always-on; 51 regulator-always-on; 52 regulator-boot-on; 52 regulator-boot-on; 53 regulator-min-microvolt = <180 53 regulator-min-microvolt = <1800000>; 54 regulator-max-microvolt = <180 54 regulator-max-microvolt = <1800000>; 55 vin-supply = <&vcc_1v8_p>; 55 vin-supply = <&vcc_1v8_p>; 56 }; 56 }; 57 57 58 vcca1v8_image: regulator-1v8-vcca-imag 58 vcca1v8_image: regulator-1v8-vcca-image { 59 compatible = "regulator-fixed" 59 compatible = "regulator-fixed"; 60 regulator-name = "vcca1v8_imag 60 regulator-name = "vcca1v8_image"; 61 regulator-always-on; 61 regulator-always-on; 62 regulator-boot-on; 62 regulator-boot-on; 63 regulator-min-microvolt = <180 63 regulator-min-microvolt = <1800000>; 64 regulator-max-microvolt = <180 64 regulator-max-microvolt = <1800000>; 65 vin-supply = <&vcc_1v8_p>; 65 vin-supply = <&vcc_1v8_p>; 66 }; 66 }; 67 67 68 vcc_3v3: regulator-3v3-vcc { 68 vcc_3v3: regulator-3v3-vcc { 69 compatible = "regulator-fixed" 69 compatible = "regulator-fixed"; 70 regulator-name = "vcc_3v3"; 70 regulator-name = "vcc_3v3"; 71 regulator-always-on; 71 regulator-always-on; 72 regulator-boot-on; 72 regulator-boot-on; 73 regulator-min-microvolt = <330 73 regulator-min-microvolt = <3300000>; 74 regulator-max-microvolt = <330 74 regulator-max-microvolt = <3300000>; 75 vin-supply = <&vcc3v3_sys>; 75 vin-supply = <&vcc3v3_sys>; 76 }; 76 }; 77 77 78 vcc_sys: regulator-5v0-vcc-sys { 78 vcc_sys: regulator-5v0-vcc-sys { 79 compatible = "regulator-fixed" 79 compatible = "regulator-fixed"; 80 regulator-name = "vcc_sys"; 80 regulator-name = "vcc_sys"; 81 regulator-always-on; 81 regulator-always-on; 82 regulator-boot-on; 82 regulator-boot-on; 83 regulator-min-microvolt = <500 83 regulator-min-microvolt = <5000000>; 84 regulator-max-microvolt = <500 84 regulator-max-microvolt = <5000000>; 85 }; 85 }; 86 }; 86 }; 87 87 88 &combphy1 { 88 &combphy1 { 89 status = "okay"; 89 status = "okay"; 90 }; 90 }; 91 91 92 &cpu0 { 92 &cpu0 { 93 cpu-supply = <&vdd_cpu>; 93 cpu-supply = <&vdd_cpu>; 94 }; 94 }; 95 95 96 &cpu1 { 96 &cpu1 { 97 cpu-supply = <&vdd_cpu>; 97 cpu-supply = <&vdd_cpu>; 98 }; 98 }; 99 99 100 &cpu2 { 100 &cpu2 { 101 cpu-supply = <&vdd_cpu>; 101 cpu-supply = <&vdd_cpu>; 102 }; 102 }; 103 103 104 &cpu3 { 104 &cpu3 { 105 cpu-supply = <&vdd_cpu>; 105 cpu-supply = <&vdd_cpu>; 106 }; 106 }; 107 107 108 &gpio0 { 108 &gpio0 { 109 gpio-line-names = 109 gpio-line-names = 110 /* GPIO0_A0 - A7 */ 110 /* GPIO0_A0 - A7 */ 111 "", "", "", "", "", "", "", "" 111 "", "", "", "", "", "", "", "", 112 /* GPIO0_B0 - B7 */ 112 /* GPIO0_B0 - B7 */ 113 "", "", "", "", "", "", "", "" 113 "", "", "", "", "", "", "", "", 114 /* GPIO0_C0 - C7 */ 114 /* GPIO0_C0 - C7 */ 115 "", "", "", "", "", "", "", "" 115 "", "", "", "", "", "", "", "", 116 /* GPIO0_D0 - D7 */ 116 /* GPIO0_D0 - D7 */ 117 "pin-10 [GPIO0_D0]", "pin-08 [ 117 "pin-10 [GPIO0_D0]", "pin-08 [GPIO0_D1]", "", 118 "", "", "", "", ""; 118 "", "", "", "", ""; 119 }; 119 }; 120 120 121 &gpio1 { 121 &gpio1 { 122 gpio-line-names = 122 gpio-line-names = 123 /* GPIO1_A0 - A7 */ 123 /* GPIO1_A0 - A7 */ 124 "pin-03 [GPIO1_A0]", "pin-05 [ 124 "pin-03 [GPIO1_A0]", "pin-05 [GPIO1_A1]", "", 125 "", "pin-37 [ 125 "", "pin-37 [GPIO1_A4]", "", 126 "", "", 126 "", "", 127 /* GPIO1_B0 - B7 */ 127 /* GPIO1_B0 - B7 */ 128 "", "", "", "", "", "", "", "" 128 "", "", "", "", "", "", "", "", 129 /* GPIO1_C0 - C7 */ 129 /* GPIO1_C0 - C7 */ 130 "", "", "", "", "", "", "", "" 130 "", "", "", "", "", "", "", "", 131 /* GPIO1_D0 - D7 */ 131 /* GPIO1_D0 - D7 */ 132 "", "", "", "", "", "", "", "" 132 "", "", "", "", "", "", "", ""; 133 }; 133 }; 134 134 135 &gpio2 { 135 &gpio2 { 136 gpio-line-names = 136 gpio-line-names = 137 /* GPIO2_A0 - A7 */ 137 /* GPIO2_A0 - A7 */ 138 "", "", "", "", "", "", "", "" 138 "", "", "", "", "", "", "", "", 139 /* GPIO2_B0 - B7 */ 139 /* GPIO2_B0 - B7 */ 140 "", "", "", "", "", "", "", "" 140 "", "", "", "", "", "", "", "", 141 /* GPIO2_C0 - C7 */ 141 /* GPIO2_C0 - C7 */ 142 "", "", "", "", "", "", "", "" 142 "", "", "", "", "", "", "", "", 143 /* GPIO2_D0 - D7 */ 143 /* GPIO2_D0 - D7 */ 144 "", "", "", "", "", "", "", "" 144 "", "", "", "", "", "", "", ""; 145 }; 145 }; 146 146 147 &gpio3 { 147 &gpio3 { 148 gpio-line-names = 148 gpio-line-names = 149 /* GPIO3_A0 - A7 */ 149 /* GPIO3_A0 - A7 */ 150 "", "pin-11 [ 150 "", "pin-11 [GPIO3_A1]", "pin-13 [GPIO3_A2]", 151 "pin-12 [GPIO3_A3]", "pin-35 [ 151 "pin-12 [GPIO3_A3]", "pin-35 [GPIO3_A4]", "pin-40 [GPIO3_A5]", 152 "pin-38 [GPIO3_A6]", "pin-36 [ 152 "pin-38 [GPIO3_A6]", "pin-36 [GPIO3_A7]", 153 /* GPIO3_B0 - B7 */ 153 /* GPIO3_B0 - B7 */ 154 "pin-15 [GPIO3_B0]", "pin-16 [ 154 "pin-15 [GPIO3_B0]", "pin-16 [GPIO3_B1]", "pin-18 [GPIO3_B2]", 155 "pin-29 [GPIO3_B3]", "pin-31 [ 155 "pin-29 [GPIO3_B3]", "pin-31 [GPIO3_B4]", "", 156 "", "", 156 "", "", 157 /* GPIO3_C0 - C7 */ 157 /* GPIO3_C0 - C7 */ 158 "", "pin-22 [ 158 "", "pin-22 [GPIO3_C1]", "pin-32 [GPIO3_C2]", 159 "pin-33 [GPIO3_C3]", "pin-07 [ 159 "pin-33 [GPIO3_C3]", "pin-07 [GPIO3_C4]", "", 160 "", "", 160 "", "", 161 /* GPIO3_D0 - D7 */ 161 /* GPIO3_D0 - D7 */ 162 "", "", "", "", "", "", "", "" 162 "", "", "", "", "", "", "", ""; 163 }; 163 }; 164 164 165 &gpio4 { 165 &gpio4 { 166 gpio-line-names = 166 gpio-line-names = 167 /* GPIO4_A0 - A7 */ 167 /* GPIO4_A0 - A7 */ 168 "", "", "", "", "", "", "", "" 168 "", "", "", "", "", "", "", "", 169 /* GPIO4_B0 - B7 */ 169 /* GPIO4_B0 - B7 */ 170 "", "", 170 "", "", "pin-27 [GPIO4_B2]", 171 "pin-28 [GPIO4_B3]", "", "", " 171 "pin-28 [GPIO4_B3]", "", "", "", "", 172 /* GPIO4_C0 - C7 */ 172 /* GPIO4_C0 - C7 */ 173 "", "", 173 "", "", "pin-23 [GPIO4_C2]", 174 "pin-19 [GPIO4_C3]", "", 174 "pin-19 [GPIO4_C3]", "", "pin-21 [GPIO4_C5]", 175 "pin-24 [GPIO4_C6]", "", 175 "pin-24 [GPIO4_C6]", "", 176 /* GPIO4_D0 - D7 */ 176 /* GPIO4_D0 - D7 */ 177 "", "", "", "", "", "", "", "" 177 "", "", "", "", "", "", "", ""; 178 }; 178 }; 179 179 180 &gpu { 180 &gpu { 181 mali-supply = <&vdd_gpu_npu>; 181 mali-supply = <&vdd_gpu_npu>; 182 status = "okay"; 182 status = "okay"; 183 }; 183 }; 184 184 185 &hdmi { 185 &hdmi { 186 avdd-0v9-supply = <&vdda_0v9>; 186 avdd-0v9-supply = <&vdda_0v9>; 187 avdd-1v8-supply = <&vcca1v8_image>; 187 avdd-1v8-supply = <&vcca1v8_image>; 188 status = "okay"; 188 status = "okay"; 189 }; 189 }; 190 190 191 &hdmi_in { 191 &hdmi_in { 192 hdmi_in_vp0: endpoint { 192 hdmi_in_vp0: endpoint { 193 remote-endpoint = <&vp0_out_hd 193 remote-endpoint = <&vp0_out_hdmi>; 194 }; 194 }; 195 }; 195 }; 196 196 197 &hdmi_out { 197 &hdmi_out { 198 hdmi_out_con: endpoint { 198 hdmi_out_con: endpoint { 199 remote-endpoint = <&hdmi_con_i 199 remote-endpoint = <&hdmi_con_in>; 200 }; 200 }; 201 }; 201 }; 202 202 203 &hdmi_sound { 203 &hdmi_sound { 204 status = "okay"; 204 status = "okay"; 205 }; 205 }; 206 206 207 &i2c0 { 207 &i2c0 { 208 status = "okay"; 208 status = "okay"; 209 209 210 rk817: pmic@20 { 210 rk817: pmic@20 { 211 compatible = "rockchip,rk817"; 211 compatible = "rockchip,rk817"; 212 reg = <0x20>; 212 reg = <0x20>; 213 #clock-cells = <1>; 213 #clock-cells = <1>; 214 clock-output-names = "rk817-cl 214 clock-output-names = "rk817-clkout1", "rk817-clkout2"; 215 interrupt-parent = <&gpio0>; 215 interrupt-parent = <&gpio0>; 216 interrupts = <RK_PA3 IRQ_TYPE_ 216 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>; 217 pinctrl-names = "default"; 217 pinctrl-names = "default"; 218 pinctrl-0 = <&pmic_int_l>; 218 pinctrl-0 = <&pmic_int_l>; 219 system-power-controller; 219 system-power-controller; 220 wakeup-source; 220 wakeup-source; 221 221 222 vcc1-supply = <&vcc_sys>; 222 vcc1-supply = <&vcc_sys>; 223 vcc2-supply = <&vcc_sys>; 223 vcc2-supply = <&vcc_sys>; 224 vcc3-supply = <&vcc_sys>; 224 vcc3-supply = <&vcc_sys>; 225 vcc4-supply = <&vcc_sys>; 225 vcc4-supply = <&vcc_sys>; 226 vcc5-supply = <&vcc_sys>; 226 vcc5-supply = <&vcc_sys>; 227 vcc6-supply = <&vcc_sys>; 227 vcc6-supply = <&vcc_sys>; 228 vcc7-supply = <&vcc_sys>; 228 vcc7-supply = <&vcc_sys>; 229 vcc8-supply = <&vcc_sys>; 229 vcc8-supply = <&vcc_sys>; 230 vcc9-supply = <&vcc5v_midu>; 230 vcc9-supply = <&vcc5v_midu>; 231 231 232 regulators { 232 regulators { 233 vdd_logic: DCDC_REG1 { 233 vdd_logic: DCDC_REG1 { 234 regulator-name 234 regulator-name = "vdd_logic"; 235 regulator-alwa 235 regulator-always-on; 236 regulator-boot 236 regulator-boot-on; 237 regulator-init 237 regulator-initial-mode = <0x2>; 238 regulator-min- 238 regulator-min-microvolt = <500000>; 239 regulator-max- 239 regulator-max-microvolt = <1350000>; 240 regulator-ramp 240 regulator-ramp-delay = <6001>; 241 241 242 regulator-stat 242 regulator-state-mem { 243 regula 243 regulator-off-in-suspend; 244 regula 244 regulator-suspend-microvolt = <900000>; 245 }; 245 }; 246 }; 246 }; 247 247 248 vdd_gpu_npu: DCDC_REG2 248 vdd_gpu_npu: DCDC_REG2 { 249 regulator-name 249 regulator-name = "vdd_gpu_npu"; 250 regulator-alwa 250 regulator-always-on; 251 regulator-boot 251 regulator-boot-on; 252 regulator-init 252 regulator-initial-mode = <0x2>; 253 regulator-min- 253 regulator-min-microvolt = <500000>; 254 regulator-max- 254 regulator-max-microvolt = <1350000>; 255 regulator-ramp 255 regulator-ramp-delay = <6001>; 256 256 257 regulator-stat 257 regulator-state-mem { 258 regula 258 regulator-off-in-suspend; 259 }; 259 }; 260 }; 260 }; 261 261 262 vcc_ddr: DCDC_REG3 { 262 vcc_ddr: DCDC_REG3 { 263 regulator-name 263 regulator-name = "vcc_ddr"; 264 regulator-alwa 264 regulator-always-on; 265 regulator-boot 265 regulator-boot-on; 266 regulator-init 266 regulator-initial-mode = <0x2>; 267 267 268 regulator-stat 268 regulator-state-mem { 269 regula 269 regulator-on-in-suspend; 270 }; 270 }; 271 }; 271 }; 272 272 273 vcc3v3_sys: DCDC_REG4 273 vcc3v3_sys: DCDC_REG4 { 274 regulator-name 274 regulator-name = "vcc3v3_sys"; 275 regulator-alwa 275 regulator-always-on; 276 regulator-boot 276 regulator-boot-on; 277 regulator-init 277 regulator-initial-mode = <0x2>; 278 regulator-min- 278 regulator-min-microvolt = <3300000>; 279 regulator-max- 279 regulator-max-microvolt = <3300000>; 280 280 281 regulator-stat 281 regulator-state-mem { 282 regula 282 regulator-on-in-suspend; 283 regula 283 regulator-suspend-microvolt = <3300000>; 284 }; 284 }; 285 }; 285 }; 286 286 287 vcca1v8_pmu: LDO_REG1 287 vcca1v8_pmu: LDO_REG1 { 288 regulator-name 288 regulator-name = "vcca1v8_pmu"; 289 regulator-alwa 289 regulator-always-on; 290 regulator-boot 290 regulator-boot-on; 291 regulator-min- 291 regulator-min-microvolt = <1800000>; 292 regulator-max- 292 regulator-max-microvolt = <1800000>; 293 293 294 regulator-stat 294 regulator-state-mem { 295 regula 295 regulator-on-in-suspend; 296 regula 296 regulator-suspend-microvolt = <1800000>; 297 }; 297 }; 298 }; 298 }; 299 299 300 vdda_0v9: LDO_REG2 { 300 vdda_0v9: LDO_REG2 { 301 regulator-name 301 regulator-name = "vdda_0v9"; 302 regulator-alwa 302 regulator-always-on; 303 regulator-boot 303 regulator-boot-on; 304 regulator-min- 304 regulator-min-microvolt = <900000>; 305 regulator-max- 305 regulator-max-microvolt = <900000>; 306 306 307 regulator-stat 307 regulator-state-mem { 308 regula 308 regulator-off-in-suspend; 309 }; 309 }; 310 }; 310 }; 311 311 312 vdda0v9_pmu: LDO_REG3 312 vdda0v9_pmu: LDO_REG3 { 313 regulator-name 313 regulator-name = "vdda0v9_pmu"; 314 regulator-alwa 314 regulator-always-on; 315 regulator-boot 315 regulator-boot-on; 316 regulator-min- 316 regulator-min-microvolt = <900000>; 317 regulator-max- 317 regulator-max-microvolt = <900000>; 318 318 319 regulator-stat 319 regulator-state-mem { 320 regula 320 regulator-on-in-suspend; 321 regula 321 regulator-suspend-microvolt = <900000>; 322 }; 322 }; 323 }; 323 }; 324 324 325 vccio_acodec: LDO_REG4 325 vccio_acodec: LDO_REG4 { 326 regulator-name 326 regulator-name = "vccio_acodec"; 327 regulator-alwa 327 regulator-always-on; 328 regulator-boot 328 regulator-boot-on; 329 regulator-min- 329 regulator-min-microvolt = <3300000>; 330 regulator-max- 330 regulator-max-microvolt = <3300000>; 331 331 332 regulator-stat 332 regulator-state-mem { 333 regula 333 regulator-off-in-suspend; 334 }; 334 }; 335 }; 335 }; 336 336 337 vccio_sd: LDO_REG5 { 337 vccio_sd: LDO_REG5 { 338 regulator-name 338 regulator-name = "vccio_sd"; 339 regulator-alwa 339 regulator-always-on; 340 regulator-boot 340 regulator-boot-on; 341 regulator-min- 341 regulator-min-microvolt = <1800000>; 342 regulator-max- 342 regulator-max-microvolt = <3300000>; 343 343 344 regulator-stat 344 regulator-state-mem { 345 regula 345 regulator-off-in-suspend; 346 }; 346 }; 347 }; 347 }; 348 348 349 vcc3v3_pmu: LDO_REG6 { 349 vcc3v3_pmu: LDO_REG6 { 350 regulator-name 350 regulator-name = "vcc3v3_pmu"; 351 regulator-alwa 351 regulator-always-on; 352 regulator-boot 352 regulator-boot-on; 353 regulator-min- 353 regulator-min-microvolt = <3300000>; 354 regulator-max- 354 regulator-max-microvolt = <3300000>; 355 355 356 regulator-stat 356 regulator-state-mem { 357 regula 357 regulator-on-in-suspend; 358 regula 358 regulator-suspend-microvolt = <3300000>; 359 }; 359 }; 360 }; 360 }; 361 361 362 vcc_1v8_p: LDO_REG7 { 362 vcc_1v8_p: LDO_REG7 { 363 regulator-name 363 regulator-name = "vcc_1v8_p"; 364 regulator-alwa 364 regulator-always-on; 365 regulator-boot 365 regulator-boot-on; 366 regulator-min- 366 regulator-min-microvolt = <1800000>; 367 regulator-max- 367 regulator-max-microvolt = <1800000>; 368 368 369 regulator-stat 369 regulator-state-mem { 370 regula 370 regulator-off-in-suspend; 371 }; 371 }; 372 }; 372 }; 373 373 374 vcc1v8_dvp: LDO_REG8 { 374 vcc1v8_dvp: LDO_REG8 { 375 regulator-name 375 regulator-name = "vcc1v8_dvp"; 376 regulator-alwa 376 regulator-always-on; 377 regulator-boot 377 regulator-boot-on; 378 regulator-min- 378 regulator-min-microvolt = <1800000>; 379 regulator-max- 379 regulator-max-microvolt = <1800000>; 380 380 381 regulator-stat 381 regulator-state-mem { 382 regula 382 regulator-off-in-suspend; 383 }; 383 }; 384 }; 384 }; 385 385 386 vcc2v8_dvp: LDO_REG9 { 386 vcc2v8_dvp: LDO_REG9 { 387 regulator-name 387 regulator-name = "vcc2v8_dvp"; 388 regulator-alwa 388 regulator-always-on; 389 regulator-boot 389 regulator-boot-on; 390 regulator-min- 390 regulator-min-microvolt = <2800000>; 391 regulator-max- 391 regulator-max-microvolt = <2800000>; 392 392 393 regulator-stat 393 regulator-state-mem { 394 regula 394 regulator-off-in-suspend; 395 }; 395 }; 396 }; 396 }; 397 397 398 vcc5v_midu: BOOST { 398 vcc5v_midu: BOOST { 399 regulator-name 399 regulator-name = "vcc5v_midu"; 400 regulator-alwa 400 regulator-always-on; 401 regulator-boot 401 regulator-boot-on; 402 regulator-min- 402 regulator-min-microvolt = <5000000>; 403 regulator-max- 403 regulator-max-microvolt = <5000000>; 404 404 405 regulator-stat 405 regulator-state-mem { 406 regula 406 regulator-off-in-suspend; 407 }; 407 }; 408 }; 408 }; 409 409 410 vbus: OTG_SWITCH { 410 vbus: OTG_SWITCH { 411 regulator-name 411 regulator-name = "vbus"; 412 412 413 regulator-stat 413 regulator-state-mem { 414 regula 414 regulator-off-in-suspend; 415 }; 415 }; 416 }; 416 }; 417 }; 417 }; 418 }; 418 }; 419 419 420 vdd_cpu: regulator@40 { 420 vdd_cpu: regulator@40 { 421 compatible = "rockchip,rk8600" 421 compatible = "rockchip,rk8600"; 422 reg = <0x40>; 422 reg = <0x40>; 423 fcs,suspend-voltage-selector = 423 fcs,suspend-voltage-selector = <1>; 424 regulator-name = "vdd_cpu"; 424 regulator-name = "vdd_cpu"; 425 regulator-always-on; 425 regulator-always-on; 426 regulator-boot-on; 426 regulator-boot-on; 427 regulator-min-microvolt = <712 427 regulator-min-microvolt = <712500>; 428 regulator-max-microvolt = <139 428 regulator-max-microvolt = <1390000>; 429 regulator-ramp-delay = <2300>; 429 regulator-ramp-delay = <2300>; 430 vin-supply = <&vcc_sys>; 430 vin-supply = <&vcc_sys>; 431 431 432 regulator-state-mem { 432 regulator-state-mem { 433 regulator-off-in-suspe 433 regulator-off-in-suspend; 434 }; 434 }; 435 }; 435 }; 436 }; 436 }; 437 437 438 &i2s0_8ch { 438 &i2s0_8ch { 439 status = "okay"; 439 status = "okay"; 440 }; 440 }; 441 441 442 &pinctrl { 442 &pinctrl { 443 leds { 443 leds { 444 user_led2: user-led2 { 444 user_led2: user-led2 { 445 rockchip,pins = <0 RK_ 445 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; 446 }; 446 }; 447 }; 447 }; 448 448 449 pmic { 449 pmic { 450 pmic_int_l: pmic-int-l { 450 pmic_int_l: pmic-int-l { 451 rockchip,pins = <0 RK_ 451 rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 452 }; 452 }; 453 }; 453 }; 454 }; 454 }; 455 455 456 &pmu_io_domains { 456 &pmu_io_domains { 457 pmuio1-supply = <&vcc3v3_pmu>; 457 pmuio1-supply = <&vcc3v3_pmu>; 458 pmuio2-supply = <&vcca1v8_pmu>; 458 pmuio2-supply = <&vcca1v8_pmu>; 459 vccio1-supply = <&vccio_acodec>; 459 vccio1-supply = <&vccio_acodec>; 460 vccio2-supply = <&vcc_1v8>; 460 vccio2-supply = <&vcc_1v8>; 461 vccio3-supply = <&vccio_sd>; 461 vccio3-supply = <&vccio_sd>; 462 vccio4-supply = <&vcc_1v8>; 462 vccio4-supply = <&vcc_1v8>; 463 vccio5-supply = <&vcc_3v3>; 463 vccio5-supply = <&vcc_3v3>; 464 vccio6-supply = <&vcc_3v3>; 464 vccio6-supply = <&vcc_3v3>; 465 vccio7-supply = <&vcc_3v3>; 465 vccio7-supply = <&vcc_3v3>; 466 status = "okay"; 466 status = "okay"; 467 }; 467 }; 468 468 469 &saradc { 469 &saradc { 470 vref-supply = <&vcca_1v8>; 470 vref-supply = <&vcca_1v8>; 471 status = "okay"; 471 status = "okay"; 472 }; 472 }; 473 473 474 &sdmmc0 { 474 &sdmmc0 { 475 bus-width = <4>; 475 bus-width = <4>; 476 cap-sd-highspeed; 476 cap-sd-highspeed; 477 disable-wp; 477 disable-wp; 478 pinctrl-names = "default"; 478 pinctrl-names = "default"; 479 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk 479 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; 480 vmmc-supply = <&vcc3v3_sys>; 480 vmmc-supply = <&vcc3v3_sys>; 481 vqmmc-supply = <&vccio_sd>; 481 vqmmc-supply = <&vccio_sd>; 482 status = "okay"; 482 status = "okay"; 483 }; 483 }; 484 484 485 &tsadc { 485 &tsadc { 486 rockchip,hw-tshut-mode = <1>; 486 rockchip,hw-tshut-mode = <1>; 487 rockchip,hw-tshut-polarity = <0>; 487 rockchip,hw-tshut-polarity = <0>; 488 status = "okay"; 488 status = "okay"; 489 }; 489 }; 490 490 491 &uart2 { 491 &uart2 { 492 status = "okay"; 492 status = "okay"; 493 }; 493 }; 494 494 495 &usb_host0_xhci { 495 &usb_host0_xhci { 496 status = "okay"; 496 status = "okay"; 497 }; 497 }; 498 498 499 &usb_host1_xhci { 499 &usb_host1_xhci { 500 status = "okay"; 500 status = "okay"; 501 }; 501 }; 502 502 503 &usb2phy0 { 503 &usb2phy0 { 504 status = "okay"; 504 status = "okay"; 505 }; 505 }; 506 506 507 &usb2phy0_host { 507 &usb2phy0_host { 508 status = "okay"; 508 status = "okay"; 509 }; 509 }; 510 510 511 &usb2phy0_otg { 511 &usb2phy0_otg { 512 status = "okay"; 512 status = "okay"; 513 }; 513 }; 514 514 515 &vop { 515 &vop { 516 assigned-clocks = <&cru DCLK_VOP0>, <& 516 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; 517 assigned-clock-parents = <&pmucru PLL_ 517 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; 518 status = "okay"; 518 status = "okay"; 519 }; 519 }; 520 520 521 &vop_mmu { 521 &vop_mmu { 522 status = "okay"; 522 status = "okay"; 523 }; 523 }; 524 524 525 &vp0 { 525 &vp0 { 526 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_E 526 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 527 reg = <ROCKCHIP_VOP2_EP_HDMI0> 527 reg = <ROCKCHIP_VOP2_EP_HDMI0>; 528 remote-endpoint = <&hdmi_in_vp 528 remote-endpoint = <&hdmi_in_vp0>; 529 }; 529 }; 530 }; 530 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.