1 // SPDX-License-Identifier: GPL-2.0-or-later O 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 /* 2 /* 3 * Copyright (c) 2022 FriendlyElec Computer Te 3 * Copyright (c) 2022 FriendlyElec Computer Tech. Co., Ltd. 4 * (http://www.friendlyelec.com) 4 * (http://www.friendlyelec.com) 5 * 5 * 6 * Copyright (c) 2023 Tianling Shen <cnsztl@gma 6 * Copyright (c) 2023 Tianling Shen <cnsztl@gmail.com> 7 */ 7 */ 8 8 9 /dts-v1/; 9 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/pinctrl/rockchip.h> 13 #include <dt-bindings/pinctrl/rockchip.h> 14 #include <dt-bindings/soc/rockchip,vop2.h> 14 #include <dt-bindings/soc/rockchip,vop2.h> 15 #include "rk3568.dtsi" 15 #include "rk3568.dtsi" 16 16 17 / { 17 / { 18 aliases { 18 aliases { 19 mmc0 = &sdmmc0; 19 mmc0 = &sdmmc0; 20 mmc1 = &sdhci; 20 mmc1 = &sdhci; 21 }; 21 }; 22 22 23 chosen: chosen { 23 chosen: chosen { 24 stdout-path = "serial2:1500000 24 stdout-path = "serial2:1500000n8"; 25 }; 25 }; 26 26 27 hdmi-con { 27 hdmi-con { 28 compatible = "hdmi-connector"; 28 compatible = "hdmi-connector"; 29 type = "a"; 29 type = "a"; 30 30 31 port { 31 port { 32 hdmi_con_in: endpoint 32 hdmi_con_in: endpoint { 33 remote-endpoin 33 remote-endpoint = <&hdmi_out_con>; 34 }; 34 }; 35 }; 35 }; 36 }; 36 }; 37 37 38 vdd_usbc: vdd-usbc-regulator { 38 vdd_usbc: vdd-usbc-regulator { 39 compatible = "regulator-fixed" 39 compatible = "regulator-fixed"; 40 regulator-name = "vdd_usbc"; 40 regulator-name = "vdd_usbc"; 41 regulator-always-on; 41 regulator-always-on; 42 regulator-boot-on; 42 regulator-boot-on; 43 regulator-min-microvolt = <500 43 regulator-min-microvolt = <5000000>; 44 regulator-max-microvolt = <500 44 regulator-max-microvolt = <5000000>; 45 }; 45 }; 46 46 47 vcc3v3_sys: vcc3v3-sys-regulator { 47 vcc3v3_sys: vcc3v3-sys-regulator { 48 compatible = "regulator-fixed" 48 compatible = "regulator-fixed"; 49 regulator-name = "vcc3v3_sys"; 49 regulator-name = "vcc3v3_sys"; 50 regulator-always-on; 50 regulator-always-on; 51 regulator-boot-on; 51 regulator-boot-on; 52 regulator-min-microvolt = <330 52 regulator-min-microvolt = <3300000>; 53 regulator-max-microvolt = <330 53 regulator-max-microvolt = <3300000>; 54 vin-supply = <&vdd_usbc>; 54 vin-supply = <&vdd_usbc>; 55 }; 55 }; 56 56 57 vcc5v0_sys: vcc5v0-sys-regulator { 57 vcc5v0_sys: vcc5v0-sys-regulator { 58 compatible = "regulator-fixed" 58 compatible = "regulator-fixed"; 59 regulator-name = "vcc5v0_sys"; 59 regulator-name = "vcc5v0_sys"; 60 regulator-always-on; 60 regulator-always-on; 61 regulator-boot-on; 61 regulator-boot-on; 62 regulator-min-microvolt = <500 62 regulator-min-microvolt = <5000000>; 63 regulator-max-microvolt = <500 63 regulator-max-microvolt = <5000000>; 64 vin-supply = <&vdd_usbc>; 64 vin-supply = <&vdd_usbc>; 65 }; 65 }; 66 66 67 vcc3v3_pcie: vcc3v3-pcie-regulator { 67 vcc3v3_pcie: vcc3v3-pcie-regulator { 68 compatible = "regulator-fixed" 68 compatible = "regulator-fixed"; 69 regulator-name = "vcc3v3_pcie" 69 regulator-name = "vcc3v3_pcie"; 70 regulator-min-microvolt = <330 70 regulator-min-microvolt = <3300000>; 71 regulator-max-microvolt = <330 71 regulator-max-microvolt = <3300000>; 72 enable-active-high; 72 enable-active-high; 73 gpios = <&gpio0 RK_PD4 GPIO_AC 73 gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; 74 startup-delay-us = <200000>; 74 startup-delay-us = <200000>; 75 vin-supply = <&vcc5v0_sys>; 75 vin-supply = <&vcc5v0_sys>; 76 }; 76 }; 77 77 78 vcc5v0_usb: vcc5v0-usb-regulator { 78 vcc5v0_usb: vcc5v0-usb-regulator { 79 compatible = "regulator-fixed" 79 compatible = "regulator-fixed"; 80 regulator-name = "vcc5v0_usb"; 80 regulator-name = "vcc5v0_usb"; 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 vin-supply = <&vdd_usbc>; 85 vin-supply = <&vdd_usbc>; 86 }; 86 }; 87 87 88 vcc5v0_usb_host: vcc5v0-usb-host-regul 88 vcc5v0_usb_host: vcc5v0-usb-host-regulator { 89 compatible = "regulator-fixed" 89 compatible = "regulator-fixed"; 90 enable-active-high; 90 enable-active-high; 91 gpio = <&gpio0 RK_PA6 GPIO_ACT 91 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; 92 pinctrl-names = "default"; 92 pinctrl-names = "default"; 93 pinctrl-0 = <&vcc5v0_usb_host_ 93 pinctrl-0 = <&vcc5v0_usb_host_en>; 94 regulator-name = "vcc5v0_usb_h 94 regulator-name = "vcc5v0_usb_host"; 95 regulator-always-on; 95 regulator-always-on; 96 regulator-boot-on; 96 regulator-boot-on; 97 regulator-min-microvolt = <500 97 regulator-min-microvolt = <5000000>; 98 regulator-max-microvolt = <500 98 regulator-max-microvolt = <5000000>; 99 vin-supply = <&vcc5v0_usb>; 99 vin-supply = <&vcc5v0_usb>; 100 }; 100 }; 101 101 102 vcc5v0_usb_otg: vcc5v0-usb-otg-regulat 102 vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { 103 compatible = "regulator-fixed" 103 compatible = "regulator-fixed"; 104 enable-active-high; 104 enable-active-high; 105 gpio = <&gpio0 RK_PA5 GPIO_ACT 105 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; 106 pinctrl-names = "default"; 106 pinctrl-names = "default"; 107 pinctrl-0 = <&vcc5v0_usb_otg_e 107 pinctrl-0 = <&vcc5v0_usb_otg_en>; 108 regulator-name = "vcc5v0_usb_o 108 regulator-name = "vcc5v0_usb_otg"; 109 regulator-min-microvolt = <500 109 regulator-min-microvolt = <5000000>; 110 regulator-max-microvolt = <500 110 regulator-max-microvolt = <5000000>; 111 vin-supply = <&vcc5v0_usb>; 111 vin-supply = <&vcc5v0_usb>; 112 }; 112 }; 113 113 114 pcie30_avdd0v9: pcie30-avdd0v9-regulat 114 pcie30_avdd0v9: pcie30-avdd0v9-regulator { 115 compatible = "regulator-fixed" 115 compatible = "regulator-fixed"; 116 regulator-name = "pcie30_avdd0 116 regulator-name = "pcie30_avdd0v9"; 117 regulator-always-on; 117 regulator-always-on; 118 regulator-boot-on; 118 regulator-boot-on; 119 regulator-min-microvolt = <900 119 regulator-min-microvolt = <900000>; 120 regulator-max-microvolt = <900 120 regulator-max-microvolt = <900000>; 121 vin-supply = <&vcc3v3_sys>; 121 vin-supply = <&vcc3v3_sys>; 122 }; 122 }; 123 123 124 pcie30_avdd1v8: pcie30-avdd1v8-regulat 124 pcie30_avdd1v8: pcie30-avdd1v8-regulator { 125 compatible = "regulator-fixed" 125 compatible = "regulator-fixed"; 126 regulator-name = "pcie30_avdd1 126 regulator-name = "pcie30_avdd1v8"; 127 regulator-always-on; 127 regulator-always-on; 128 regulator-boot-on; 128 regulator-boot-on; 129 regulator-min-microvolt = <180 129 regulator-min-microvolt = <1800000>; 130 regulator-max-microvolt = <180 130 regulator-max-microvolt = <1800000>; 131 vin-supply = <&vcc3v3_sys>; 131 vin-supply = <&vcc3v3_sys>; 132 }; 132 }; 133 }; 133 }; 134 134 135 &combphy0 { 135 &combphy0 { 136 status = "okay"; 136 status = "okay"; 137 }; 137 }; 138 138 139 &combphy1 { 139 &combphy1 { 140 status = "okay"; 140 status = "okay"; 141 }; 141 }; 142 142 143 &combphy2 { 143 &combphy2 { 144 status = "okay"; 144 status = "okay"; 145 }; 145 }; 146 146 147 &cpu0 { 147 &cpu0 { 148 cpu-supply = <&vdd_cpu>; 148 cpu-supply = <&vdd_cpu>; 149 }; 149 }; 150 150 151 &cpu1 { 151 &cpu1 { 152 cpu-supply = <&vdd_cpu>; 152 cpu-supply = <&vdd_cpu>; 153 }; 153 }; 154 154 155 &cpu2 { 155 &cpu2 { 156 cpu-supply = <&vdd_cpu>; 156 cpu-supply = <&vdd_cpu>; 157 }; 157 }; 158 158 159 &cpu3 { 159 &cpu3 { 160 cpu-supply = <&vdd_cpu>; 160 cpu-supply = <&vdd_cpu>; 161 }; 161 }; 162 162 163 &gpu { 163 &gpu { 164 mali-supply = <&vdd_gpu>; 164 mali-supply = <&vdd_gpu>; 165 status = "okay"; 165 status = "okay"; 166 }; 166 }; 167 167 168 &hdmi { 168 &hdmi { 169 avdd-0v9-supply = <&vdda0v9_image>; 169 avdd-0v9-supply = <&vdda0v9_image>; 170 avdd-1v8-supply = <&vcca1v8_image>; 170 avdd-1v8-supply = <&vcca1v8_image>; 171 status = "okay"; 171 status = "okay"; 172 }; 172 }; 173 173 174 &hdmi_in { 174 &hdmi_in { 175 hdmi_in_vp0: endpoint { 175 hdmi_in_vp0: endpoint { 176 remote-endpoint = <&vp0_out_hd 176 remote-endpoint = <&vp0_out_hdmi>; 177 }; 177 }; 178 }; 178 }; 179 179 180 &hdmi_out { 180 &hdmi_out { 181 hdmi_out_con: endpoint { 181 hdmi_out_con: endpoint { 182 remote-endpoint = <&hdmi_con_i 182 remote-endpoint = <&hdmi_con_in>; 183 }; 183 }; 184 }; 184 }; 185 185 186 &hdmi_sound { 186 &hdmi_sound { 187 status = "okay"; 187 status = "okay"; 188 }; 188 }; 189 189 190 &i2c0 { 190 &i2c0 { 191 status = "okay"; 191 status = "okay"; 192 192 193 vdd_cpu: regulator@1c { 193 vdd_cpu: regulator@1c { 194 compatible = "tcs,tcs4525"; 194 compatible = "tcs,tcs4525"; 195 reg = <0x1c>; 195 reg = <0x1c>; 196 fcs,suspend-voltage-selector = 196 fcs,suspend-voltage-selector = <1>; 197 regulator-name = "vdd_cpu"; 197 regulator-name = "vdd_cpu"; 198 regulator-always-on; 198 regulator-always-on; 199 regulator-boot-on; 199 regulator-boot-on; 200 regulator-min-microvolt = <800 200 regulator-min-microvolt = <800000>; 201 regulator-max-microvolt = <115 201 regulator-max-microvolt = <1150000>; 202 regulator-ramp-delay = <2300>; 202 regulator-ramp-delay = <2300>; 203 vin-supply = <&vcc5v0_sys>; 203 vin-supply = <&vcc5v0_sys>; 204 204 205 regulator-state-mem { 205 regulator-state-mem { 206 regulator-off-in-suspe 206 regulator-off-in-suspend; 207 }; 207 }; 208 }; 208 }; 209 209 210 rk809: pmic@20 { 210 rk809: pmic@20 { 211 compatible = "rockchip,rk809"; 211 compatible = "rockchip,rk809"; 212 reg = <0x20>; 212 reg = <0x20>; 213 interrupt-parent = <&gpio0>; 213 interrupt-parent = <&gpio0>; 214 interrupts = <RK_PA3 IRQ_TYPE_ 214 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>; 215 #clock-cells = <1>; 215 #clock-cells = <1>; 216 pinctrl-names = "default"; 216 pinctrl-names = "default"; 217 pinctrl-0 = <&pmic_int>; 217 pinctrl-0 = <&pmic_int>; 218 rockchip,system-power-controll 218 rockchip,system-power-controller; 219 vcc1-supply = <&vcc3v3_sys>; 219 vcc1-supply = <&vcc3v3_sys>; 220 vcc2-supply = <&vcc3v3_sys>; 220 vcc2-supply = <&vcc3v3_sys>; 221 vcc3-supply = <&vcc3v3_sys>; 221 vcc3-supply = <&vcc3v3_sys>; 222 vcc4-supply = <&vcc3v3_sys>; 222 vcc4-supply = <&vcc3v3_sys>; 223 vcc5-supply = <&vcc3v3_sys>; 223 vcc5-supply = <&vcc3v3_sys>; 224 vcc6-supply = <&vcc3v3_sys>; 224 vcc6-supply = <&vcc3v3_sys>; 225 vcc7-supply = <&vcc3v3_sys>; 225 vcc7-supply = <&vcc3v3_sys>; 226 vcc8-supply = <&vcc3v3_sys>; 226 vcc8-supply = <&vcc3v3_sys>; 227 vcc9-supply = <&vcc3v3_sys>; 227 vcc9-supply = <&vcc3v3_sys>; 228 wakeup-source; 228 wakeup-source; 229 229 230 regulators { 230 regulators { 231 vdd_logic: DCDC_REG1 { 231 vdd_logic: DCDC_REG1 { 232 regulator-name 232 regulator-name = "vdd_logic"; 233 regulator-alwa 233 regulator-always-on; 234 regulator-boot 234 regulator-boot-on; >> 235 regulator-init-microvolt = <900000>; 235 regulator-init 236 regulator-initial-mode = <0x2>; 236 regulator-min- 237 regulator-min-microvolt = <500000>; 237 regulator-max- 238 regulator-max-microvolt = <1350000>; 238 regulator-ramp 239 regulator-ramp-delay = <6001>; 239 240 240 regulator-stat 241 regulator-state-mem { 241 regula 242 regulator-off-in-suspend; 242 }; 243 }; 243 }; 244 }; 244 245 245 vdd_gpu: DCDC_REG2 { 246 vdd_gpu: DCDC_REG2 { 246 regulator-name 247 regulator-name = "vdd_gpu"; 247 regulator-alwa 248 regulator-always-on; >> 249 regulator-init-microvolt = <900000>; 248 regulator-init 250 regulator-initial-mode = <0x2>; 249 regulator-min- 251 regulator-min-microvolt = <500000>; 250 regulator-max- 252 regulator-max-microvolt = <1350000>; 251 regulator-ramp 253 regulator-ramp-delay = <6001>; 252 254 253 regulator-stat 255 regulator-state-mem { 254 regula 256 regulator-off-in-suspend; 255 }; 257 }; 256 }; 258 }; 257 259 258 vcc_ddr: DCDC_REG3 { 260 vcc_ddr: DCDC_REG3 { 259 regulator-name 261 regulator-name = "vcc_ddr"; 260 regulator-alwa 262 regulator-always-on; 261 regulator-boot 263 regulator-boot-on; 262 regulator-init 264 regulator-initial-mode = <0x2>; 263 265 264 regulator-stat 266 regulator-state-mem { 265 regula 267 regulator-on-in-suspend; 266 }; 268 }; 267 }; 269 }; 268 270 269 vdd_npu: DCDC_REG4 { 271 vdd_npu: DCDC_REG4 { 270 regulator-name 272 regulator-name = "vdd_npu"; >> 273 regulator-init-microvolt = <900000>; 271 regulator-init 274 regulator-initial-mode = <0x2>; 272 regulator-min- 275 regulator-min-microvolt = <500000>; 273 regulator-max- 276 regulator-max-microvolt = <1350000>; 274 regulator-ramp 277 regulator-ramp-delay = <6001>; 275 278 276 regulator-stat 279 regulator-state-mem { 277 regula 280 regulator-off-in-suspend; 278 }; 281 }; 279 }; 282 }; 280 283 281 vcc_1v8: DCDC_REG5 { 284 vcc_1v8: DCDC_REG5 { 282 regulator-name 285 regulator-name = "vcc_1v8"; 283 regulator-alwa 286 regulator-always-on; 284 regulator-boot 287 regulator-boot-on; 285 regulator-min- 288 regulator-min-microvolt = <1800000>; 286 regulator-max- 289 regulator-max-microvolt = <1800000>; 287 290 288 regulator-stat 291 regulator-state-mem { 289 regula 292 regulator-off-in-suspend; 290 }; 293 }; 291 }; 294 }; 292 295 293 vdda0v9_image: LDO_REG 296 vdda0v9_image: LDO_REG1 { 294 regulator-name 297 regulator-name = "vdda0v9_image"; 295 regulator-min- 298 regulator-min-microvolt = <950000>; 296 regulator-max- 299 regulator-max-microvolt = <950000>; 297 300 298 regulator-stat 301 regulator-state-mem { 299 regula 302 regulator-off-in-suspend; 300 }; 303 }; 301 }; 304 }; 302 305 303 vdda_0v9: LDO_REG2 { 306 vdda_0v9: LDO_REG2 { 304 regulator-name 307 regulator-name = "vdda_0v9"; 305 regulator-alwa 308 regulator-always-on; 306 regulator-boot 309 regulator-boot-on; 307 regulator-min- 310 regulator-min-microvolt = <900000>; 308 regulator-max- 311 regulator-max-microvolt = <900000>; 309 312 310 regulator-stat 313 regulator-state-mem { 311 regula 314 regulator-off-in-suspend; 312 }; 315 }; 313 }; 316 }; 314 317 315 vdda0v9_pmu: LDO_REG3 318 vdda0v9_pmu: LDO_REG3 { 316 regulator-name 319 regulator-name = "vdda0v9_pmu"; 317 regulator-alwa 320 regulator-always-on; 318 regulator-boot 321 regulator-boot-on; 319 regulator-min- 322 regulator-min-microvolt = <900000>; 320 regulator-max- 323 regulator-max-microvolt = <900000>; 321 324 322 regulator-stat 325 regulator-state-mem { 323 regula 326 regulator-on-in-suspend; 324 regula 327 regulator-suspend-microvolt = <900000>; 325 }; 328 }; 326 }; 329 }; 327 330 328 vccio_acodec: LDO_REG4 331 vccio_acodec: LDO_REG4 { 329 regulator-name 332 regulator-name = "vccio_acodec"; 330 regulator-min- 333 regulator-min-microvolt = <3300000>; 331 regulator-max- 334 regulator-max-microvolt = <3300000>; 332 335 333 regulator-stat 336 regulator-state-mem { 334 regula 337 regulator-off-in-suspend; 335 }; 338 }; 336 }; 339 }; 337 340 338 vccio_sd: LDO_REG5 { 341 vccio_sd: LDO_REG5 { 339 regulator-name 342 regulator-name = "vccio_sd"; 340 regulator-min- 343 regulator-min-microvolt = <1800000>; 341 regulator-max- 344 regulator-max-microvolt = <3300000>; 342 345 343 regulator-stat 346 regulator-state-mem { 344 regula 347 regulator-off-in-suspend; 345 }; 348 }; 346 }; 349 }; 347 350 348 vcc3v3_pmu: LDO_REG6 { 351 vcc3v3_pmu: LDO_REG6 { 349 regulator-name 352 regulator-name = "vcc3v3_pmu"; 350 regulator-alwa 353 regulator-always-on; 351 regulator-boot 354 regulator-boot-on; 352 regulator-min- 355 regulator-min-microvolt = <3300000>; 353 regulator-max- 356 regulator-max-microvolt = <3300000>; 354 357 355 regulator-stat 358 regulator-state-mem { 356 regula 359 regulator-on-in-suspend; 357 regula 360 regulator-suspend-microvolt = <3300000>; 358 }; 361 }; 359 }; 362 }; 360 363 361 vcca_1v8: LDO_REG7 { 364 vcca_1v8: LDO_REG7 { 362 regulator-name 365 regulator-name = "vcca_1v8"; 363 regulator-alwa 366 regulator-always-on; 364 regulator-boot 367 regulator-boot-on; 365 regulator-min- 368 regulator-min-microvolt = <1800000>; 366 regulator-max- 369 regulator-max-microvolt = <1800000>; 367 370 368 regulator-stat 371 regulator-state-mem { 369 regula 372 regulator-off-in-suspend; 370 }; 373 }; 371 }; 374 }; 372 375 373 vcca1v8_pmu: LDO_REG8 376 vcca1v8_pmu: LDO_REG8 { 374 regulator-name 377 regulator-name = "vcca1v8_pmu"; 375 regulator-alwa 378 regulator-always-on; 376 regulator-boot 379 regulator-boot-on; 377 regulator-min- 380 regulator-min-microvolt = <1800000>; 378 regulator-max- 381 regulator-max-microvolt = <1800000>; 379 382 380 regulator-stat 383 regulator-state-mem { 381 regula 384 regulator-on-in-suspend; 382 regula 385 regulator-suspend-microvolt = <1800000>; 383 }; 386 }; 384 }; 387 }; 385 388 386 vcca1v8_image: LDO_REG 389 vcca1v8_image: LDO_REG9 { 387 regulator-name 390 regulator-name = "vcca1v8_image"; 388 regulator-min- 391 regulator-min-microvolt = <1800000>; 389 regulator-max- 392 regulator-max-microvolt = <1800000>; 390 393 391 regulator-stat 394 regulator-state-mem { 392 regula 395 regulator-off-in-suspend; 393 }; 396 }; 394 }; 397 }; 395 398 396 vcc_3v3: SWITCH_REG1 { 399 vcc_3v3: SWITCH_REG1 { 397 regulator-name 400 regulator-name = "vcc_3v3"; 398 regulator-alwa 401 regulator-always-on; 399 regulator-boot 402 regulator-boot-on; 400 403 401 regulator-stat 404 regulator-state-mem { 402 regula 405 regulator-off-in-suspend; 403 }; 406 }; 404 }; 407 }; 405 408 406 vcc3v3_sd: SWITCH_REG2 409 vcc3v3_sd: SWITCH_REG2 { 407 regulator-name 410 regulator-name = "vcc3v3_sd"; 408 regulator-alwa 411 regulator-always-on; 409 regulator-boot 412 regulator-boot-on; 410 413 411 regulator-stat 414 regulator-state-mem { 412 regula 415 regulator-off-in-suspend; 413 }; 416 }; 414 }; 417 }; 415 }; 418 }; 416 419 417 }; 420 }; 418 }; 421 }; 419 422 420 &i2c5 { 423 &i2c5 { 421 status = "okay"; 424 status = "okay"; 422 425 423 hym8563: rtc@51 { 426 hym8563: rtc@51 { 424 compatible = "haoyu,hym8563"; 427 compatible = "haoyu,hym8563"; 425 reg = <0x51>; 428 reg = <0x51>; 426 interrupt-parent = <&gpio0>; 429 interrupt-parent = <&gpio0>; 427 interrupts = <RK_PD3 IRQ_TYPE_ 430 interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>; 428 #clock-cells = <0>; 431 #clock-cells = <0>; 429 clock-output-names = "rtcic_32 432 clock-output-names = "rtcic_32kout"; 430 pinctrl-names = "default"; 433 pinctrl-names = "default"; 431 pinctrl-0 = <&hym8563_int>; 434 pinctrl-0 = <&hym8563_int>; 432 wakeup-source; 435 wakeup-source; 433 }; 436 }; 434 }; 437 }; 435 438 436 &i2s0_8ch { 439 &i2s0_8ch { 437 status = "okay"; 440 status = "okay"; 438 }; 441 }; 439 442 440 &pcie30phy { 443 &pcie30phy { 441 data-lanes = <1 2>; 444 data-lanes = <1 2>; 442 status = "okay"; 445 status = "okay"; 443 }; 446 }; 444 447 445 &pinctrl { 448 &pinctrl { 446 hym8563 { 449 hym8563 { 447 hym8563_int: hym8563-int { 450 hym8563_int: hym8563-int { 448 rockchip,pins = <0 RK_ 451 rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; 449 }; 452 }; 450 }; 453 }; 451 454 452 pmic { 455 pmic { 453 pmic_int: pmic-int { 456 pmic_int: pmic-int { 454 rockchip,pins = <0 RK_ 457 rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 455 }; 458 }; 456 }; 459 }; 457 460 458 usb { 461 usb { 459 vcc5v0_usb_host_en: vcc5v0-usb 462 vcc5v0_usb_host_en: vcc5v0-usb-host-en { 460 rockchip,pins = <0 RK_ 463 rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 461 }; 464 }; 462 465 463 vcc5v0_usb_otg_en: vcc5v0-usb- 466 vcc5v0_usb_otg_en: vcc5v0-usb-otg-en { 464 rockchip,pins = <0 RK_ 467 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 465 }; 468 }; 466 }; 469 }; 467 }; 470 }; 468 471 469 &pmu_io_domains { 472 &pmu_io_domains { 470 pmuio1-supply = <&vcc3v3_pmu>; 473 pmuio1-supply = <&vcc3v3_pmu>; 471 pmuio2-supply = <&vcc3v3_pmu>; 474 pmuio2-supply = <&vcc3v3_pmu>; 472 vccio1-supply = <&vccio_acodec>; 475 vccio1-supply = <&vccio_acodec>; 473 vccio3-supply = <&vccio_sd>; 476 vccio3-supply = <&vccio_sd>; 474 vccio4-supply = <&vcc_1v8>; 477 vccio4-supply = <&vcc_1v8>; 475 vccio5-supply = <&vcc_3v3>; 478 vccio5-supply = <&vcc_3v3>; 476 vccio6-supply = <&vcc_1v8>; 479 vccio6-supply = <&vcc_1v8>; 477 vccio7-supply = <&vcc_3v3>; 480 vccio7-supply = <&vcc_3v3>; 478 status = "okay"; 481 status = "okay"; 479 }; 482 }; 480 483 481 &saradc { 484 &saradc { 482 vref-supply = <&vcca_1v8>; 485 vref-supply = <&vcca_1v8>; 483 status = "okay"; 486 status = "okay"; 484 }; 487 }; 485 488 486 &sdhci { 489 &sdhci { 487 bus-width = <8>; 490 bus-width = <8>; 488 max-frequency = <200000000>; 491 max-frequency = <200000000>; 489 non-removable; 492 non-removable; 490 pinctrl-names = "default"; 493 pinctrl-names = "default"; 491 pinctrl-0 = <&emmc_bus8 &emmc_clk &emm 494 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>; 492 status = "okay"; 495 status = "okay"; 493 }; 496 }; 494 497 495 &sdmmc0 { 498 &sdmmc0 { 496 max-frequency = <150000000>; 499 max-frequency = <150000000>; 497 no-sdio; 500 no-sdio; 498 no-mmc; 501 no-mmc; 499 bus-width = <4>; 502 bus-width = <4>; 500 cap-mmc-highspeed; 503 cap-mmc-highspeed; 501 cap-sd-highspeed; 504 cap-sd-highspeed; 502 disable-wp; 505 disable-wp; 503 vmmc-supply = <&vcc3v3_sd>; 506 vmmc-supply = <&vcc3v3_sd>; 504 vqmmc-supply = <&vccio_sd>; 507 vqmmc-supply = <&vccio_sd>; 505 pinctrl-names = "default"; 508 pinctrl-names = "default"; 506 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk 509 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; 507 status = "okay"; 510 status = "okay"; 508 }; 511 }; 509 512 510 &tsadc { 513 &tsadc { 511 rockchip,hw-tshut-mode = <1>; 514 rockchip,hw-tshut-mode = <1>; 512 rockchip,hw-tshut-polarity = <0>; 515 rockchip,hw-tshut-polarity = <0>; 513 status = "okay"; 516 status = "okay"; 514 }; 517 }; 515 518 516 &uart2 { 519 &uart2 { 517 status = "okay"; 520 status = "okay"; 518 }; 521 }; 519 522 520 &usb_host0_ehci { 523 &usb_host0_ehci { 521 status = "okay"; 524 status = "okay"; 522 }; 525 }; 523 526 524 &usb_host0_ohci { 527 &usb_host0_ohci { 525 status = "okay"; 528 status = "okay"; 526 }; 529 }; 527 530 528 &usb_host0_xhci { 531 &usb_host0_xhci { 529 extcon = <&usb2phy0>; 532 extcon = <&usb2phy0>; 530 dr_mode = "host"; 533 dr_mode = "host"; 531 status = "okay"; 534 status = "okay"; 532 }; 535 }; 533 536 534 &usb_host1_ehci { 537 &usb_host1_ehci { 535 status = "okay"; 538 status = "okay"; 536 }; 539 }; 537 540 538 &usb_host1_ohci { 541 &usb_host1_ohci { 539 status = "okay"; 542 status = "okay"; 540 }; 543 }; 541 544 542 &usb_host1_xhci { 545 &usb_host1_xhci { 543 status = "okay"; 546 status = "okay"; 544 }; 547 }; 545 548 546 &usb2phy0 { 549 &usb2phy0 { 547 status = "okay"; 550 status = "okay"; 548 }; 551 }; 549 552 550 &usb2phy0_host { 553 &usb2phy0_host { 551 phy-supply = <&vcc5v0_usb_host>; 554 phy-supply = <&vcc5v0_usb_host>; 552 status = "okay"; 555 status = "okay"; 553 }; 556 }; 554 557 555 &usb2phy0_otg { 558 &usb2phy0_otg { 556 status = "okay"; 559 status = "okay"; 557 }; 560 }; 558 561 559 &usb2phy1 { 562 &usb2phy1 { 560 status = "okay"; 563 status = "okay"; 561 }; 564 }; 562 565 563 &usb2phy1_host { 566 &usb2phy1_host { 564 phy-supply = <&vcc5v0_usb_otg>; 567 phy-supply = <&vcc5v0_usb_otg>; 565 status = "okay"; 568 status = "okay"; 566 }; 569 }; 567 570 568 &usb2phy1_otg { 571 &usb2phy1_otg { 569 status = "okay"; 572 status = "okay"; 570 }; 573 }; 571 574 572 &vop { 575 &vop { 573 assigned-clocks = <&cru DCLK_VOP0>, <& 576 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; 574 assigned-clock-parents = <&pmucru PLL_ 577 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; 575 status = "okay"; 578 status = "okay"; 576 }; 579 }; 577 580 578 &vop_mmu { 581 &vop_mmu { 579 status = "okay"; 582 status = "okay"; 580 }; 583 }; 581 584 582 &vp0 { 585 &vp0 { 583 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_E 586 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 584 reg = <ROCKCHIP_VOP2_EP_HDMI0> 587 reg = <ROCKCHIP_VOP2_EP_HDMI0>; 585 remote-endpoint = <&hdmi_in_vp 588 remote-endpoint = <&hdmi_in_vp0>; 586 }; 589 }; 587 }; 590 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.