| .. | .. |
|---|
| 8 | 8 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
|---|
| 9 | 9 | #include <dt-bindings/interrupt-controller/irq.h> |
|---|
| 10 | 10 | #include <dt-bindings/pinctrl/rockchip.h> |
|---|
| 11 | | -#include <dt-bindings/soc/rockchip-system-status.h> |
|---|
| 12 | | -#include <dt-bindings/suspend/rockchip-rk3328.h> |
|---|
| 13 | 11 | #include <dt-bindings/power/rk3328-power.h> |
|---|
| 14 | 12 | #include <dt-bindings/soc/rockchip,boot-mode.h> |
|---|
| 13 | +#include <dt-bindings/soc/rockchip-system-status.h> |
|---|
| 14 | +#include <dt-bindings/suspend/rockchip-rk3328.h> |
|---|
| 15 | 15 | #include <dt-bindings/thermal/thermal.h> |
|---|
| 16 | 16 | #include "rk3328-dram-default-timing.dtsi" |
|---|
| 17 | 17 | |
|---|
| .. | .. |
|---|
| 25 | 25 | aliases { |
|---|
| 26 | 26 | ethernet0 = &gmac2io; |
|---|
| 27 | 27 | ethernet1 = &gmac2phy; |
|---|
| 28 | + gpio0 = &gpio0; |
|---|
| 29 | + gpio1 = &gpio1; |
|---|
| 30 | + gpio2 = &gpio2; |
|---|
| 31 | + gpio3 = &gpio3; |
|---|
| 28 | 32 | i2c0 = &i2c0; |
|---|
| 29 | 33 | i2c1 = &i2c1; |
|---|
| 30 | 34 | i2c2 = &i2c2; |
|---|
| .. | .. |
|---|
| 40 | 44 | |
|---|
| 41 | 45 | cpu0: cpu@0 { |
|---|
| 42 | 46 | device_type = "cpu"; |
|---|
| 43 | | - compatible = "arm,cortex-a53", "arm,armv8"; |
|---|
| 47 | + compatible = "arm,cortex-a53"; |
|---|
| 44 | 48 | reg = <0x0 0x0>; |
|---|
| 45 | 49 | clocks = <&cru ARMCLK>; |
|---|
| 46 | 50 | #cooling-cells = <2>; |
|---|
| 51 | + cpu-idle-states = <&CPU_SLEEP>; |
|---|
| 47 | 52 | dynamic-power-coefficient = <120>; |
|---|
| 48 | 53 | enable-method = "psci"; |
|---|
| 49 | 54 | next-level-cache = <&l2>; |
|---|
| .. | .. |
|---|
| 52 | 57 | |
|---|
| 53 | 58 | cpu1: cpu@1 { |
|---|
| 54 | 59 | device_type = "cpu"; |
|---|
| 55 | | - compatible = "arm,cortex-a53", "arm,armv8"; |
|---|
| 60 | + compatible = "arm,cortex-a53"; |
|---|
| 56 | 61 | reg = <0x0 0x1>; |
|---|
| 57 | 62 | clocks = <&cru ARMCLK>; |
|---|
| 58 | 63 | #cooling-cells = <2>; |
|---|
| 64 | + cpu-idle-states = <&CPU_SLEEP>; |
|---|
| 59 | 65 | dynamic-power-coefficient = <120>; |
|---|
| 60 | 66 | enable-method = "psci"; |
|---|
| 61 | 67 | next-level-cache = <&l2>; |
|---|
| .. | .. |
|---|
| 64 | 70 | |
|---|
| 65 | 71 | cpu2: cpu@2 { |
|---|
| 66 | 72 | device_type = "cpu"; |
|---|
| 67 | | - compatible = "arm,cortex-a53", "arm,armv8"; |
|---|
| 73 | + compatible = "arm,cortex-a53"; |
|---|
| 68 | 74 | reg = <0x0 0x2>; |
|---|
| 69 | 75 | clocks = <&cru ARMCLK>; |
|---|
| 70 | 76 | #cooling-cells = <2>; |
|---|
| 77 | + cpu-idle-states = <&CPU_SLEEP>; |
|---|
| 71 | 78 | dynamic-power-coefficient = <120>; |
|---|
| 72 | 79 | enable-method = "psci"; |
|---|
| 73 | 80 | next-level-cache = <&l2>; |
|---|
| .. | .. |
|---|
| 76 | 83 | |
|---|
| 77 | 84 | cpu3: cpu@3 { |
|---|
| 78 | 85 | device_type = "cpu"; |
|---|
| 79 | | - compatible = "arm,cortex-a53", "arm,armv8"; |
|---|
| 86 | + compatible = "arm,cortex-a53"; |
|---|
| 80 | 87 | reg = <0x0 0x3>; |
|---|
| 81 | 88 | clocks = <&cru ARMCLK>; |
|---|
| 82 | 89 | #cooling-cells = <2>; |
|---|
| 90 | + cpu-idle-states = <&CPU_SLEEP>; |
|---|
| 83 | 91 | dynamic-power-coefficient = <120>; |
|---|
| 84 | 92 | enable-method = "psci"; |
|---|
| 85 | 93 | next-level-cache = <&l2>; |
|---|
| 86 | 94 | operating-points-v2 = <&cpu0_opp_table>; |
|---|
| 95 | + }; |
|---|
| 96 | + |
|---|
| 97 | + idle-states { |
|---|
| 98 | + entry-method = "psci"; |
|---|
| 99 | + |
|---|
| 100 | + CPU_SLEEP: cpu-sleep { |
|---|
| 101 | + compatible = "arm,idle-state"; |
|---|
| 102 | + local-timer-stop; |
|---|
| 103 | + arm,psci-suspend-param = <0x0010000>; |
|---|
| 104 | + entry-latency-us = <120>; |
|---|
| 105 | + exit-latency-us = <250>; |
|---|
| 106 | + min-residency-us = <900>; |
|---|
| 107 | + }; |
|---|
| 87 | 108 | }; |
|---|
| 88 | 109 | |
|---|
| 89 | 110 | l2: l2-cache0 { |
|---|
| .. | .. |
|---|
| 149 | 170 | }; |
|---|
| 150 | 171 | }; |
|---|
| 151 | 172 | |
|---|
| 152 | | - amba { |
|---|
| 153 | | - compatible = "simple-bus"; |
|---|
| 154 | | - #address-cells = <2>; |
|---|
| 155 | | - #size-cells = <2>; |
|---|
| 156 | | - ranges; |
|---|
| 173 | + dmc: dmc { |
|---|
| 174 | + compatible = "rockchip,rk3328-dmc"; |
|---|
| 175 | + devfreq-events = <&dfi>; |
|---|
| 176 | + clocks = <&cru SCLK_DDRCLK>; |
|---|
| 177 | + clock-names = "dmc_clk"; |
|---|
| 178 | + operating-points-v2 = <&dmc_opp_table>; |
|---|
| 179 | + ddr_timing = <&ddr_timing>; |
|---|
| 180 | + upthreshold = <40>; |
|---|
| 181 | + downdifferential = <20>; |
|---|
| 182 | + system-status-freq = < |
|---|
| 183 | + /*system status freq(KHz)*/ |
|---|
| 184 | + SYS_STATUS_NORMAL 786000 |
|---|
| 185 | + SYS_STATUS_REBOOT 786000 |
|---|
| 186 | + SYS_STATUS_SUSPEND 786000 |
|---|
| 187 | + SYS_STATUS_VIDEO_1080P 786000 |
|---|
| 188 | + SYS_STATUS_VIDEO_4K 786000 |
|---|
| 189 | + SYS_STATUS_VIDEO_4K_10B 924000 |
|---|
| 190 | + SYS_STATUS_PERFORMANCE 924000 |
|---|
| 191 | + SYS_STATUS_BOOST 924000 |
|---|
| 192 | + >; |
|---|
| 193 | + auto-min-freq = <786000>; |
|---|
| 194 | + auto-freq-en = <0>; |
|---|
| 195 | + #cooling-cells = <2>; |
|---|
| 196 | + status = "disabled"; |
|---|
| 197 | + }; |
|---|
| 157 | 198 | |
|---|
| 158 | | - dmac: dmac@ff1f0000 { |
|---|
| 159 | | - compatible = "arm,pl330", "arm,primecell"; |
|---|
| 160 | | - reg = <0x0 0xff1f0000 0x0 0x4000>; |
|---|
| 161 | | - interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 162 | | - <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 163 | | - clocks = <&cru ACLK_DMAC>; |
|---|
| 164 | | - clock-names = "apb_pclk"; |
|---|
| 165 | | - #dma-cells = <1>; |
|---|
| 166 | | - arm,pl330-periph-burst; |
|---|
| 199 | + dmc_opp_table: dmc-opp-table { |
|---|
| 200 | + compatible = "operating-points-v2"; |
|---|
| 201 | + rockchip,leakage-voltage-sel = < |
|---|
| 202 | + 1 10 0 |
|---|
| 203 | + 11 254 1 |
|---|
| 204 | + >; |
|---|
| 205 | + nvmem-cells = <&logic_leakage>; |
|---|
| 206 | + nvmem-cell-names = "ddr_leakage"; |
|---|
| 207 | + |
|---|
| 208 | + opp-400000000 { |
|---|
| 209 | + opp-hz = /bits/ 64 <400000000>; |
|---|
| 210 | + opp-microvolt = <950000>; |
|---|
| 211 | + opp-microvolt-L0 = <950000>; |
|---|
| 212 | + opp-microvolt-L1 = <950000>; |
|---|
| 213 | + status = "disabled"; |
|---|
| 214 | + }; |
|---|
| 215 | + opp-600000000 { |
|---|
| 216 | + opp-hz = /bits/ 64 <600000000>; |
|---|
| 217 | + opp-microvolt = <1025000>; |
|---|
| 218 | + opp-microvolt-L0 = <1025000>; |
|---|
| 219 | + opp-microvolt-L1 = <1000000>; |
|---|
| 220 | + status = "disabled"; |
|---|
| 221 | + }; |
|---|
| 222 | + opp-786000000 { |
|---|
| 223 | + opp-hz = /bits/ 64 <786000000>; |
|---|
| 224 | + opp-microvolt = <1075000>; |
|---|
| 225 | + opp-microvolt-L0 = <1075000>; |
|---|
| 226 | + opp-microvolt-L1 = <1050000>; |
|---|
| 227 | + }; |
|---|
| 228 | + opp-798000000 { |
|---|
| 229 | + opp-hz = /bits/ 64 <798000000>; |
|---|
| 230 | + opp-microvolt = <1075000>; |
|---|
| 231 | + opp-microvolt-L0 = <1075000>; |
|---|
| 232 | + opp-microvolt-L1 = <1050000>; |
|---|
| 233 | + }; |
|---|
| 234 | + opp-840000000 { |
|---|
| 235 | + opp-hz = /bits/ 64 <840000000>; |
|---|
| 236 | + opp-microvolt = <1075000>; |
|---|
| 237 | + opp-microvolt-L0 = <1075000>; |
|---|
| 238 | + opp-microvolt-L1 = <1050000>; |
|---|
| 239 | + }; |
|---|
| 240 | + opp-924000000 { |
|---|
| 241 | + opp-hz = /bits/ 64 <924000000>; |
|---|
| 242 | + opp-microvolt = <1125000>; |
|---|
| 243 | + opp-microvolt-L0 = <1125000>; |
|---|
| 244 | + opp-microvolt-L1 = <1100000>; |
|---|
| 245 | + }; |
|---|
| 246 | + /* 1056M is only for ddr4 */ |
|---|
| 247 | + opp-1056000000 { |
|---|
| 248 | + opp-hz = /bits/ 64 <1056000000>; |
|---|
| 249 | + opp-microvolt = <1175000>; |
|---|
| 250 | + opp-microvolt-L0 = <1175000>; |
|---|
| 251 | + opp-microvolt-L1 = <1150000>; |
|---|
| 252 | + status = "disabled"; |
|---|
| 253 | + }; |
|---|
| 254 | + }; |
|---|
| 255 | + |
|---|
| 256 | + analog_sound: analog-sound { |
|---|
| 257 | + compatible = "simple-audio-card"; |
|---|
| 258 | + simple-audio-card,format = "i2s"; |
|---|
| 259 | + simple-audio-card,mclk-fs = <256>; |
|---|
| 260 | + simple-audio-card,name = "rockchip,rk3328"; |
|---|
| 261 | + |
|---|
| 262 | + simple-audio-card,cpu { |
|---|
| 263 | + sound-dai = <&i2s1>; |
|---|
| 264 | + }; |
|---|
| 265 | + |
|---|
| 266 | + simple-audio-card,codec { |
|---|
| 267 | + sound-dai = <&codec>; |
|---|
| 167 | 268 | }; |
|---|
| 168 | 269 | }; |
|---|
| 169 | 270 | |
|---|
| .. | .. |
|---|
| 182 | 283 | nvmem-cell-names = "id", "cpu-version"; |
|---|
| 183 | 284 | }; |
|---|
| 184 | 285 | |
|---|
| 286 | + display_subsystem: display-subsystem { |
|---|
| 287 | + compatible = "rockchip,display-subsystem"; |
|---|
| 288 | + ports = <&vop_out>; |
|---|
| 289 | + status = "disabled"; |
|---|
| 290 | + }; |
|---|
| 291 | + |
|---|
| 185 | 292 | firmware { |
|---|
| 186 | | - optee: optee { |
|---|
| 293 | + optee { |
|---|
| 187 | 294 | compatible = "linaro,optee-tz"; |
|---|
| 188 | 295 | method = "smc"; |
|---|
| 296 | + }; |
|---|
| 297 | + }; |
|---|
| 298 | + |
|---|
| 299 | + gmac_clkin: external-gmac-clock { |
|---|
| 300 | + compatible = "fixed-clock"; |
|---|
| 301 | + clock-frequency = <125000000>; |
|---|
| 302 | + clock-output-names = "gmac_clkin"; |
|---|
| 303 | + #clock-cells = <0>; |
|---|
| 304 | + }; |
|---|
| 305 | + |
|---|
| 306 | + hdmi_sound: hdmi-sound { |
|---|
| 307 | + compatible = "simple-audio-card"; |
|---|
| 308 | + simple-audio-card,format = "i2s"; |
|---|
| 309 | + simple-audio-card,mclk-fs = <128>; |
|---|
| 310 | + simple-audio-card,name = "rockchip,hdmi"; |
|---|
| 311 | + |
|---|
| 312 | + simple-audio-card,cpu { |
|---|
| 313 | + sound-dai = <&i2s0>; |
|---|
| 314 | + }; |
|---|
| 315 | + |
|---|
| 316 | + simple-audio-card,codec { |
|---|
| 317 | + sound-dai = <&hdmi>; |
|---|
| 189 | 318 | }; |
|---|
| 190 | 319 | }; |
|---|
| 191 | 320 | |
|---|
| .. | .. |
|---|
| 196 | 325 | |
|---|
| 197 | 326 | rockchip_suspend: rockchip-suspend { |
|---|
| 198 | 327 | compatible = "rockchip,pm-rk3328"; |
|---|
| 199 | | - status = "disabled"; |
|---|
| 200 | 328 | rockchip,sleep-mode-config = <0>; |
|---|
| 201 | 329 | rockchip,virtual-poweroff = <0>; |
|---|
| 330 | + status = "disabled"; |
|---|
| 202 | 331 | }; |
|---|
| 203 | 332 | |
|---|
| 204 | 333 | rockchip_system_monitor: rockchip-system-monitor { |
|---|
| 205 | 334 | compatible = "rockchip,system-monitor"; |
|---|
| 206 | | - |
|---|
| 207 | 335 | rockchip,thermal-zone = "soc-thermal"; |
|---|
| 208 | 336 | rockchip,polling-delay = <200>; /* milliseconds */ |
|---|
| 209 | | - |
|---|
| 210 | 337 | rockchip,video-4k-offline-cpus = "3"; |
|---|
| 338 | + }; |
|---|
| 339 | + |
|---|
| 340 | + spdif_out: spdif-out { |
|---|
| 341 | + compatible = "linux,spdif-dit"; |
|---|
| 342 | + #sound-dai-cells = <0>; |
|---|
| 343 | + }; |
|---|
| 344 | + |
|---|
| 345 | + spdif_sound: spdif-sound { |
|---|
| 346 | + compatible = "simple-audio-card"; |
|---|
| 347 | + simple-audio-card,name = "rockchip,spdif"; |
|---|
| 348 | + |
|---|
| 349 | + simple-audio-card,cpu { |
|---|
| 350 | + sound-dai = <&spdif>; |
|---|
| 351 | + }; |
|---|
| 352 | + |
|---|
| 353 | + simple-audio-card,codec { |
|---|
| 354 | + sound-dai = <&spdif_out>; |
|---|
| 355 | + }; |
|---|
| 211 | 356 | }; |
|---|
| 212 | 357 | |
|---|
| 213 | 358 | timer { |
|---|
| .. | .. |
|---|
| 225 | 370 | clock-output-names = "xin24m"; |
|---|
| 226 | 371 | }; |
|---|
| 227 | 372 | |
|---|
| 373 | + xin32k: xin32k { |
|---|
| 374 | + compatible = "fixed-clock"; |
|---|
| 375 | + clock-frequency = <32768>; |
|---|
| 376 | + clock-output-names = "xin32k"; |
|---|
| 377 | + #clock-cells = <0>; |
|---|
| 378 | + }; |
|---|
| 379 | + |
|---|
| 228 | 380 | i2s0: i2s@ff000000 { |
|---|
| 229 | 381 | compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s"; |
|---|
| 230 | 382 | reg = <0x0 0xff000000 0x0 0x1000>; |
|---|
| .. | .. |
|---|
| 235 | 387 | dma-names = "tx", "rx"; |
|---|
| 236 | 388 | resets = <&cru SRST_I2S0>, <&cru SRST_I2S0_H>; |
|---|
| 237 | 389 | reset-names = "reset-m", "reset-h"; |
|---|
| 390 | + #sound-dai-cells = <0>; |
|---|
| 238 | 391 | status = "disabled"; |
|---|
| 239 | 392 | }; |
|---|
| 240 | 393 | |
|---|
| .. | .. |
|---|
| 248 | 401 | dma-names = "tx", "rx"; |
|---|
| 249 | 402 | resets = <&cru SRST_I2S1>, <&cru SRST_I2S1_H>; |
|---|
| 250 | 403 | reset-names = "reset-m", "reset-h"; |
|---|
| 404 | + #sound-dai-cells = <0>; |
|---|
| 251 | 405 | status = "disabled"; |
|---|
| 252 | 406 | }; |
|---|
| 253 | 407 | |
|---|
| .. | .. |
|---|
| 269 | 423 | &i2s2m0_sdo |
|---|
| 270 | 424 | &i2s2m0_sdi>; |
|---|
| 271 | 425 | pinctrl-1 = <&i2s2m0_sleep>; |
|---|
| 426 | + #sound-dai-cells = <0>; |
|---|
| 272 | 427 | status = "disabled"; |
|---|
| 273 | 428 | }; |
|---|
| 274 | 429 | |
|---|
| .. | .. |
|---|
| 281 | 436 | dmas = <&dmac 10>; |
|---|
| 282 | 437 | dma-names = "tx"; |
|---|
| 283 | 438 | pinctrl-names = "default"; |
|---|
| 284 | | - pinctrl-0 = <&spdifm2_tx>; |
|---|
| 439 | + pinctrl-0 = <&spdifm0_tx>; |
|---|
| 440 | + #sound-dai-cells = <0>; |
|---|
| 285 | 441 | status = "disabled"; |
|---|
| 286 | 442 | }; |
|---|
| 287 | 443 | |
|---|
| 288 | 444 | pdm: pdm@ff040000 { |
|---|
| 289 | | - compatible = "rockchip,rk3328-pdm"; |
|---|
| 445 | + compatible = "rockchip,pdm"; |
|---|
| 290 | 446 | reg = <0x0 0xff040000 0x0 0x1000>; |
|---|
| 291 | 447 | clocks = <&cru SCLK_PDM>, <&cru HCLK_PDM>; |
|---|
| 292 | 448 | clock-names = "pdm_clk", "pdm_hclk"; |
|---|
| .. | .. |
|---|
| 294 | 450 | dma-names = "rx"; |
|---|
| 295 | 451 | pinctrl-names = "default", "sleep"; |
|---|
| 296 | 452 | pinctrl-0 = <&pdmm0_clk |
|---|
| 453 | + &pdmm0_fsync |
|---|
| 297 | 454 | &pdmm0_sdi0 |
|---|
| 298 | 455 | &pdmm0_sdi1 |
|---|
| 299 | 456 | &pdmm0_sdi2 |
|---|
| 300 | 457 | &pdmm0_sdi3>; |
|---|
| 301 | 458 | pinctrl-1 = <&pdmm0_clk_sleep |
|---|
| 459 | + &pdmm0_fsync_sleep |
|---|
| 302 | 460 | &pdmm0_sdi0_sleep |
|---|
| 303 | 461 | &pdmm0_sdi1_sleep |
|---|
| 304 | 462 | &pdmm0_sdi2_sleep |
|---|
| .. | .. |
|---|
| 344 | 502 | grf: syscon@ff100000 { |
|---|
| 345 | 503 | compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd"; |
|---|
| 346 | 504 | reg = <0x0 0xff100000 0x0 0x1000>; |
|---|
| 347 | | - #address-cells = <1>; |
|---|
| 348 | | - #size-cells = <1>; |
|---|
| 349 | 505 | |
|---|
| 350 | 506 | io_domains: io-domains { |
|---|
| 351 | 507 | compatible = "rockchip,rk3328-io-voltage-domain"; |
|---|
| 352 | 508 | status = "disabled"; |
|---|
| 509 | + }; |
|---|
| 510 | + |
|---|
| 511 | + grf_gpio: grf-gpio { |
|---|
| 512 | + compatible = "rockchip,rk3328-grf-gpio"; |
|---|
| 513 | + gpio-controller; |
|---|
| 514 | + #gpio-cells = <2>; |
|---|
| 353 | 515 | }; |
|---|
| 354 | 516 | |
|---|
| 355 | 517 | power: power-controller { |
|---|
| .. | .. |
|---|
| 359 | 521 | #size-cells = <0>; |
|---|
| 360 | 522 | status = "okay"; |
|---|
| 361 | 523 | |
|---|
| 362 | | - pd_hevc@RK3328_PD_HEVC { |
|---|
| 524 | + power-domain@RK3328_PD_HEVC { |
|---|
| 363 | 525 | reg = <RK3328_PD_HEVC>; |
|---|
| 364 | 526 | }; |
|---|
| 365 | | - pd_video@RK3328_PD_VIDEO { |
|---|
| 527 | + power-domain@RK3328_PD_VIDEO { |
|---|
| 366 | 528 | reg = <RK3328_PD_VIDEO>; |
|---|
| 367 | 529 | clocks = <&cru ACLK_RKVDEC>, |
|---|
| 368 | 530 | <&cru HCLK_RKVDEC>, |
|---|
| .. | .. |
|---|
| 370 | 532 | <&cru SCLK_VDEC_CORE>; |
|---|
| 371 | 533 | pm_qos = <&qos_rkvdec_r>, <&qos_rkvdec_w>; |
|---|
| 372 | 534 | }; |
|---|
| 373 | | - pd_vpu@RK3328_PD_VPU { |
|---|
| 535 | + power-domain@RK3328_PD_VPU { |
|---|
| 374 | 536 | reg = <RK3328_PD_VPU>; |
|---|
| 375 | 537 | clocks = <&cru ACLK_VPU>, |
|---|
| 376 | 538 | <&cru HCLK_VPU>; |
|---|
| .. | .. |
|---|
| 381 | 543 | reboot_mode: reboot-mode { |
|---|
| 382 | 544 | compatible = "syscon-reboot-mode"; |
|---|
| 383 | 545 | offset = <0x5c8>; |
|---|
| 546 | + mode-bootloader = <BOOT_BL_DOWNLOAD>; |
|---|
| 547 | + mode-charge = <BOOT_CHARGING>; |
|---|
| 548 | + mode-fastboot = <BOOT_FASTBOOT>; |
|---|
| 549 | + mode-loader = <BOOT_BL_DOWNLOAD>; |
|---|
| 384 | 550 | mode-normal = <BOOT_NORMAL>; |
|---|
| 385 | 551 | mode-recovery = <BOOT_RECOVERY>; |
|---|
| 386 | | - mode-bootloader = <BOOT_FASTBOOT>; |
|---|
| 387 | | - mode-loader = <BOOT_BL_DOWNLOAD>; |
|---|
| 552 | + mode-ums = <BOOT_UMS>; |
|---|
| 388 | 553 | }; |
|---|
| 554 | + }; |
|---|
| 389 | 555 | |
|---|
| 556 | + thermal-zones { |
|---|
| 557 | + soc_thermal: soc-thermal { |
|---|
| 558 | + polling-delay-passive = <20>; /* milliseconds */ |
|---|
| 559 | + polling-delay = <1000>; /* milliseconds */ |
|---|
| 560 | + sustainable-power = <1000>; /* milliwatts */ |
|---|
| 561 | + |
|---|
| 562 | + thermal-sensors = <&tsadc 0>; |
|---|
| 563 | + |
|---|
| 564 | + trips { |
|---|
| 565 | + threshold: trip-point-0 { |
|---|
| 566 | + temperature = <70000>; /* millicelsius */ |
|---|
| 567 | + hysteresis = <2000>; /* millicelsius */ |
|---|
| 568 | + type = "passive"; |
|---|
| 569 | + }; |
|---|
| 570 | + target: trip-point-1 { |
|---|
| 571 | + temperature = <85000>; /* millicelsius */ |
|---|
| 572 | + hysteresis = <2000>; /* millicelsius */ |
|---|
| 573 | + type = "passive"; |
|---|
| 574 | + }; |
|---|
| 575 | + soc_crit: soc-crit { |
|---|
| 576 | + temperature = <115000>; /* millicelsius */ |
|---|
| 577 | + hysteresis = <2000>; /* millicelsius */ |
|---|
| 578 | + type = "critical"; |
|---|
| 579 | + }; |
|---|
| 580 | + }; |
|---|
| 581 | + |
|---|
| 582 | + cooling-maps { |
|---|
| 583 | + map0 { |
|---|
| 584 | + trip = <&target>; |
|---|
| 585 | + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
|---|
| 586 | + contribution = <4096>; |
|---|
| 587 | + }; |
|---|
| 588 | + map1 { |
|---|
| 589 | + trip = <&target>; |
|---|
| 590 | + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
|---|
| 591 | + contribution = <4096>; |
|---|
| 592 | + }; |
|---|
| 593 | + map2 { |
|---|
| 594 | + trip = <&target>; |
|---|
| 595 | + cooling-device = <&rkvdec THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
|---|
| 596 | + contribution = <1024>; |
|---|
| 597 | + }; |
|---|
| 598 | + map3 { |
|---|
| 599 | + trip = <&target>; |
|---|
| 600 | + cooling-device = <&dmc THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
|---|
| 601 | + contribution = <1024>; |
|---|
| 602 | + }; |
|---|
| 603 | + }; |
|---|
| 604 | + }; |
|---|
| 390 | 605 | }; |
|---|
| 391 | 606 | |
|---|
| 392 | 607 | uart0: serial@ff110000 { |
|---|
| .. | .. |
|---|
| 432 | 647 | reg-io-width = <4>; |
|---|
| 433 | 648 | reg-shift = <2>; |
|---|
| 434 | 649 | status = "disabled"; |
|---|
| 650 | + }; |
|---|
| 651 | + |
|---|
| 652 | + pmu: power-management@ff140000 { |
|---|
| 653 | + compatible = "rockchip,rk3328-pmu", "syscon", "simple-mfd"; |
|---|
| 654 | + reg = <0x0 0xff140000 0x0 0x1000>; |
|---|
| 435 | 655 | }; |
|---|
| 436 | 656 | |
|---|
| 437 | 657 | i2c0: i2c@ff150000 { |
|---|
| .. | .. |
|---|
| 506 | 726 | reg = <0x0 0xff1a0000 0x0 0x100>; |
|---|
| 507 | 727 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 508 | 728 | clocks = <&cru PCLK_BUS_PRE>; |
|---|
| 729 | + status = "disabled"; |
|---|
| 509 | 730 | }; |
|---|
| 510 | 731 | |
|---|
| 511 | 732 | pwm0: pwm@ff1b0000 { |
|---|
| 512 | 733 | compatible = "rockchip,rk3328-pwm"; |
|---|
| 513 | 734 | reg = <0x0 0xff1b0000 0x0 0x10>; |
|---|
| 735 | + interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 514 | 736 | clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>; |
|---|
| 515 | 737 | clock-names = "pwm", "pclk"; |
|---|
| 516 | 738 | pinctrl-names = "active"; |
|---|
| .. | .. |
|---|
| 522 | 744 | pwm1: pwm@ff1b0010 { |
|---|
| 523 | 745 | compatible = "rockchip,rk3328-pwm"; |
|---|
| 524 | 746 | reg = <0x0 0xff1b0010 0x0 0x10>; |
|---|
| 747 | + interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 525 | 748 | clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>; |
|---|
| 526 | 749 | clock-names = "pwm", "pclk"; |
|---|
| 527 | 750 | pinctrl-names = "active"; |
|---|
| .. | .. |
|---|
| 533 | 756 | pwm2: pwm@ff1b0020 { |
|---|
| 534 | 757 | compatible = "rockchip,rk3328-pwm"; |
|---|
| 535 | 758 | reg = <0x0 0xff1b0020 0x0 0x10>; |
|---|
| 759 | + interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 536 | 760 | clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>; |
|---|
| 537 | 761 | clock-names = "pwm", "pclk"; |
|---|
| 538 | 762 | pinctrl-names = "active"; |
|---|
| .. | .. |
|---|
| 553 | 777 | status = "disabled"; |
|---|
| 554 | 778 | }; |
|---|
| 555 | 779 | |
|---|
| 556 | | - thermal-zones { |
|---|
| 557 | | - soc_thermal: soc-thermal { |
|---|
| 558 | | - polling-delay-passive = <20>; |
|---|
| 559 | | - polling-delay = <1000>; |
|---|
| 560 | | - sustainable-power = <1000>; |
|---|
| 561 | | - |
|---|
| 562 | | - thermal-sensors = <&tsadc 0>; |
|---|
| 563 | | - |
|---|
| 564 | | - trips { |
|---|
| 565 | | - threshold: trip-point0 { |
|---|
| 566 | | - temperature = <70000>; |
|---|
| 567 | | - hysteresis = <2000>; |
|---|
| 568 | | - type = "passive"; |
|---|
| 569 | | - }; |
|---|
| 570 | | - target: trip-point1 { |
|---|
| 571 | | - temperature = <85000>; |
|---|
| 572 | | - hysteresis = <2000>; |
|---|
| 573 | | - type = "passive"; |
|---|
| 574 | | - }; |
|---|
| 575 | | - soc_crit: soc-crit { |
|---|
| 576 | | - temperature = <115000>; |
|---|
| 577 | | - hysteresis = <2000>; |
|---|
| 578 | | - type = "critical"; |
|---|
| 579 | | - }; |
|---|
| 580 | | - }; |
|---|
| 581 | | - |
|---|
| 582 | | - cooling-maps { |
|---|
| 583 | | - map0 { |
|---|
| 584 | | - trip = <&target>; |
|---|
| 585 | | - cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
|---|
| 586 | | - contribution = <4096>; |
|---|
| 587 | | - }; |
|---|
| 588 | | - map1 { |
|---|
| 589 | | - trip = <&target>; |
|---|
| 590 | | - cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
|---|
| 591 | | - contribution = <4096>; |
|---|
| 592 | | - }; |
|---|
| 593 | | - map2 { |
|---|
| 594 | | - trip = <&target>; |
|---|
| 595 | | - cooling-device = <&rkvdec THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
|---|
| 596 | | - contribution = <1024>; |
|---|
| 597 | | - }; |
|---|
| 598 | | - map3 { |
|---|
| 599 | | - trip = <&target>; |
|---|
| 600 | | - cooling-device = <&dmc THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
|---|
| 601 | | - contribution = <1024>; |
|---|
| 602 | | - }; |
|---|
| 603 | | - }; |
|---|
| 604 | | - }; |
|---|
| 605 | | - |
|---|
| 780 | + dmac: dma-controller@ff1f0000 { |
|---|
| 781 | + compatible = "arm,pl330", "arm,primecell"; |
|---|
| 782 | + reg = <0x0 0xff1f0000 0x0 0x4000>; |
|---|
| 783 | + interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 784 | + <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 785 | + arm,pl330-periph-burst; |
|---|
| 786 | + clocks = <&cru ACLK_DMAC>; |
|---|
| 787 | + clock-names = "apb_pclk"; |
|---|
| 788 | + #dma-cells = <1>; |
|---|
| 606 | 789 | }; |
|---|
| 607 | 790 | |
|---|
| 608 | 791 | tsadc: tsadc@ff250000 { |
|---|
| .. | .. |
|---|
| 614 | 797 | clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>; |
|---|
| 615 | 798 | clock-names = "tsadc", "apb_pclk"; |
|---|
| 616 | 799 | pinctrl-names = "gpio", "otpout"; |
|---|
| 617 | | - pinctrl-0 = <&otp_gpio>; |
|---|
| 800 | + pinctrl-0 = <&otp_pin>; |
|---|
| 618 | 801 | pinctrl-1 = <&otp_out>; |
|---|
| 619 | 802 | resets = <&cru SRST_TSADC>; |
|---|
| 620 | 803 | reset-names = "tsadc-apb"; |
|---|
| 621 | 804 | rockchip,grf = <&grf>; |
|---|
| 622 | | - rockchip,hw-tshut-temp = <120000>; |
|---|
| 805 | + rockchip,hw-tshut-temp = <100000>; |
|---|
| 623 | 806 | #thermal-sensor-cells = <1>; |
|---|
| 624 | 807 | status = "disabled"; |
|---|
| 625 | 808 | }; |
|---|
| .. | .. |
|---|
| 664 | 847 | gpu: gpu@ff300000 { |
|---|
| 665 | 848 | compatible = "arm,mali-450"; |
|---|
| 666 | 849 | reg = <0x0 0xff300000 0x0 0x30000>; |
|---|
| 667 | | - |
|---|
| 668 | 850 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 669 | 851 | <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 670 | 852 | <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| .. | .. |
|---|
| 683 | 865 | clock-names = "clk_mali"; |
|---|
| 684 | 866 | #cooling-cells = <2>; /* min followed by max */ |
|---|
| 685 | 867 | operating-points-v2 = <&gpu_opp_table>; |
|---|
| 868 | + resets = <&cru SRST_GPU_A>; |
|---|
| 686 | 869 | status = "disabled"; |
|---|
| 687 | 870 | |
|---|
| 688 | 871 | gpu_power_model: power_model { |
|---|
| .. | .. |
|---|
| 738 | 921 | rockchip,resetgroup-count = <4>; |
|---|
| 739 | 922 | rockchip,grf = <&grf>; |
|---|
| 740 | 923 | rockchip,grf-offset = <0x040c>; |
|---|
| 741 | | - rockchip,grf-values = <0x8000000>, <0x8000800>; |
|---|
| 742 | | - rockchip,grf-names = "grf_vepu2", "grf_vepu22"; |
|---|
| 743 | | - status = "disabled"; |
|---|
| 744 | | - }; |
|---|
| 745 | | - |
|---|
| 746 | | - vepu22: vepu22@ff330000 { |
|---|
| 747 | | - compatible = "rockchip,hevc-encoder-v22"; |
|---|
| 748 | | - reg = <0x0 0xff330000 0 0x200>; |
|---|
| 749 | | - interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 750 | | - clocks = <&cru ACLK_H265>, <&cru PCLK_H265>, |
|---|
| 751 | | - <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>, |
|---|
| 752 | | - <&cru ACLK_RKVENC>, <&cru ACLK_AXISRAM>; |
|---|
| 753 | | - clock-names = "aclk_h265", "pclk_h265", "clk_core", |
|---|
| 754 | | - "clk_dsp", "aclk_venc", "aclk_axi2sram"; |
|---|
| 755 | | - iommus = <&vepu22_mmu>; |
|---|
| 756 | | - rockchip,srv = <&mpp_srv>; |
|---|
| 757 | | - rockchip,taskqueue-node = <2>; |
|---|
| 758 | | - rockchip,resetgroup-node = <2>; |
|---|
| 759 | | - power-domains = <&power RK3328_PD_HEVC>; |
|---|
| 760 | | - status = "disabled"; |
|---|
| 761 | | - }; |
|---|
| 762 | | - |
|---|
| 763 | | - vepu22_mmu: iommu@ff330200 { |
|---|
| 764 | | - compatible = "rockchip,iommu"; |
|---|
| 765 | | - reg = <0x0 0xff330200 0 0x100>; |
|---|
| 766 | | - interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 767 | | - interrupt-names = "vepu22_mmu"; |
|---|
| 768 | | - clocks = <&cru ACLK_H265>, <&cru PCLK_H265>; |
|---|
| 769 | | - clock-names = "aclk", "iface"; |
|---|
| 770 | | - power-domains = <&power RK3328_PD_HEVC>; |
|---|
| 771 | | - #iommu-cells = <0>; |
|---|
| 924 | + rockchip,grf-values = <0x8000000>; |
|---|
| 925 | + rockchip,grf-names = "grf_vepu2"; |
|---|
| 772 | 926 | status = "disabled"; |
|---|
| 773 | 927 | }; |
|---|
| 774 | 928 | |
|---|
| .. | .. |
|---|
| 779 | 933 | clocks = <&cru ACLK_H264>, <&cru HCLK_H264>; |
|---|
| 780 | 934 | clock-names = "aclk_vcodec", "hclk_vcodec"; |
|---|
| 781 | 935 | resets = <&cru SRST_RKVENC_H264_A>, |
|---|
| 782 | | - <&cru SRST_RKVENC_H264_H>; |
|---|
| 936 | + <&cru SRST_RKVENC_H264_H>; |
|---|
| 783 | 937 | reset-names = "video_a", "video_h"; |
|---|
| 784 | 938 | iommus = <&vepu_mmu>; |
|---|
| 785 | 939 | rockchip,srv = <&mpp_srv>; |
|---|
| .. | .. |
|---|
| 823 | 977 | reg = <0x0 0xff350800 0x0 0x40>; |
|---|
| 824 | 978 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 825 | 979 | interrupt-names = "vpu_mmu"; |
|---|
| 826 | | - clock-names = "aclk", "iface"; |
|---|
| 827 | 980 | clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; |
|---|
| 828 | | - power-domains = <&power RK3328_PD_VPU>; |
|---|
| 981 | + clock-names = "aclk", "iface"; |
|---|
| 829 | 982 | #iommu-cells = <0>; |
|---|
| 983 | + power-domains = <&power RK3328_PD_VPU>; |
|---|
| 830 | 984 | status = "disabled"; |
|---|
| 831 | 985 | }; |
|---|
| 832 | 986 | |
|---|
| .. | .. |
|---|
| 848 | 1002 | }; |
|---|
| 849 | 1003 | |
|---|
| 850 | 1004 | rkvdec: rkvdec@ff36000 { |
|---|
| 851 | | - compatible = "rockchip,rkv-decoder-rk3328"; |
|---|
| 1005 | + compatible = "rockchip,rkv-decoder-rk3328", "rockchip,rkv-decoder-v2"; |
|---|
| 852 | 1006 | reg = <0x0 0xff360000 0x0 0x400>; |
|---|
| 853 | 1007 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 854 | 1008 | interrupt-names = "irq_dec"; |
|---|
| .. | .. |
|---|
| 920 | 1074 | interrupt-names = "rkvdec_mmu"; |
|---|
| 921 | 1075 | clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>; |
|---|
| 922 | 1076 | clock-names = "aclk", "iface"; |
|---|
| 923 | | - power-domains = <&power RK3328_PD_VIDEO>; |
|---|
| 924 | 1077 | #iommu-cells = <0>; |
|---|
| 1078 | + power-domains = <&power RK3328_PD_VIDEO>; |
|---|
| 925 | 1079 | status = "disabled"; |
|---|
| 926 | 1080 | }; |
|---|
| 927 | 1081 | |
|---|
| .. | .. |
|---|
| 953 | 1107 | }; |
|---|
| 954 | 1108 | }; |
|---|
| 955 | 1109 | |
|---|
| 1110 | + tve: tve@ff373e00 { |
|---|
| 1111 | + compatible = "rockchip,rk3328-tve"; |
|---|
| 1112 | + reg = <0x0 0xff373e00 0x0 0x100>, |
|---|
| 1113 | + <0x0 0xff420000 0x0 0x10000>; |
|---|
| 1114 | + rockchip,saturation = <0x00376749>; |
|---|
| 1115 | + rockchip,brightcontrast = <0x0000a305>; |
|---|
| 1116 | + rockchip,adjtiming = <0xb6c00880>; |
|---|
| 1117 | + rockchip,lumafilter0 = <0x01ff0000>; |
|---|
| 1118 | + rockchip,lumafilter1 = <0xf40200fe>; |
|---|
| 1119 | + rockchip,lumafilter2 = <0xf332d70c>; |
|---|
| 1120 | + rockchip,daclevel = <0x22>; |
|---|
| 1121 | + rockchip,dac1level = <0x7>; |
|---|
| 1122 | + status = "disabled"; |
|---|
| 1123 | + |
|---|
| 1124 | + ports { |
|---|
| 1125 | + tve_in: port { |
|---|
| 1126 | + #address-cells = <1>; |
|---|
| 1127 | + #size-cells = <0>; |
|---|
| 1128 | + tve_in_vop: endpoint@0 { |
|---|
| 1129 | + reg = <0>; |
|---|
| 1130 | + remote-endpoint = <&vop_out_tve>; |
|---|
| 1131 | + }; |
|---|
| 1132 | + }; |
|---|
| 1133 | + }; |
|---|
| 1134 | + }; |
|---|
| 1135 | + |
|---|
| 956 | 1136 | vop_mmu: iommu@ff373f00 { |
|---|
| 957 | 1137 | compatible = "rockchip,iommu"; |
|---|
| 958 | 1138 | reg = <0x0 0xff373f00 0x0 0x100>; |
|---|
| .. | .. |
|---|
| 961 | 1141 | clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>; |
|---|
| 962 | 1142 | clock-names = "aclk", "iface"; |
|---|
| 963 | 1143 | #iommu-cells = <0>; |
|---|
| 1144 | + status = "disabled"; |
|---|
| 1145 | + }; |
|---|
| 1146 | + |
|---|
| 1147 | + cif: cif@ff380000 { |
|---|
| 1148 | + compatible = "rockchip,cif", "rockchip,rk3328-cif"; |
|---|
| 1149 | + reg = <0x0 0xff380000 0x0 0x400>; |
|---|
| 1150 | + interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 1151 | + clocks = <&cru ACLK_CIF>, <&cru HCLK_CIF>; |
|---|
| 1152 | + clock-names = "aclk_cif", "hclk_cif"; |
|---|
| 1153 | + resets = <&cru SRST_CIF_A>, <&cru SRST_CIF_H>, <&cru SRST_CIF_P>; |
|---|
| 1154 | + reset-names = "rst_cif_a", "rst_cif_h", "rst_cif_p"; |
|---|
| 964 | 1155 | status = "disabled"; |
|---|
| 965 | 1156 | }; |
|---|
| 966 | 1157 | |
|---|
| .. | .. |
|---|
| 994 | 1185 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 995 | 1186 | interrupt-names = "iep_mmu"; |
|---|
| 996 | 1187 | clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>; |
|---|
| 997 | | - clock-names = "aclk", "iface"; |
|---|
| 1188 | + clock-names = "aclk", "hclk"; |
|---|
| 998 | 1189 | power-domains = <&power RK3328_PD_VIDEO>; |
|---|
| 999 | 1190 | #iommu-cells = <0>; |
|---|
| 1000 | 1191 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 1006 | 1197 | reg-io-width = <4>; |
|---|
| 1007 | 1198 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 1008 | 1199 | <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 1009 | | - interrupt-names = "hdmi", "hdmi_wakeup"; |
|---|
| 1010 | 1200 | clocks = <&cru PCLK_HDMI>, |
|---|
| 1011 | 1201 | <&cru SCLK_HDMI_SFC>, |
|---|
| 1012 | | - <&cru SCLK_RTC32K>, |
|---|
| 1013 | | - <&cru HCLK_VIO>; |
|---|
| 1202 | + <&cru SCLK_RTC32K>; |
|---|
| 1014 | 1203 | clock-names = "iahb", |
|---|
| 1015 | 1204 | "isfr", |
|---|
| 1016 | | - "cec", |
|---|
| 1017 | | - "hclk_vio"; |
|---|
| 1205 | + "cec"; |
|---|
| 1018 | 1206 | phys = <&hdmiphy>; |
|---|
| 1019 | 1207 | phy-names = "hdmi"; |
|---|
| 1020 | | - pinctrl-names = "default", "gpio"; |
|---|
| 1208 | + pinctrl-names = "default", "pin"; |
|---|
| 1021 | 1209 | pinctrl-0 = <&hdmi_cec &hdmii2c_xfer &hdmi_hpd>; |
|---|
| 1022 | | - pinctrl-1 = <&i2c3_gpio>; |
|---|
| 1210 | + pinctrl-1 = <&i2c3_pins>; |
|---|
| 1023 | 1211 | resets = <&cru SRST_HDMI_P>, |
|---|
| 1024 | 1212 | <&cru SRST_HDMIPHY>; |
|---|
| 1025 | 1213 | reset-names = "hdmi", |
|---|
| 1026 | 1214 | "hdmiphy"; |
|---|
| 1027 | 1215 | rockchip,grf = <&grf>; |
|---|
| 1028 | | - max-tmdsclk = <371250>; |
|---|
| 1216 | + #sound-dai-cells = <0>; |
|---|
| 1029 | 1217 | status = "disabled"; |
|---|
| 1030 | 1218 | |
|---|
| 1031 | 1219 | ports { |
|---|
| .. | .. |
|---|
| 1040 | 1228 | }; |
|---|
| 1041 | 1229 | }; |
|---|
| 1042 | 1230 | |
|---|
| 1043 | | - tve: tve@ff373e00 { |
|---|
| 1044 | | - compatible = "rockchip,rk3328-tve"; |
|---|
| 1045 | | - reg = <0x0 0xff373e00 0x0 0x100>, |
|---|
| 1046 | | - <0x0 0xff420000 0x0 0x10000>; |
|---|
| 1047 | | - rockchip,saturation = <0x00376749>; |
|---|
| 1048 | | - rockchip,brightcontrast = <0x0000a305>; |
|---|
| 1049 | | - rockchip,adjtiming = <0xb6c00880>; |
|---|
| 1050 | | - rockchip,lumafilter0 = <0x01ff0000>; |
|---|
| 1051 | | - rockchip,lumafilter1 = <0xf40200fe>; |
|---|
| 1052 | | - rockchip,lumafilter2 = <0xf332d70c>; |
|---|
| 1053 | | - rockchip,daclevel = <0x22>; |
|---|
| 1054 | | - rockchip,dac1level = <0x7>; |
|---|
| 1055 | | - status = "disabled"; |
|---|
| 1056 | | - |
|---|
| 1057 | | - ports { |
|---|
| 1058 | | - tve_in: port { |
|---|
| 1059 | | - #address-cells = <1>; |
|---|
| 1060 | | - #size-cells = <0>; |
|---|
| 1061 | | - tve_in_vop: endpoint@0 { |
|---|
| 1062 | | - reg = <0>; |
|---|
| 1063 | | - remote-endpoint = <&vop_out_tve>; |
|---|
| 1064 | | - }; |
|---|
| 1065 | | - }; |
|---|
| 1066 | | - }; |
|---|
| 1067 | | - }; |
|---|
| 1068 | | - |
|---|
| 1069 | | - display_subsystem: display-subsystem { |
|---|
| 1070 | | - compatible = "rockchip,display-subsystem"; |
|---|
| 1071 | | - ports = <&vop_out>; |
|---|
| 1072 | | - status = "disabled"; |
|---|
| 1073 | | - }; |
|---|
| 1074 | | - |
|---|
| 1075 | 1231 | codec: codec@ff410000 { |
|---|
| 1076 | 1232 | compatible = "rockchip,rk3328-codec"; |
|---|
| 1077 | 1233 | reg = <0x0 0xff410000 0x0 0x1000>; |
|---|
| 1078 | | - rockchip,grf = <&grf>; |
|---|
| 1079 | | - clocks = <&cru PCLK_ACODEC>, <&cru SCLK_I2S1>; |
|---|
| 1234 | + clocks = <&cru PCLK_ACODECPHY>, <&cru SCLK_I2S1>; |
|---|
| 1080 | 1235 | clock-names = "pclk", "mclk"; |
|---|
| 1236 | + rockchip,grf = <&grf>; |
|---|
| 1237 | + #sound-dai-cells = <0>; |
|---|
| 1081 | 1238 | status = "disabled"; |
|---|
| 1082 | 1239 | }; |
|---|
| 1083 | 1240 | |
|---|
| 1084 | | - hdmiphy: hdmiphy@ff430000 { |
|---|
| 1241 | + hdmiphy: phy@ff430000 { |
|---|
| 1085 | 1242 | compatible = "rockchip,rk3328-hdmi-phy"; |
|---|
| 1086 | 1243 | reg = <0x0 0xff430000 0x0 0x10000>; |
|---|
| 1087 | 1244 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 1088 | | - #phy-cells = <0>; |
|---|
| 1089 | | - clocks = <&cru PCLK_HDMIPHY>, <&xin24m>; |
|---|
| 1090 | | - clock-names = "sysclk", "refclk"; |
|---|
| 1091 | | - #clock-cells = <0>; |
|---|
| 1245 | + clocks = <&cru PCLK_HDMIPHY>, <&xin24m>, <&cru DCLK_HDMIPHY>; |
|---|
| 1246 | + clock-names = "sysclk", "refclk", "refpclk"; |
|---|
| 1092 | 1247 | clock-output-names = "hdmi_phy"; |
|---|
| 1248 | + #clock-cells = <0>; |
|---|
| 1249 | + nvmem-cells = <&efuse_cpu_version>; |
|---|
| 1250 | + nvmem-cell-names = "cpu-version"; |
|---|
| 1251 | + #phy-cells = <0>; |
|---|
| 1093 | 1252 | status = "disabled"; |
|---|
| 1094 | 1253 | }; |
|---|
| 1095 | 1254 | |
|---|
| .. | .. |
|---|
| 1110 | 1269 | <&cru SCLK_RTC32K>, <&cru SCLK_UART0>, |
|---|
| 1111 | 1270 | <&cru SCLK_UART1>, <&cru SCLK_UART2>, |
|---|
| 1112 | 1271 | <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>, |
|---|
| 1113 | | - <&cru ACLK_RGA_PRE>, <&cru ACLK_RKVDEC_PRE>, |
|---|
| 1272 | + <&cru ACLK_VIO_PRE>, <&cru ACLK_RGA_PRE>, |
|---|
| 1273 | + <&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>, |
|---|
| 1114 | 1274 | <&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>, |
|---|
| 1115 | 1275 | <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>, |
|---|
| 1116 | 1276 | <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>, |
|---|
| .. | .. |
|---|
| 1120 | 1280 | <&cru ACLK_BUS_PRE>, <&cru HCLK_BUS_PRE>, |
|---|
| 1121 | 1281 | <&cru PCLK_BUS_PRE>, <&cru ACLK_PERI_PRE>, |
|---|
| 1122 | 1282 | <&cru HCLK_PERI>, <&cru PCLK_PERI>, |
|---|
| 1123 | | - <&cru SCLK_RTC32K>, <&cru ACLK_VOP>, |
|---|
| 1124 | | - <&cru ACLK_GMAC>; |
|---|
| 1283 | + <&cru SCLK_RTC32K>; |
|---|
| 1125 | 1284 | assigned-clock-parents = |
|---|
| 1126 | 1285 | <&cru HDMIPHY>, <&cru PLL_APLL>, |
|---|
| 1127 | 1286 | <&cru PLL_GPLL>, <&xin24m>, |
|---|
| .. | .. |
|---|
| 1132 | 1291 | <24000000>, <24000000>, |
|---|
| 1133 | 1292 | <15000000>, <15000000>, |
|---|
| 1134 | 1293 | <100000000>, <100000000>, |
|---|
| 1294 | + <100000000>, <100000000>, |
|---|
| 1135 | 1295 | <50000000>, <100000000>, |
|---|
| 1136 | 1296 | <100000000>, <100000000>, |
|---|
| 1137 | 1297 | <50000000>, <50000000>, |
|---|
| .. | .. |
|---|
| 1141 | 1301 | <150000000>, <75000000>, |
|---|
| 1142 | 1302 | <75000000>, <150000000>, |
|---|
| 1143 | 1303 | <75000000>, <75000000>, |
|---|
| 1144 | | - <32768>, <400000000>, |
|---|
| 1145 | | - <180000000>; |
|---|
| 1304 | + <32768>; |
|---|
| 1146 | 1305 | }; |
|---|
| 1147 | 1306 | |
|---|
| 1148 | 1307 | usb2phy_grf: syscon@ff450000 { |
|---|
| .. | .. |
|---|
| 1223 | 1382 | }; |
|---|
| 1224 | 1383 | }; |
|---|
| 1225 | 1384 | |
|---|
| 1226 | | - sdmmc: dwmmc@ff500000 { |
|---|
| 1385 | + sdmmc: mmc@ff500000 { |
|---|
| 1227 | 1386 | compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc"; |
|---|
| 1228 | 1387 | reg = <0x0 0xff500000 0x0 0x4000>; |
|---|
| 1229 | 1388 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 1235 | 1394 | status = "disabled"; |
|---|
| 1236 | 1395 | }; |
|---|
| 1237 | 1396 | |
|---|
| 1238 | | - sdio: dwmmc@ff510000 { |
|---|
| 1397 | + sdio: mmc@ff510000 { |
|---|
| 1239 | 1398 | compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc"; |
|---|
| 1240 | 1399 | reg = <0x0 0xff510000 0x0 0x4000>; |
|---|
| 1241 | 1400 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 1247 | 1406 | status = "disabled"; |
|---|
| 1248 | 1407 | }; |
|---|
| 1249 | 1408 | |
|---|
| 1250 | | - emmc: dwmmc@ff520000 { |
|---|
| 1409 | + emmc: mmc@ff520000 { |
|---|
| 1251 | 1410 | compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc"; |
|---|
| 1252 | 1411 | reg = <0x0 0xff520000 0x0 0x4000>; |
|---|
| 1253 | 1412 | interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 1275 | 1434 | resets = <&cru SRST_GMAC2IO_A>; |
|---|
| 1276 | 1435 | reset-names = "stmmaceth"; |
|---|
| 1277 | 1436 | rockchip,grf = <&grf>; |
|---|
| 1437 | + snps,txpbl = <0x4>; |
|---|
| 1278 | 1438 | status = "disabled"; |
|---|
| 1279 | 1439 | }; |
|---|
| 1280 | 1440 | |
|---|
| .. | .. |
|---|
| 1303 | 1463 | #address-cells = <1>; |
|---|
| 1304 | 1464 | #size-cells = <0>; |
|---|
| 1305 | 1465 | |
|---|
| 1306 | | - phy: phy@0 { |
|---|
| 1466 | + phy: ethernet-phy@0 { |
|---|
| 1307 | 1467 | compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22"; |
|---|
| 1308 | 1468 | reg = <0>; |
|---|
| 1309 | 1469 | clocks = <&cru SCLK_MAC2PHY_OUT>; |
|---|
| .. | .. |
|---|
| 1320 | 1480 | "snps,dwc2"; |
|---|
| 1321 | 1481 | reg = <0x0 0xff580000 0x0 0x40000>; |
|---|
| 1322 | 1482 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 1323 | | - clocks = <&cru HCLK_OTG>; |
|---|
| 1324 | | - clock-names = "otg"; |
|---|
| 1483 | + clocks = <&cru HCLK_OTG>, <&cru HCLK_OTG_PMU>; |
|---|
| 1484 | + clock-names = "otg", "otg_pmu"; |
|---|
| 1325 | 1485 | dr_mode = "otg"; |
|---|
| 1326 | 1486 | g-np-tx-fifo-size = <16>; |
|---|
| 1327 | 1487 | g-rx-fifo-size = <280>; |
|---|
| 1328 | 1488 | g-tx-fifo-size = <256 128 128 64 32 16>; |
|---|
| 1329 | | - g-use-dma; |
|---|
| 1330 | 1489 | phys = <&u2phy_otg>; |
|---|
| 1331 | 1490 | phy-names = "usb2-phy"; |
|---|
| 1332 | 1491 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 1336 | 1495 | compatible = "generic-ehci"; |
|---|
| 1337 | 1496 | reg = <0x0 0xff5c0000 0x0 0x10000>; |
|---|
| 1338 | 1497 | interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 1339 | | - clocks = <&cru HCLK_HOST0>, <&u2phy>; |
|---|
| 1340 | | - clock-names = "usbhost", "utmi"; |
|---|
| 1498 | + clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>, |
|---|
| 1499 | + <&u2phy>; |
|---|
| 1500 | + clock-names = "usbhost", "arbiter", "utmi"; |
|---|
| 1341 | 1501 | phys = <&u2phy_host>; |
|---|
| 1342 | 1502 | phy-names = "usb"; |
|---|
| 1343 | 1503 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 1347 | 1507 | compatible = "generic-ohci"; |
|---|
| 1348 | 1508 | reg = <0x0 0xff5d0000 0x0 0x10000>; |
|---|
| 1349 | 1509 | interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 1350 | | - clocks = <&cru HCLK_HOST0>, <&u2phy>; |
|---|
| 1351 | | - clock-names = "usbhost", "utmi"; |
|---|
| 1510 | + clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>, |
|---|
| 1511 | + <&u2phy>; |
|---|
| 1512 | + clock-names = "usbhost", "arbiter", "utmi"; |
|---|
| 1352 | 1513 | phys = <&u2phy_host>; |
|---|
| 1353 | 1514 | phy-names = "usb"; |
|---|
| 1354 | 1515 | status = "disabled"; |
|---|
| 1355 | 1516 | }; |
|---|
| 1356 | 1517 | |
|---|
| 1357 | | - sdmmc_ext: dwmmc@ff5f0000 { |
|---|
| 1518 | + sdmmc_ext: mmc@ff5f0000 { |
|---|
| 1358 | 1519 | compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc"; |
|---|
| 1359 | 1520 | reg = <0x0 0xff5f0000 0x0 0x4000>; |
|---|
| 1360 | 1521 | clock-freq-min-max = <400000 150000000>; |
|---|
| 1361 | 1522 | clocks = <&cru HCLK_SDMMC_EXT>, <&cru SCLK_SDMMC_EXT>, |
|---|
| 1362 | 1523 | <&cru SCLK_SDMMC_EXT_DRV>, <&cru SCLK_SDMMC_EXT_SAMPLE>; |
|---|
| 1363 | | - clock-names = "biu", "ciu", "ciu-drv", "ciu-sample"; |
|---|
| 1524 | + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; |
|---|
| 1364 | 1525 | fifo-depth = <0x100>; |
|---|
| 1365 | 1526 | interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 1366 | 1527 | status = "disabled"; |
|---|
| 1367 | 1528 | }; |
|---|
| 1368 | 1529 | |
|---|
| 1369 | | - usbdrd3: usb@ff600000 { |
|---|
| 1370 | | - compatible = "rockchip,rk3328-dwc3"; |
|---|
| 1530 | + usbdrd3: usbdrd { |
|---|
| 1531 | + compatible = "rockchip,rk3328-dwc3", "snps,dwc3"; |
|---|
| 1371 | 1532 | clocks = <&cru SCLK_USB3OTG_REF>, <&cru SCLK_USB3OTG_SUSPEND>, |
|---|
| 1372 | 1533 | <&cru ACLK_USB3OTG>; |
|---|
| 1373 | 1534 | clock-names = "ref_clk", "suspend_clk", |
|---|
| .. | .. |
|---|
| 1385 | 1546 | phys = <&u3phy_utmi>, <&u3phy_pipe>; |
|---|
| 1386 | 1547 | phy-names = "usb2-phy", "usb3-phy"; |
|---|
| 1387 | 1548 | phy_type = "utmi_wide"; |
|---|
| 1549 | + snps,dis-del-phy-power-chg-quirk; |
|---|
| 1388 | 1550 | snps,dis_enblslpm_quirk; |
|---|
| 1551 | + snps,dis-tx-ipgap-linecheck-quirk; |
|---|
| 1389 | 1552 | snps,dis-u2-freeclk-exists-quirk; |
|---|
| 1390 | 1553 | snps,dis_u2_susphy_quirk; |
|---|
| 1391 | | - snps,dis-u3-autosuspend-quirk; |
|---|
| 1392 | 1554 | snps,dis_u3_susphy_quirk; |
|---|
| 1393 | | - snps,dis-del-phy-power-chg-quirk; |
|---|
| 1394 | | - snps,tx-ipgap-linecheck-dis-quirk; |
|---|
| 1555 | + snps,parkmode-disable-hs-quirk; |
|---|
| 1556 | + snps,parkmode-disable-ss-quirk; |
|---|
| 1395 | 1557 | status = "disabled"; |
|---|
| 1396 | 1558 | }; |
|---|
| 1397 | 1559 | }; |
|---|
| .. | .. |
|---|
| 1412 | 1574 | }; |
|---|
| 1413 | 1575 | |
|---|
| 1414 | 1576 | dfi: dfi@ff790000 { |
|---|
| 1415 | | - reg = <0x00 0xff790000 0x00 0x400>; |
|---|
| 1416 | 1577 | compatible = "rockchip,rk3328-dfi"; |
|---|
| 1578 | + reg = <0x00 0xff790000 0x00 0x400>; |
|---|
| 1417 | 1579 | rockchip,grf = <&grf>; |
|---|
| 1418 | 1580 | status = "disabled"; |
|---|
| 1419 | | - }; |
|---|
| 1420 | | - |
|---|
| 1421 | | - dmc: dmc { |
|---|
| 1422 | | - compatible = "rockchip,rk3328-dmc"; |
|---|
| 1423 | | - devfreq-events = <&dfi>; |
|---|
| 1424 | | - clocks = <&cru SCLK_DDRCLK>; |
|---|
| 1425 | | - clock-names = "dmc_clk"; |
|---|
| 1426 | | - operating-points-v2 = <&dmc_opp_table>; |
|---|
| 1427 | | - ddr_timing = <&ddr_timing>; |
|---|
| 1428 | | - upthreshold = <40>; |
|---|
| 1429 | | - downdifferential = <20>; |
|---|
| 1430 | | - system-status-freq = < |
|---|
| 1431 | | - /*system status freq(KHz)*/ |
|---|
| 1432 | | - SYS_STATUS_NORMAL 786000 |
|---|
| 1433 | | - SYS_STATUS_REBOOT 786000 |
|---|
| 1434 | | - SYS_STATUS_SUSPEND 786000 |
|---|
| 1435 | | - SYS_STATUS_VIDEO_1080P 786000 |
|---|
| 1436 | | - SYS_STATUS_VIDEO_4K 786000 |
|---|
| 1437 | | - SYS_STATUS_VIDEO_4K_10B 933000 |
|---|
| 1438 | | - SYS_STATUS_PERFORMANCE 933000 |
|---|
| 1439 | | - SYS_STATUS_BOOST 933000 |
|---|
| 1440 | | - >; |
|---|
| 1441 | | - auto-min-freq = <786000>; |
|---|
| 1442 | | - auto-freq-en = <0>; |
|---|
| 1443 | | - #cooling-cells = <2>; |
|---|
| 1444 | | - status = "disabled"; |
|---|
| 1445 | | - |
|---|
| 1446 | | - ddr_power_model: ddr_power_model { |
|---|
| 1447 | | - compatible = "ddr_power_model"; |
|---|
| 1448 | | - dynamic-power-coefficient = <120>; |
|---|
| 1449 | | - static-power-coefficient = <200>; |
|---|
| 1450 | | - ts = <32000 4700 (-80) 2>; |
|---|
| 1451 | | - thermal-zone = "soc-thermal"; |
|---|
| 1452 | | - }; |
|---|
| 1453 | | - }; |
|---|
| 1454 | | - |
|---|
| 1455 | | - dmc_opp_table: dmc-opp-table { |
|---|
| 1456 | | - compatible = "operating-points-v2"; |
|---|
| 1457 | | - |
|---|
| 1458 | | - rockchip,leakage-voltage-sel = < |
|---|
| 1459 | | - 1 10 0 |
|---|
| 1460 | | - 11 254 1 |
|---|
| 1461 | | - >; |
|---|
| 1462 | | - nvmem-cells = <&logic_leakage>; |
|---|
| 1463 | | - nvmem-cell-names = "ddr_leakage"; |
|---|
| 1464 | | - |
|---|
| 1465 | | - opp-400000000 { |
|---|
| 1466 | | - opp-hz = /bits/ 64 <400000000>; |
|---|
| 1467 | | - opp-microvolt = <950000>; |
|---|
| 1468 | | - opp-microvolt-L0 = <950000>; |
|---|
| 1469 | | - opp-microvolt-L1 = <950000>; |
|---|
| 1470 | | - status = "disabled"; |
|---|
| 1471 | | - }; |
|---|
| 1472 | | - opp-600000000 { |
|---|
| 1473 | | - opp-hz = /bits/ 64 <600000000>; |
|---|
| 1474 | | - opp-microvolt = <1025000>; |
|---|
| 1475 | | - opp-microvolt-L0 = <1025000>; |
|---|
| 1476 | | - opp-microvolt-L1 = <1000000>; |
|---|
| 1477 | | - status = "disabled"; |
|---|
| 1478 | | - }; |
|---|
| 1479 | | - opp-786000000 { |
|---|
| 1480 | | - opp-hz = /bits/ 64 <786000000>; |
|---|
| 1481 | | - opp-microvolt = <1075000>; |
|---|
| 1482 | | - opp-microvolt-L0 = <1075000>; |
|---|
| 1483 | | - opp-microvolt-L1 = <1050000>; |
|---|
| 1484 | | - }; |
|---|
| 1485 | | - opp-800000000 { |
|---|
| 1486 | | - opp-hz = /bits/ 64 <800000000>; |
|---|
| 1487 | | - opp-microvolt = <1075000>; |
|---|
| 1488 | | - opp-microvolt-L0 = <1075000>; |
|---|
| 1489 | | - opp-microvolt-L1 = <1050000>; |
|---|
| 1490 | | - }; |
|---|
| 1491 | | - opp-850000000 { |
|---|
| 1492 | | - opp-hz = /bits/ 64 <850000000>; |
|---|
| 1493 | | - opp-microvolt = <1075000>; |
|---|
| 1494 | | - opp-microvolt-L0 = <1075000>; |
|---|
| 1495 | | - opp-microvolt-L1 = <1050000>; |
|---|
| 1496 | | - }; |
|---|
| 1497 | | - opp-933000000 { |
|---|
| 1498 | | - opp-hz = /bits/ 64 <933000000>; |
|---|
| 1499 | | - opp-microvolt = <1125000>; |
|---|
| 1500 | | - opp-microvolt-L0 = <1125000>; |
|---|
| 1501 | | - opp-microvolt-L1 = <1100000>; |
|---|
| 1502 | | - }; |
|---|
| 1503 | | - /* 1066M is only for ddr4 */ |
|---|
| 1504 | | - opp-1066000000 { |
|---|
| 1505 | | - opp-hz = /bits/ 64 <1066000000>; |
|---|
| 1506 | | - opp-microvolt = <1175000>; |
|---|
| 1507 | | - opp-microvolt-L0 = <1175000>; |
|---|
| 1508 | | - opp-microvolt-L1 = <1150000>; |
|---|
| 1509 | | - status = "disabled"; |
|---|
| 1510 | | - }; |
|---|
| 1511 | 1581 | }; |
|---|
| 1512 | 1582 | |
|---|
| 1513 | 1583 | gic: interrupt-controller@ff811000 { |
|---|
| .. | .. |
|---|
| 1530 | 1600 | #size-cells = <2>; |
|---|
| 1531 | 1601 | ranges; |
|---|
| 1532 | 1602 | |
|---|
| 1533 | | - gpio0: gpio0@ff210000 { |
|---|
| 1603 | + gpio0: gpio@ff210000 { |
|---|
| 1534 | 1604 | compatible = "rockchip,gpio-bank"; |
|---|
| 1535 | 1605 | reg = <0x0 0xff210000 0x0 0x100>; |
|---|
| 1536 | 1606 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 1543 | 1613 | #interrupt-cells = <2>; |
|---|
| 1544 | 1614 | }; |
|---|
| 1545 | 1615 | |
|---|
| 1546 | | - gpio1: gpio1@ff220000 { |
|---|
| 1616 | + gpio1: gpio@ff220000 { |
|---|
| 1547 | 1617 | compatible = "rockchip,gpio-bank"; |
|---|
| 1548 | 1618 | reg = <0x0 0xff220000 0x0 0x100>; |
|---|
| 1549 | 1619 | interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 1556 | 1626 | #interrupt-cells = <2>; |
|---|
| 1557 | 1627 | }; |
|---|
| 1558 | 1628 | |
|---|
| 1559 | | - gpio2: gpio2@ff230000 { |
|---|
| 1629 | + gpio2: gpio@ff230000 { |
|---|
| 1560 | 1630 | compatible = "rockchip,gpio-bank"; |
|---|
| 1561 | 1631 | reg = <0x0 0xff230000 0x0 0x100>; |
|---|
| 1562 | 1632 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 1569 | 1639 | #interrupt-cells = <2>; |
|---|
| 1570 | 1640 | }; |
|---|
| 1571 | 1641 | |
|---|
| 1572 | | - gpio3: gpio3@ff240000 { |
|---|
| 1642 | + gpio3: gpio@ff240000 { |
|---|
| 1573 | 1643 | compatible = "rockchip,gpio-bank"; |
|---|
| 1574 | 1644 | reg = <0x0 0xff240000 0x0 0x100>; |
|---|
| 1575 | 1645 | interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 1682 | 1752 | rockchip,pins = <0 RK_PA5 2 &pcfg_pull_none>, |
|---|
| 1683 | 1753 | <0 RK_PA6 2 &pcfg_pull_none>; |
|---|
| 1684 | 1754 | }; |
|---|
| 1685 | | - i2c3_gpio: i2c3-gpio { |
|---|
| 1755 | + i2c3_pins: i2c3-pins { |
|---|
| 1686 | 1756 | rockchip,pins = |
|---|
| 1687 | 1757 | <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 1688 | 1758 | <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| .. | .. |
|---|
| 1792 | 1862 | }; |
|---|
| 1793 | 1863 | |
|---|
| 1794 | 1864 | tsadc { |
|---|
| 1795 | | - otp_gpio: otp-gpio { |
|---|
| 1865 | + otp_pin: otp-pin { |
|---|
| 1796 | 1866 | rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 1797 | 1867 | }; |
|---|
| 1798 | 1868 | |
|---|
| .. | .. |
|---|
| 1815 | 1885 | rockchip,pins = <1 RK_PB2 1 &pcfg_pull_none>; |
|---|
| 1816 | 1886 | }; |
|---|
| 1817 | 1887 | |
|---|
| 1818 | | - uart0_rts_gpio: uart0-rts-gpio { |
|---|
| 1888 | + uart0_rts_pin: uart0-rts-pin { |
|---|
| 1819 | 1889 | rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 1820 | 1890 | }; |
|---|
| 1821 | 1891 | }; |
|---|
| .. | .. |
|---|
| 1834 | 1904 | rockchip,pins = <3 RK_PA5 4 &pcfg_pull_none>; |
|---|
| 1835 | 1905 | }; |
|---|
| 1836 | 1906 | |
|---|
| 1837 | | - uart1_rts_gpio: uart1-rts-gpio { |
|---|
| 1907 | + uart1_rts_pin: uart1-rts-pin { |
|---|
| 1838 | 1908 | rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 1839 | 1909 | }; |
|---|
| 1840 | 1910 | }; |
|---|
| .. | .. |
|---|
| 2060 | 2130 | rockchip,pins = <2 RK_PA7 1 &pcfg_pull_up_4ma>; |
|---|
| 2061 | 2131 | }; |
|---|
| 2062 | 2132 | |
|---|
| 2063 | | - sdmmc0m0_gpio: sdmmc0m0-gpio { |
|---|
| 2133 | + sdmmc0m0_pin: sdmmc0m0-pin { |
|---|
| 2064 | 2134 | rockchip,pins = <2 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>; |
|---|
| 2065 | 2135 | }; |
|---|
| 2066 | 2136 | }; |
|---|
| .. | .. |
|---|
| 2070 | 2140 | rockchip,pins = <0 RK_PD6 3 &pcfg_pull_up_4ma>; |
|---|
| 2071 | 2141 | }; |
|---|
| 2072 | 2142 | |
|---|
| 2073 | | - sdmmc0m1_gpio: sdmmc0m1-gpio { |
|---|
| 2143 | + sdmmc0m1_pin: sdmmc0m1-pin { |
|---|
| 2074 | 2144 | rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up_4ma>; |
|---|
| 2075 | 2145 | }; |
|---|
| 2076 | 2146 | }; |
|---|
| .. | .. |
|---|
| 2103 | 2173 | <1 RK_PA3 1 &pcfg_pull_up_8ma>; |
|---|
| 2104 | 2174 | }; |
|---|
| 2105 | 2175 | |
|---|
| 2106 | | - sdmmc0_gpio: sdmmc0-gpio { |
|---|
| 2176 | + sdmmc0_pins: sdmmc0-pins { |
|---|
| 2107 | 2177 | rockchip,pins = |
|---|
| 2108 | 2178 | <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up_4ma>, |
|---|
| 2109 | 2179 | <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up_4ma>, |
|---|
| .. | .. |
|---|
| 2145 | 2215 | <3 RK_PA7 3 &pcfg_pull_up_4ma>; |
|---|
| 2146 | 2216 | }; |
|---|
| 2147 | 2217 | |
|---|
| 2148 | | - sdmmc0ext_gpio: sdmmc0ext-gpio { |
|---|
| 2218 | + sdmmc0ext_pins: sdmmc0ext-pins { |
|---|
| 2149 | 2219 | rockchip,pins = |
|---|
| 2150 | 2220 | <3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up_4ma>, |
|---|
| 2151 | 2221 | <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up_4ma>, |
|---|
| .. | .. |
|---|
| 2190 | 2260 | <1 RK_PC1 1 &pcfg_pull_up_8ma>; |
|---|
| 2191 | 2261 | }; |
|---|
| 2192 | 2262 | |
|---|
| 2193 | | - sdmmc1_gpio: sdmmc1-gpio { |
|---|
| 2263 | + sdmmc1_pins: sdmmc1-pins { |
|---|
| 2194 | 2264 | rockchip,pins = |
|---|
| 2195 | 2265 | <1 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up_4ma>, |
|---|
| 2196 | 2266 | <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up_4ma>, |
|---|
| .. | .. |
|---|
| 2250 | 2320 | pwm0_pin: pwm0-pin { |
|---|
| 2251 | 2321 | rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>; |
|---|
| 2252 | 2322 | }; |
|---|
| 2253 | | - |
|---|
| 2254 | 2323 | pwm0_pin_pull_up: pwm0-pin-pull-up { |
|---|
| 2255 | | - rockchip,pins = |
|---|
| 2256 | | - <2 RK_PA4 1 &pcfg_pull_up>; |
|---|
| 2324 | + rockchip,pins = <2 RK_PA4 1 &pcfg_pull_up>; |
|---|
| 2257 | 2325 | }; |
|---|
| 2258 | 2326 | }; |
|---|
| 2259 | 2327 | |
|---|
| .. | .. |
|---|
| 2261 | 2329 | pwm1_pin: pwm1-pin { |
|---|
| 2262 | 2330 | rockchip,pins = <2 RK_PA5 1 &pcfg_pull_none>; |
|---|
| 2263 | 2331 | }; |
|---|
| 2264 | | - |
|---|
| 2265 | 2332 | pwm1_pin_pull_up: pwm1-pin-pull-up { |
|---|
| 2266 | | - rockchip,pins = |
|---|
| 2267 | | - <2 RK_PA5 1 &pcfg_pull_up>; |
|---|
| 2333 | + rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up>; |
|---|
| 2268 | 2334 | }; |
|---|
| 2269 | 2335 | }; |
|---|
| 2270 | 2336 | |
|---|
| .. | .. |
|---|
| 2369 | 2435 | }; |
|---|
| 2370 | 2436 | |
|---|
| 2371 | 2437 | gmac2phy { |
|---|
| 2372 | | - fephyled_speed100: fephyled-speed100 { |
|---|
| 2373 | | - rockchip,pins = <0 RK_PD7 1 &pcfg_pull_none>; |
|---|
| 2374 | | - }; |
|---|
| 2375 | | - |
|---|
| 2376 | 2438 | fephyled_speed10: fephyled-speed10 { |
|---|
| 2377 | 2439 | rockchip,pins = <0 RK_PD6 1 &pcfg_pull_none>; |
|---|
| 2440 | + }; |
|---|
| 2441 | + |
|---|
| 2442 | + fephyled_speed100: fephyled-speed100 { |
|---|
| 2443 | + rockchip,pins = <0 RK_PD7 1 &pcfg_pull_none>; |
|---|
| 2378 | 2444 | }; |
|---|
| 2379 | 2445 | |
|---|
| 2380 | 2446 | fephyled_duplex: fephyled-duplex { |
|---|
| .. | .. |
|---|
| 2410 | 2476 | tsadc_int: tsadc-int { |
|---|
| 2411 | 2477 | rockchip,pins = <2 RK_PB5 2 &pcfg_pull_none>; |
|---|
| 2412 | 2478 | }; |
|---|
| 2413 | | - tsadc_gpio: tsadc-gpio { |
|---|
| 2479 | + tsadc_pin: tsadc-pin { |
|---|
| 2414 | 2480 | rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 2415 | 2481 | }; |
|---|
| 2416 | 2482 | }; |
|---|