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