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-init-microvolt = <900000>; 221 regulator-ramp 222 regulator-ramp-delay = <6001>; 222 regulator-init 223 regulator-initial-mode = <0x2>; 223 224 224 regulator-stat 225 regulator-state-mem { 225 regula 226 regulator-off-in-suspend; 226 }; 227 }; 227 }; 228 }; 228 229 229 vdd_gpu: DCDC_REG2 { 230 vdd_gpu: DCDC_REG2 { 230 regulator-name 231 regulator-name = "vdd_gpu"; 231 regulator-alwa 232 regulator-always-on; 232 regulator-boot 233 regulator-boot-on; 233 regulator-min- 234 regulator-min-microvolt = <500000>; 234 regulator-max- 235 regulator-max-microvolt = <1350000>; >> 236 regulator-init-microvolt = <900000>; 235 regulator-ramp 237 regulator-ramp-delay = <6001>; 236 regulator-init 238 regulator-initial-mode = <0x2>; 237 239 238 regulator-stat 240 regulator-state-mem { 239 regula 241 regulator-off-in-suspend; 240 }; 242 }; 241 }; 243 }; 242 244 243 vcc_ddr: DCDC_REG3 { 245 vcc_ddr: DCDC_REG3 { 244 regulator-name 246 regulator-name = "vcc_ddr"; 245 regulator-alwa 247 regulator-always-on; 246 regulator-boot 248 regulator-boot-on; 247 regulator-init 249 regulator-initial-mode = <0x2>; 248 250 249 regulator-stat 251 regulator-state-mem { 250 regula 252 regulator-on-in-suspend; 251 }; 253 }; 252 }; 254 }; 253 255 254 vdd_npu: DCDC_REG4 { 256 vdd_npu: DCDC_REG4 { 255 regulator-name 257 regulator-name = "vdd_npu"; 256 regulator-alwa 258 regulator-always-on; 257 regulator-boot 259 regulator-boot-on; 258 regulator-min- 260 regulator-min-microvolt = <500000>; 259 regulator-max- 261 regulator-max-microvolt = <1350000>; >> 262 regulator-init-microvolt = <900000>; 260 regulator-ramp 263 regulator-ramp-delay = <6001>; 261 regulator-init 264 regulator-initial-mode = <0x2>; 262 265 263 regulator-stat 266 regulator-state-mem { 264 regula 267 regulator-off-in-suspend; 265 }; 268 }; 266 }; 269 }; 267 270 268 vcc_1v8: DCDC_REG5 { 271 vcc_1v8: DCDC_REG5 { 269 regulator-name 272 regulator-name = "vcc_1v8"; 270 regulator-alwa 273 regulator-always-on; 271 regulator-boot 274 regulator-boot-on; 272 regulator-min- 275 regulator-min-microvolt = <1800000>; 273 regulator-max- 276 regulator-max-microvolt = <1800000>; 274 277 275 regulator-stat 278 regulator-state-mem { 276 regula 279 regulator-off-in-suspend; 277 }; 280 }; 278 }; 281 }; 279 282 280 vdda0v9_image: LDO_REG 283 vdda0v9_image: LDO_REG1 { 281 regulator-name 284 regulator-name = "vdda0v9_image"; 282 regulator-boot 285 regulator-boot-on; 283 regulator-alwa 286 regulator-always-on; 284 regulator-min- 287 regulator-min-microvolt = <900000>; 285 regulator-max- 288 regulator-max-microvolt = <900000>; 286 289 287 regulator-stat 290 regulator-state-mem { 288 regula 291 regulator-off-in-suspend; 289 }; 292 }; 290 }; 293 }; 291 294 292 vdda_0v9: LDO_REG2 { 295 vdda_0v9: LDO_REG2 { 293 regulator-name 296 regulator-name = "vdda_0v9"; 294 regulator-alwa 297 regulator-always-on; 295 regulator-boot 298 regulator-boot-on; 296 regulator-min- 299 regulator-min-microvolt = <900000>; 297 regulator-max- 300 regulator-max-microvolt = <900000>; 298 301 299 regulator-stat 302 regulator-state-mem { 300 regula 303 regulator-off-in-suspend; 301 }; 304 }; 302 }; 305 }; 303 306 304 vdda0v9_pmu: LDO_REG3 307 vdda0v9_pmu: LDO_REG3 { 305 regulator-name 308 regulator-name = "vdda0v9_pmu"; 306 regulator-alwa 309 regulator-always-on; 307 regulator-boot 310 regulator-boot-on; 308 regulator-min- 311 regulator-min-microvolt = <900000>; 309 regulator-max- 312 regulator-max-microvolt = <900000>; 310 313 311 regulator-stat 314 regulator-state-mem { 312 regula 315 regulator-on-in-suspend; 313 regula 316 regulator-suspend-microvolt = <900000>; 314 }; 317 }; 315 }; 318 }; 316 319 317 vccio_acodec: LDO_REG4 320 vccio_acodec: LDO_REG4 { 318 regulator-name 321 regulator-name = "vccio_acodec"; 319 regulator-alwa 322 regulator-always-on; 320 regulator-boot 323 regulator-boot-on; 321 regulator-min- 324 regulator-min-microvolt = <3300000>; 322 regulator-max- 325 regulator-max-microvolt = <3300000>; 323 326 324 regulator-stat 327 regulator-state-mem { 325 regula 328 regulator-off-in-suspend; 326 }; 329 }; 327 }; 330 }; 328 331 329 vccio_sd: LDO_REG5 { 332 vccio_sd: LDO_REG5 { 330 regulator-name 333 regulator-name = "vccio_sd"; 331 regulator-alwa 334 regulator-always-on; 332 regulator-boot 335 regulator-boot-on; 333 regulator-min- 336 regulator-min-microvolt = <1800000>; 334 regulator-max- 337 regulator-max-microvolt = <3300000>; 335 338 336 regulator-stat 339 regulator-state-mem { 337 regula 340 regulator-off-in-suspend; 338 }; 341 }; 339 }; 342 }; 340 343 341 vcc3v3_pmu: LDO_REG6 { 344 vcc3v3_pmu: LDO_REG6 { 342 regulator-name 345 regulator-name = "vcc3v3_pmu"; 343 regulator-alwa 346 regulator-always-on; 344 regulator-boot 347 regulator-boot-on; 345 regulator-min- 348 regulator-min-microvolt = <3300000>; 346 regulator-max- 349 regulator-max-microvolt = <3300000>; 347 350 348 regulator-stat 351 regulator-state-mem { 349 regula 352 regulator-on-in-suspend; 350 regula 353 regulator-suspend-microvolt = <3300000>; 351 }; 354 }; 352 }; 355 }; 353 356 354 vcca_1v8: LDO_REG7 { 357 vcca_1v8: LDO_REG7 { 355 regulator-name 358 regulator-name = "vcca_1v8"; 356 regulator-alwa 359 regulator-always-on; 357 regulator-boot 360 regulator-boot-on; 358 regulator-min- 361 regulator-min-microvolt = <1800000>; 359 regulator-max- 362 regulator-max-microvolt = <1800000>; 360 363 361 regulator-stat 364 regulator-state-mem { 362 regula 365 regulator-off-in-suspend; 363 }; 366 }; 364 }; 367 }; 365 368 366 vcca1v8_pmu: LDO_REG8 369 vcca1v8_pmu: LDO_REG8 { 367 regulator-name 370 regulator-name = "vcca1v8_pmu"; 368 regulator-alwa 371 regulator-always-on; 369 regulator-boot 372 regulator-boot-on; 370 regulator-min- 373 regulator-min-microvolt = <1800000>; 371 regulator-max- 374 regulator-max-microvolt = <1800000>; 372 375 373 regulator-stat 376 regulator-state-mem { 374 regula 377 regulator-on-in-suspend; 375 regula 378 regulator-suspend-microvolt = <1800000>; 376 }; 379 }; 377 }; 380 }; 378 381 379 vcca1v8_image: LDO_REG 382 vcca1v8_image: LDO_REG9 { 380 regulator-name 383 regulator-name = "vcca1v8_image"; 381 regulator-alwa 384 regulator-always-on; 382 regulator-boot 385 regulator-boot-on; 383 regulator-min- 386 regulator-min-microvolt = <1800000>; 384 regulator-max- 387 regulator-max-microvolt = <1800000>; 385 388 386 regulator-stat 389 regulator-state-mem { 387 regula 390 regulator-off-in-suspend; 388 }; 391 }; 389 }; 392 }; 390 393 391 vcc_3v3: SWITCH_REG1 { 394 vcc_3v3: SWITCH_REG1 { 392 regulator-name 395 regulator-name = "vcc_3v3"; 393 regulator-alwa 396 regulator-always-on; 394 regulator-boot 397 regulator-boot-on; 395 398 396 regulator-stat 399 regulator-state-mem { 397 regula 400 regulator-off-in-suspend; 398 }; 401 }; 399 }; 402 }; 400 403 401 vcc3v3_sd: SWITCH_REG2 404 vcc3v3_sd: SWITCH_REG2 { 402 regulator-name 405 regulator-name = "vcc3v3_sd"; 403 regulator-alwa 406 regulator-always-on; 404 regulator-boot 407 regulator-boot-on; 405 408 406 regulator-stat 409 regulator-state-mem { 407 regula 410 regulator-off-in-suspend; 408 }; 411 }; 409 }; 412 }; 410 }; 413 }; 411 }; 414 }; 412 }; 415 }; 413 416 414 &i2s1_8ch { 417 &i2s1_8ch { 415 rockchip,trcm-sync-tx-only; 418 rockchip,trcm-sync-tx-only; 416 status = "okay"; 419 status = "okay"; 417 }; 420 }; 418 421 419 &gmac1 { 422 &gmac1 { 420 phy-mode = "rgmii"; 423 phy-mode = "rgmii"; 421 clock_in_out = "output"; 424 clock_in_out = "output"; 422 snps,reset-gpio = <&gpio2 RK_PB0 GPIO_ 425 snps,reset-gpio = <&gpio2 RK_PB0 GPIO_ACTIVE_LOW>; 423 snps,reset-active-low; 426 snps,reset-active-low; 424 /* Reset time is 75ms, 100ms */ 427 /* Reset time is 75ms, 100ms */ 425 snps,reset-delays-us = <0 75000 100000 428 snps,reset-delays-us = <0 75000 100000>; 426 assigned-clocks = <&cru SCLK_GMAC1_RX_ 429 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>; 427 assigned-clock-parents = <&cru SCLK_GM 430 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru CLK_MAC1_2TOP>; 428 assigned-clock-rates = <0>, <125000000 431 assigned-clock-rates = <0>, <125000000>; 429 pinctrl-names = "default"; 432 pinctrl-names = "default"; 430 pinctrl-0 = <&gmac1m1_miim 433 pinctrl-0 = <&gmac1m1_miim 431 &gmac1m1_tx_bus2_level 434 &gmac1m1_tx_bus2_level3 432 &gmac1m1_rx_bus2 435 &gmac1m1_rx_bus2 433 &gmac1m1_rgmii_clk_lev 436 &gmac1m1_rgmii_clk_level2 434 &gmac1m1_rgmii_bus_lev 437 &gmac1m1_rgmii_bus_level3>; 435 tx_delay = <0x1a>; 438 tx_delay = <0x1a>; 436 rx_delay = <0x0c>; 439 rx_delay = <0x0c>; 437 phy-handle = <&rgmii_phy1>; 440 phy-handle = <&rgmii_phy1>; 438 status = "okay"; 441 status = "okay"; 439 }; 442 }; 440 443 441 &mdio1 { 444 &mdio1 { 442 rgmii_phy1: phy@0 { 445 rgmii_phy1: phy@0 { 443 compatible = "ethernet-phy-iee 446 compatible = "ethernet-phy-ieee802.3-c22"; 444 reg = <0x0>; 447 reg = <0x0>; 445 }; 448 }; 446 }; 449 }; 447 450 448 &pcie2x1 { 451 &pcie2x1 { 449 reset-gpios = <&gpio0 RK_PB6 GPIO_ACTI 452 reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>; >> 453 disable-gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; 450 vpcie3v3-supply = <&vcc3v3_pcie>; 454 vpcie3v3-supply = <&vcc3v3_pcie>; 451 status = "okay"; 455 status = "okay"; 452 }; 456 }; 453 457 454 &pinctrl { 458 &pinctrl { 455 leds { 459 leds { 456 sys_led_pin: sys-status-led-pi 460 sys_led_pin: sys-status-led-pin { 457 rockchip,pins = <0 RK_ !! 461 rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; 458 }; 462 }; 459 }; 463 }; 460 464 461 usb { 465 usb { 462 vcc5v0_usb20_host_en: vcc5v0-u 466 vcc5v0_usb20_host_en: vcc5v0-usb20-host-en { 463 rockchip,pins = <2 RK_ 467 rockchip,pins = <2 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 464 }; 468 }; 465 469 466 vcc5v0_usb30_host_en: vcc5v0-u 470 vcc5v0_usb30_host_en: vcc5v0-usb30-host-en { 467 rockchip,pins = <2 RK_ 471 rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 468 }; 472 }; 469 }; 473 }; 470 474 471 pmic { 475 pmic { 472 pmic_int: pmic_int { 476 pmic_int: pmic_int { 473 rockchip,pins = 477 rockchip,pins = 474 <0 RK_PA3 RK_F 478 <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 475 }; 479 }; 476 }; 480 }; 477 }; 481 }; 478 482 479 &pmu_io_domains { 483 &pmu_io_domains { 480 pmuio2-supply = <&vcc3v3_pmu>; 484 pmuio2-supply = <&vcc3v3_pmu>; 481 vccio1-supply = <&vccio_acodec>; 485 vccio1-supply = <&vccio_acodec>; 482 vccio3-supply = <&vccio_sd>; 486 vccio3-supply = <&vccio_sd>; 483 vccio4-supply = <&vcc_3v3>; 487 vccio4-supply = <&vcc_3v3>; 484 vccio5-supply = <&vcc_3v3>; 488 vccio5-supply = <&vcc_3v3>; 485 vccio6-supply = <&vcc_1v8>; 489 vccio6-supply = <&vcc_1v8>; 486 vccio7-supply = <&vcc_3v3>; 490 vccio7-supply = <&vcc_3v3>; 487 status = "okay"; 491 status = "okay"; 488 }; 492 }; 489 493 490 &saradc { 494 &saradc { 491 vref-supply = <&vcca_1v8>; 495 vref-supply = <&vcca_1v8>; 492 status = "okay"; 496 status = "okay"; 493 }; 497 }; 494 498 495 &tsadc { 499 &tsadc { 496 rockchip,hw-tshut-mode = <1>; 500 rockchip,hw-tshut-mode = <1>; 497 rockchip,hw-tshut-polarity = <0>; 501 rockchip,hw-tshut-polarity = <0>; 498 status = "okay"; 502 status = "okay"; 499 }; 503 }; 500 504 501 &sdhci { 505 &sdhci { 502 assigned-clocks = <&cru BCLK_EMMC>, <& 506 assigned-clocks = <&cru BCLK_EMMC>, <&cru TCLK_EMMC>, <&cru CCLK_EMMC>; 503 assigned-clock-rates = <200000000>, <2 507 assigned-clock-rates = <200000000>, <24000000>, <200000000>; 504 bus-width = <8>; 508 bus-width = <8>; 505 max-frequency = <200000000>; 509 max-frequency = <200000000>; 506 mmc-hs200-1_8v; 510 mmc-hs200-1_8v; 507 non-removable; 511 non-removable; 508 pinctrl-names = "default"; 512 pinctrl-names = "default"; 509 pinctrl-0 = <&emmc_bus8 &emmc_clk &emm 513 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>; >> 514 supports-emmc; 510 status = "okay"; 515 status = "okay"; 511 }; 516 }; 512 517 513 &sdmmc0 { 518 &sdmmc0 { 514 max-frequency = <150000000>; 519 max-frequency = <150000000>; 515 supports-sd; 520 supports-sd; 516 bus-width = <4>; 521 bus-width = <4>; 517 cap-mmc-highspeed; 522 cap-mmc-highspeed; 518 cap-sd-highspeed; 523 cap-sd-highspeed; 519 disable-wp; 524 disable-wp; 520 sd-uhs-sdr104; 525 sd-uhs-sdr104; 521 vmmc-supply = <&vcc3v3_sd>; 526 vmmc-supply = <&vcc3v3_sd>; 522 vqmmc-supply = <&vccio_sd>; 527 vqmmc-supply = <&vccio_sd>; 523 pinctrl-names = "default"; 528 pinctrl-names = "default"; 524 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk 529 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; 525 status = "okay"; 530 status = "okay"; 526 }; 531 }; 527 532 528 /* USB OTG/USB Host_1 USB 2.0 Comb */ 533 /* USB OTG/USB Host_1 USB 2.0 Comb */ 529 &usb2phy0 { 534 &usb2phy0 { 530 status = "okay"; 535 status = "okay"; 531 }; 536 }; 532 537 533 &usb2phy0_host { 538 &usb2phy0_host { 534 status = "okay"; 539 status = "okay"; 535 }; 540 }; 536 541 537 &usb2phy0_otg { 542 &usb2phy0_otg { 538 status = "okay"; 543 status = "okay"; 539 }; 544 }; 540 545 541 &usb_host0_ehci { 546 &usb_host0_ehci { 542 status = "okay"; 547 status = "okay"; 543 }; 548 }; 544 549 545 &usb_host0_ohci { 550 &usb_host0_ohci { 546 status = "okay"; 551 status = "okay"; 547 }; 552 }; 548 553 549 /* USB Host_2/USB Host_3 USB 2.0 Comb */ 554 /* USB Host_2/USB Host_3 USB 2.0 Comb */ 550 &usb2phy1 { 555 &usb2phy1 { 551 status = "okay"; 556 status = "okay"; 552 }; 557 }; 553 558 554 &usb2phy1_host { 559 &usb2phy1_host { 555 status = "okay"; 560 status = "okay"; 556 }; 561 }; 557 562 558 &usb2phy1_otg { 563 &usb2phy1_otg { 559 status = "okay"; 564 status = "okay"; 560 }; 565 }; 561 566 562 &usb_host1_ehci { 567 &usb_host1_ehci { 563 status = "okay"; 568 status = "okay"; 564 }; 569 }; 565 570 566 &usb_host1_ohci { 571 &usb_host1_ohci { 567 status = "okay"; 572 status = "okay"; 568 }; 573 }; 569 574 570 /* USB3.0 Host */ 575 /* USB3.0 Host */ 571 &usb_host1_xhci { 576 &usb_host1_xhci { 572 status = "okay"; 577 status = "okay"; 573 }; 578 }; 574 579 575 &vop { 580 &vop { 576 assigned-clocks = <&cru DCLK_VOP0>, <& 581 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; 577 assigned-clock-parents = <&pmucru PLL_ 582 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; 578 status = "okay"; 583 status = "okay"; 579 }; 584 }; 580 585 581 &vop_mmu { 586 &vop_mmu { 582 status = "okay"; 587 status = "okay"; 583 }; 588 }; 584 589 585 &vp0 { 590 &vp0 { 586 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_E 591 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 587 reg = <ROCKCHIP_VOP2_EP_HDMI0> 592 reg = <ROCKCHIP_VOP2_EP_HDMI0>; 588 remote-endpoint = <&hdmi_in_vp 593 remote-endpoint = <&hdmi_in_vp0>; 589 }; 594 }; 590 }; 595 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.