Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'v6.13-rockchip-dts64-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into soc/dt

More new boards: Rock-5C, Banana Pi P2 Pro

HDMI output enabled on a huge number of rk3588 boards, now that we
have the ability to do that.

A new RK356x variant - the RK3566T (with lower max-frequencies). The
variant was already in use on some boards which then encoded those OPP
differences in the board files itself. This moves this to saner place.

Fixed-regulator nowadays has a preferred node-naming scheme set in the
binding and we had accumulated a number of different styles over time.
A change brings all of them in line for arm64 dts files.

* tag 'v6.13-rockchip-dts64-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (24 commits)
arm64: dts: rockchip: use less broad pinctrl for pcie3x1 on Radxa E25
arm64: dts: rockchip: add Radxa ROCK 5C
dt-bindings: arm: rockchip: add Radxa ROCK 5C
arm64: dts: rockchip: orangepi-5-plus: Enable GPU
arm64: dts: rockchip: enable USB3 on NanoPC-T6
arm64: dts: rockchip: adapt regulator nodenames to preferred form
arm64: dts: rockchip: Enable HDMI display for rk3588 Cool Pi GenBook
arm64: dts: rockchip: Enable HDMI display for rk3588 Cool Pi 4B
arm64: dts: rockchip: Enable HDMI0 for rk3588 Cool Pi CM5 EVB
arm64: dts: rockchip: Enable HDMI on NanoPi R6C/R6S
arm64: dts: rockchip: Enable GPU on NanoPi R6C/R6S
arm64: dts: rockchip: Enable HDMI on Hardkernel ODROID-M2
arm64: dts: rockchip: Remove non-removable flag from sdmmc on rk3576-sige5
arm64: dts: rockchip: Enable HDMI0 on FriendlyElec CM3588 NAS
arm64: dts: rockchip: add Banana Pi P2 Pro board
dt-bindings: arm: rockchip: add Banana Pi P2 Pro board
arm64: dts: rockchip: Add new SoC dtsi for the RK3566T variant
arm64: dts: rockchip: Prepare RK356x SoC dtsi files for per-variant OPPs
arm64: dts: rockchip: Update CPU OPP voltages in RK356x SoC dtsi
arm64: dts: rockchip: Add OPP voltage ranges to RK3399 OP1 SoC dtsi
...

Link: https://lore.kernel.org/r/3313711.oiGErgHkdL@diego
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+2675 -776
+10
Documentation/devicetree/bindings/arm/rockchip.yaml
··· 895 895 - const: radxa,rock-5b 896 896 - const: rockchip,rk3588 897 897 898 + - description: Radxa ROCK 5C 899 + items: 900 + - const: radxa,rock-5c 901 + - const: rockchip,rk3588s 902 + 898 903 - description: Radxa ROCK S0 899 904 items: 900 905 - const: radxa,rock-s0 ··· 1108 1103 items: 1109 1104 - const: rockchip,rk3568-evb1-v10 1110 1105 - const: rockchip,rk3568 1106 + 1107 + - description: Sinovoip RK3308 Banana Pi P2 Pro 1108 + items: 1109 + - const: sinovoip,rk3308-bpi-p2pro 1110 + - const: rockchip,rk3308 1111 1111 1112 1112 - description: Sinovoip RK3568 Banana Pi R2 Pro 1113 1113 items:
+3 -1
arch/arm64/boot/dts/rockchip/Makefile
··· 5 5 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-edimm2.2.dtb 6 6 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-firefly-jd4-core-mb.dtb 7 7 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-ringneck-haikou.dtb 8 + dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-bpi-p2-pro.dtb 8 9 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-evb.dtb 9 10 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-roc-cc.dtb 10 11 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-rock-pi-s.dtb ··· 158 157 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-khadas-edge2.dtb 159 158 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6s.dtb 160 159 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6c.dtb 161 - dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb 162 160 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-odroid-m2.dtb 163 161 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5.dtb 164 162 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5b.dtb 163 + dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb 164 + dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5c.dtb
+2 -2
arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi
··· 12 12 mmc2 = &sdio; 13 13 }; 14 14 15 - vcc5v0_sys: vcc5v0-sys { 15 + vcc5v0_sys: regulator-vcc5v0-sys { 16 16 compatible = "regulator-fixed"; 17 17 regulator-name = "vcc5v0_sys"; /* +5V */ 18 18 regulator-always-on; ··· 42 42 states = <3300000 0x0>; 43 43 }; 44 44 45 - vcc3v3_rf_aux_mod: vcc3v3-rf-aux-mod { 45 + vcc3v3_rf_aux_mod: regulator-vcc3v3-rf-aux-mod { 46 46 compatible = "regulator-fixed"; 47 47 regulator-name = "vcc3v3_rf_aux_mod"; 48 48 regulator-min-microvolt = <3300000>;
+1 -1
arch/arm64/boot/dts/rockchip/px30-evb.dts
··· 89 89 reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO3_A4 */ 90 90 }; 91 91 92 - vcc5v0_sys: vccsys { 92 + vcc5v0_sys: regulator-vccsys { 93 93 compatible = "regulator-fixed"; 94 94 regulator-name = "vcc5v0_sys"; 95 95 regulator-always-on;
+2 -2
arch/arm64/boot/dts/rockchip/px30-firefly-jd4-core-mb.dts
··· 24 24 stdout-path = "serial2:115200n8"; 25 25 }; 26 26 27 - dc_12v: dc-12v-regulator { 27 + dc_12v: regulator-dc-12v { 28 28 compatible = "regulator-fixed"; 29 29 regulator-name = "dc_12v"; 30 30 regulator-always-on; ··· 85 85 reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO3_A4 */ 86 86 }; 87 87 88 - vcc5v0_baseboard: vcc5v0-baseboard-regulator { 88 + vcc5v0_baseboard: regulator-vcc5v0-baseboard { 89 89 compatible = "regulator-fixed"; 90 90 regulator-name = "vcc5v0_baseboard"; 91 91 regulator-always-on;
+1 -1
arch/arm64/boot/dts/rockchip/px30-firefly-jd4-core.dtsi
··· 17 17 reset-gpios = <&gpio1 RK_PB3 GPIO_ACTIVE_HIGH>; 18 18 }; 19 19 20 - vcc5v0_sys: vcc5v0-sys-regulator { 20 + vcc5v0_sys: regulator-vcc5v0-sys { 21 21 compatible = "regulator-fixed"; 22 22 regulator-name = "vcc5v0_sys"; 23 23 regulator-always-on;
+5 -5
arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts
··· 90 90 clock-frequency = <24576000>; 91 91 }; 92 92 93 - dc_12v: dc-12v-regulator { 93 + dc_12v: regulator-dc-12v { 94 94 compatible = "regulator-fixed"; 95 95 regulator-name = "dc_12v"; 96 96 regulator-always-on; ··· 99 99 regulator-max-microvolt = <12000000>; 100 100 }; 101 101 102 - vcc3v3_baseboard: vcc3v3-baseboard-regulator { 102 + vcc3v3_baseboard: regulator-vcc3v3-baseboard { 103 103 compatible = "regulator-fixed"; 104 104 regulator-name = "vcc3v3_baseboard"; 105 105 regulator-always-on; ··· 109 109 vin-supply = <&dc_12v>; 110 110 }; 111 111 112 - vcc5v0_baseboard: vcc5v0-baseboard-regulator { 112 + vcc5v0_baseboard: regulator-vcc5v0-baseboard { 113 113 compatible = "regulator-fixed"; 114 114 regulator-name = "vcc5v0_baseboard"; 115 115 regulator-always-on; ··· 119 119 vin-supply = <&dc_12v>; 120 120 }; 121 121 122 - vdda_codec: vdda-codec-regulator { 122 + vdda_codec: regulator-vdda-codec { 123 123 compatible = "regulator-fixed"; 124 124 regulator-name = "vdda_codec"; 125 125 regulator-boot-on; ··· 128 128 vin-supply = <&vcc5v0_baseboard>; 129 129 }; 130 130 131 - vddd_codec: vddd-codec-regulator { 131 + vddd_codec: regulator-vddd-codec { 132 132 compatible = "regulator-fixed"; 133 133 regulator-name = "vddd_codec"; 134 134 regulator-boot-on;
+1 -1
arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi
··· 43 43 }; 44 44 }; 45 45 46 - vcc5v0_sys: vccsys-regulator { 46 + vcc5v0_sys: regulator-vccsys { 47 47 compatible = "regulator-fixed"; 48 48 regulator-name = "vcc5v0_sys"; 49 49 regulator-always-on;
+362
arch/arm64/boot/dts/rockchip/rk3308-bpi-p2-pro.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + 3 + /dts-v1/; 4 + 5 + #include <dt-bindings/input/input.h> 6 + #include <dt-bindings/leds/common.h> 7 + #include "rk3308.dtsi" 8 + 9 + / { 10 + model = "Banana Pi P2 Pro (RK3308) Board"; 11 + compatible = "sinovoip,rk3308-bpi-p2pro", "rockchip,rk3308"; 12 + 13 + aliases { 14 + ethernet0 = &gmac; 15 + mmc0 = &emmc; 16 + mmc1 = &sdmmc; 17 + mmc2 = &sdio; 18 + }; 19 + 20 + chosen { 21 + stdout-path = "serial2:1500000n8"; 22 + }; 23 + 24 + adc-keys { 25 + compatible = "adc-keys"; 26 + io-channels = <&saradc 1>; 27 + io-channel-names = "buttons"; 28 + keyup-threshold-microvolt = <1800000>; 29 + poll-interval = <100>; 30 + 31 + button-recovery { 32 + label = "Recovery"; 33 + linux,code = <KEY_VENDOR>; 34 + press-threshold-microvolt = <10000>; 35 + }; 36 + }; 37 + 38 + analog-sound { 39 + compatible = "audio-graph-card"; 40 + label = "rockchip,rk3308"; 41 + 42 + dais = <&i2s_8ch_2_p0>; 43 + pinctrl-names = "default"; 44 + pinctrl-0 = <&phone_ctl>; 45 + }; 46 + 47 + leds { 48 + compatible = "gpio-leds"; 49 + pinctrl-names = "default"; 50 + pinctrl-0 = <&led_en0>, <&led_en1>; 51 + 52 + blue-led { 53 + color = <LED_COLOR_ID_BLUE>; 54 + default-state = "on"; 55 + function = LED_FUNCTION_POWER; 56 + gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; 57 + label = "blue:power"; 58 + linux,default-trigger = "default-on"; 59 + }; 60 + 61 + green-led { 62 + color = <LED_COLOR_ID_GREEN>; 63 + default-state = "on"; 64 + function = LED_FUNCTION_HEARTBEAT; 65 + gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; 66 + label = "green:heartbeat"; 67 + linux,default-trigger = "heartbeat"; 68 + }; 69 + }; 70 + 71 + vdd_log: regulator-1v04-vdd-log { 72 + compatible = "regulator-fixed"; 73 + regulator-name = "vdd_log"; 74 + regulator-always-on; 75 + regulator-boot-on; 76 + regulator-min-microvolt = <1040000>; 77 + regulator-max-microvolt = <1040000>; 78 + vin-supply = <&vcc_in>; 79 + }; 80 + 81 + vcc_ddr: regulator-1v5-vcc-ddr { 82 + compatible = "regulator-fixed"; 83 + regulator-name = "vcc_ddr"; 84 + regulator-always-on; 85 + regulator-boot-on; 86 + regulator-min-microvolt = <1500000>; 87 + regulator-max-microvolt = <1500000>; 88 + vin-supply = <&vcc_in>; 89 + }; 90 + 91 + vcc_1v8: regulator-1v8-vcc { 92 + compatible = "regulator-fixed"; 93 + regulator-name = "vcc_1v8"; 94 + regulator-always-on; 95 + regulator-boot-on; 96 + regulator-min-microvolt = <1800000>; 97 + regulator-max-microvolt = <1800000>; 98 + vin-supply = <&vcc_io>; 99 + }; 100 + 101 + vcc_io: regulator-3v3-vcc-io { 102 + compatible = "regulator-fixed"; 103 + regulator-name = "vcc_io"; 104 + regulator-always-on; 105 + regulator-boot-on; 106 + regulator-min-microvolt = <3300000>; 107 + regulator-max-microvolt = <3300000>; 108 + vin-supply = <&vcc_in>; 109 + }; 110 + 111 + vcc_in: regulator-5v0-vcc-in { 112 + compatible = "regulator-fixed"; 113 + regulator-name = "vcc_in"; 114 + regulator-always-on; 115 + regulator-boot-on; 116 + regulator-min-microvolt = <5000000>; 117 + regulator-max-microvolt = <5000000>; 118 + }; 119 + 120 + vdd_core: regulator-vdd-core { 121 + compatible = "pwm-regulator"; 122 + pwms = <&pwm0 0 5000 1>; 123 + pwm-supply = <&vcc_in>; 124 + regulator-name = "vdd_core"; 125 + regulator-always-on; 126 + regulator-boot-on; 127 + regulator-min-microvolt = <827000>; 128 + regulator-max-microvolt = <1340000>; 129 + regulator-settling-time-up-us = <250>; 130 + }; 131 + 132 + sdio_pwrseq: sdio-pwrseq { 133 + compatible = "mmc-pwrseq-simple"; 134 + pinctrl-0 = <&wifi_reg_on>; 135 + pinctrl-names = "default"; 136 + reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; 137 + }; 138 + }; 139 + 140 + &codec { 141 + status = "okay"; 142 + 143 + port { 144 + codec_p0_0: endpoint { 145 + remote-endpoint = <&i2s_8ch_2_p0_0>; 146 + }; 147 + }; 148 + }; 149 + 150 + &cpu0 { 151 + cpu-supply = <&vdd_core>; 152 + }; 153 + 154 + &emmc { 155 + cap-mmc-highspeed; 156 + mmc-hs200-1_8v; 157 + no-sd; 158 + no-sdio; 159 + non-removable; 160 + pinctrl-names = "default"; 161 + pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_pwren>; 162 + status = "okay"; 163 + }; 164 + 165 + &gmac { 166 + assigned-clocks = <&cru SCLK_MAC>; 167 + assigned-clock-parents = <&mac_clkin>; 168 + clock_in_out = "input"; 169 + phy-handle = <&rtl8201f>; 170 + phy-supply = <&vcc_io>; 171 + status = "okay"; 172 + 173 + mdio { 174 + #address-cells = <1>; 175 + #size-cells = <0>; 176 + compatible = "snps,dwmac-mdio"; 177 + 178 + rtl8201f: ethernet-phy@1 { 179 + compatible = "ethernet-phy-ieee802.3-c22"; 180 + reg = <1>; 181 + pinctrl-names = "default"; 182 + pinctrl-0 = <&mac_rst>; 183 + reset-assert-us = <50000>; 184 + reset-deassert-us = <50000>; 185 + reset-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; 186 + }; 187 + }; 188 + }; 189 + 190 + &i2s_8ch_2 { 191 + #sound-dai-cells = <0>; 192 + status = "okay"; 193 + 194 + i2s_8ch_2_p0: port { 195 + i2s_8ch_2_p0_0: endpoint { 196 + dai-format = "i2s"; 197 + mclk-fs = <256>; 198 + remote-endpoint = <&codec_p0_0>; 199 + }; 200 + }; 201 + }; 202 + 203 + &io_domains { 204 + vccio0-supply = <&vcc_io>; 205 + vccio1-supply = <&vcc_io>; 206 + vccio2-supply = <&vcc_io>; 207 + vccio3-supply = <&vcc_io>; 208 + vccio4-supply = <&vcc_1v8>; 209 + vccio5-supply = <&vcc_io>; 210 + status = "okay"; 211 + }; 212 + 213 + &pinctrl { 214 + pinctrl-names = "default"; 215 + pinctrl-0 = <&rtc_32k>; 216 + 217 + bt { 218 + bt_reg_on: bt-reg-on { 219 + rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 220 + }; 221 + 222 + bt_wake_host: bt-wake-host { 223 + rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 224 + }; 225 + 226 + host_wake_bt: host-wake-bt { 227 + rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 228 + }; 229 + }; 230 + 231 + gmac { 232 + mac_rst: mac-rst { 233 + rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>; 234 + }; 235 + }; 236 + 237 + leds { 238 + led_en0: led-en0 { 239 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 240 + }; 241 + 242 + led_en1: led-en1 { 243 + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 244 + }; 245 + }; 246 + 247 + sound { 248 + phone_ctl: phone-ctl { 249 + rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; 250 + }; 251 + }; 252 + 253 + wifi { 254 + wifi_reg_on: wifi-reg-on { 255 + rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 256 + }; 257 + 258 + wifi_wake_host: wifi-wake-host { 259 + rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>; 260 + }; 261 + }; 262 + }; 263 + 264 + &pwm0 { 265 + pinctrl-names = "default"; 266 + pinctrl-0 = <&pwm0_pin_pull_down>; 267 + status = "okay"; 268 + }; 269 + 270 + &saradc { 271 + vref-supply = <&vcc_1v8>; 272 + status = "okay"; 273 + }; 274 + 275 + /* WIFI part of the AP6256 connected with SDIO */ 276 + &sdio { 277 + #address-cells = <1>; 278 + #size-cells = <0>; 279 + cap-sd-highspeed; 280 + cap-sdio-irq; 281 + disable-wp; 282 + keep-power-in-suspend; 283 + mmc-pwrseq = <&sdio_pwrseq>; 284 + no-mmc; 285 + no-sd; 286 + non-removable; 287 + sd-uhs-sdr104; 288 + status = "okay"; 289 + 290 + ap6256: wifi@1 { 291 + compatible = "brcm,bcm43456-fmac", "brcm,bcm4329-fmac"; 292 + reg = <1>; 293 + interrupt-parent = <&gpio0>; 294 + interrupts = <RK_PA0 IRQ_TYPE_LEVEL_HIGH>; 295 + interrupt-names = "host-wake"; 296 + pinctrl-names = "default"; 297 + pinctrl-0 = <&wifi_wake_host>; 298 + }; 299 + }; 300 + 301 + &sdmmc { 302 + cap-mmc-highspeed; 303 + cap-sd-highspeed; 304 + disable-wp; 305 + vmmc-supply = <&vcc_io>; 306 + status = "okay"; 307 + }; 308 + 309 + &u2phy { 310 + status = "okay"; 311 + }; 312 + 313 + &u2phy_host { 314 + status = "okay"; 315 + }; 316 + 317 + &u2phy_otg { 318 + status = "okay"; 319 + }; 320 + 321 + &uart2 { 322 + status = "okay"; 323 + }; 324 + 325 + /* BT part of the AP6256 connected with UART */ 326 + &uart4 { 327 + uart-has-rtscts; 328 + status = "okay"; 329 + 330 + bluetooth { 331 + compatible = "brcm,bcm4345c5"; 332 + clocks = <&cru SCLK_RTC32K>; 333 + clock-names = "lpo"; 334 + interrupt-parent = <&gpio4>; 335 + interrupts = <RK_PB4 IRQ_TYPE_LEVEL_HIGH>; 336 + interrupt-names = "host-wakeup"; 337 + device-wakeup-gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; 338 + shutdown-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>; 339 + max-speed = <1500000>; 340 + pinctrl-names = "default"; 341 + pinctrl-0 = <&bt_reg_on &bt_wake_host &host_wake_bt>; 342 + vbat-supply = <&vcc_io>; 343 + vddio-supply = <&vcc_1v8>; 344 + }; 345 + }; 346 + 347 + &usb20_otg { 348 + dr_mode = "peripheral"; 349 + status = "okay"; 350 + }; 351 + 352 + &usb_host_ehci { 353 + status = "okay"; 354 + }; 355 + 356 + &usb_host_ohci { 357 + status = "okay"; 358 + }; 359 + 360 + &wdt { 361 + status = "okay"; 362 + };
+10 -10
arch/arm64/boot/dts/rockchip/rk3308-evb.dts
··· 84 84 }; 85 85 }; 86 86 87 - vcc12v_dcin: vcc12v-dcin { 87 + vcc12v_dcin: regulator-vcc12v-dcin { 88 88 compatible = "regulator-fixed"; 89 89 regulator-name = "vcc12v_dcin"; 90 90 regulator-min-microvolt = <12000000>; ··· 93 93 regulator-boot-on; 94 94 }; 95 95 96 - vcc5v0_sys: vcc5v0-sys { 96 + vcc5v0_sys: regulator-vcc5v0-sys { 97 97 compatible = "regulator-fixed"; 98 98 regulator-name = "vcc5v0_sys"; 99 99 regulator-min-microvolt = <5000000>; ··· 103 103 vin-supply = <&vcc12v_dcin>; 104 104 }; 105 105 106 - vccio_sdio: vcc_1v8: vcc-1v8 { 106 + vccio_sdio: vcc_1v8: regulator-vcc-1v8 { 107 107 compatible = "regulator-fixed"; 108 108 regulator-name = "vcc_1v8"; 109 109 regulator-min-microvolt = <1800000>; ··· 113 113 vin-supply = <&vcc_io>; 114 114 }; 115 115 116 - vcc_ddr: vcc-ddr { 116 + vcc_ddr: regulator-vcc-ddr { 117 117 compatible = "regulator-fixed"; 118 118 regulator-name = "vcc_ddr"; 119 119 regulator-min-microvolt = <1500000>; ··· 123 123 vin-supply = <&vcc5v0_sys>; 124 124 }; 125 125 126 - vcc_io: vcc-io { 126 + vcc_io: regulator-vcc-io { 127 127 compatible = "regulator-fixed"; 128 128 regulator-name = "vcc_io"; 129 129 regulator-min-microvolt = <3300000>; ··· 133 133 vin-supply = <&vcc5v0_sys>; 134 134 }; 135 135 136 - vccio_flash: vccio-flash { 136 + vccio_flash: regulator-vccio-flash { 137 137 compatible = "regulator-fixed"; 138 138 regulator-name = "vccio_flash"; 139 139 regulator-min-microvolt = <3300000>; ··· 143 143 vin-supply = <&vcc_io>; 144 144 }; 145 145 146 - vcc5v0_host: vcc5v0-host { 146 + vcc5v0_host: regulator-vcc5v0-host { 147 147 compatible = "regulator-fixed"; 148 148 gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; 149 149 enable-active-high; ··· 153 153 vin-supply = <&vcc5v0_sys>; 154 154 }; 155 155 156 - vdd_core: vdd-core { 156 + vdd_core: regulator-vdd-core { 157 157 compatible = "pwm-regulator"; 158 158 pwms = <&pwm0 0 5000 1>; 159 159 regulator-name = "vdd_core"; ··· 165 165 pwm-supply = <&vcc5v0_sys>; 166 166 }; 167 167 168 - vdd_log: vdd-log { 168 + vdd_log: regulator-vdd-log { 169 169 compatible = "regulator-fixed"; 170 170 regulator-name = "vdd_log"; 171 171 regulator-min-microvolt = <1050000>; ··· 175 175 vin-supply = <&vcc5v0_sys>; 176 176 }; 177 177 178 - vdd_1v0: vdd-1v0 { 178 + vdd_1v0: regulator-vdd-1v0 { 179 179 compatible = "regulator-fixed"; 180 180 regulator-name = "vdd_1v0"; 181 181 regulator-min-microvolt = <1000000>;
+6 -6
arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts
··· 49 49 }; 50 50 }; 51 51 52 - typec_vcc5v: typec-vcc5v { 52 + typec_vcc5v: regulator-typec-vcc5v { 53 53 compatible = "regulator-fixed"; 54 54 regulator-name = "typec_vcc5v"; 55 55 regulator-min-microvolt = <5000000>; ··· 58 58 regulator-boot-on; 59 59 }; 60 60 61 - vcc5v0_sys: vcc5v0-sys { 61 + vcc5v0_sys: regulator-vcc5v0-sys { 62 62 compatible = "regulator-fixed"; 63 63 regulator-name = "vcc5v0_sys"; 64 64 regulator-min-microvolt = <5000000>; ··· 68 68 vin-supply = <&typec_vcc5v>; 69 69 }; 70 70 71 - vcc_io: vcc-io { 71 + vcc_io: regulator-vcc-io { 72 72 compatible = "regulator-fixed"; 73 73 regulator-name = "vcc_io"; 74 74 regulator-min-microvolt = <3300000>; ··· 89 89 vin-supply = <&vcc5v0_sys>; 90 90 }; 91 91 92 - vcc_sd: vcc-sd { 92 + vcc_sd: regulator-vcc-sd { 93 93 compatible = "regulator-fixed"; 94 94 gpio = <&gpio4 RK_PD6 GPIO_ACTIVE_LOW>; 95 95 regulator-name = "vcc_sd"; ··· 100 100 vin-supply = <&vcc_io>; 101 101 }; 102 102 103 - vdd_core: vdd-core { 103 + vdd_core: regulator-vdd-core { 104 104 compatible = "pwm-regulator"; 105 105 pwms = <&pwm0 0 5000 1>; 106 106 regulator-name = "vdd_core"; ··· 112 112 pwm-supply = <&vcc5v0_sys>; 113 113 }; 114 114 115 - vdd_log: vdd-log { 115 + vdd_log: regulator-vdd-log { 116 116 compatible = "regulator-fixed"; 117 117 regulator-name = "vdd_log"; 118 118 regulator-min-microvolt = <1050000>;
+7 -7
arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
··· 55 55 reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; 56 56 }; 57 57 58 - vcc_1v8: vcc-1v8 { 58 + vcc_1v8: regulator-vcc-1v8 { 59 59 compatible = "regulator-fixed"; 60 60 regulator-name = "vcc_1v8"; 61 61 regulator-always-on; ··· 65 65 vin-supply = <&vcc_io>; 66 66 }; 67 67 68 - vcc_io: vcc-io { 68 + vcc_io: regulator-vcc-io { 69 69 compatible = "regulator-fixed"; 70 70 regulator-name = "vcc_io"; 71 71 regulator-always-on; ··· 75 75 vin-supply = <&vcc5v0_sys>; 76 76 }; 77 77 78 - vcc_ddr: vcc-ddr { 78 + vcc_ddr: regulator-vcc-ddr { 79 79 compatible = "regulator-fixed"; 80 80 regulator-name = "vcc_ddr"; 81 81 regulator-always-on; ··· 85 85 vin-supply = <&vcc5v0_sys>; 86 86 }; 87 87 88 - vcc5v0_otg: vcc5v0-otg { 88 + vcc5v0_otg: regulator-vcc5v0-otg { 89 89 compatible = "regulator-fixed"; 90 90 enable-active-high; 91 91 gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; ··· 96 96 vin-supply = <&vcc5v0_sys>; 97 97 }; 98 98 99 - vcc5v0_sys: vcc5v0-sys { 99 + vcc5v0_sys: regulator-vcc5v0-sys { 100 100 compatible = "regulator-fixed"; 101 101 regulator-name = "vcc5v0_sys"; 102 102 regulator-always-on; ··· 105 105 regulator-max-microvolt = <5000000>; 106 106 }; 107 107 108 - vdd_core: vdd-core { 108 + vdd_core: regulator-vdd-core { 109 109 compatible = "pwm-regulator"; 110 110 pwms = <&pwm0 0 5000 1>; 111 111 pwm-supply = <&vcc5v0_sys>; ··· 117 117 regulator-boot-on; 118 118 }; 119 119 120 - vdd_log: vdd-log { 120 + vdd_log: regulator-vdd-log { 121 121 compatible = "regulator-fixed"; 122 122 regulator-name = "vdd_log"; 123 123 regulator-always-on;
+6 -6
arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dts
··· 78 78 }; 79 79 80 80 /* Power tree */ 81 - vccio_1v8: vccio-1v8-regulator { 81 + vccio_1v8: regulator-vccio-1v8 { 82 82 compatible = "regulator-fixed"; 83 83 regulator-name = "vccio_1v8"; 84 84 regulator-min-microvolt = <1800000>; ··· 86 86 regulator-always-on; 87 87 }; 88 88 89 - vccio_3v3: vccio-3v3-regulator { 89 + vccio_3v3: regulator-vccio-3v3 { 90 90 compatible = "regulator-fixed"; 91 91 regulator-name = "vccio_3v3"; 92 92 regulator-min-microvolt = <3300000>; ··· 94 94 regulator-always-on; 95 95 }; 96 96 97 - vcc_otg_vbus: otg-vbus-regulator { 97 + vcc_otg_vbus: regulator-otg-vbus { 98 98 compatible = "regulator-fixed"; 99 99 gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>; 100 100 pinctrl-0 = <&otg_vbus_drv>; ··· 105 105 enable-active-high; 106 106 }; 107 107 108 - vcc_sd: sdmmc-regulator { 108 + vcc_sd: regulator-sdmmc { 109 109 compatible = "regulator-fixed"; 110 110 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>; 111 111 pinctrl-0 = <&sdmmc0m1_pin>; ··· 116 116 vin-supply = <&vccio_3v3>; 117 117 }; 118 118 119 - vdd_arm: vdd-arm { 119 + vdd_arm: regulator-vdd-arm { 120 120 compatible = "pwm-regulator"; 121 121 pwms = <&pwm0 0 5000 1>; 122 122 regulator-name = "vdd_arm"; ··· 127 127 regulator-boot-on; 128 128 }; 129 129 130 - vdd_log: vdd-log { 130 + vdd_log: regulator-vdd-log { 131 131 compatible = "pwm-regulator"; 132 132 pwms = <&pwm1 0 5000 1>; 133 133 regulator-name = "vdd_log";
+1 -1
arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dtsi
··· 70 70 }; 71 71 }; 72 72 73 - vccsys: vccsys { 73 + vccsys: regulator-vccsys { 74 74 compatible = "regulator-fixed"; 75 75 regulator-name = "vcc3v8_sys"; 76 76 regulator-always-on;
+1 -1
arch/arm64/boot/dts/rockchip/rk3326-gameforce-chi.dts
··· 292 292 reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; 293 293 }; 294 294 295 - vccsys: vccsys-regulator { 295 + vccsys: regulator-vccsys { 296 296 compatible = "regulator-fixed"; 297 297 regulator-name = "vcc3v8_sys"; 298 298 regulator-always-on;
+2 -2
arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi
··· 165 165 }; 166 166 }; 167 167 168 - vccsys: vccsys { 168 + vccsys: regulator-vccsys { 169 169 compatible = "regulator-fixed"; 170 170 regulator-name = "vcc3v8_sys"; 171 171 regulator-always-on; ··· 173 173 regulator-max-microvolt = <3800000>; 174 174 }; 175 175 176 - vcc_host: vcc_host { 176 + vcc_host: regulator-vcc-host { 177 177 compatible = "regulator-fixed"; 178 178 regulator-name = "vcc_host"; 179 179 regulator-min-microvolt = <5000000>;
+2 -2
arch/arm64/boot/dts/rockchip/rk3328-a1.dts
··· 36 36 #clock-cells = <0>; 37 37 }; 38 38 39 - vcc_host_5v: usb3-current-switch { 39 + vcc_host_5v: regulator-usb3-current-switch { 40 40 compatible = "regulator-fixed"; 41 41 enable-active-high; 42 42 gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; ··· 46 46 vin-supply = <&vcc_sys>; 47 47 }; 48 48 49 - vcc_sys: vcc-sys { 49 + vcc_sys: regulator-vcc-sys { 50 50 compatible = "regulator-fixed"; 51 51 regulator-name = "vcc_sys"; 52 52 regulator-min-microvolt = <5000000>;
+4 -4
arch/arm64/boot/dts/rockchip/rk3328-evb.dts
··· 21 21 stdout-path = "serial2:1500000n8"; 22 22 }; 23 23 24 - dc_12v: dc-12v { 24 + dc_12v: regulator-dc-12v { 25 25 compatible = "regulator-fixed"; 26 26 regulator-name = "dc_12v"; 27 27 regulator-always-on; ··· 44 44 reset-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>; 45 45 }; 46 46 47 - vcc_sd: sdmmc-regulator { 47 + vcc_sd: regulator-sdmmc { 48 48 compatible = "regulator-fixed"; 49 49 gpio = <&gpio0 30 GPIO_ACTIVE_LOW>; 50 50 pinctrl-names = "default"; ··· 55 55 vin-supply = <&vcc_io>; 56 56 }; 57 57 58 - vcc_sys: vcc-sys { 58 + vcc_sys: regulator-vcc-sys { 59 59 compatible = "regulator-fixed"; 60 60 regulator-name = "vcc_sys"; 61 61 regulator-always-on; ··· 65 65 vin-supply = <&dc_12v>; 66 66 }; 67 67 68 - vcc_phy: vcc-phy-regulator { 68 + vcc_phy: regulator-vcc-phy { 69 69 compatible = "regulator-fixed"; 70 70 regulator-name = "vcc_phy"; 71 71 regulator-always-on;
+4 -4
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2.dtsi
··· 62 62 }; 63 63 }; 64 64 65 - vcc_io_sdio: sdmmcio-regulator { 65 + vcc_io_sdio: regulator-sdmmcio { 66 66 compatible = "regulator-gpio"; 67 67 enable-active-high; 68 68 gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>; ··· 80 80 vin-supply = <&vcc_io_33>; 81 81 }; 82 82 83 - vcc_sd: sdmmc-regulator { 83 + vcc_sd: regulator-sdmmc { 84 84 compatible = "regulator-fixed"; 85 85 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>; 86 86 pinctrl-0 = <&sdmmc0m1_pin>; ··· 92 92 vin-supply = <&vcc_io_33>; 93 93 }; 94 94 95 - vdd_5v: vdd-5v { 95 + vdd_5v: regulator-vdd-5v { 96 96 compatible = "regulator-fixed"; 97 97 regulator-name = "vdd_5v"; 98 98 regulator-always-on; ··· 101 101 regulator-max-microvolt = <5000000>; 102 102 }; 103 103 104 - vdd_5v_lan: vdd-5v-lan { 104 + vdd_5v_lan: regulator-vdd-5v-lan { 105 105 compatible = "regulator-fixed"; 106 106 enable-active-high; 107 107 gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_HIGH>;
+3 -3
arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dtsi
··· 53 53 }; 54 54 }; 55 55 56 - vcc_sd: sdmmc-regulator { 56 + vcc_sd: regulator-sdmmc { 57 57 compatible = "regulator-fixed"; 58 58 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>; 59 59 pinctrl-0 = <&sdmmc0m1_pin>; ··· 63 63 vin-supply = <&vcc_io>; 64 64 }; 65 65 66 - vcc_sys: vcc-sys-regulator { 66 + vcc_sys: regulator-vcc-sys { 67 67 compatible = "regulator-fixed"; 68 68 regulator-name = "vcc_sys"; 69 69 regulator-always-on; ··· 72 72 regulator-max-microvolt = <5000000>; 73 73 }; 74 74 75 - vdd_5v_lan: vdd-5v-lan-regulator { 75 + vdd_5v_lan: regulator-vdd-5v-lan { 76 76 compatible = "regulator-fixed"; 77 77 enable-active-high; 78 78 gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_HIGH>;
+6 -6
arch/arm64/boot/dts/rockchip/rk3328-roc.dtsi
··· 25 25 #clock-cells = <0>; 26 26 }; 27 27 28 - dc_12v: dc-12v { 28 + dc_12v: regulator-dc-12v { 29 29 compatible = "regulator-fixed"; 30 30 regulator-name = "dc_12v"; 31 31 regulator-always-on; ··· 34 34 regulator-max-microvolt = <12000000>; 35 35 }; 36 36 37 - vcc_sd: sdmmc-regulator { 37 + vcc_sd: regulator-sdmmc { 38 38 compatible = "regulator-fixed"; 39 39 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>; 40 40 pinctrl-names = "default"; ··· 46 46 vin-supply = <&vcc_io>; 47 47 }; 48 48 49 - vcc_sdio: sdmmcio-regulator { 49 + vcc_sdio: regulator-sdmmcio { 50 50 compatible = "regulator-gpio"; 51 51 states = <1800000 0x1>, <3300000 0x0>; 52 52 regulator-name = "vcc_sdio"; ··· 57 57 vin-supply = <&vcc_sys>; 58 58 }; 59 59 60 - vcc_host1_5v: vcc_otg_5v: vcc-host1-5v-regulator { 60 + vcc_host1_5v: vcc_otg_5v: regulator-vcc-host1-5v { 61 61 compatible = "regulator-fixed"; 62 62 enable-active-high; 63 63 pinctrl-names = "default"; ··· 67 67 vin-supply = <&vcc_sys>; 68 68 }; 69 69 70 - vcc_sys: vcc-sys { 70 + vcc_sys: regulator-vcc-sys { 71 71 compatible = "regulator-fixed"; 72 72 regulator-name = "vcc_sys"; 73 73 regulator-always-on; ··· 77 77 vin-supply = <&dc_12v>; 78 78 }; 79 79 80 - vcc_phy: vcc-phy-regulator { 80 + vcc_phy: regulator-vcc-phy { 81 81 compatible = "regulator-fixed"; 82 82 regulator-name = "vcc_phy"; 83 83 regulator-always-on;
+4 -4
arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts
··· 64 64 }; 65 65 }; 66 66 67 - vcc_sd: sdmmc-regulator { 67 + vcc_sd: regulator-sdmmc { 68 68 compatible = "regulator-fixed"; 69 69 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>; 70 70 pinctrl-names = "default"; ··· 74 74 vin-supply = <&vcc_io>; 75 75 }; 76 76 77 - vcc_host_5v: vcc-host-5v-regulator { 77 + vcc_host_5v: regulator-vcc-host-5v { 78 78 compatible = "regulator-fixed"; 79 79 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>; 80 80 pinctrl-names = "default"; ··· 86 86 vin-supply = <&vcc_sys>; 87 87 }; 88 88 89 - vcc_sys: vcc-sys { 89 + vcc_sys: regulator-vcc-sys { 90 90 compatible = "regulator-fixed"; 91 91 regulator-name = "vcc_sys"; 92 92 regulator-always-on; ··· 95 95 regulator-max-microvolt = <5000000>; 96 96 }; 97 97 98 - vcc_wifi: vcc-wifi-regulator { 98 + vcc_wifi: regulator-vcc-wifi { 99 99 compatible = "regulator-fixed"; 100 100 gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>; 101 101 pinctrl-names = "default";
+3 -3
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
··· 27 27 #clock-cells = <0>; 28 28 }; 29 29 30 - vcc_sd: sdmmc-regulator { 30 + vcc_sd: regulator-sdmmc { 31 31 compatible = "regulator-fixed"; 32 32 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>; 33 33 pinctrl-names = "default"; ··· 39 39 }; 40 40 41 41 /* Common enable line for all of the rails mentioned in the labels */ 42 - vcc_host_5v: vcc_host1_5v: vcc_otg_5v: vcc-host-5v-regulator { 42 + vcc_host_5v: vcc_host1_5v: vcc_otg_5v: regulator-vcc-host-5v { 43 43 compatible = "regulator-fixed"; 44 44 gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; 45 45 pinctrl-names = "default"; ··· 50 50 vin-supply = <&vcc_sys>; 51 51 }; 52 52 53 - vcc_sys: vcc-sys { 53 + vcc_sys: regulator-vcc-sys { 54 54 compatible = "regulator-fixed"; 55 55 regulator-name = "vcc_sys"; 56 56 regulator-always-on;
+3 -3
arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi
··· 85 85 }; 86 86 87 87 /* supplies both host and otg */ 88 - vcc_host: vcc-host-regulator { 88 + vcc_host: regulator-vcc-host { 89 89 compatible = "regulator-fixed"; 90 90 enable-active-high; 91 91 gpio = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; ··· 97 97 vin-supply = <&vcc_sys>; 98 98 }; 99 99 100 - vcc_lan: vcc-lan-regulator { 100 + vcc_lan: regulator-vcc-lan { 101 101 compatible = "regulator-fixed"; 102 102 regulator-name = "vcc_lan"; 103 103 regulator-min-microvolt = <3300000>; ··· 107 107 vin-supply = <&vcc_io>; 108 108 }; 109 109 110 - vcc_sys: vcc-sys-regulator { 110 + vcc_sys: regulator-vcc-sys { 111 111 compatible = "regulator-fixed"; 112 112 regulator-name = "vcc_sys"; 113 113 regulator-min-microvolt = <5000000>;
+1 -1
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
··· 68 68 }; 69 69 }; 70 70 71 - vcc_sys: vcc-sys-regulator { 71 + vcc_sys: regulator-vcc-sys { 72 72 compatible = "regulator-fixed"; 73 73 regulator-name = "vcc_sys"; 74 74 regulator-min-microvolt = <5000000>;
+7 -7
arch/arm64/boot/dts/rockchip/rk3368-lba3368.dts
··· 64 64 pinctrl-0 = <&hp_det>; 65 65 }; 66 66 67 - dc_12v: dc-12v-regulator { 67 + dc_12v: regulator-dc-12v { 68 68 compatible = "regulator-fixed"; 69 69 regulator-name = "dc_12v"; 70 70 regulator-min-microvolt = <12000000>; ··· 80 80 #clock-cells = <0>; 81 81 }; 82 82 83 - hub_avdd: hub-avdd-regulator { 83 + hub_avdd: regulator-hub-avdd { 84 84 compatible = "regulator-fixed"; 85 85 regulator-name = "hub_avdd"; 86 86 regulator-min-microvolt = <3300000>; ··· 111 111 pinctrl-0 = <&wifi_reg_on>; 112 112 }; 113 113 114 - vcc_host: vcc-host-regulator { 114 + vcc_host: regulator-vcc-host { 115 115 compatible = "regulator-fixed"; 116 116 gpio = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>; 117 117 regulator-name = "vcc_host"; ··· 124 124 regulator-always-on; 125 125 }; 126 126 127 - vcc_lan: vcc-lan-regulator { 127 + vcc_lan: regulator-vcc-lan { 128 128 compatible = "regulator-fixed"; 129 129 regulator-name = "vcc_lan"; 130 130 regulator-min-microvolt = <3300000>; ··· 133 133 regulator-always-on; 134 134 }; 135 135 136 - vcc_otg: vcc-otg-regulator { 136 + vcc_otg: regulator-vcc-otg { 137 137 compatible = "regulator-fixed"; 138 138 gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; 139 139 regulator-name = "vcc_otg"; ··· 146 146 regulator-always-on; 147 147 }; 148 148 149 - vcc_sys: vcc-sys-regulator { 149 + vcc_sys: regulator-vcc-sys { 150 150 compatible = "regulator-fixed"; 151 151 regulator-name = "vcc_sys"; 152 152 regulator-min-microvolt = <5000000>; ··· 156 156 regulator-boot-on; 157 157 }; 158 158 159 - vdd10_usb: vdd10-usb-regulator { 159 + vdd10_usb: regulator-vdd10-usb { 160 160 compatible = "regulator-fixed"; 161 161 regulator-name = "vdd10_usb"; 162 162 regulator-min-microvolt = <1000000>;
+3 -3
arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts
··· 38 38 }; 39 39 }; 40 40 41 - dc_12v: dc-12v { 41 + dc_12v: regulator-dc-12v { 42 42 compatible = "regulator-fixed"; 43 43 regulator-name = "dc_12v"; 44 44 regulator-always-on; ··· 47 47 regulator-max-microvolt = <12000000>; 48 48 }; 49 49 50 - vcc3v3_baseboard: vcc3v3-baseboard { 50 + vcc3v3_baseboard: regulator-vcc3v3-baseboard { 51 51 compatible = "regulator-fixed"; 52 52 regulator-name = "vcc3v3_baseboard"; 53 53 regulator-always-on; ··· 57 57 vin-supply = <&dc_12v>; 58 58 }; 59 59 60 - vcc5v0_otg: vcc5v0-otg-regulator { 60 + vcc5v0_otg: regulator-vcc5v0-otg { 61 61 compatible = "regulator-fixed"; 62 62 enable-active-high; 63 63 gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
+1 -1
arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi
··· 97 97 }; 98 98 }; 99 99 100 - vcc_sys: vcc-sys-regulator { 100 + vcc_sys: regulator-vcc-sys { 101 101 compatible = "regulator-fixed"; 102 102 regulator-name = "vcc_sys"; 103 103 regulator-min-microvolt = <5000000>;
+9 -9
arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts
··· 73 73 }; 74 74 }; 75 75 76 - vcc_18: vcc18-regulator { 76 + vcc_18: regulator-vcc18 { 77 77 compatible = "regulator-fixed"; 78 78 regulator-name = "vcc_18"; 79 79 regulator-min-microvolt = <1800000>; ··· 84 84 }; 85 85 86 86 /* supplies both host and otg */ 87 - vcc_host: vcc-host-regulator { 87 + vcc_host: regulator-vcc-host { 88 88 compatible = "regulator-fixed"; 89 89 gpio = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; 90 90 pinctrl-names = "default"; ··· 95 95 vin-supply = <&vcc_sys>; 96 96 }; 97 97 98 - vcc_io: vcc-io-regulator { 98 + vcc_io: regulator-vcc-io { 99 99 compatible = "regulator-fixed"; 100 100 regulator-name = "vcc_io"; 101 101 regulator-min-microvolt = <3300000>; ··· 105 105 vin-supply = <&vcc_sys>; 106 106 }; 107 107 108 - vcc_lan: vcc-lan-regulator { 108 + vcc_lan: regulator-vcc-lan { 109 109 compatible = "regulator-fixed"; 110 110 regulator-name = "vcc_lan"; 111 111 regulator-min-microvolt = <3300000>; ··· 115 115 vin-supply = <&vcc_io>; 116 116 }; 117 117 118 - vcc_sd: vcc-sd-regulator { 118 + vcc_sd: regulator-vcc-sd { 119 119 compatible = "regulator-fixed"; 120 120 regulator-name = "vcc_sd"; 121 121 gpio = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>; ··· 124 124 vin-supply = <&vcc_io>; 125 125 }; 126 126 127 - vcc_sys: vcc-sys-regulator { 127 + vcc_sys: regulator-vcc-sys { 128 128 compatible = "regulator-fixed"; 129 129 regulator-name = "vcc_sys"; 130 130 regulator-min-microvolt = <5000000>; ··· 133 133 regulator-boot-on; 134 134 }; 135 135 136 - vccio_sd: vcc-io-sd-regulator { 136 + vccio_sd: regulator-vcc-io-sd { 137 137 compatible = "regulator-fixed"; 138 138 regulator-name = "vccio_sd"; 139 139 regulator-min-microvolt = <1800000>; ··· 143 143 vin-supply = <&vcc_io>; 144 144 }; 145 145 146 - vccio_wl: vccio-wl-regulator { 146 + vccio_wl: regulator-vccio-wl { 147 147 compatible = "regulator-fixed"; 148 148 regulator-name = "vccio_wl"; 149 149 regulator-min-microvolt = <3300000>; ··· 153 153 vin-supply = <&vcc_io>; 154 154 }; 155 155 156 - vdd_10: vdd-10-regulator { 156 + vdd_10: regulator-vdd-10 { 157 157 compatible = "regulator-fixed"; 158 158 regulator-name = "vdd_10"; 159 159 regulator-min-microvolt = <1000000>;
+1 -1
arch/arm64/boot/dts/rockchip/rk3368-px5-evb.dts
··· 38 38 }; 39 39 }; 40 40 41 - vcc_sys: vcc-sys-regulator { 41 + vcc_sys: regulator-vcc-sys { 42 42 compatible = "regulator-fixed"; 43 43 regulator-name = "vcc_sys"; 44 44 regulator-min-microvolt = <5000000>;
+7 -7
arch/arm64/boot/dts/rockchip/rk3368-r88.dts
··· 79 79 <&gpio3 RK_PA4 GPIO_ACTIVE_LOW>; 80 80 }; 81 81 82 - vcc_18: vcc18-regulator { 82 + vcc_18: regulator-vcc18 { 83 83 compatible = "regulator-fixed"; 84 84 regulator-name = "vcc_18"; 85 85 regulator-min-microvolt = <1800000>; ··· 90 90 }; 91 91 92 92 /* supplies both host and otg */ 93 - vcc_host: vcc-host-regulator { 93 + vcc_host: regulator-vcc-host { 94 94 compatible = "regulator-fixed"; 95 95 enable-active-high; 96 96 gpio = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; ··· 102 102 vin-supply = <&vcc_sys>; 103 103 }; 104 104 105 - vcc_io: vcc-io-regulator { 105 + vcc_io: regulator-vcc-io { 106 106 compatible = "regulator-fixed"; 107 107 regulator-name = "vcc_io"; 108 108 regulator-min-microvolt = <3300000>; ··· 112 112 vin-supply = <&vcc_sys>; 113 113 }; 114 114 115 - vcc_lan: vcc-lan-regulator { 115 + vcc_lan: regulator-vcc-lan { 116 116 compatible = "regulator-fixed"; 117 117 regulator-name = "vcc_lan"; 118 118 regulator-min-microvolt = <3300000>; ··· 122 122 vin-supply = <&vcc_io>; 123 123 }; 124 124 125 - vcc_sys: vcc-sys-regulator { 125 + vcc_sys: regulator-vcc-sys { 126 126 compatible = "regulator-fixed"; 127 127 regulator-name = "vcc_sys"; 128 128 regulator-min-microvolt = <5000000>; ··· 131 131 regulator-boot-on; 132 132 }; 133 133 134 - vccio_wl: vccio-wl-regulator { 134 + vccio_wl: regulator-vccio-wl { 135 135 compatible = "regulator-fixed"; 136 136 regulator-name = "vccio_wl"; 137 137 regulator-min-microvolt = <3300000>; ··· 141 141 vin-supply = <&vcc_io>; 142 142 }; 143 143 144 - vdd_10: vdd-10-regulator { 144 + vdd_10: regulator-vdd-10 { 145 145 compatible = "regulator-fixed"; 146 146 regulator-name = "vdd_10"; 147 147 regulator-min-microvolt = <1000000>;
+8 -8
arch/arm64/boot/dts/rockchip/rk3399-eaidk-610.dts
··· 66 66 #clock-cells = <0>; 67 67 }; 68 68 69 - dc_12v: dc-12v { 69 + dc_12v: regulator-dc-12v { 70 70 compatible = "regulator-fixed"; 71 71 regulator-name = "dc_12v"; 72 72 regulator-always-on; ··· 168 168 }; 169 169 170 170 /* switched by pmic_sleep */ 171 - vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 171 + vcc1v8_s3: vcca1v8_s3: regulator-vcc1v8-s3 { 172 172 compatible = "regulator-fixed"; 173 173 regulator-name = "vcc1v8_s3"; 174 174 regulator-always-on; ··· 178 178 vin-supply = <&vcc_1v8>; 179 179 }; 180 180 181 - vcc3v3_sys: vcc3v3-sys { 181 + vcc3v3_sys: regulator-vcc3v3-sys { 182 182 compatible = "regulator-fixed"; 183 183 regulator-name = "vcc3v3_sys"; 184 184 regulator-always-on; ··· 188 188 vin-supply = <&dc_12v>; 189 189 }; 190 190 191 - vcc5v0_sys: vcc5v0-sys { 191 + vcc5v0_sys: regulator-vcc5v0-sys { 192 192 compatible = "regulator-fixed"; 193 193 regulator-name = "vcc5v0_sys"; 194 194 regulator-always-on; ··· 199 199 }; 200 200 201 201 /* For USB3.0 Port1/2 */ 202 - vcc5v0_host1: vcc5v0-host1-regulator { 202 + vcc5v0_host1: regulator-vcc5v0-host1 { 203 203 compatible = "regulator-fixed"; 204 204 enable-active-high; 205 205 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; ··· 211 211 }; 212 212 213 213 /* For USB2.0 Port1/2 */ 214 - vcc5v0_host3: vcc5v0-host3-regulator { 214 + vcc5v0_host3: regulator-vcc5v0-host3 { 215 215 compatible = "regulator-fixed"; 216 216 enable-active-high; 217 217 gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>; ··· 222 222 vin-supply = <&vcc5v0_sys>; 223 223 }; 224 224 225 - vcc5v0_typec: vcc5v0-typec-regulator { 225 + vcc5v0_typec: regulator-vcc5v0-typec { 226 226 compatible = "regulator-fixed"; 227 227 enable-active-high; 228 228 gpio = <&gpio4 RK_PC5 GPIO_ACTIVE_HIGH>; ··· 233 233 vin-supply = <&vcc3v3_sys>; 234 234 }; 235 235 236 - vdd_log: vdd-log { 236 + vdd_log: regulator-vdd-log { 237 237 compatible = "regulator-fixed"; 238 238 regulator-name = "vdd_log"; 239 239 regulator-always-on;
+6 -6
arch/arm64/boot/dts/rockchip/rk3399-evb.dts
··· 75 75 #clock-cells = <0>; 76 76 }; 77 77 78 - vdd_center: vdd-center { 78 + vdd_center: regulator-vdd-center { 79 79 compatible = "pwm-regulator"; 80 80 pwms = <&pwm3 0 25000 0>; 81 81 regulator-name = "vdd_center"; ··· 86 86 status = "okay"; 87 87 }; 88 88 89 - vcc3v3_sys: vcc3v3-sys { 89 + vcc3v3_sys: regulator-vcc3v3-sys { 90 90 compatible = "regulator-fixed"; 91 91 regulator-name = "vcc3v3_sys"; 92 92 regulator-always-on; ··· 95 95 regulator-max-microvolt = <3300000>; 96 96 }; 97 97 98 - vcc5v0_sys: vcc5v0-sys { 98 + vcc5v0_sys: regulator-vcc5v0-sys { 99 99 compatible = "regulator-fixed"; 100 100 regulator-name = "vcc5v0_sys"; 101 101 regulator-always-on; ··· 104 104 regulator-max-microvolt = <5000000>; 105 105 }; 106 106 107 - vcc5v0_host: vcc5v0-host-regulator { 107 + vcc5v0_host: regulator-vcc5v0-host { 108 108 compatible = "regulator-fixed"; 109 109 enable-active-high; 110 110 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; ··· 114 114 vin-supply = <&vcc5v0_sys>; 115 115 }; 116 116 117 - vcc_phy: vcc-phy-regulator { 117 + vcc_phy: regulator-vcc-phy { 118 118 compatible = "regulator-fixed"; 119 119 regulator-name = "vcc_phy"; 120 120 regulator-always-on; 121 121 regulator-boot-on; 122 122 }; 123 123 124 - vcc_phy: vcc-phy-regulator { 124 + vcc_phy: regulator-vcc-phy { 125 125 compatible = "regulator-fixed"; 126 126 regulator-name = "vcc_phy"; 127 127 regulator-always-on;
+8 -8
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
··· 72 72 #clock-cells = <0>; 73 73 }; 74 74 75 - dc_12v: dc-12v { 75 + dc_12v: regulator-dc-12v { 76 76 compatible = "regulator-fixed"; 77 77 regulator-name = "dc_12v"; 78 78 regulator-always-on; ··· 178 178 }; 179 179 180 180 /* switched by pmic_sleep */ 181 - vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 181 + vcc1v8_s3: vcca1v8_s3: regulator-vcc1v8-s3 { 182 182 compatible = "regulator-fixed"; 183 183 regulator-name = "vcc1v8_s3"; 184 184 regulator-always-on; ··· 188 188 vin-supply = <&vcc_1v8>; 189 189 }; 190 190 191 - vcc3v3_pcie: vcc3v3-pcie-regulator { 191 + vcc3v3_pcie: regulator-vcc3v3-pcie { 192 192 compatible = "regulator-fixed"; 193 193 enable-active-high; 194 194 gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>; ··· 200 200 vin-supply = <&dc_12v>; 201 201 }; 202 202 203 - vcc3v3_sys: vcc3v3-sys { 203 + vcc3v3_sys: regulator-vcc3v3-sys { 204 204 compatible = "regulator-fixed"; 205 205 regulator-name = "vcc3v3_sys"; 206 206 regulator-always-on; ··· 211 211 }; 212 212 213 213 /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */ 214 - vcc5v0_host: vcc5v0-host-regulator { 214 + vcc5v0_host: regulator-vcc5v0-host { 215 215 compatible = "regulator-fixed"; 216 216 enable-active-high; 217 217 gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; ··· 222 222 vin-supply = <&vcc_sys>; 223 223 }; 224 224 225 - vcc5v0_typec: vcc5v0-typec-regulator { 225 + vcc5v0_typec: regulator-vcc5v0-typec { 226 226 compatible = "regulator-fixed"; 227 227 enable-active-high; 228 228 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; ··· 233 233 vin-supply = <&vcc_sys>; 234 234 }; 235 235 236 - vcc_sys: vcc-sys { 236 + vcc_sys: regulator-vcc-sys { 237 237 compatible = "regulator-fixed"; 238 238 regulator-name = "vcc_sys"; 239 239 regulator-always-on; ··· 243 243 vin-supply = <&dc_12v>; 244 244 }; 245 245 246 - vdd_log: vdd-log { 246 + vdd_log: regulator-vdd-log { 247 247 compatible = "pwm-regulator"; 248 248 pwms = <&pwm2 0 25000 1>; 249 249 pwm-supply = <&vcc_sys>;
+11 -11
arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi
··· 8 8 #include "rk3399-gru.dtsi" 9 9 10 10 / { 11 - pp900_ap: pp900-ap { 11 + pp900_ap: regulator-pp900-ap { 12 12 compatible = "regulator-fixed"; 13 13 regulator-name = "pp900_ap"; 14 14 ··· 29 29 pp900_pcie: pp900-ap { 30 30 }; 31 31 32 - pp3000: pp3000 { 32 + pp3000: regulator-pp3000 { 33 33 compatible = "regulator-fixed"; 34 34 regulator-name = "pp3000"; 35 35 pinctrl-names = "default"; ··· 46 46 vin-supply = <&ppvar_sys>; 47 47 }; 48 48 49 - ppvar_centerlogic_pwm: ppvar-centerlogic-pwm { 49 + ppvar_centerlogic_pwm: regulator-ppvar-centerlogic-pwm { 50 50 compatible = "pwm-regulator"; 51 51 regulator-name = "ppvar_centerlogic_pwm"; 52 52 ··· 78 78 }; 79 79 80 80 /* Schematics call this PPVAR even though it's fixed */ 81 - ppvar_logic: ppvar-logic { 81 + ppvar_logic: regulator-ppvar-logic { 82 82 compatible = "regulator-fixed"; 83 83 regulator-name = "ppvar_logic"; 84 84 ··· 91 91 vin-supply = <&ppvar_sys>; 92 92 }; 93 93 94 - pp1800_audio: pp1800-audio { 94 + pp1800_audio: regulator-pp1800-audio { 95 95 compatible = "regulator-fixed"; 96 96 regulator-name = "pp1800_audio"; 97 97 pinctrl-names = "default"; ··· 107 107 }; 108 108 109 109 /* gpio is shared with pp3300_wifi_bt */ 110 - pp1800_pcie: pp1800-pcie { 110 + pp1800_pcie: regulator-pp1800-pcie { 111 111 compatible = "regulator-fixed"; 112 112 regulator-name = "pp1800_pcie"; 113 113 pinctrl-names = "default"; ··· 129 129 pp3000_ap: pp3000_emmc: pp3000 { 130 130 }; 131 131 132 - pp1500_ap_io: pp1500-ap-io { 132 + pp1500_ap_io: regulator-pp1500-ap-io { 133 133 compatible = "regulator-fixed"; 134 134 regulator-name = "pp1500_ap_io"; 135 135 pinctrl-names = "default"; ··· 146 146 vin-supply = <&pp1800>; 147 147 }; 148 148 149 - pp3300_disp: pp3300-disp { 149 + pp3300_disp: regulator-pp3300-disp { 150 150 compatible = "regulator-fixed"; 151 151 regulator-name = "pp3300_disp"; 152 152 pinctrl-names = "default"; ··· 164 164 }; 165 165 166 166 /* gpio is shared with pp1800_pcie and pinctrl is set there */ 167 - pp3300_wifi_bt: pp3300-wifi-bt { 167 + pp3300_wifi_bt: regulator-pp3300-wifi-bt { 168 168 compatible = "regulator-fixed"; 169 169 regulator-name = "pp3300_wifi_bt"; 170 170 ··· 180 180 * With some stretching of the imagination, we can call the 1.8V 181 181 * regulator a supply. 182 182 */ 183 - wlan_pd_n: wlan-pd-n { 183 + wlan_pd_n: regulator-wlan-pd-n { 184 184 compatible = "regulator-fixed"; 185 185 regulator-name = "wlan_pd_n"; 186 186 pinctrl-names = "default"; ··· 550 550 }; 551 551 552 552 &pinctrl { 553 - discrete-regulators { 553 + discretes { 554 554 pp1500_en: pp1500-en { 555 555 rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO 556 556 &pcfg_pull_none>;
+2 -2
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts
··· 28 28 29 29 /* Power tree */ 30 30 31 - p3_3v_dig: p3-3v-dig { 31 + p3_3v_dig: regulator-p3-3v-dig { 32 32 compatible = "regulator-fixed"; 33 33 regulator-name = "p3.3v_dig"; 34 34 pinctrl-names = "default"; ··· 314 314 }; 315 315 }; 316 316 317 - discrete-regulators { 317 + discretes { 318 318 cpu3_pen_pwr_en: cpu3-pen-pwr-en { 319 319 rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 320 320 };
+10 -10
arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi
··· 13 13 /* Power tree */ 14 14 15 15 /* ppvar_sys children, sorted by name */ 16 - pp1250_s3: pp1250-s3 { 16 + pp1250_s3: regulator-pp1250-s3 { 17 17 compatible = "regulator-fixed"; 18 18 regulator-name = "pp1250_s3"; 19 19 ··· 26 26 vin-supply = <&ppvar_sys>; 27 27 }; 28 28 29 - pp1250_cam: pp1250-dvdd { 29 + pp1250_cam: regulator-pp1250-dvdd { 30 30 compatible = "regulator-fixed"; 31 31 regulator-name = "pp1250_dvdd"; 32 32 pinctrl-names = "default"; ··· 42 42 vin-supply = <&pp1250_s3>; 43 43 }; 44 44 45 - pp900_s0: pp900-s0 { 45 + pp900_s0: regulator-pp900-s0 { 46 46 compatible = "regulator-fixed"; 47 47 regulator-name = "pp900_s0"; 48 48 ··· 55 55 vin-supply = <&ppvar_sys>; 56 56 }; 57 57 58 - ppvarn_lcd: ppvarn-lcd { 58 + ppvarn_lcd: regulator-ppvarn-lcd { 59 59 compatible = "regulator-fixed"; 60 60 regulator-name = "ppvarn_lcd"; 61 61 pinctrl-names = "default"; ··· 66 66 vin-supply = <&ppvar_sys>; 67 67 }; 68 68 69 - ppvarp_lcd: ppvarp-lcd { 69 + ppvarp_lcd: regulator-ppvarp-lcd { 70 70 compatible = "regulator-fixed"; 71 71 regulator-name = "ppvarp_lcd"; 72 72 pinctrl-names = "default"; ··· 78 78 }; 79 79 80 80 /* pp1800 children, sorted by name */ 81 - pp900_s3: pp900-s3 { 81 + pp900_s3: regulator-pp900-s3 { 82 82 compatible = "regulator-fixed"; 83 83 regulator-name = "pp900_s3"; 84 84 ··· 96 96 }; 97 97 98 98 /* pp3300 children, sorted by name */ 99 - pp2800_cam: pp2800-avdd { 99 + pp2800_cam: regulator-pp2800-avdd { 100 100 compatible = "regulator-fixed"; 101 101 regulator-name = "pp2800_avdd"; 102 102 pinctrl-names = "default"; ··· 127 127 * the boot process it also enables its supply regulator bt_3v3, 128 128 * which changes BT_EN to high. 129 129 */ 130 - bt_3v3: bt-3v3 { 130 + bt_3v3: regulator-bt-3v3 { 131 131 compatible = "regulator-fixed"; 132 132 regulator-name = "bt_3v3"; 133 133 pinctrl-names = "default"; ··· 138 138 vin-supply = <&pp3300_s3>; 139 139 }; 140 140 141 - wlan_3v3: wlan-3v3 { 141 + wlan_3v3: regulator-wlan-3v3 { 142 142 compatible = "regulator-fixed"; 143 143 regulator-name = "wlan_3v3"; 144 144 pinctrl-names = "default"; ··· 833 833 }; 834 834 }; 835 835 836 - discrete-regulators { 836 + discretes { 837 837 display_rst_l: display-rst-l { 838 838 rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_down>; 839 839 };
+10 -10
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
··· 42 42 * schematic. 43 43 */ 44 44 45 - ppvar_sys: ppvar-sys { 45 + ppvar_sys: regulator-ppvar-sys { 46 46 compatible = "regulator-fixed"; 47 47 regulator-name = "ppvar_sys"; 48 48 regulator-always-on; 49 49 regulator-boot-on; 50 50 }; 51 51 52 - pp1200_lpddr: pp1200-lpddr { 52 + pp1200_lpddr: regulator-pp1200-lpddr { 53 53 compatible = "regulator-fixed"; 54 54 regulator-name = "pp1200_lpddr"; 55 55 ··· 62 62 vin-supply = <&ppvar_sys>; 63 63 }; 64 64 65 - pp1800: pp1800 { 65 + pp1800: regulator-pp1800 { 66 66 compatible = "regulator-fixed"; 67 67 regulator-name = "pp1800"; 68 68 ··· 75 75 vin-supply = <&ppvar_sys>; 76 76 }; 77 77 78 - pp3300: pp3300 { 78 + pp3300: regulator-pp3300 { 79 79 compatible = "regulator-fixed"; 80 80 regulator-name = "pp3300"; 81 81 ··· 88 88 vin-supply = <&ppvar_sys>; 89 89 }; 90 90 91 - pp5000: pp5000 { 91 + pp5000: regulator-pp5000 { 92 92 compatible = "regulator-fixed"; 93 93 regulator-name = "pp5000"; 94 94 ··· 101 101 vin-supply = <&ppvar_sys>; 102 102 }; 103 103 104 - ppvar_bigcpu_pwm: ppvar-bigcpu-pwm { 104 + ppvar_bigcpu_pwm: regulator-ppvar-bigcpu-pwm { 105 105 compatible = "pwm-regulator"; 106 106 regulator-name = "ppvar_bigcpu_pwm"; 107 107 ··· 130 130 regulator-settling-time-up-us = <322>; 131 131 }; 132 132 133 - ppvar_litcpu_pwm: ppvar-litcpu-pwm { 133 + ppvar_litcpu_pwm: regulator-ppvar-litcpu-pwm { 134 134 compatible = "pwm-regulator"; 135 135 regulator-name = "ppvar_litcpu_pwm"; 136 136 ··· 159 159 regulator-settling-time-up-us = <384>; 160 160 }; 161 161 162 - ppvar_gpu_pwm: ppvar-gpu-pwm { 162 + ppvar_gpu_pwm: regulator-ppvar-gpu-pwm { 163 163 compatible = "pwm-regulator"; 164 164 regulator-name = "ppvar_gpu_pwm"; 165 165 ··· 224 224 pp1800_usb: pp1800 { 225 225 }; 226 226 227 - pp3000_sd_slot: pp3000-sd-slot { 227 + pp3000_sd_slot: regulator-pp3000-sd-slot { 228 228 compatible = "regulator-fixed"; 229 229 regulator-name = "pp3000_sd_slot"; 230 230 pinctrl-names = "default"; ··· 724 724 }; 725 725 }; 726 726 727 - discrete-regulators { 727 + discretes { 728 728 sd_io_pwr_en: sd-io-pwr-en { 729 729 rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO 730 730 &pcfg_pull_none>;
+9 -9
arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts
··· 27 27 #clock-cells = <0>; 28 28 }; 29 29 30 - dc_5v: dc-5v { 30 + dc_5v: regulator-dc-5v { 31 31 compatible = "regulator-fixed"; 32 32 regulator-name = "dc_5v"; 33 33 regulator-always-on; ··· 56 56 }; 57 57 }; 58 58 59 - vcc_sys: vcc-sys { 59 + vcc_sys: regulator-vcc-sys { 60 60 compatible = "regulator-fixed"; 61 61 regulator-name = "vcc_sys"; 62 62 regulator-min-microvolt = <5000000>; ··· 65 65 vin-supply = <&dc_5v>; 66 66 }; 67 67 68 - vcc_phy: vcc-phy-regulator { 68 + vcc_phy: regulator-vcc-phy { 69 69 compatible = "regulator-fixed"; 70 70 regulator-name = "vcc_phy"; 71 71 regulator-always-on; 72 72 regulator-boot-on; 73 73 }; 74 74 75 - vcc1v8_s0: vcc1v8-s0 { 75 + vcc1v8_s0: regulator-vcc1v8-s0 { 76 76 compatible = "regulator-fixed"; 77 77 regulator-name = "vcc1v8_s0"; 78 78 regulator-min-microvolt = <1800000>; ··· 80 80 regulator-always-on; 81 81 }; 82 82 83 - vcc3v3_sys: vcc3v3-sys { 83 + vcc3v3_sys: regulator-vcc3v3-sys { 84 84 compatible = "regulator-fixed"; 85 85 regulator-name = "vcc3v3_sys"; 86 86 regulator-min-microvolt = <3300000>; ··· 89 89 vin-supply = <&vcc_sys>; 90 90 }; 91 91 92 - vcc5v0_host: vcc5v0-host-regulator { 92 + vcc5v0_host: regulator-vcc5v0-host { 93 93 compatible = "regulator-fixed"; 94 94 enable-active-high; 95 95 gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; ··· 99 99 regulator-always-on; 100 100 }; 101 101 102 - vcc5v0_typec: vcc5v0-typec-regulator { 102 + vcc5v0_typec: regulator-vcc5v0-typec { 103 103 compatible = "regulator-fixed"; 104 104 enable-active-high; 105 105 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; ··· 110 110 vin-supply = <&vcc5v0_usb>; 111 111 }; 112 112 113 - vcc5v0_usb: vcc5v0-usb { 113 + vcc5v0_usb: regulator-vcc5v0-usb { 114 114 compatible = "regulator-fixed"; 115 115 regulator-name = "vcc5v0_usb"; 116 116 regulator-always-on; ··· 120 120 vin-supply = <&dc_5v>; 121 121 }; 122 122 123 - vdd_log: vdd-log { 123 + vdd_log: regulator-vdd-log { 124 124 compatible = "pwm-regulator"; 125 125 pwms = <&pwm2 0 25000 1>; 126 126 pwm-supply = <&vcc_sys>;
+7 -7
arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi
··· 45 45 }; 46 46 47 47 /* switched by pmic_sleep */ 48 - vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 48 + vcc1v8_s3: vcca1v8_s3: regulator-vcc1v8-s3 { 49 49 compatible = "regulator-fixed"; 50 50 regulator-name = "vcc1v8_s3"; 51 51 regulator-always-on; ··· 55 55 vin-supply = <&vcc_1v8>; 56 56 }; 57 57 58 - vcc3v3_pcie: vcc3v3-pcie-regulator { 58 + vcc3v3_pcie: regulator-vcc3v3-pcie { 59 59 compatible = "regulator-fixed"; 60 60 regulator-name = "vcc3v3_pcie"; 61 61 regulator-always-on; ··· 66 66 }; 67 67 68 68 /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */ 69 - vcc5v0_host: vcc5v0-host-regulator { 69 + vcc5v0_host: regulator-vcc5v0-host { 70 70 compatible = "regulator-fixed"; 71 71 enable-active-high; 72 72 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; ··· 77 77 vin-supply = <&vsys_5v0>; 78 78 }; 79 79 80 - vdd_log: vdd-log { 80 + vdd_log: regulator-vdd-log { 81 81 compatible = "pwm-regulator"; 82 82 pwms = <&pwm2 0 25000 1>; 83 83 pwm-supply = <&vsys_3v3>; ··· 88 88 regulator-max-microvolt = <1400000>; 89 89 }; 90 90 91 - vsys: vsys { 91 + vsys: regulator-vsys { 92 92 compatible = "regulator-fixed"; 93 93 regulator-name = "vsys"; 94 94 regulator-always-on; 95 95 regulator-boot-on; 96 96 }; 97 97 98 - vsys_3v3: vsys-3v3 { 98 + vsys_3v3: regulator-vsys-3v3 { 99 99 compatible = "regulator-fixed"; 100 100 regulator-name = "vsys_3v3"; 101 101 regulator-always-on; ··· 105 105 vin-supply = <&vsys>; 106 106 }; 107 107 108 - vsys_5v0: vsys-5v0 { 108 + vsys_5v0: regulator-vsys-5v0 { 109 109 compatible = "regulator-fixed"; 110 110 regulator-name = "vsys_5v0"; 111 111 regulator-always-on;
+14 -14
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts
··· 23 23 mmc1 = &sdhci; 24 24 }; 25 25 26 - avdd_0v9_s0: avdd-0v9-s0 { 26 + avdd_0v9_s0: regulator-avdd-0v9-s0 { 27 27 compatible = "regulator-fixed"; 28 28 regulator-name = "avdd_0v9_s0"; 29 29 regulator-always-on; ··· 33 33 vin-supply = <&vcc1v8_sys_s3>; 34 34 }; 35 35 36 - avdd_1v8_s0: avdd-1v8-s0 { 36 + avdd_1v8_s0: regulator-avdd-1v8-s0 { 37 37 compatible = "regulator-fixed"; 38 38 regulator-name = "avdd_1v8_s0"; 39 39 regulator-always-on; ··· 86 86 }; 87 87 }; 88 88 89 - hdd_a_power: hdd-a-power { 89 + hdd_a_power: regulator-hdd-a-power { 90 90 compatible = "regulator-fixed"; 91 91 enable-active-high; 92 92 gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; ··· 98 98 startup-delay-us = <2000000>; 99 99 }; 100 100 101 - hdd_b_power: hdd-b-power { 101 + hdd_b_power: regulator-hdd-b-power { 102 102 compatible = "regulator-fixed"; 103 103 enable-active-high; 104 104 gpio = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>; ··· 110 110 startup-delay-us = <2000000>; 111 111 }; 112 112 113 - pcie_power: pcie-power { 113 + pcie_power: regulator-pcie-power { 114 114 compatible = "regulator-fixed"; 115 115 enable-active-high; 116 116 gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>; ··· 122 122 vin-supply = <&vcc5v0_perdev>; 123 123 }; 124 124 125 - usblan_power: usblan-power { 125 + usblan_power: regulator-usblan-power { 126 126 compatible = "regulator-fixed"; 127 127 enable-active-high; 128 128 gpio = <&gpio1 RK_PC7 GPIO_ACTIVE_HIGH>; ··· 134 134 vin-supply = <&vcc5v0_usb>; 135 135 }; 136 136 137 - vcc1v8_sys_s0: vcc1v8-sys-s0 { 137 + vcc1v8_sys_s0: regulator-vcc1v8-sys-s0 { 138 138 compatible = "regulator-fixed"; 139 139 regulator-name = "vcc1v8_sys_s0"; 140 140 regulator-always-on; ··· 144 144 vin-supply = <&vcc1v8_sys_s3>; 145 145 }; 146 146 147 - vcc3v0_sd: vcc3v0-sd { 147 + vcc3v0_sd: regulator-vcc3v0-sd { 148 148 compatible = "regulator-fixed"; 149 149 enable-active-high; 150 150 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; ··· 157 157 vin-supply = <&vcc3v3_sys_s3>; 158 158 }; 159 159 160 - vcc3v3_sys_s3: vcc_lan: vcc3v3-sys-s3 { 160 + vcc3v3_sys_s3: vcc_lan: regulator-vcc3v3-sys-s3 { 161 161 compatible = "regulator-fixed"; 162 162 regulator-name = "vcc3v3_sys_s3"; 163 163 regulator-always-on; ··· 171 171 }; 172 172 }; 173 173 174 - vcc5v0_perdev: vcc5v0-perdev { 174 + vcc5v0_perdev: regulator-vcc5v0-perdev { 175 175 compatible = "regulator-fixed"; 176 176 regulator-name = "vcc5v0_perdev"; 177 177 regulator-always-on; ··· 181 181 vin-supply = <&vcc12v_dcin_bkup>; 182 182 }; 183 183 184 - vcc5v0_sys: vcc5v0-sys { 184 + vcc5v0_sys: regulator-vcc5v0-sys { 185 185 compatible = "regulator-fixed"; 186 186 regulator-name = "vcc5v0_sys"; 187 187 regulator-always-on; ··· 195 195 }; 196 196 }; 197 197 198 - vcc5v0_usb: vcc5v0-usb { 198 + vcc5v0_usb: regulator-vcc5v0-usb { 199 199 compatible = "regulator-fixed"; 200 200 enable-active-high; 201 201 gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>; ··· 209 209 vin-supply = <&vcc5v0_perdev>; 210 210 }; 211 211 212 - vcc12v_dcin: vcc12v-dcin { 212 + vcc12v_dcin: regulator-vcc12v-dcin { 213 213 compatible = "regulator-fixed"; 214 214 regulator-name = "vcc12v_dcin"; 215 215 regulator-always-on; ··· 218 218 regulator-max-microvolt = <12000000>; 219 219 }; 220 220 221 - vcc12v_dcin_bkup: vcc12v-dcin-bkup { 221 + vcc12v_dcin_bkup: regulator-vcc12v-dcin-bkup { 222 222 compatible = "regulator-fixed"; 223 223 regulator-name = "vcc12v_dcin_bkup"; 224 224 regulator-always-on;
+7 -7
arch/arm64/boot/dts/rockchip/rk3399-leez-p710.dts
··· 40 40 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 41 41 }; 42 42 43 - dc5v_adp: dc5v-adp { 43 + dc5v_adp: regulator-dc5v-adp { 44 44 compatible = "regulator-fixed"; 45 45 regulator-name = "dc5v_adapter"; 46 46 regulator-always-on; ··· 49 49 regulator-max-microvolt = <5000000>; 50 50 }; 51 51 52 - vcc3v3_lan: vcc3v3-lan { 52 + vcc3v3_lan: regulator-vcc3v3-lan { 53 53 compatible = "regulator-fixed"; 54 54 regulator-name = "vcc3v3_lan"; 55 55 regulator-always-on; ··· 59 59 vin-supply = <&vcc3v3_sys>; 60 60 }; 61 61 62 - vcc3v3_sys: vcc3v3-sys { 62 + vcc3v3_sys: regulator-vcc3v3-sys { 63 63 compatible = "regulator-fixed"; 64 64 regulator-name = "vcc3v3_sys"; 65 65 regulator-always-on; ··· 69 69 vin-supply = <&vcc5v0_sys>; 70 70 }; 71 71 72 - vcc5v0_host0: vcc5v0_host1: vcc5v0-host { 72 + vcc5v0_host0: vcc5v0_host1: regulator-vcc5v0-host { 73 73 compatible = "regulator-fixed"; 74 74 regulator-name = "vcc5v0_host"; 75 75 regulator-boot-on; ··· 79 79 vin-supply = <&vcc5v0_sys>; 80 80 }; 81 81 82 - vcc5v0_host3: vcc5v0-host3 { 82 + vcc5v0_host3: regulator-vcc5v0-host3 { 83 83 compatible = "regulator-fixed"; 84 84 regulator-name = "vcc5v0_host3"; 85 85 enable-active-high; ··· 90 90 vin-supply = <&vcc5v0_sys>; 91 91 }; 92 92 93 - vcc5v0_sys: vcc5v0-sys { 93 + vcc5v0_sys: regulator-vcc5v0-sys { 94 94 compatible = "regulator-fixed"; 95 95 regulator-name = "vcc5v0_sys"; 96 96 regulator-always-on; ··· 100 100 vin-supply = <&dc5v_adp>; 101 101 }; 102 102 103 - vdd_log: vdd-log { 103 + vdd_log: regulator-vdd-log { 104 104 compatible = "pwm-regulator"; 105 105 pwms = <&pwm2 0 25000 1>; 106 106 pwm-supply = <&vcc5v0_sys>;
+2 -2
arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dts
··· 15 15 model = "FriendlyElec NanoPC-T4"; 16 16 compatible = "friendlyarm,nanopc-t4", "rockchip,rk3399"; 17 17 18 - vcc12v0_sys: vcc12v0-sys { 18 + vcc12v0_sys: regulator-vcc12v0-sys { 19 19 compatible = "regulator-fixed"; 20 20 regulator-always-on; 21 21 regulator-boot-on; ··· 24 24 regulator-name = "vcc12v0_sys"; 25 25 }; 26 26 27 - vcc5v0_host0: vcc5v0-host0 { 27 + vcc5v0_host0: regulator-vcc5v0-host0 { 28 28 compatible = "regulator-fixed"; 29 29 regulator-always-on; 30 30 regulator-boot-on;
+4 -4
arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4.dtsi
··· 14 14 #include "rk3399-nanopi4.dtsi" 15 15 16 16 / { 17 - vdd_5v: vdd-5v { 17 + vdd_5v: regulator-vdd-5v { 18 18 compatible = "regulator-fixed"; 19 19 regulator-name = "vdd_5v"; 20 20 regulator-always-on; 21 21 regulator-boot-on; 22 22 }; 23 23 24 - vcc5v0_core: vcc5v0-core { 24 + vcc5v0_core: regulator-vcc5v0-core { 25 25 compatible = "regulator-fixed"; 26 26 regulator-name = "vcc5v0_core"; 27 27 regulator-always-on; ··· 29 29 vin-supply = <&vdd_5v>; 30 30 }; 31 31 32 - vcc5v0_usb1: vcc5v0-usb1 { 32 + vcc5v0_usb1: regulator-vcc5v0-usb1 { 33 33 compatible = "regulator-fixed"; 34 34 regulator-name = "vcc5v0_usb1"; 35 35 regulator-always-on; ··· 37 37 vin-supply = <&vcc5v0_sys>; 38 38 }; 39 39 40 - vcc5v0_usb2: vcc5v0-usb2 { 40 + vcc5v0_usb2: regulator-vcc5v0-usb2 { 41 41 compatible = "regulator-fixed"; 42 42 regulator-name = "vcc5v0_usb2"; 43 43 regulator-always-on;
+3 -3
arch/arm64/boot/dts/rockchip/rk3399-nanopi-neo4.dts
··· 12 12 model = "FriendlyARM NanoPi NEO4"; 13 13 compatible = "friendlyarm,nanopi-neo4", "rockchip,rk3399"; 14 14 15 - vdd_5v: vdd-5v { 15 + vdd_5v: regulator-vdd-5v { 16 16 compatible = "regulator-fixed"; 17 17 regulator-name = "vdd_5v"; 18 18 regulator-always-on; 19 19 regulator-boot-on; 20 20 }; 21 21 22 - vcc5v0_core: vcc5v0-core { 22 + vcc5v0_core: regulator-vcc5v0-core { 23 23 compatible = "regulator-fixed"; 24 24 regulator-name = "vcc5v0_core"; 25 25 regulator-always-on; ··· 27 27 vin-supply = <&vdd_5v>; 28 28 }; 29 29 30 - vcc5v0_usb1: vcc5v0-usb1 { 30 + vcc5v0_usb1: regulator-vcc5v0-usb1 { 31 31 compatible = "regulator-fixed"; 32 32 regulator-name = "vcc5v0_usb1"; 33 33 regulator-always-on;
+1 -1
arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dtsi
··· 54 54 }; 55 55 }; 56 56 57 - vdd_5v: vdd-5v { 57 + vdd_5v: regulator-vdd-5v { 58 58 compatible = "regulator-fixed"; 59 59 regulator-name = "vdd_5v"; 60 60 regulator-always-on;
+7 -7
arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi
··· 34 34 #clock-cells = <0>; 35 35 }; 36 36 37 - vcc3v3_sys: vcc3v3-sys { 37 + vcc3v3_sys: regulator-vcc3v3-sys { 38 38 compatible = "regulator-fixed"; 39 39 regulator-always-on; 40 40 regulator-boot-on; ··· 43 43 regulator-name = "vcc3v3_sys"; 44 44 }; 45 45 46 - vcc5v0_sys: vcc5v0-sys { 46 + vcc5v0_sys: regulator-vcc5v0-sys { 47 47 compatible = "regulator-fixed"; 48 48 regulator-always-on; 49 49 regulator-boot-on; ··· 54 54 }; 55 55 56 56 /* switched by pmic_sleep */ 57 - vcc1v8_s3: vcc1v8-s3 { 57 + vcc1v8_s3: regulator-vcc1v8-s3 { 58 58 compatible = "regulator-fixed"; 59 59 regulator-always-on; 60 60 regulator-boot-on; ··· 64 64 vin-supply = <&vcc_1v8>; 65 65 }; 66 66 67 - vcc3v0_sd: vcc3v0-sd { 67 + vcc3v0_sd: regulator-vcc3v0-sd { 68 68 compatible = "regulator-fixed"; 69 69 enable-active-high; 70 70 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; ··· 81 81 * Really, this is supplied by vcc_1v8, and vcc1v8_s3 only 82 82 * drives the enable pin, but we can't quite model that. 83 83 */ 84 - vcca0v9_s3: vcca0v9-s3 { 84 + vcca0v9_s3: regulator-vcca0v9-s3 { 85 85 compatible = "regulator-fixed"; 86 86 regulator-min-microvolt = <900000>; 87 87 regulator-max-microvolt = <900000>; ··· 90 90 }; 91 91 92 92 /* As above, actually supplied by vcc3v3_sys */ 93 - vcca1v8_s3: vcca1v8-s3 { 93 + vcca1v8_s3: regulator-vcca1v8-s3 { 94 94 compatible = "regulator-fixed"; 95 95 regulator-min-microvolt = <1800000>; 96 96 regulator-max-microvolt = <1800000>; ··· 98 98 vin-supply = <&vcc1v8_s3>; 99 99 }; 100 100 101 - vbus_typec: vbus-typec { 101 + vbus_typec: regulator-vbus-typec { 102 102 compatible = "regulator-fixed"; 103 103 regulator-min-microvolt = <5000000>; 104 104 regulator-max-microvolt = <5000000>;
+26 -26
arch/arm64/boot/dts/rockchip/rk3399-op1.dtsi
··· 12 12 13 13 opp00 { 14 14 opp-hz = /bits/ 64 <408000000>; 15 - opp-microvolt = <800000>; 15 + opp-microvolt = <800000 800000 1150000>; 16 16 clock-latency-ns = <40000>; 17 17 }; 18 18 opp01 { 19 19 opp-hz = /bits/ 64 <600000000>; 20 - opp-microvolt = <825000>; 20 + opp-microvolt = <825000 825000 1150000>; 21 21 }; 22 22 opp02 { 23 23 opp-hz = /bits/ 64 <816000000>; 24 - opp-microvolt = <850000>; 24 + opp-microvolt = <850000 850000 1150000>; 25 25 }; 26 26 opp03 { 27 27 opp-hz = /bits/ 64 <1008000000>; 28 - opp-microvolt = <900000>; 28 + opp-microvolt = <900000 900000 1150000>; 29 29 }; 30 30 opp04 { 31 31 opp-hz = /bits/ 64 <1200000000>; 32 - opp-microvolt = <975000>; 32 + opp-microvolt = <975000 975000 1150000>; 33 33 }; 34 34 opp05 { 35 35 opp-hz = /bits/ 64 <1416000000>; 36 - opp-microvolt = <1100000>; 36 + opp-microvolt = <1100000 1100000 1150000>; 37 37 }; 38 38 opp06 { 39 39 opp-hz = /bits/ 64 <1512000000>; 40 - opp-microvolt = <1150000>; 40 + opp-microvolt = <1150000 1150000 1150000>; 41 41 }; 42 42 }; 43 43 ··· 47 47 48 48 opp00 { 49 49 opp-hz = /bits/ 64 <408000000>; 50 - opp-microvolt = <800000>; 50 + opp-microvolt = <800000 800000 1250000>; 51 51 clock-latency-ns = <40000>; 52 52 }; 53 53 opp01 { 54 54 opp-hz = /bits/ 64 <600000000>; 55 - opp-microvolt = <800000>; 55 + opp-microvolt = <800000 800000 1250000>; 56 56 }; 57 57 opp02 { 58 58 opp-hz = /bits/ 64 <816000000>; 59 - opp-microvolt = <825000>; 59 + opp-microvolt = <825000 825000 1250000>; 60 60 }; 61 61 opp03 { 62 62 opp-hz = /bits/ 64 <1008000000>; 63 - opp-microvolt = <850000>; 63 + opp-microvolt = <850000 850000 1250000>; 64 64 }; 65 65 opp04 { 66 66 opp-hz = /bits/ 64 <1200000000>; 67 - opp-microvolt = <900000>; 67 + opp-microvolt = <900000 900000 1250000>; 68 68 }; 69 69 opp05 { 70 70 opp-hz = /bits/ 64 <1416000000>; 71 - opp-microvolt = <975000>; 71 + opp-microvolt = <975000 975000 1250000>; 72 72 }; 73 73 opp06 { 74 74 opp-hz = /bits/ 64 <1608000000>; 75 - opp-microvolt = <1050000>; 75 + opp-microvolt = <1050000 1050000 1250000>; 76 76 }; 77 77 opp07 { 78 78 opp-hz = /bits/ 64 <1800000000>; 79 - opp-microvolt = <1150000>; 79 + opp-microvolt = <1150000 1150000 1250000>; 80 80 }; 81 81 opp08 { 82 82 opp-hz = /bits/ 64 <2016000000>; 83 - opp-microvolt = <1250000>; 83 + opp-microvolt = <1250000 1250000 1250000>; 84 84 }; 85 85 }; 86 86 ··· 89 89 90 90 opp00 { 91 91 opp-hz = /bits/ 64 <200000000>; 92 - opp-microvolt = <800000>; 92 + opp-microvolt = <800000 800000 1075000>; 93 93 }; 94 94 opp01 { 95 95 opp-hz = /bits/ 64 <297000000>; 96 - opp-microvolt = <800000>; 96 + opp-microvolt = <800000 800000 1075000>; 97 97 }; 98 98 opp02 { 99 99 opp-hz = /bits/ 64 <400000000>; 100 - opp-microvolt = <825000>; 100 + opp-microvolt = <825000 825000 1075000>; 101 101 }; 102 102 opp03 { 103 103 opp-hz = /bits/ 64 <500000000>; 104 - opp-microvolt = <850000>; 104 + opp-microvolt = <850000 850000 1075000>; 105 105 }; 106 106 opp04 { 107 107 opp-hz = /bits/ 64 <600000000>; 108 - opp-microvolt = <925000>; 108 + opp-microvolt = <925000 925000 1075000>; 109 109 }; 110 110 opp05 { 111 111 opp-hz = /bits/ 64 <800000000>; 112 - opp-microvolt = <1075000>; 112 + opp-microvolt = <1075000 1075000 1075000>; 113 113 }; 114 114 }; 115 115 ··· 118 118 119 119 opp00 { 120 120 opp-hz = /bits/ 64 <400000000>; 121 - opp-microvolt = <900000>; 121 + opp-microvolt = <900000 900000 925000>; 122 122 }; 123 123 opp01 { 124 124 opp-hz = /bits/ 64 <666000000>; 125 - opp-microvolt = <900000>; 125 + opp-microvolt = <900000 900000 925000>; 126 126 }; 127 127 opp02 { 128 128 opp-hz = /bits/ 64 <800000000>; 129 - opp-microvolt = <900000>; 129 + opp-microvolt = <900000 900000 925000>; 130 130 }; 131 131 opp03 { 132 132 opp-hz = /bits/ 64 <928000000>; 133 - opp-microvolt = <925000>; 133 + opp-microvolt = <925000 925000 925000>; 134 134 }; 135 135 }; 136 136 };
+8 -8
arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts
··· 65 65 }; 66 66 }; 67 67 68 - dc_12v: dc-12v { 68 + dc_12v: regulator-dc-12v { 69 69 compatible = "regulator-fixed"; 70 70 regulator-name = "dc_12v"; 71 71 regulator-always-on; ··· 100 100 }; 101 101 102 102 /* switched by pmic_sleep */ 103 - vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 103 + vcc1v8_s3: vcca1v8_s3: regulator-vcc1v8-s3 { 104 104 compatible = "regulator-fixed"; 105 105 regulator-name = "vcc1v8_s3"; 106 106 regulator-always-on; ··· 110 110 vin-supply = <&vcc_1v8>; 111 111 }; 112 112 113 - vcc3v0_sd: vcc3v0-sd { 113 + vcc3v0_sd: regulator-vcc3v0-sd { 114 114 compatible = "regulator-fixed"; 115 115 enable-active-high; 116 116 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; ··· 123 123 vin-supply = <&vcc3v3_sys>; 124 124 }; 125 125 126 - vcc3v3_sys: vcc3v3-sys { 126 + vcc3v3_sys: regulator-vcc3v3-sys { 127 127 compatible = "regulator-fixed"; 128 128 regulator-name = "vcc3v3_sys"; 129 129 regulator-always-on; ··· 133 133 vin-supply = <&vcc_sys>; 134 134 }; 135 135 136 - vcc5v0_host: vcc5v0-host-regulator { 136 + vcc5v0_host: regulator-vcc5v0-host { 137 137 compatible = "regulator-fixed"; 138 138 enable-active-high; 139 139 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; ··· 144 144 vin-supply = <&vcc_sys>; 145 145 }; 146 146 147 - vbus_typec: vbus-typec-regulator { 147 + vbus_typec: regulator-vbus-typec { 148 148 compatible = "regulator-fixed"; 149 149 enable-active-high; 150 150 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; ··· 154 154 vin-supply = <&vcc_sys>; 155 155 }; 156 156 157 - vcc_sys: vcc-sys { 157 + vcc_sys: regulator-vcc-sys { 158 158 compatible = "regulator-fixed"; 159 159 regulator-name = "vcc_sys"; 160 160 regulator-always-on; ··· 164 164 vin-supply = <&dc_12v>; 165 165 }; 166 166 167 - vdd_log: vdd-log { 167 + vdd_log: regulator-vdd-log { 168 168 compatible = "pwm-regulator"; 169 169 pwms = <&pwm2 0 25000 1>; 170 170 pwm-supply = <&vcc_sys>;
+13 -13
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
··· 172 172 173 173 /* Power tree */ 174 174 /* Root power source */ 175 - vcc_sysin: vcc-sysin { 175 + vcc_sysin: regulator-vcc-sysin { 176 176 compatible = "regulator-fixed"; 177 177 regulator-name = "vcc_sysin"; 178 178 regulator-always-on; ··· 181 181 182 182 /* Regulators supplied by vcc_sysin */ 183 183 /* LCD backlight supply */ 184 - vcc_12v: vcc-12v { 184 + vcc_12v: regulator-vcc-12v { 185 185 compatible = "regulator-fixed"; 186 186 regulator-name = "vcc_12v"; 187 187 regulator-always-on; ··· 196 196 }; 197 197 198 198 /* Main 3.3 V supply */ 199 - vcc3v3_sys: wifi_bat: vcc3v3-sys { 199 + vcc3v3_sys: wifi_bat: regulator-vcc3v3-sys { 200 200 compatible = "regulator-fixed"; 201 201 regulator-name = "vcc3v3_sys"; 202 202 regulator-always-on; ··· 211 211 }; 212 212 213 213 /* 5 V USB power supply */ 214 - vcc5v0_usb: pa_5v: vcc5v0-usb-regulator { 214 + vcc5v0_usb: pa_5v: regulator-vcc5v0-usb { 215 215 compatible = "regulator-fixed"; 216 216 enable-active-high; 217 217 gpio = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; ··· 229 229 }; 230 230 231 231 /* RK3399 logic supply */ 232 - vdd_log: vdd-log { 232 + vdd_log: regulator-vdd-log { 233 233 compatible = "pwm-regulator"; 234 234 pwms = <&pwm2 0 25000 1>; 235 235 pwm-supply = <&vcc_sysin>; ··· 246 246 247 247 /* Regulators supplied by vcc3v3_sys */ 248 248 /* 0.9 V supply, always on */ 249 - vcc_0v9: vcc-0v9 { 249 + vcc_0v9: regulator-vcc-0v9 { 250 250 compatible = "regulator-fixed"; 251 251 regulator-name = "vcc_0v9"; 252 252 regulator-always-on; ··· 257 257 }; 258 258 259 259 /* S3 1.8 V supply, switched by vcc1v8_s3 */ 260 - vcca1v8_s3: vcc1v8-s3 { 260 + vcca1v8_s3: regulator-vcc1v8-s3 { 261 261 compatible = "regulator-fixed"; 262 262 regulator-name = "vcca1v8_s3"; 263 263 regulator-always-on; ··· 268 268 }; 269 269 270 270 /* micro SD card power */ 271 - vcc3v0_sd: vcc3v0-sd { 271 + vcc3v0_sd: regulator-vcc3v0-sd { 272 272 compatible = "regulator-fixed"; 273 273 enable-active-high; 274 274 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; ··· 286 286 }; 287 287 288 288 /* LCD panel power, called VCC3V3_S0 in schematic */ 289 - vcc3v3_panel: vcc3v3-panel { 289 + vcc3v3_panel: regulator-vcc3v3-panel { 290 290 compatible = "regulator-fixed"; 291 291 enable-active-high; 292 292 gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>; ··· 305 305 }; 306 306 307 307 /* M.2 adapter power, switched by vcc1v8_s3 */ 308 - vcc3v3_ssd: vcc3v3-ssd { 308 + vcc3v3_ssd: regulator-vcc3v3-ssd { 309 309 compatible = "regulator-fixed"; 310 310 regulator-name = "vcc3v3_ssd"; 311 311 regulator-min-microvolt = <3300000>; ··· 315 315 316 316 /* Regulators supplied by vcc5v0_usb */ 317 317 /* USB 3 port power supply regulator */ 318 - vcc5v0_otg: vcc5v0-otg { 318 + vcc5v0_otg: regulator-vcc5v0-otg { 319 319 compatible = "regulator-fixed"; 320 320 enable-active-high; 321 321 gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; ··· 334 334 335 335 /* Regulators supplied by vcc5v0_usb */ 336 336 /* Type C port power supply regulator */ 337 - vbus_5vout: vbus_typec: vbus-5vout { 337 + vbus_5vout: vbus_typec: regulator-vbus-5vout { 338 338 compatible = "regulator-fixed"; 339 339 enable-active-high; 340 340 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; ··· 352 352 353 353 /* Regulators supplied by vcc_1v8 */ 354 354 /* Primary 0.9 V LDO */ 355 - vcca0v9_s3: vcca0v9-s3 { 355 + vcca0v9_s3: regulator-vcca0v9-s3 { 356 356 compatible = "regulator-fixed"; 357 357 regulator-name = "vcc0v9_s3"; 358 358 regulator-min-microvolt = <5000000>;
+6 -6
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
··· 97 97 leds = <&led_red>, <&led_green>, <&led_blue>; 98 98 }; 99 99 100 - vcc_sys: vcc-sys-regulator { 100 + vcc_sys: regulator-vcc-sys { 101 101 compatible = "regulator-fixed"; 102 102 regulator-name = "vcc_sys"; 103 103 regulator-always-on; 104 104 regulator-boot-on; 105 105 }; 106 106 107 - vcc3v3_sys: vcc3v3-sys-regulator { 107 + vcc3v3_sys: regulator-vcc3v3-sys { 108 108 compatible = "regulator-fixed"; 109 109 regulator-name = "vcc3v3_sys"; 110 110 regulator-always-on; ··· 114 114 vin-supply = <&vcc_sys>; 115 115 }; 116 116 117 - vcca1v8_s3: vcc1v8-s3-regulator { 117 + vcca1v8_s3: regulator-vcc1v8-s3 { 118 118 compatible = "regulator-fixed"; 119 119 regulator-name = "vcca1v8_s3"; 120 120 regulator-min-microvolt = <1800000>; ··· 124 124 regulator-boot-on; 125 125 }; 126 126 127 - vcc1v8_codec: vcc1v8-codec-regulator { 127 + vcc1v8_codec: regulator-vcc1v8-codec { 128 128 compatible = "regulator-fixed"; 129 129 enable-active-high; 130 130 gpio = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>; ··· 158 158 }; 159 159 160 160 /* MIPI DSI panel 1.8v supply */ 161 - vcc1v8_lcd: vcc1v8-lcd { 161 + vcc1v8_lcd: regulator-vcc1v8-lcd { 162 162 compatible = "regulator-fixed"; 163 163 enable-active-high; 164 164 regulator-name = "vcc1v8_lcd"; ··· 170 170 }; 171 171 172 172 /* MIPI DSI panel 2.8v supply */ 173 - vcc2v8_lcd: vcc2v8-lcd { 173 + vcc2v8_lcd: regulator-vcc2v8-lcd { 174 174 compatible = "regulator-fixed"; 175 175 enable-active-high; 176 176 regulator-name = "vcc2v8_lcd";
+6 -6
arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts
··· 91 91 clock-frequency = <24576000>; 92 92 }; 93 93 94 - dc_12v: dc-12v { 94 + dc_12v: regulator-dc-12v { 95 95 compatible = "regulator-fixed"; 96 96 regulator-name = "dc_12v"; 97 97 regulator-always-on; ··· 100 100 regulator-max-microvolt = <12000000>; 101 101 }; 102 102 103 - vcc3v3_baseboard: vcc3v3-baseboard { 103 + vcc3v3_baseboard: regulator-vcc3v3-baseboard { 104 104 compatible = "regulator-fixed"; 105 105 regulator-name = "vcc3v3_baseboard"; 106 106 regulator-always-on; ··· 110 110 vin-supply = <&dc_12v>; 111 111 }; 112 112 113 - vcc5v0_baseboard: vcc5v0-baseboard { 113 + vcc5v0_baseboard: regulator-vcc5v0-baseboard { 114 114 compatible = "regulator-fixed"; 115 115 regulator-name = "vcc5v0_baseboard"; 116 116 regulator-always-on; ··· 120 120 vin-supply = <&dc_12v>; 121 121 }; 122 122 123 - vcc5v0_otg: vcc5v0-otg-regulator { 123 + vcc5v0_otg: regulator-vcc5v0-otg { 124 124 compatible = "regulator-fixed"; 125 125 enable-active-high; 126 126 gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>; ··· 130 130 regulator-always-on; 131 131 }; 132 132 133 - vdda_codec: vdda-codec { 133 + vdda_codec: regulator-vdda-codec { 134 134 compatible = "regulator-fixed"; 135 135 regulator-name = "vdda_codec"; 136 136 regulator-boot-on; ··· 139 139 vin-supply = <&vcc5v0_baseboard>; 140 140 }; 141 141 142 - vddd_codec: vddd-codec { 142 + vddd_codec: regulator-vddd-codec { 143 143 compatible = "regulator-fixed"; 144 144 regulator-name = "vddd_codec"; 145 145 regulator-boot-on;
+7 -7
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
··· 40 40 #clock-cells = <0>; 41 41 }; 42 42 43 - vcc1v2_phy: vcc1v2-phy { 43 + vcc1v2_phy: regulator-vcc1v2-phy { 44 44 compatible = "regulator-fixed"; 45 45 regulator-name = "vcc1v2_phy"; 46 46 regulator-always-on; ··· 50 50 vin-supply = <&vcc5v0_sys>; 51 51 }; 52 52 53 - vcc3v3_sys: vcc3v3-sys { 53 + vcc3v3_sys: regulator-vcc3v3-sys { 54 54 compatible = "regulator-fixed"; 55 55 regulator-name = "vcc3v3_sys"; 56 56 regulator-always-on; ··· 60 60 vin-supply = <&vcc5v0_sys>; 61 61 }; 62 62 63 - vcc5v0_host: vcc5v0-host-regulator { 63 + vcc5v0_host: regulator-vcc5v0-host { 64 64 compatible = "regulator-fixed"; 65 65 gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_LOW>; 66 66 pinctrl-names = "default"; ··· 70 70 vin-supply = <&vcc5v0_sys>; 71 71 }; 72 72 73 - vcc5v0_sys: vcc5v0-sys { 73 + vcc5v0_sys: regulator-vcc5v0-sys { 74 74 compatible = "regulator-fixed"; 75 75 regulator-name = "vcc5v0_sys"; 76 76 regulator-always-on; ··· 79 79 regulator-max-microvolt = <5000000>; 80 80 }; 81 81 82 - vcca_0v9: vcca-0v9-regulator { 82 + vcca_0v9: regulator-vcca-0v9 { 83 83 compatible = "regulator-fixed"; 84 84 regulator-name = "vcca_0v9"; 85 85 regulator-always-on; ··· 89 89 vin-supply = <&vcc_1v8>; 90 90 }; 91 91 92 - vcca_1v8: vcca-1v8-regulator { 92 + vcca_1v8: regulator-vcca-1v8 { 93 93 compatible = "regulator-fixed"; 94 94 regulator-name = "vcca_1v8"; 95 95 regulator-always-on; ··· 99 99 vin-supply = <&vcc3v3_sys>; 100 100 }; 101 101 102 - vdd_log: vdd-log { 102 + vdd_log: regulator-vdd-log { 103 103 compatible = "pwm-regulator"; 104 104 pwms = <&pwm2 0 25000 1>; 105 105 pwm-supply = <&vcc5v0_sys>;
+3 -3
arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dts
··· 16 16 }; 17 17 18 18 /* MP8009 PoE PD */ 19 - poe_12v: poe-12v { 19 + poe_12v: regulator-poe-12v { 20 20 compatible = "regulator-fixed"; 21 21 regulator-name = "poe_12v"; 22 22 regulator-always-on; ··· 25 25 regulator-max-microvolt = <12000000>; 26 26 }; 27 27 28 - vcc3v3_ngff: vcc3v3-ngff { 28 + vcc3v3_ngff: regulator-vcc3v3-ngff { 29 29 compatible = "regulator-fixed"; 30 30 regulator-name = "vcc3v3_ngff"; 31 31 enable-active-high; ··· 39 39 vin-supply = <&sys_12v>; 40 40 }; 41 41 42 - vcc3v3_pcie: vcc3v3-pcie { 42 + vcc3v3_pcie: regulator-vcc3v3-pcie { 43 43 compatible = "regulator-fixed"; 44 44 regulator-name = "vcc3v3_pcie"; 45 45 enable-active-high;
+1 -1
arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts
··· 26 26 model = "Firefly ROC-RK3399-PC-PLUS Board"; 27 27 compatible = "firefly,roc-rk3399-pc-plus", "rockchip,rk3399"; 28 28 29 - dc_12v: dc-12v { 29 + dc_12v: regulator-dc-12v { 30 30 compatible = "regulator-fixed"; 31 31 regulator-name = "dc_12v"; 32 32 regulator-always-on;
+10 -10
arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
··· 113 113 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 114 114 }; 115 115 116 - vcc_vbus_typec0: vcc-vbus-typec0 { 116 + vcc_vbus_typec0: regulator-vcc-vbus-typec0 { 117 117 compatible = "regulator-fixed"; 118 118 regulator-name = "vcc_vbus_typec0"; 119 119 regulator-always-on; ··· 122 122 regulator-max-microvolt = <5000000>; 123 123 }; 124 124 125 - sys_12v: sys-12v { 125 + sys_12v: regulator-sys-12v { 126 126 compatible = "regulator-fixed"; 127 127 regulator-name = "sys_12v"; 128 128 regulator-always-on; ··· 131 131 }; 132 132 133 133 /* switched by pmic_sleep */ 134 - vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 134 + vcc1v8_s3: vcca1v8_s3: regulator-vcc1v8-s3 { 135 135 compatible = "regulator-fixed"; 136 136 regulator-name = "vcc1v8_s3"; 137 137 regulator-always-on; ··· 141 141 vin-supply = <&vcc_1v8>; 142 142 }; 143 143 144 - vcc3v0_sd: vcc3v0-sd { 144 + vcc3v0_sd: regulator-vcc3v0-sd { 145 145 compatible = "regulator-fixed"; 146 146 enable-active-high; 147 147 gpio = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>; ··· 154 154 vin-supply = <&vcc3v3_sys>; 155 155 }; 156 156 157 - vcc3v3_sys: vcc3v3-sys { 157 + vcc3v3_sys: regulator-vcc3v3-sys { 158 158 compatible = "regulator-fixed"; 159 159 regulator-name = "vcc3v3_sys"; 160 160 regulator-always-on; ··· 164 164 vin-supply = <&sys_12v>; 165 165 }; 166 166 167 - vcca_0v9: vcca-0v9 { 167 + vcca_0v9: regulator-vcca-0v9 { 168 168 compatible = "regulator-fixed"; 169 169 regulator-name = "vcca_0v9"; 170 170 regulator-always-on; ··· 175 175 }; 176 176 177 177 /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */ 178 - vcc5v0_host: vcc5v0-host-regulator { 178 + vcc5v0_host: regulator-vcc5v0-host { 179 179 compatible = "regulator-fixed"; 180 180 enable-active-high; 181 181 gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; ··· 185 185 vin-supply = <&vcc_sys>; 186 186 }; 187 187 188 - vcc_vbus_typec1: vcc-vbus-typec1 { 188 + vcc_vbus_typec1: regulator-vcc-vbus-typec1 { 189 189 compatible = "regulator-fixed"; 190 190 enable-active-high; 191 191 gpio = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; ··· 196 196 vin-supply = <&vcc_sys>; 197 197 }; 198 198 199 - vcc_sys: vcc-sys { 199 + vcc_sys: regulator-vcc-sys { 200 200 compatible = "regulator-fixed"; 201 201 enable-active-high; 202 202 gpio = <&gpio2 RK_PA6 GPIO_ACTIVE_HIGH>; ··· 209 209 vin-supply = <&sys_12v>; 210 210 }; 211 211 212 - vdd_log: vdd-log { 212 + vdd_log: regulator-vdd-log { 213 213 compatible = "pwm-regulator"; 214 214 pwms = <&pwm2 0 25000 1>; 215 215 regulator-name = "vdd_log";
+6 -6
arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts
··· 76 76 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 77 77 }; 78 78 79 - vcc_3v3: vcc-3v3-regulator { 79 + vcc_3v3: regulator-vcc-3v3 { 80 80 compatible = "regulator-fixed"; 81 81 regulator-name = "vcc_3v3"; 82 82 regulator-always-on; ··· 86 86 vin-supply = <&vcc3v3_sys>; 87 87 }; 88 88 89 - vcc3v3_phy1: vcc3v3-phy1-regulator { 89 + vcc3v3_phy1: regulator-vcc3v3-phy1 { 90 90 compatible = "regulator-fixed"; 91 91 regulator-name = "vcc3v3_phy1"; 92 92 regulator-always-on; ··· 96 96 vin-supply = <&vcc_3v3>; 97 97 }; 98 98 99 - vcc5v0_host1: vcc5v0-host-regulator { 99 + vcc5v0_host1: regulator-vcc5v0-host { 100 100 compatible = "regulator-fixed"; 101 101 enable-active-high; 102 102 gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>; ··· 108 108 vin-supply = <&vcc5v0_host0_s0>; 109 109 }; 110 110 111 - vcc5v0_sys: vcc5v0-sys-regulator { 111 + vcc5v0_sys: regulator-vcc5v0-sys { 112 112 compatible = "regulator-fixed"; 113 113 regulator-name = "vcc5v0_sys"; 114 114 regulator-always-on; ··· 117 117 regulator-max-microvolt = <5000000>; 118 118 }; 119 119 120 - vcc5v0_typec: vcc5v0-typec-regulator { 120 + vcc5v0_typec: regulator-vcc5v0-typec { 121 121 compatible = "regulator-fixed"; 122 122 enable-active-high; 123 123 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; ··· 129 129 vin-supply = <&vcc5v0_sys>; 130 130 }; 131 131 132 - vdd_log: vdd-log-regulator { 132 + vdd_log: regulator-vdd-log { 133 133 compatible = "regulator-fixed"; 134 134 regulator-name = "vdd_log"; 135 135 regulator-always-on;
+9 -9
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
··· 72 72 }; 73 73 }; 74 74 75 - vbus_typec: vbus-typec-regulator { 75 + vbus_typec: regulator-vbus-typec { 76 76 compatible = "regulator-fixed"; 77 77 enable-active-high; 78 78 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; ··· 83 83 vin-supply = <&vcc5v0_sys>; 84 84 }; 85 85 86 - vcc12v_dcin: dc-12v { 86 + vcc12v_dcin: regulator-dc-12v { 87 87 compatible = "regulator-fixed"; 88 88 regulator-name = "vcc12v_dcin"; 89 89 regulator-always-on; ··· 92 92 regulator-max-microvolt = <12000000>; 93 93 }; 94 94 95 - vcc3v3_lan: vcc3v3-lan-regulator { 95 + vcc3v3_lan: regulator-vcc3v3-lan { 96 96 compatible = "regulator-fixed"; 97 97 regulator-name = "vcc3v3_lan"; 98 98 regulator-always-on; ··· 102 102 vin-supply = <&vcc3v3_sys>; 103 103 }; 104 104 105 - vcc3v3_pcie: vcc3v3-pcie-regulator { 105 + vcc3v3_pcie: regulator-vcc3v3-pcie { 106 106 compatible = "regulator-fixed"; 107 107 enable-active-high; 108 108 gpio = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>; ··· 114 114 vin-supply = <&vcc5v0_sys>; 115 115 }; 116 116 117 - vcc3v3_sys: vcc3v3-sys { 117 + vcc3v3_sys: regulator-vcc3v3-sys { 118 118 compatible = "regulator-fixed"; 119 119 regulator-name = "vcc3v3_sys"; 120 120 regulator-always-on; ··· 124 124 vin-supply = <&vcc5v0_sys>; 125 125 }; 126 126 127 - vcc5v0_host: vcc5v0-host-regulator { 127 + vcc5v0_host: regulator-vcc5v0-host { 128 128 compatible = "regulator-fixed"; 129 129 enable-active-high; 130 130 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; ··· 135 135 vin-supply = <&vcc5v0_sys>; 136 136 }; 137 137 138 - vcc5v0_sys: vcc-sys { 138 + vcc5v0_sys: regulator-vcc-sys { 139 139 compatible = "regulator-fixed"; 140 140 regulator-name = "vcc5v0_sys"; 141 141 regulator-always-on; ··· 145 145 vin-supply = <&vcc12v_dcin>; 146 146 }; 147 147 148 - vcc_0v9: vcc-0v9 { 148 + vcc_0v9: regulator-vcc-0v9 { 149 149 compatible = "regulator-fixed"; 150 150 regulator-name = "vcc_0v9"; 151 151 regulator-always-on; ··· 155 155 vin-supply = <&vcc3v3_sys>; 156 156 }; 157 157 158 - vdd_log: vdd-log { 158 + vdd_log: regulator-vdd-log { 159 159 compatible = "pwm-regulator"; 160 160 pwms = <&pwm2 0 25000 1>; 161 161 pwm-supply = <&vcc5v0_sys>;
+7 -7
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
··· 24 24 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 25 25 }; 26 26 27 - vcc12v_dcin: vcc12v-dcin { 27 + vcc12v_dcin: regulator-vcc12v-dcin { 28 28 compatible = "regulator-fixed"; 29 29 regulator-name = "vcc12v_dcin"; 30 30 regulator-min-microvolt = <12000000>; ··· 33 33 regulator-boot-on; 34 34 }; 35 35 36 - vcc1v8_s0: vcc1v8-s0 { 36 + vcc1v8_s0: regulator-vcc1v8-s0 { 37 37 compatible = "regulator-fixed"; 38 38 regulator-name = "vcc1v8_s0"; 39 39 regulator-min-microvolt = <1800000>; ··· 41 41 regulator-always-on; 42 42 }; 43 43 44 - vcc5v0_sys: vcc5v0-sys { 44 + vcc5v0_sys: regulator-vcc5v0-sys { 45 45 compatible = "regulator-fixed"; 46 46 regulator-name = "vcc5v0_sys"; 47 47 regulator-min-microvolt = <5000000>; ··· 50 50 vin-supply = <&vcc12v_dcin>; 51 51 }; 52 52 53 - vcc3v3_sys: vcc3v3-sys { 53 + vcc3v3_sys: regulator-vcc3v3-sys { 54 54 compatible = "regulator-fixed"; 55 55 regulator-name = "vcc3v3_sys"; 56 56 regulator-min-microvolt = <3300000>; ··· 59 59 vin-supply = <&vcc5v0_sys>; 60 60 }; 61 61 62 - vcc3v3_pcie: vcc3v3-pcie-regulator { 62 + vcc3v3_pcie: regulator-vcc3v3-pcie { 63 63 compatible = "regulator-fixed"; 64 64 enable-active-high; 65 65 pinctrl-names = "default"; ··· 71 71 vin-supply = <&vcc3v3_sys>; 72 72 }; 73 73 74 - vcc5v0_host: vcc5v0-host-regulator { 74 + vcc5v0_host: regulator-vcc5v0-host { 75 75 compatible = "regulator-fixed"; 76 76 enable-active-high; 77 77 pinctrl-names = "default"; ··· 83 83 vin-supply = <&vcc5v0_sys>; 84 84 }; 85 85 86 - vcc_0v9: vcc-0v9 { 86 + vcc_0v9: regulator-vcc-0v9 { 87 87 compatible = "regulator-fixed"; 88 88 regulator-name = "vcc_0v9"; 89 89 regulator-always-on;
+11 -11
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
··· 116 116 }; 117 117 }; 118 118 119 - avdd: avdd-regulator { 119 + avdd: regulator-avdd { 120 120 compatible = "regulator-fixed"; 121 121 regulator-name = "avdd"; 122 122 regulator-min-microvolt = <11000000>; ··· 124 124 vin-supply = <&vcc3v3_s0>; 125 125 }; 126 126 127 - vcc12v_dcin: vcc12v-dcin { 127 + vcc12v_dcin: regulator-vcc12v-dcin { 128 128 compatible = "regulator-fixed"; 129 129 regulator-name = "vcc12v_dcin"; 130 130 regulator-always-on; ··· 134 134 }; 135 135 136 136 /* switched by pmic_sleep */ 137 - vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 137 + vcc1v8_s3: vcca1v8_s3: regulator-vcc1v8-s3 { 138 138 compatible = "regulator-fixed"; 139 139 regulator-name = "vcc1v8_s3"; 140 140 regulator-always-on; ··· 145 145 }; 146 146 147 147 /* micro SD card power */ 148 - vcc3v0_sd: vcc3v0-sd { 148 + vcc3v0_sd: regulator-vcc3v0-sd { 149 149 compatible = "regulator-fixed"; 150 150 enable-active-high; 151 151 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; ··· 162 162 }; 163 163 }; 164 164 165 - vcc3v3_pcie: vcc3v3-pcie-regulator { 165 + vcc3v3_pcie: regulator-vcc3v3-pcie { 166 166 compatible = "regulator-fixed"; 167 167 enable-active-high; 168 168 gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>; ··· 174 174 vin-supply = <&vcc12v_dcin>; 175 175 }; 176 176 177 - vcc3v3_sys: vcc3v3-sys { 177 + vcc3v3_sys: regulator-vcc3v3-sys { 178 178 compatible = "regulator-fixed"; 179 179 regulator-name = "vcc3v3_sys"; 180 180 regulator-always-on; ··· 185 185 }; 186 186 187 187 /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */ 188 - vcc5v0_host: vcc5v0-host-regulator { 188 + vcc5v0_host: regulator-vcc5v0-host { 189 189 compatible = "regulator-fixed"; 190 190 enable-active-high; 191 191 gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; ··· 196 196 vin-supply = <&vcc5v0_usb>; 197 197 }; 198 198 199 - vcc5v0_typec: vcc5v0-typec-regulator { 199 + vcc5v0_typec: regulator-vcc5v0-typec { 200 200 compatible = "regulator-fixed"; 201 201 enable-active-high; 202 202 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; ··· 207 207 vin-supply = <&vcc5v0_usb>; 208 208 }; 209 209 210 - vcc5v0_sys: vcc5v0-sys { 210 + vcc5v0_sys: regulator-vcc5v0-sys { 211 211 compatible = "regulator-fixed"; 212 212 regulator-name = "vcc5v0_sys"; 213 213 regulator-always-on; ··· 217 217 vin-supply = <&vcc12v_dcin>; 218 218 }; 219 219 220 - vcc5v0_usb: vcc5v0-usb { 220 + vcc5v0_usb: regulator-vcc5v0-usb { 221 221 compatible = "regulator-fixed"; 222 222 regulator-name = "vcc5v0_usb"; 223 223 regulator-always-on; ··· 227 227 vin-supply = <&vcc12v_dcin>; 228 228 }; 229 229 230 - vdd_log: vdd-log { 230 + vdd_log: regulator-vdd-log { 231 231 compatible = "pwm-regulator"; 232 232 pwms = <&pwm2 0 25000 1>; 233 233 pwm-supply = <&vcc5v0_sys>;
+8 -8
arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi
··· 27 27 #clock-cells = <0>; 28 28 }; 29 29 30 - dc_12v: dc-12v { 30 + dc_12v: regulator-dc-12v { 31 31 compatible = "regulator-fixed"; 32 32 regulator-name = "dc_12v"; 33 33 regulator-always-on; ··· 66 66 }; 67 67 68 68 /* switched by pmic_sleep */ 69 - vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 69 + vcc1v8_s3: vcca1v8_s3: regulator-vcc1v8-s3 { 70 70 compatible = "regulator-fixed"; 71 71 regulator-name = "vcc1v8_s3"; 72 72 regulator-always-on; ··· 76 76 vin-supply = <&vcc_1v8>; 77 77 }; 78 78 79 - vcc3v0_sd: vcc3v0-sd { 79 + vcc3v0_sd: regulator-vcc3v0-sd { 80 80 compatible = "regulator-fixed"; 81 81 enable-active-high; 82 82 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; ··· 89 89 vin-supply = <&vcc3v3_sys>; 90 90 }; 91 91 92 - vcc3v3_sys: vcc3v3-sys { 92 + vcc3v3_sys: regulator-vcc3v3-sys { 93 93 compatible = "regulator-fixed"; 94 94 regulator-name = "vcc3v3_sys"; 95 95 regulator-always-on; ··· 99 99 vin-supply = <&vcc_sys>; 100 100 }; 101 101 102 - vcc5v0_host: vcc5v0-host-regulator { 102 + vcc5v0_host: regulator-vcc5v0-host { 103 103 compatible = "regulator-fixed"; 104 104 enable-active-high; 105 105 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; ··· 110 110 vin-supply = <&vcc_sys>; 111 111 }; 112 112 113 - vcc5v0_typec0: vcc5v0-typec0-regulator { 113 + vcc5v0_typec0: regulator-vcc5v0-typec0 { 114 114 compatible = "regulator-fixed"; 115 115 enable-active-high; 116 116 gpio = <&gpio2 RK_PA0 GPIO_ACTIVE_HIGH>; ··· 120 120 vin-supply = <&vcc_sys>; 121 121 }; 122 122 123 - vcc_sys: vcc-sys { 123 + vcc_sys: regulator-vcc-sys { 124 124 compatible = "regulator-fixed"; 125 125 regulator-name = "vcc_sys"; 126 126 regulator-always-on; ··· 130 130 vin-supply = <&dc_12v>; 131 131 }; 132 132 133 - vdd_log: vdd-log { 133 + vdd_log: regulator-vdd-log { 134 134 compatible = "pwm-regulator"; 135 135 pwms = <&pwm2 0 25000 1>; 136 136 pwm-supply = <&vcc_sys>;
+1 -1
arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi
··· 18 18 mmc1 = &sdmmc; 19 19 }; 20 20 21 - vcc3v3_pcie: vcc-pcie-regulator { 21 + vcc3v3_pcie: regulator-vcc-pcie { 22 22 compatible = "regulator-fixed"; 23 23 enable-active-high; 24 24 gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>;
+35
arch/arm64/boot/dts/rockchip/rk3566-base.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + 3 + #include "rk356x-base.dtsi" 4 + 5 + / { 6 + compatible = "rockchip,rk3566"; 7 + }; 8 + 9 + &pipegrf { 10 + compatible = "rockchip,rk3566-pipe-grf", "syscon"; 11 + }; 12 + 13 + &power { 14 + power-domain@RK3568_PD_PIPE { 15 + reg = <RK3568_PD_PIPE>; 16 + clocks = <&cru PCLK_PIPE>; 17 + pm_qos = <&qos_pcie2x1>, 18 + <&qos_sata1>, 19 + <&qos_sata2>, 20 + <&qos_usb3_0>, 21 + <&qos_usb3_1>; 22 + #power-domain-cells = <0>; 23 + }; 24 + }; 25 + 26 + &usb_host0_xhci { 27 + phys = <&usb2phy0_otg>; 28 + phy-names = "usb2-phy"; 29 + extcon = <&usb2phy0>; 30 + maximum-speed = "high-speed"; 31 + }; 32 + 33 + &vop { 34 + compatible = "rockchip,rk3566-vop"; 35 + };
+6 -6
arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts
··· 52 52 }; 53 53 }; 54 54 55 - usb_5v: usb-5v-regulator { 55 + usb_5v: regulator-usb-5v { 56 56 compatible = "regulator-fixed"; 57 57 regulator-name = "usb_5v"; 58 58 regulator-always-on; ··· 61 61 regulator-max-microvolt = <5000000>; 62 62 }; 63 63 64 - vcc5v0_sys: vcc5v0-sys-regulator { 64 + vcc5v0_sys: regulator-vcc5v0-sys { 65 65 compatible = "regulator-fixed"; 66 66 regulator-name = "vcc5v0_sys"; 67 67 regulator-always-on; ··· 71 71 vin-supply = <&usb_5v>; 72 72 }; 73 73 74 - vcc3v3_sys: vcc3v3-sys-regulator { 74 + vcc3v3_sys: regulator-vcc3v3-sys { 75 75 compatible = "regulator-fixed"; 76 76 regulator-name = "vcc3v3_sys"; 77 77 regulator-always-on; ··· 81 81 vin-supply = <&vcc5v0_sys>; 82 82 }; 83 83 84 - vcc3v3_pcie: vcc3v3-pcie-regulator { 84 + vcc3v3_pcie: regulator-vcc3v3-pcie { 85 85 compatible = "regulator-fixed"; 86 86 regulator-name = "vcc3v3_pcie"; 87 87 regulator-min-microvolt = <3300000>; ··· 92 92 vin-supply = <&vcc5v0_sys>; 93 93 }; 94 94 95 - vcc5v0_usb20_host: vcc5v0-usb20-host-regulator { 95 + vcc5v0_usb20_host: regulator-vcc5v0-usb20-host { 96 96 compatible = "regulator-fixed"; 97 97 enable-active-high; 98 98 gpio = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>; ··· 102 102 regulator-always-on; 103 103 }; 104 104 105 - vcc5v0_usb30_host: vcc5v0-usb30-host-regulator { 105 + vcc5v0_usb30_host: regulator-vcc5v0-usb30-host { 106 106 compatible = "regulator-fixed"; 107 107 enable-active-high; 108 108 gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
+7 -7
arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi
··· 129 129 }; 130 130 }; 131 131 132 - vbat_4g: vbat-4g { 132 + vbat_4g: regulator-vbat-4g { 133 133 compatible = "regulator-fixed"; 134 134 regulator-name = "vbat_4g"; 135 135 regulator-min-microvolt = <3800000>; ··· 138 138 vin-supply = <&vbat_4g_en>; 139 139 }; 140 140 141 - vcc_1v8: vcc-1v8 { 141 + vcc_1v8: regulator-vcc-1v8 { 142 142 compatible = "regulator-fixed"; 143 143 regulator-name = "vcc_1v8"; 144 144 regulator-always-on; ··· 148 148 vin-supply = <&vcc_1v8_en>; 149 149 }; 150 150 151 - vcc_bat: vcc-bat { 151 + vcc_bat: regulator-vcc-bat { 152 152 compatible = "regulator-fixed"; 153 153 regulator-name = "vcc_bat"; 154 154 regulator-always-on; ··· 156 156 regulator-max-microvolt = <3800000>; 157 157 }; 158 158 159 - vcc_hall_3v3: vcc-hall-3v3 { 159 + vcc_hall_3v3: regulator-vcc-hall-3v3 { 160 160 compatible = "regulator-fixed"; 161 161 regulator-name = "vcc_hall_3v3"; 162 162 regulator-always-on; ··· 165 165 vin-supply = <&vcc_sys>; 166 166 }; 167 167 168 - vcc_sys: vcc-sys { 168 + vcc_sys: regulator-vcc-sys { 169 169 compatible = "regulator-fixed"; 170 170 regulator-name = "vcc_sys"; 171 171 regulator-always-on; ··· 174 174 vin-supply = <&vcc_bat>; 175 175 }; 176 176 177 - vcc_wl: vcc-wl { 177 + vcc_wl: regulator-vcc-wl { 178 178 compatible = "regulator-fixed"; 179 179 enable-active-high; 180 180 gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; ··· 186 186 vin-supply = <&vcc_bat>; 187 187 }; 188 188 189 - vdda_0v9: vdda-0v9 { 189 + vdda_0v9: regulator-vdda-0v9 { 190 190 compatible = "regulator-fixed"; 191 191 regulator-name = "vdda_0v9"; 192 192 regulator-always-on;
+9 -9
arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi
··· 143 143 VCC-supply = <&vcc_bat>; 144 144 }; 145 145 146 - vcc_3v3: vcc-3v3-regulator { 146 + vcc_3v3: regulator-vcc-3v3 { 147 147 compatible = "regulator-fixed"; 148 148 regulator-name = "vcc_3v3"; 149 149 regulator-always-on; ··· 153 153 vin-supply = <&vcc3v3_sys>; 154 154 }; 155 155 156 - vcc3v3_minipcie: vcc3v3-minipcie-regulator { 156 + vcc3v3_minipcie: regulator-vcc3v3-minipcie { 157 157 compatible = "regulator-fixed"; 158 158 enable-active-high; 159 159 gpio = <&gpio4 RK_PC3 GPIO_ACTIVE_HIGH>; ··· 165 165 vin-supply = <&vcc_sys>; 166 166 }; 167 167 168 - vcc3v3_sd: vcc3v3-sd-regulator { 168 + vcc3v3_sd: regulator-vcc3v3-sd { 169 169 compatible = "regulator-fixed"; 170 170 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; 171 171 pinctrl-names = "default"; ··· 176 176 vin-supply = <&vcc3v3_sys>; 177 177 }; 178 178 179 - vcc5v0_flashled: vcc5v0-flashled-regulator { 179 + vcc5v0_flashled: regulator-vcc5v0-flashled { 180 180 compatible = "regulator-fixed"; 181 181 enable-active-high; 182 182 gpio = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; ··· 188 188 vin-supply = <&vcc5v_midu>; 189 189 }; 190 190 191 - vcc5v0_usb_host0: vcc5v0-usb-host0-regulator { 191 + vcc5v0_usb_host0: regulator-vcc5v0-usb-host0 { 192 192 compatible = "regulator-fixed"; 193 193 enable-active-high; 194 194 gpio = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>; ··· 200 200 vin-supply = <&vcc5v_midu>; 201 201 }; 202 202 203 - vcc5v0_usb_host2: vcc5v0-usb-host2-regulator { 203 + vcc5v0_usb_host2: regulator-vcc5v0-usb-host2 { 204 204 compatible = "regulator-fixed"; 205 205 enable-active-high; 206 206 gpio = <&gpio4 RK_PC5 GPIO_ACTIVE_HIGH>; ··· 212 212 vin-supply = <&vcc5v_midu>; 213 213 }; 214 214 215 - vcc_bat: vcc-bat-regulator { 215 + vcc_bat: regulator-vcc-bat { 216 216 compatible = "regulator-fixed"; 217 217 regulator-name = "vcc_bat"; 218 218 regulator-always-on; 219 219 regulator-boot-on; 220 220 }; 221 221 222 - vcc_sys: vcc-sys-regulator { 222 + vcc_sys: regulator-vcc-sys { 223 223 compatible = "regulator-fixed"; 224 224 regulator-name = "vcc_sys"; 225 225 regulator-always-on; ··· 227 227 vin-supply = <&vcc_bat>; 228 228 }; 229 229 230 - vdd1v2_dvp: vdd1v2-dvp-regulator { 230 + vdd1v2_dvp: regulator-vdd1v2-dvp { 231 231 compatible = "regulator-fixed"; 232 232 regulator-name = "vdd1v2_dvp"; 233 233 regulator-min-microvolt = <1200000>;
+9 -9
arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
··· 117 117 }; 118 118 }; 119 119 120 - vcc12v_dcin: vcc12v_dcin { 120 + vcc12v_dcin: regulator-vcc12v-dcin { 121 121 compatible = "regulator-fixed"; 122 122 regulator-name = "vcc12v_dcin"; 123 123 regulator-always-on; ··· 130 130 * With no battery attached, also feeds vcc_bat+ 131 131 * via ON/OFF_BAT jumper 132 132 */ 133 - vbus: vbus { 133 + vbus: regulator-vbus { 134 134 compatible = "regulator-fixed"; 135 135 regulator-name = "vbus"; 136 136 regulator-always-on; ··· 140 140 vin-supply = <&vcc12v_dcin>; 141 141 }; 142 142 143 - vcc3v3_pcie_p: vcc3v3-pcie-p-regulator { 143 + vcc3v3_pcie_p: regulator-vcc3v3-pcie-p { 144 144 compatible = "regulator-fixed"; 145 145 enable-active-high; 146 146 gpio = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; ··· 152 152 vin-supply = <&vcc_3v3>; 153 153 }; 154 154 155 - vcc5v0_usb: vcc5v0_usb { 155 + vcc5v0_usb: regulator-vcc5v0-usb { 156 156 compatible = "regulator-fixed"; 157 157 regulator-name = "vcc5v0_usb"; 158 158 regulator-always-on; ··· 166 166 * the host ports are sourced from vcc5v0_usb 167 167 * the otg port is sourced from vcc5v0_midu 168 168 */ 169 - vcc5v0_usb20_host: vcc5v0_usb20_host { 169 + vcc5v0_usb20_host: regulator-vcc5v0-usb20-host { 170 170 compatible = "regulator-fixed"; 171 171 enable-active-high; 172 172 gpio = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; ··· 178 178 vin-supply = <&vcc5v0_usb>; 179 179 }; 180 180 181 - vcc5v0_usb20_otg: vcc5v0_usb20_otg { 181 + vcc5v0_usb20_otg: regulator-vcc5v0-usb20-otg { 182 182 compatible = "regulator-fixed"; 183 183 enable-active-high; 184 184 gpio = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; ··· 188 188 vin-supply = <&dcdc_boost>; 189 189 }; 190 190 191 - vcc3v3_sd: vcc3v3_sd { 191 + vcc3v3_sd: regulator-vcc3v3-sd { 192 192 compatible = "regulator-fixed"; 193 193 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; 194 194 pinctrl-names = "default"; ··· 201 201 }; 202 202 203 203 /* sourced from vbus and vcc_bat+ via rk817 sw5 */ 204 - vcc_sys: vcc_sys { 204 + vcc_sys: regulator-vcc-sys { 205 205 compatible = "regulator-fixed"; 206 206 regulator-name = "vcc_sys"; 207 207 regulator-always-on; ··· 212 212 }; 213 213 214 214 /* sourced from vcc_sys, sdio module operates internally at 3.3v */ 215 - vcc_wl: vcc_wl { 215 + vcc_wl: regulator-vcc-wl { 216 216 compatible = "regulator-fixed"; 217 217 regulator-name = "vcc_wl"; 218 218 regulator-always-on;
+6 -6
arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts
··· 81 81 power-off-delay-us = <5000000>; 82 82 }; 83 83 84 - vcc3v3_pcie_p: vcc3v3-pcie-p-regulator { 84 + vcc3v3_pcie_p: regulator-vcc3v3-pcie-p { 85 85 compatible = "regulator-fixed"; 86 86 enable-active-high; 87 87 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; ··· 93 93 vin-supply = <&vcc_3v3>; 94 94 }; 95 95 96 - vcc5v0_in: vcc5v0-in-regulator { 96 + vcc5v0_in: regulator-vcc5v0-in { 97 97 compatible = "regulator-fixed"; 98 98 regulator-name = "vcc5v0_in"; 99 99 regulator-always-on; ··· 102 102 regulator-max-microvolt = <5000000>; 103 103 }; 104 104 105 - vcc5v0_sys: vcc5v0-sys-regulator { 105 + vcc5v0_sys: regulator-vcc5v0-sys { 106 106 compatible = "regulator-fixed"; 107 107 regulator-name = "vcc5v0_sys"; 108 108 regulator-always-on; ··· 112 112 vin-supply = <&vcc5v0_in>; 113 113 }; 114 114 115 - vcc3v3_sys: vcc3v3-sys-regulator { 115 + vcc3v3_sys: regulator-vcc3v3-sys { 116 116 compatible = "regulator-fixed"; 117 117 regulator-name = "vcc3v3_sys"; 118 118 regulator-min-microvolt = <3300000>; ··· 121 121 vin-supply = <&vcc5v0_sys>; 122 122 }; 123 123 124 - vcc5v0_usb30_host: vcc5v0-usb30-host-regulator { 124 + vcc5v0_usb30_host: regulator-vcc5v0-usb30-host { 125 125 compatible = "regulator-fixed"; 126 126 regulator-name = "vcc5v0_usb30_host"; 127 127 enable-active-high; ··· 134 134 vin-supply = <&vcc5v0_sys>; 135 135 }; 136 136 137 - vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { 137 + vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 138 138 compatible = "regulator-fixed"; 139 139 regulator-name = "vcc5v0_usb_otg"; 140 140 enable-active-high;
+3 -3
arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-io.dts
··· 53 53 }; 54 54 }; 55 55 56 - vcc5v0_usb30: vcc5v0-usb30-regulator { 56 + vcc5v0_usb30: regulator-vcc5v0-usb30 { 57 57 compatible = "regulator-fixed"; 58 58 regulator-name = "vcc5v0_usb30"; 59 59 enable-active-high; ··· 66 66 vin-supply = <&vcc_sys>; 67 67 }; 68 68 69 - vcca1v8_image: vcca1v8-image-regulator { 69 + vcca1v8_image: regulator-vcca1v8-image { 70 70 compatible = "regulator-fixed"; 71 71 regulator-name = "vcca1v8_image"; 72 72 regulator-always-on; ··· 76 76 vin-supply = <&vcc_1v8_p>; 77 77 }; 78 78 79 - vdda0v9_image: vdda0v9-image-regulator { 79 + vdda0v9_image: regulator-vdda0v9-image { 80 80 compatible = "regulator-fixed"; 81 81 regulator-name = "vcca0v9_image"; 82 82 regulator-always-on;
+4 -4
arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi
··· 28 28 }; 29 29 }; 30 30 31 - vcc_sys: vcc-sys-regulator { 31 + vcc_sys: regulator-vcc-sys { 32 32 compatible = "regulator-fixed"; 33 33 regulator-name = "vcc_sys"; 34 34 regulator-always-on; ··· 37 37 regulator-max-microvolt = <5000000>; 38 38 }; 39 39 40 - vcc_1v8: vcc-1v8-regulator { 40 + vcc_1v8: regulator-vcc-1v8 { 41 41 compatible = "regulator-fixed"; 42 42 regulator-name = "vcc_1v8"; 43 43 regulator-always-on; ··· 47 47 vin-supply = <&vcc_1v8_p>; 48 48 }; 49 49 50 - vcc_3v3: vcc-3v3-regulator { 50 + vcc_3v3: regulator-vcc-3v3 { 51 51 compatible = "regulator-fixed"; 52 52 regulator-name = "vcc_3v3"; 53 53 regulator-always-on; ··· 57 57 vin-supply = <&vcc3v3_sys>; 58 58 }; 59 59 60 - vcca_1v8: vcca-1v8-regulator { 60 + vcca_1v8: regulator-vcca-1v8 { 61 61 compatible = "regulator-fixed"; 62 62 regulator-name = "vcca_1v8"; 63 63 regulator-always-on;
+1 -1
arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi
··· 3 3 #include <dt-bindings/gpio/gpio.h> 4 4 #include <dt-bindings/leds/common.h> 5 5 #include <dt-bindings/soc/rockchip,vop2.h> 6 - #include "rk3566.dtsi" 6 + #include "rk3566t.dtsi" 7 7 8 8 / { 9 9 chosen {
+6 -6
arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
··· 80 80 reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>; 81 81 }; 82 82 83 - usb_5v: usb-5v-regulator { 83 + usb_5v: regulator-usb-5v { 84 84 compatible = "regulator-fixed"; 85 85 regulator-name = "usb_5v"; 86 86 regulator-always-on; ··· 89 89 regulator-max-microvolt = <5000000>; 90 90 }; 91 91 92 - vcc5v0_sys: vcc5v0-sys-regulator { 92 + vcc5v0_sys: regulator-vcc5v0-sys { 93 93 compatible = "regulator-fixed"; 94 94 regulator-name = "vcc5v0_sys"; 95 95 regulator-always-on; ··· 99 99 vin-supply = <&usb_5v>; 100 100 }; 101 101 102 - vcc3v3_pcie: vcc3v3-pcie-regulator { 102 + vcc3v3_pcie: regulator-vcc3v3-pcie { 103 103 compatible = "regulator-fixed"; 104 104 enable-active-high; 105 105 gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; ··· 111 111 vin-supply = <&vcc5v0_sys>; 112 112 }; 113 113 114 - vcc3v3_sys: vcc3v3-sys-regulator { 114 + vcc3v3_sys: regulator-vcc3v3-sys { 115 115 compatible = "regulator-fixed"; 116 116 regulator-name = "vcc3v3_sys"; 117 117 regulator-min-microvolt = <3300000>; ··· 120 120 vin-supply = <&vcc5v0_sys>; 121 121 }; 122 122 123 - vcc5v0_usb30_host: vcc5v0-usb30-host-regulator { 123 + vcc5v0_usb30_host: regulator-vcc5v0-usb30-host { 124 124 compatible = "regulator-fixed"; 125 125 regulator-name = "vcc5v0_usb30_host"; 126 126 enable-active-high; ··· 133 133 vin-supply = <&vcc5v0_sys>; 134 134 }; 135 135 136 - vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { 136 + vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 137 137 compatible = "regulator-fixed"; 138 138 regulator-name = "vcc5v0_usb_otg"; 139 139 enable-active-high;
+9 -9
arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts
··· 5 5 #include <dt-bindings/leds/common.h> 6 6 #include <dt-bindings/pinctrl/rockchip.h> 7 7 #include <dt-bindings/soc/rockchip,vop2.h> 8 - #include "rk3566.dtsi" 8 + #include "rk3566t.dtsi" 9 9 10 10 / { 11 11 model = "Radxa ROCK 3C"; ··· 64 64 reset-gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_LOW>; 65 65 }; 66 66 67 - vcc5v_dcin: vcc5v-dcin-regulator { 67 + vcc5v_dcin: regulator-vcc5v-dcin { 68 68 compatible = "regulator-fixed"; 69 69 regulator-name = "vcc5v_dcin"; 70 70 regulator-always-on; ··· 73 73 regulator-max-microvolt = <5000000>; 74 74 }; 75 75 76 - vcc3v3_pcie: vcc3v3-pcie-regulator { 76 + vcc3v3_pcie: regulator-vcc3v3-pcie { 77 77 compatible = "regulator-fixed"; 78 78 enable-active-high; 79 79 gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; ··· 85 85 vin-supply = <&vcc3v3_sys>; 86 86 }; 87 87 88 - vcc3v3_sys: vcc3v3-sys-regulator { 88 + vcc3v3_sys: regulator-vcc3v3-sys { 89 89 compatible = "regulator-fixed"; 90 90 regulator-name = "vcc3v3_sys"; 91 91 regulator-always-on; ··· 95 95 vin-supply = <&vcc5v0_sys>; 96 96 }; 97 97 98 - vcc5v0_sys: vcc5v0-sys-regulator { 98 + vcc5v0_sys: regulator-vcc5v0-sys { 99 99 compatible = "regulator-fixed"; 100 100 regulator-name = "vcc5v0_sys"; 101 101 regulator-always-on; ··· 105 105 vin-supply = <&vcc5v_dcin>; 106 106 }; 107 107 108 - vcc5v0_usb30_host: vcc5v0-usb30-host-regulator { 108 + vcc5v0_usb30_host: regulator-vcc5v0-usb30-host { 109 109 compatible = "regulator-fixed"; 110 110 enable-active-high; 111 111 gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; ··· 117 117 vin-supply = <&vcc5v0_sys>; 118 118 }; 119 119 120 - vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { 120 + vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 121 121 compatible = "regulator-fixed"; 122 122 enable-active-high; 123 123 gpio = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; ··· 129 129 vin-supply = <&vcc5v0_sys>; 130 130 }; 131 131 132 - vcc_cam: vcc-cam-regulator { 132 + vcc_cam: regulator-vcc-cam { 133 133 compatible = "regulator-fixed"; 134 134 enable-active-high; 135 135 gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; ··· 145 145 }; 146 146 }; 147 147 148 - vcc_mipi: vcc-mipi-regulator { 148 + vcc_mipi: regulator-vcc-mipi { 149 149 compatible = "regulator-fixed"; 150 150 enable-active-high; 151 151 gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
+3 -3
arch/arm64/boot/dts/rockchip/rk3566-soquartz-blade.dts
··· 18 18 }; 19 19 20 20 /* labeled VCC3V0_SD in schematic to not conflict with PMIC regulator */ 21 - vcc3v0_sd: vcc3v0-sd-regulator { 21 + vcc3v0_sd: regulator-vcc3v0-sd { 22 22 compatible = "regulator-fixed"; 23 23 regulator-name = "vcc3v0_sd"; 24 24 regulator-always-on; ··· 29 29 }; 30 30 31 31 /* labeled VCC_SSD in schematic */ 32 - vcc3v3_pcie_p: vcc3v3-pcie-regulator { 32 + vcc3v3_pcie_p: regulator-vcc3v3-pcie { 33 33 compatible = "regulator-fixed"; 34 34 regulator-name = "vcc3v3_pcie_p"; 35 35 regulator-always-on; ··· 39 39 vin-supply = <&vbus>; 40 40 }; 41 41 42 - vcc5v_dcin: vcc5v-dcin-regulator { 42 + vcc5v_dcin: regulator-vcc5v-dcin { 43 43 compatible = "regulator-fixed"; 44 44 regulator-name = "vcc5v_dcin"; 45 45 regulator-always-on;
+3 -3
arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts
··· 13 13 }; 14 14 15 15 /* labeled +12v in schematic */ 16 - vcc12v_dcin: vcc12v-dcin-regulator { 16 + vcc12v_dcin: regulator-vcc12v-dcin { 17 17 compatible = "regulator-fixed"; 18 18 regulator-name = "vcc12v_dcin"; 19 19 regulator-always-on; ··· 23 23 }; 24 24 25 25 /* labeled +5v in schematic */ 26 - vcc_5v: vcc-5v-regulator { 26 + vcc_5v: regulator-vcc-5v { 27 27 compatible = "regulator-fixed"; 28 28 regulator-name = "vcc_5v"; 29 29 regulator-always-on; ··· 33 33 vin-supply = <&vcc12v_dcin>; 34 34 }; 35 35 36 - vcc_sd_pwr: vcc-sd-pwr-regulator { 36 + vcc_sd_pwr: regulator-vcc-sd-pwr { 37 37 compatible = "regulator-fixed"; 38 38 regulator-name = "vcc_sd_pwr"; 39 39 regulator-always-on;
+5 -5
arch/arm64/boot/dts/rockchip/rk3566-soquartz-model-a.dts
··· 13 13 }; 14 14 15 15 /* labeled DCIN_12V in schematic */ 16 - vcc12v_dcin: vcc12v-dcin-regulator { 16 + vcc12v_dcin: regulator-vcc12v-dcin { 17 17 compatible = "regulator-fixed"; 18 18 regulator-name = "vcc12v_dcin"; 19 19 regulator-always-on; ··· 22 22 regulator-max-microvolt = <12000000>; 23 23 }; 24 24 25 - vcc5v0_usb: vcc5v0-usb-regulator { 25 + vcc5v0_usb: regulator-vcc5v0-usb { 26 26 compatible = "regulator-fixed"; 27 27 regulator-name = "vcc5v0_usb"; 28 28 regulator-always-on; ··· 36 36 * Labelled VCC3V0_SD in schematic to not conflict with PMIC 37 37 * regulator, it's 3.3v in actuality 38 38 */ 39 - vcc3v0_sd: vcc3v0-sd-regulator { 39 + vcc3v0_sd: regulator-vcc3v0-sd { 40 40 compatible = "regulator-fixed"; 41 41 regulator-name = "vcc3v0_sd"; 42 42 regulator-always-on; ··· 46 46 vin-supply = <&vcc3v3_sys>; 47 47 }; 48 48 49 - vcc3v3_pcie: vcc3v3-pcie-regulator { 49 + vcc3v3_pcie: regulator-vcc3v3-pcie { 50 50 compatible = "regulator-fixed"; 51 51 regulator-name = "vcc3v3_pcie"; 52 52 regulator-always-on; ··· 56 56 vin-supply = <&vcc12v_dcin>; 57 57 }; 58 58 59 - vcc12v_pcie: vcc12v-pcie-regulator { 59 + vcc12v_pcie: regulator-vcc12v-pcie { 60 60 compatible = "regulator-fixed"; 61 61 regulator-name = "vcc12v_pcie"; 62 62 regulator-always-on;
+3 -3
arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi
··· 74 74 reset-gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_LOW>; 75 75 }; 76 76 77 - vbus: vbus-regulator { 77 + vbus: regulator-vbus { 78 78 compatible = "regulator-fixed"; 79 79 regulator-name = "vbus"; 80 80 regulator-always-on; ··· 84 84 }; 85 85 86 86 /* sourced from vbus, vbus is provided by the carrier board */ 87 - vcc5v0_sys: vcc5v0-sys-regulator { 87 + vcc5v0_sys: regulator-vcc5v0-sys { 88 88 compatible = "regulator-fixed"; 89 89 regulator-name = "vcc5v0_sys"; 90 90 regulator-always-on; ··· 94 94 vin-supply = <&vbus>; 95 95 }; 96 96 97 - vcc3v3_sys: vcc3v3-sys-regulator { 97 + vcc3v3_sys: regulator-vcc3v3-sys { 98 98 compatible = "regulator-fixed"; 99 99 regulator-name = "vcc3v3_sys"; 100 100 regulator-always-on;
+95 -23
arch/arm64/boot/dts/rockchip/rk3566.dtsi
··· 1 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 2 3 - #include "rk356x.dtsi" 3 + #include "rk3566-base.dtsi" 4 4 5 5 / { 6 - compatible = "rockchip,rk3566"; 7 - }; 6 + cpu0_opp_table: opp-table-0 { 7 + compatible = "operating-points-v2"; 8 + opp-shared; 8 9 9 - &pipegrf { 10 - compatible = "rockchip,rk3566-pipe-grf", "syscon"; 11 - }; 10 + opp-408000000 { 11 + opp-hz = /bits/ 64 <408000000>; 12 + opp-microvolt = <850000 850000 1150000>; 13 + clock-latency-ns = <40000>; 14 + }; 12 15 13 - &power { 14 - power-domain@RK3568_PD_PIPE { 15 - reg = <RK3568_PD_PIPE>; 16 - clocks = <&cru PCLK_PIPE>; 17 - pm_qos = <&qos_pcie2x1>, 18 - <&qos_sata1>, 19 - <&qos_sata2>, 20 - <&qos_usb3_0>, 21 - <&qos_usb3_1>; 22 - #power-domain-cells = <0>; 16 + opp-600000000 { 17 + opp-hz = /bits/ 64 <600000000>; 18 + opp-microvolt = <850000 850000 1150000>; 19 + clock-latency-ns = <40000>; 20 + }; 21 + 22 + opp-816000000 { 23 + opp-hz = /bits/ 64 <816000000>; 24 + opp-microvolt = <850000 850000 1150000>; 25 + clock-latency-ns = <40000>; 26 + opp-suspend; 27 + }; 28 + 29 + opp-1104000000 { 30 + opp-hz = /bits/ 64 <1104000000>; 31 + opp-microvolt = <900000 900000 1150000>; 32 + clock-latency-ns = <40000>; 33 + }; 34 + 35 + opp-1416000000 { 36 + opp-hz = /bits/ 64 <1416000000>; 37 + opp-microvolt = <1025000 1025000 1150000>; 38 + clock-latency-ns = <40000>; 39 + }; 40 + 41 + opp-1608000000 { 42 + opp-hz = /bits/ 64 <1608000000>; 43 + opp-microvolt = <1100000 1100000 1150000>; 44 + clock-latency-ns = <40000>; 45 + }; 46 + 47 + opp-1800000000 { 48 + opp-hz = /bits/ 64 <1800000000>; 49 + opp-microvolt = <1150000 1150000 1150000>; 50 + clock-latency-ns = <40000>; 51 + }; 52 + }; 53 + 54 + gpu_opp_table: opp-table-1 { 55 + compatible = "operating-points-v2"; 56 + 57 + opp-200000000 { 58 + opp-hz = /bits/ 64 <200000000>; 59 + opp-microvolt = <850000 850000 1000000>; 60 + }; 61 + 62 + opp-300000000 { 63 + opp-hz = /bits/ 64 <300000000>; 64 + opp-microvolt = <850000 850000 1000000>; 65 + }; 66 + 67 + opp-400000000 { 68 + opp-hz = /bits/ 64 <400000000>; 69 + opp-microvolt = <850000 850000 1000000>; 70 + }; 71 + 72 + opp-600000000 { 73 + opp-hz = /bits/ 64 <600000000>; 74 + opp-microvolt = <900000 900000 1000000>; 75 + }; 76 + 77 + opp-700000000 { 78 + opp-hz = /bits/ 64 <700000000>; 79 + opp-microvolt = <950000 950000 1000000>; 80 + }; 81 + 82 + opp-800000000 { 83 + opp-hz = /bits/ 64 <800000000>; 84 + opp-microvolt = <1000000 1000000 1000000>; 85 + }; 23 86 }; 24 87 }; 25 88 26 - &usb_host0_xhci { 27 - phys = <&usb2phy0_otg>; 28 - phy-names = "usb2-phy"; 29 - extcon = <&usb2phy0>; 30 - maximum-speed = "high-speed"; 89 + &cpu0 { 90 + operating-points-v2 = <&cpu0_opp_table>; 31 91 }; 32 92 33 - &vop { 34 - compatible = "rockchip,rk3566-vop"; 93 + &cpu1 { 94 + operating-points-v2 = <&cpu0_opp_table>; 95 + }; 96 + 97 + &cpu2 { 98 + operating-points-v2 = <&cpu0_opp_table>; 99 + }; 100 + 101 + &cpu3 { 102 + operating-points-v2 = <&cpu0_opp_table>; 103 + }; 104 + 105 + &gpu { 106 + operating-points-v2 = <&gpu_opp_table>; 35 107 };
+90
arch/arm64/boot/dts/rockchip/rk3566t.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + 3 + #include "rk3566-base.dtsi" 4 + 5 + / { 6 + cpu0_opp_table: opp-table-0 { 7 + compatible = "operating-points-v2"; 8 + opp-shared; 9 + 10 + opp-408000000 { 11 + opp-hz = /bits/ 64 <408000000>; 12 + opp-microvolt = <850000 850000 1150000>; 13 + clock-latency-ns = <40000>; 14 + }; 15 + 16 + opp-600000000 { 17 + opp-hz = /bits/ 64 <600000000>; 18 + opp-microvolt = <850000 850000 1150000>; 19 + clock-latency-ns = <40000>; 20 + }; 21 + 22 + opp-816000000 { 23 + opp-hz = /bits/ 64 <816000000>; 24 + opp-microvolt = <850000 850000 1150000>; 25 + clock-latency-ns = <40000>; 26 + opp-suspend; 27 + }; 28 + 29 + opp-1104000000 { 30 + opp-hz = /bits/ 64 <1104000000>; 31 + opp-microvolt = <900000 900000 1150000>; 32 + clock-latency-ns = <40000>; 33 + }; 34 + 35 + opp-1416000000 { 36 + opp-hz = /bits/ 64 <1416000000>; 37 + opp-microvolt = <1025000 1025000 1150000>; 38 + clock-latency-ns = <40000>; 39 + }; 40 + }; 41 + 42 + gpu_opp_table: opp-table-1 { 43 + compatible = "operating-points-v2"; 44 + 45 + opp-200000000 { 46 + opp-hz = /bits/ 64 <200000000>; 47 + opp-microvolt = <850000 850000 1000000>; 48 + }; 49 + 50 + opp-300000000 { 51 + opp-hz = /bits/ 64 <300000000>; 52 + opp-microvolt = <850000 850000 1000000>; 53 + }; 54 + 55 + opp-400000000 { 56 + opp-hz = /bits/ 64 <400000000>; 57 + opp-microvolt = <850000 850000 1000000>; 58 + }; 59 + 60 + opp-600000000 { 61 + opp-hz = /bits/ 64 <600000000>; 62 + opp-microvolt = <900000 900000 1000000>; 63 + }; 64 + 65 + opp-700000000 { 66 + opp-hz = /bits/ 64 <700000000>; 67 + opp-microvolt = <950000 950000 1000000>; 68 + }; 69 + }; 70 + }; 71 + 72 + &cpu0 { 73 + operating-points-v2 = <&cpu0_opp_table>; 74 + }; 75 + 76 + &cpu1 { 77 + operating-points-v2 = <&cpu0_opp_table>; 78 + }; 79 + 80 + &cpu2 { 81 + operating-points-v2 = <&cpu0_opp_table>; 82 + }; 83 + 84 + &cpu3 { 85 + operating-points-v2 = <&cpu0_opp_table>; 86 + }; 87 + 88 + &gpu { 89 + operating-points-v2 = <&gpu_opp_table>; 90 + };
+11 -11
arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
··· 46 46 }; 47 47 }; 48 48 49 - dc_12v: dc-12v-regulator { 49 + dc_12v: regulator-dc-12v { 50 50 compatible = "regulator-fixed"; 51 51 regulator-name = "dc_12v"; 52 52 regulator-always-on; ··· 73 73 pinctrl-0 = <&ir_receiver_pin>; 74 74 }; 75 75 76 - vcc3v3_sys: vcc3v3-sys-regulator { 76 + vcc3v3_sys: regulator-vcc3v3-sys { 77 77 compatible = "regulator-fixed"; 78 78 regulator-name = "vcc3v3_sys"; 79 79 regulator-always-on; ··· 83 83 vin-supply = <&dc_12v>; 84 84 }; 85 85 86 - vcc5v0_sys: vcc5v0-sys-regulator { 86 + vcc5v0_sys: regulator-vcc5v0-sys { 87 87 compatible = "regulator-fixed"; 88 88 regulator-name = "vcc5v0_sys"; 89 89 regulator-always-on; ··· 93 93 vin-supply = <&dc_12v>; 94 94 }; 95 95 96 - pcie30_avdd0v9: pcie30-avdd0v9-regulator { 96 + pcie30_avdd0v9: regulator-pcie30-avdd0v9 { 97 97 compatible = "regulator-fixed"; 98 98 regulator-name = "pcie30_avdd0v9"; 99 99 regulator-always-on; ··· 103 103 vin-supply = <&vcc3v3_sys>; 104 104 }; 105 105 106 - pcie30_avdd1v8: pcie30-avdd1v8-regulator { 106 + pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 107 107 compatible = "regulator-fixed"; 108 108 regulator-name = "pcie30_avdd1v8"; 109 109 regulator-always-on; ··· 114 114 }; 115 115 116 116 /* pi6c pcie clock generator feeds both ports */ 117 - vcc3v3_pi6c_05: vcc3v3-pi6c-05-regulator { 117 + vcc3v3_pi6c_05: regulator-vcc3v3-pi6c-05 { 118 118 compatible = "regulator-fixed"; 119 119 regulator-name = "vcc3v3_pcie"; 120 120 regulator-min-microvolt = <3300000>; ··· 126 126 }; 127 127 128 128 /* actually fed by vcc3v3_sys, dependent on pi6c clock generator */ 129 - vcc3v3_minipcie: vcc3v3-minipcie-regulator { 129 + vcc3v3_minipcie: regulator-vcc3v3-minipcie { 130 130 compatible = "regulator-fixed"; 131 131 regulator-name = "vcc3v3_minipcie"; 132 132 regulator-min-microvolt = <3300000>; ··· 140 140 }; 141 141 142 142 /* actually fed by vcc3v3_sys, dependent on pi6c clock generator */ 143 - vcc3v3_ngff: vcc3v3-ngff-regulator { 143 + vcc3v3_ngff: regulator-vcc3v3-ngff { 144 144 compatible = "regulator-fixed"; 145 145 regulator-name = "vcc3v3_ngff"; 146 146 regulator-min-microvolt = <3300000>; ··· 153 153 vin-supply = <&vcc3v3_pi6c_05>; 154 154 }; 155 155 156 - vcc5v0_usb: vcc5v0-usb-regulator { 156 + vcc5v0_usb: regulator-vcc5v0-usb { 157 157 compatible = "regulator-fixed"; 158 158 regulator-name = "vcc5v0_usb"; 159 159 regulator-always-on; ··· 163 163 vin-supply = <&dc_12v>; 164 164 }; 165 165 166 - vcc5v0_usb_host: vcc5v0-usb-host-regulator { 166 + vcc5v0_usb_host: regulator-vcc5v0-usb-host { 167 167 compatible = "regulator-fixed"; 168 168 enable-active-high; 169 169 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; ··· 175 175 vin-supply = <&vcc5v0_usb>; 176 176 }; 177 177 178 - vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { 178 + vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 179 179 compatible = "regulator-fixed"; 180 180 enable-active-high; 181 181 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
+8 -8
arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts
··· 26 26 stdout-path = "serial2:1500000n8"; 27 27 }; 28 28 29 - dc_12v: dc-12v { 29 + dc_12v: regulator-dc-12v { 30 30 compatible = "regulator-fixed"; 31 31 regulator-name = "dc_12v"; 32 32 regulator-always-on; ··· 73 73 }; 74 74 }; 75 75 76 - vcc3v3_sys: vcc3v3-sys { 76 + vcc3v3_sys: regulator-vcc3v3-sys { 77 77 compatible = "regulator-fixed"; 78 78 regulator-name = "vcc3v3_sys"; 79 79 regulator-always-on; ··· 83 83 vin-supply = <&dc_12v>; 84 84 }; 85 85 86 - vcc5v0_sys: vcc5v0-sys { 86 + vcc5v0_sys: regulator-vcc5v0-sys { 87 87 compatible = "regulator-fixed"; 88 88 regulator-name = "vcc5v0_sys"; 89 89 regulator-always-on; ··· 93 93 vin-supply = <&dc_12v>; 94 94 }; 95 95 96 - vcc5v0_usb: vcc5v0-usb { 96 + vcc5v0_usb: regulator-vcc5v0-usb { 97 97 compatible = "regulator-fixed"; 98 98 regulator-name = "vcc5v0_usb"; 99 99 regulator-always-on; ··· 103 103 vin-supply = <&dc_12v>; 104 104 }; 105 105 106 - vcc5v0_usb_host: vcc5v0-usb-host { 106 + vcc5v0_usb_host: regulator-vcc5v0-usb-host { 107 107 compatible = "regulator-fixed"; 108 108 enable-active-high; 109 109 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; ··· 115 115 vin-supply = <&vcc5v0_usb>; 116 116 }; 117 117 118 - vcc5v0_usb_otg: vcc5v0-usb-otg { 118 + vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 119 119 compatible = "regulator-fixed"; 120 120 enable-active-high; 121 121 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; ··· 127 127 vin-supply = <&vcc5v0_usb>; 128 128 }; 129 129 130 - vcc3v3_lcd0_n: vcc3v3-lcd0-n { 130 + vcc3v3_lcd0_n: regulator-vcc3v3-lcd0-n { 131 131 compatible = "regulator-fixed"; 132 132 regulator-name = "vcc3v3_lcd0_n"; 133 133 regulator-min-microvolt = <3300000>; ··· 143 143 }; 144 144 }; 145 145 146 - vcc3v3_lcd1_n: vcc3v3-lcd1-n { 146 + vcc3v3_lcd1_n: regulator-vcc3v3-lcd1-n { 147 147 compatible = "regulator-fixed"; 148 148 regulator-name = "vcc3v3_lcd1_n"; 149 149 regulator-min-microvolt = <3300000>;
+5 -5
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
··· 39 39 }; 40 40 }; 41 41 42 - vcc12v_dcin: vcc12v-dcin-regulator { 42 + vcc12v_dcin: regulator-vcc12v-dcin { 43 43 compatible = "regulator-fixed"; 44 44 regulator-name = "vcc12v_dcin"; 45 45 regulator-always-on; ··· 48 48 regulator-max-microvolt = <12000000>; 49 49 }; 50 50 51 - vcc3v3_pcie: vcc3v3-pcie-regulator { 51 + vcc3v3_pcie: regulator-vcc3v3-pcie { 52 52 compatible = "regulator-fixed"; 53 53 regulator-name = "vcc3v3_pcie"; 54 54 regulator-always-on; ··· 58 58 vin-supply = <&vcc5v0_sys>; 59 59 }; 60 60 61 - vcc3v3_sys: vcc3v3-sys-regulator { 61 + vcc3v3_sys: regulator-vcc3v3-sys { 62 62 compatible = "regulator-fixed"; 63 63 regulator-name = "vcc3v3_sys"; 64 64 regulator-always-on; ··· 68 68 vin-supply = <&vcc12v_dcin>; 69 69 }; 70 70 71 - vcc5v0_sys: vcc5v0-sys-regulator { 71 + vcc5v0_sys: regulator-vcc5v0-sys { 72 72 compatible = "regulator-fixed"; 73 73 regulator-name = "vcc5v0_sys"; 74 74 regulator-always-on; ··· 78 78 vin-supply = <&vcc12v_dcin>; 79 79 }; 80 80 81 - vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { 81 + vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 82 82 compatible = "regulator-fixed"; 83 83 enable-active-high; 84 84 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
+8 -8
arch/arm64/boot/dts/rockchip/rk3568-lubancat-2.dts
··· 51 51 }; 52 52 }; 53 53 54 - dc_5v: dc-5v-regulator { 54 + dc_5v: regulator-dc-5v { 55 55 compatible = "regulator-fixed"; 56 56 regulator-name = "dc_5v"; 57 57 regulator-always-on; ··· 60 60 regulator-max-microvolt = <5000000>; 61 61 }; 62 62 63 - vcc3v3_sys: vcc3v3-sys-regulator { 63 + vcc3v3_sys: regulator-vcc3v3-sys { 64 64 compatible = "regulator-fixed"; 65 65 regulator-name = "vcc3v3_sys"; 66 66 regulator-always-on; ··· 70 70 vin-supply = <&vcc5v0_sys>; 71 71 }; 72 72 73 - vcc5v0_sys: vcc5v0-sys-regulator { 73 + vcc5v0_sys: regulator-vcc5v0-sys { 74 74 compatible = "regulator-fixed"; 75 75 regulator-name = "vcc5v0_sys"; 76 76 regulator-always-on; ··· 80 80 vin-supply = <&dc_5v>; 81 81 }; 82 82 83 - vcc3v3_m2_pcie: vcc3v3-m2-pcie-regulator { 83 + vcc3v3_m2_pcie: regulator-vcc3v3-m2-pcie { 84 84 compatible = "regulator-fixed"; 85 85 regulator-name = "m2_pcie_3v3"; 86 86 enable-active-high; ··· 93 93 vin-supply = <&vcc5v0_sys>; 94 94 }; 95 95 96 - vcc3v3_mini_pcie: vcc3v3-mini-pcie-regulator { 96 + vcc3v3_mini_pcie: regulator-vcc3v3-mini-pcie { 97 97 compatible = "regulator-fixed"; 98 98 regulator-name = "minipcie_3v3"; 99 99 enable-active-high; ··· 106 106 vin-supply = <&vcc5v0_sys>; 107 107 }; 108 108 109 - vcc5v0_usb20_host: vcc5v0-usb20-host-regulator { 109 + vcc5v0_usb20_host: regulator-vcc5v0-usb20-host { 110 110 compatible = "regulator-fixed"; 111 111 regulator-name = "vcc5v0_usb20_host"; 112 112 enable-active-high; ··· 115 115 pinctrl-names = "default"; 116 116 }; 117 117 118 - vcc5v0_usb30_host: vcc5v0-usb30-host-regulator { 118 + vcc5v0_usb30_host: regulator-vcc5v0-usb30-host { 119 119 compatible = "regulator-fixed"; 120 120 regulator-name = "vcc5v0_usb30_host"; 121 121 enable-active-high; ··· 124 124 pinctrl-names = "default"; 125 125 }; 126 126 127 - vcc5v0_otg_vbus: vcc5v0-otg-vbus-regulator { 127 + vcc5v0_otg_vbus: regulator-vcc5v0-otg-vbus { 128 128 compatible = "regulator-fixed"; 129 129 regulator-name = "vcc5v0_otg_vbus"; 130 130 enable-active-high;
+9 -9
arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dtsi
··· 35 35 }; 36 36 }; 37 37 38 - vdd_usbc: vdd-usbc-regulator { 38 + vdd_usbc: regulator-vdd-usbc { 39 39 compatible = "regulator-fixed"; 40 40 regulator-name = "vdd_usbc"; 41 41 regulator-always-on; ··· 44 44 regulator-max-microvolt = <5000000>; 45 45 }; 46 46 47 - vcc3v3_sys: vcc3v3-sys-regulator { 47 + vcc3v3_sys: regulator-vcc3v3-sys { 48 48 compatible = "regulator-fixed"; 49 49 regulator-name = "vcc3v3_sys"; 50 50 regulator-always-on; ··· 54 54 vin-supply = <&vdd_usbc>; 55 55 }; 56 56 57 - vcc5v0_sys: vcc5v0-sys-regulator { 57 + vcc5v0_sys: regulator-vcc5v0-sys { 58 58 compatible = "regulator-fixed"; 59 59 regulator-name = "vcc5v0_sys"; 60 60 regulator-always-on; ··· 64 64 vin-supply = <&vdd_usbc>; 65 65 }; 66 66 67 - vcc3v3_pcie: vcc3v3-pcie-regulator { 67 + vcc3v3_pcie: regulator-vcc3v3-pcie { 68 68 compatible = "regulator-fixed"; 69 69 regulator-name = "vcc3v3_pcie"; 70 70 regulator-min-microvolt = <3300000>; ··· 75 75 vin-supply = <&vcc5v0_sys>; 76 76 }; 77 77 78 - vcc5v0_usb: vcc5v0-usb-regulator { 78 + vcc5v0_usb: regulator-vcc5v0-usb { 79 79 compatible = "regulator-fixed"; 80 80 regulator-name = "vcc5v0_usb"; 81 81 regulator-always-on; ··· 85 85 vin-supply = <&vdd_usbc>; 86 86 }; 87 87 88 - vcc5v0_usb_host: vcc5v0-usb-host-regulator { 88 + vcc5v0_usb_host: regulator-vcc5v0-usb-host { 89 89 compatible = "regulator-fixed"; 90 90 enable-active-high; 91 91 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; ··· 99 99 vin-supply = <&vcc5v0_usb>; 100 100 }; 101 101 102 - vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { 102 + vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 103 103 compatible = "regulator-fixed"; 104 104 enable-active-high; 105 105 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; ··· 111 111 vin-supply = <&vcc5v0_usb>; 112 112 }; 113 113 114 - pcie30_avdd0v9: pcie30-avdd0v9-regulator { 114 + pcie30_avdd0v9: regulator-pcie30-avdd0v9 { 115 115 compatible = "regulator-fixed"; 116 116 regulator-name = "pcie30_avdd0v9"; 117 117 regulator-always-on; ··· 121 121 vin-supply = <&vcc3v3_sys>; 122 122 }; 123 123 124 - pcie30_avdd1v8: pcie30-avdd1v8-regulator { 124 + pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 125 125 compatible = "regulator-fixed"; 126 126 regulator-name = "pcie30_avdd1v8"; 127 127 regulator-always-on;
+6 -6
arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts
··· 29 29 stdout-path = "serial2:1500000n8"; 30 30 }; 31 31 32 - dc_12v: dc-12v-regulator { 32 + dc_12v: regulator-dc-12v { 33 33 compatible = "regulator-fixed"; 34 34 regulator-name = "dc_12v"; 35 35 regulator-always-on; ··· 103 103 }; 104 104 }; 105 105 106 - vcc3v3_pcie: vcc3v3-pcie-regulator { 106 + vcc3v3_pcie: regulator-vcc3v3-pcie { 107 107 compatible = "regulator-fixed"; 108 108 regulator-name = "vcc3v3_pcie"; 109 109 enable-active-high; ··· 116 116 vin-supply = <&vcc3v3_sys>; 117 117 }; 118 118 119 - vcc3v3_sys: vcc3v3-sys-regulator { 119 + vcc3v3_sys: regulator-vcc3v3-sys { 120 120 compatible = "regulator-fixed"; 121 121 regulator-name = "vcc3v3_sys"; 122 122 regulator-always-on; ··· 126 126 vin-supply = <&dc_12v>; 127 127 }; 128 128 129 - vcc5v0_sys: vcc5v0-sys-regulator { 129 + vcc5v0_sys: regulator-vcc5v0-sys { 130 130 compatible = "regulator-fixed"; 131 131 regulator-name = "vcc5v0_sys"; 132 132 regulator-always-on; ··· 136 136 vin-supply = <&dc_12v>; 137 137 }; 138 138 139 - vcc5v0_usb_host: vcc5v0-usb-host-regulator { 139 + vcc5v0_usb_host: regulator-vcc5v0-usb-host { 140 140 compatible = "regulator-fixed"; 141 141 regulator-name = "vcc5v0_usb_host"; 142 142 enable-active-high; ··· 148 148 vin-supply = <&vcc5v0_sys>; 149 149 }; 150 150 151 - vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { 151 + vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 152 152 compatible = "regulator-fixed"; 153 153 regulator-name = "vcc5v0_usb_otg"; 154 154 enable-active-high;
+5 -5
arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi
··· 29 29 }; 30 30 }; 31 31 32 - pcie30_avdd0v9: pcie30-avdd0v9-regulator { 32 + pcie30_avdd0v9: regulator-pcie30-avdd0v9 { 33 33 compatible = "regulator-fixed"; 34 34 regulator-name = "pcie30_avdd0v9"; 35 35 regulator-always-on; ··· 39 39 vin-supply = <&vcc3v3_sys>; 40 40 }; 41 41 42 - pcie30_avdd1v8: pcie30-avdd1v8-regulator { 42 + pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 43 43 compatible = "regulator-fixed"; 44 44 regulator-name = "pcie30_avdd1v8"; 45 45 regulator-always-on; ··· 49 49 vin-supply = <&vcc3v3_sys>; 50 50 }; 51 51 52 - vcc3v3_sys: vcc3v3-sys-regulator { 52 + vcc3v3_sys: regulator-vcc3v3-sys { 53 53 compatible = "regulator-fixed"; 54 54 regulator-name = "vcc3v3_sys"; 55 55 regulator-always-on; ··· 59 59 vin-supply = <&vcc5v_input>; 60 60 }; 61 61 62 - vcc5v0_sys: vcc5v0-sys-regulator { 62 + vcc5v0_sys: regulator-vcc5v0-sys { 63 63 compatible = "regulator-fixed"; 64 64 regulator-name = "vcc5v0_sys"; 65 65 regulator-always-on; ··· 70 70 }; 71 71 72 72 /* labeled +5v_input in schematic */ 73 - vcc5v_input: vcc5v-input-regulator { 73 + vcc5v_input: regulator-vcc5v-input { 74 74 compatible = "regulator-fixed"; 75 75 regulator-name = "vcc5v_input"; 76 76 regulator-always-on;
+10 -6
arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
··· 36 36 }; 37 37 }; 38 38 39 - vbus_typec: vbus-typec-regulator { 39 + vbus_typec: regulator-vbus-typec { 40 40 compatible = "regulator-fixed"; 41 41 enable-active-high; 42 42 gpio = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; ··· 51 51 /* actually fed by vcc5v0_sys, dependent 52 52 * on pi6c clock generator 53 53 */ 54 - vcc3v3_minipcie: vcc3v3-minipcie-regulator { 54 + vcc3v3_minipcie: regulator-vcc3v3-minipcie { 55 55 compatible = "regulator-fixed"; 56 56 enable-active-high; 57 57 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>; ··· 63 63 vin-supply = <&vcc3v3_pi6c_05>; 64 64 }; 65 65 66 - vcc3v3_ngff: vcc3v3-ngff-regulator { 66 + vcc3v3_ngff: regulator-vcc3v3-ngff { 67 67 compatible = "regulator-fixed"; 68 68 enable-active-high; 69 69 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>; ··· 75 75 vin-supply = <&vcc5v0_sys>; 76 76 }; 77 77 78 - vcc3v3_pcie30x1: vcc3v3-pcie30x1-regulator { 78 + vcc3v3_pcie30x1: regulator-vcc3v3-pcie30x1 { 79 79 compatible = "regulator-fixed"; 80 80 enable-active-high; 81 81 gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; ··· 87 87 vin-supply = <&vcc5v0_sys>; 88 88 }; 89 89 90 - vcc3v3_pi6c_05: vcc3v3-pi6c-05-regulator { 90 + vcc3v3_pi6c_05: regulator-vcc3v3-pi6c-05 { 91 91 compatible = "regulator-fixed"; 92 92 enable-active-high; 93 93 gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; ··· 124 124 &pcie3x1 { 125 125 num-lanes = <1>; 126 126 pinctrl-names = "default"; 127 - pinctrl-0 = <&pcie30x1m0_pins>; 127 + pinctrl-0 = <&pcie30x1_reset_h>; 128 128 reset-gpios = <&gpio0 RK_PC3 GPIO_ACTIVE_HIGH>; 129 129 vpcie3v3-supply = <&vcc3v3_minipcie>; 130 130 status = "okay"; ··· 147 147 148 148 pcie30x1_enable_h: pcie30x1-enable-h { 149 149 rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; 150 + }; 151 + 152 + pcie30x1_reset_h: pcie30x1-reset-h { 153 + rockchip,pins = <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 150 154 }; 151 155 152 156 pcie30x2_reset_h: pcie30x2-reset-h {
+9 -9
arch/arm64/boot/dts/rockchip/rk3568-roc-pc.dts
··· 25 25 stdout-path = "serial2:1500000n8"; 26 26 }; 27 27 28 - dc_12v: dc-12v-regulator { 28 + dc_12v: regulator-dc-12v { 29 29 compatible = "regulator-fixed"; 30 30 regulator-name = "dc_12v"; 31 31 regulator-always-on; ··· 73 73 }; 74 74 }; 75 75 76 - pcie30_avdd0v9: pcie30-avdd0v9-regulator { 76 + pcie30_avdd0v9: regulator-pcie30-avdd0v9 { 77 77 compatible = "regulator-fixed"; 78 78 regulator-name = "pcie30_avdd0v9"; 79 79 regulator-always-on; ··· 83 83 vin-supply = <&vcc3v3_sys>; 84 84 }; 85 85 86 - pcie30_avdd1v8: pcie30-avdd1v8-regulator { 86 + pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 87 87 compatible = "regulator-fixed"; 88 88 regulator-name = "pcie30_avdd1v8"; 89 89 regulator-always-on; ··· 93 93 vin-supply = <&vcc3v3_sys>; 94 94 }; 95 95 96 - vcc3v3_sys: vcc3v3-sys-regulator { 96 + vcc3v3_sys: regulator-vcc3v3-sys { 97 97 compatible = "regulator-fixed"; 98 98 regulator-name = "vcc3v3_sys"; 99 99 regulator-always-on; ··· 103 103 vin-supply = <&dc_12v>; 104 104 }; 105 105 106 - vcc3v3_pcie: vcc3v3-pcie-regulator { 106 + vcc3v3_pcie: regulator-vcc3v3-pcie { 107 107 compatible = "regulator-fixed"; 108 108 regulator-name = "vcc3v3_pcie"; 109 109 enable-active-high; ··· 116 116 vin-supply = <&vcc5v0_sys>; 117 117 }; 118 118 119 - vcc5v0_sys: vcc5v0-sys-regulator { 119 + vcc5v0_sys: regulator-vcc5v0-sys { 120 120 compatible = "regulator-fixed"; 121 121 regulator-name = "vcc5v0_sys"; 122 122 regulator-always-on; ··· 126 126 vin-supply = <&dc_12v>; 127 127 }; 128 128 129 - vcc5v0_usb: vcc5v0-usb-regulator { 129 + vcc5v0_usb: regulator-vcc5v0-usb { 130 130 compatible = "regulator-fixed"; 131 131 regulator-name = "vcc5v0_usb"; 132 132 regulator-always-on; ··· 136 136 vin-supply = <&vcc5v0_sys>; 137 137 }; 138 138 139 - vcc5v0_host: vcc5v0-host-regulator { 139 + vcc5v0_host: regulator-vcc5v0-host { 140 140 compatible = "regulator-fixed"; 141 141 regulator-name = "vcc5v0_host"; 142 142 enable-active-high; ··· 147 147 vin-supply = <&vcc5v0_usb>; 148 148 }; 149 149 150 - vcc5v0_otg: vcc5v0-otg-regulator { 150 + vcc5v0_otg: regulator-vcc5v0-otg { 151 151 compatible = "regulator-fixed"; 152 152 regulator-name = "vcc5v0_otg"; 153 153 enable-active-high;
+13 -13
arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
··· 79 79 reset-gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>; 80 80 }; 81 81 82 - vcc12v_dcin: vcc12v-dcin-regulator { 82 + vcc12v_dcin: regulator-vcc12v-dcin { 83 83 compatible = "regulator-fixed"; 84 84 regulator-name = "vcc12v_dcin"; 85 85 regulator-always-on; 86 86 regulator-boot-on; 87 87 }; 88 88 89 - pcie30_avdd0v9: pcie30-avdd0v9-regulator { 89 + pcie30_avdd0v9: regulator-pcie30-avdd0v9 { 90 90 compatible = "regulator-fixed"; 91 91 regulator-name = "pcie30_avdd0v9"; 92 92 regulator-always-on; ··· 96 96 vin-supply = <&vcc3v3_sys>; 97 97 }; 98 98 99 - pcie30_avdd1v8: pcie30-avdd1v8-regulator { 99 + pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 100 100 compatible = "regulator-fixed"; 101 101 regulator-name = "pcie30_avdd1v8"; 102 102 regulator-always-on; ··· 107 107 }; 108 108 109 109 /* pi6c pcie clock generator */ 110 - vcc3v3_pi6c_03: vcc3v3-pi6c-03-regulator { 110 + vcc3v3_pi6c_03: regulator-vcc3v3-pi6c-03 { 111 111 compatible = "regulator-fixed"; 112 112 regulator-name = "vcc3v3_pi6c_03"; 113 113 regulator-always-on; ··· 117 117 vin-supply = <&vcc5v0_sys>; 118 118 }; 119 119 120 - vcc3v3_pcie: vcc3v3-pcie-regulator { 120 + vcc3v3_pcie: regulator-vcc3v3-pcie { 121 121 compatible = "regulator-fixed"; 122 122 enable-active-high; 123 123 gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; ··· 129 129 vin-supply = <&vcc5v0_sys>; 130 130 }; 131 131 132 - vcc3v3_sys: vcc3v3-sys-regulator { 132 + vcc3v3_sys: regulator-vcc3v3-sys { 133 133 compatible = "regulator-fixed"; 134 134 regulator-name = "vcc3v3_sys"; 135 135 regulator-always-on; ··· 139 139 vin-supply = <&vcc12v_dcin>; 140 140 }; 141 141 142 - vcc5v0_sys: vcc5v0-sys-regulator { 142 + vcc5v0_sys: regulator-vcc5v0-sys { 143 143 compatible = "regulator-fixed"; 144 144 regulator-name = "vcc5v0_sys"; 145 145 regulator-always-on; ··· 149 149 vin-supply = <&vcc12v_dcin>; 150 150 }; 151 151 152 - vcc5v0_usb: vcc5v0-usb-regulator { 152 + vcc5v0_usb: regulator-vcc5v0-usb { 153 153 compatible = "regulator-fixed"; 154 154 regulator-name = "vcc5v0_usb"; 155 155 regulator-always-on; ··· 159 159 vin-supply = <&vcc12v_dcin>; 160 160 }; 161 161 162 - vcc5v0_usb_host: vcc5v0-usb-host-regulator { 162 + vcc5v0_usb_host: regulator-vcc5v0-usb-host { 163 163 compatible = "regulator-fixed"; 164 164 enable-active-high; 165 165 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; ··· 171 171 vin-supply = <&vcc5v0_usb>; 172 172 }; 173 173 174 - vcc5v0_usb_hub: vcc5v0-usb-hub-regulator { 174 + vcc5v0_usb_hub: regulator-vcc5v0-usb-hub { 175 175 compatible = "regulator-fixed"; 176 176 enable-active-high; 177 177 gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; ··· 182 182 vin-supply = <&vcc5v0_usb>; 183 183 }; 184 184 185 - vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { 185 + vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 186 186 compatible = "regulator-fixed"; 187 187 enable-active-high; 188 188 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; ··· 194 194 vin-supply = <&vcc5v0_usb>; 195 195 }; 196 196 197 - vcc_cam: vcc-cam-regulator { 197 + vcc_cam: regulator-vcc-cam { 198 198 compatible = "regulator-fixed"; 199 199 enable-active-high; 200 200 gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>; ··· 210 210 }; 211 211 }; 212 212 213 - vcc_mipi: vcc-mipi-regulator { 213 + vcc_mipi: regulator-vcc-mipi { 214 214 compatible = "regulator-fixed"; 215 215 enable-active-high; 216 216 gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
+3 -3
arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso
··· 21 21 #clock-cells = <0>; 22 22 }; 23 23 24 - usb_host_vbus: usb-host-vbus-regulator { 24 + usb_host_vbus: regulator-usb-host-vbus { 25 25 compatible = "regulator-fixed"; 26 26 enable-active-high; 27 27 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; ··· 33 33 vin-supply = <&vcc5v_in>; 34 34 }; 35 35 36 - vcc1v8_eth: vcc1v8-eth-regulator { 36 + vcc1v8_eth: regulator-vcc1v8-eth { 37 37 compatible = "regulator-fixed"; 38 38 enable-active-high; 39 39 gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; ··· 47 47 vin-supply = <&vcc3v3_sys>; 48 48 }; 49 49 50 - vcc3v3_eth: vcc3v3-eth-regulator { 50 + vcc3v3_eth: regulator-vcc3v3-eth { 51 51 compatible = "regulator-fixed"; 52 52 gpio = <&gpio0 RK_PC0 GPIO_ACTIVE_LOW>; 53 53 pinctrl-names = "default";
+6 -6
arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5.dts
··· 39 39 }; 40 40 }; 41 41 42 - hdmi_tx_5v: hdmi-tx-5v-regulator { 42 + hdmi_tx_5v: regulator-hdmi-tx-5v { 43 43 compatible = "regulator-fixed"; 44 44 enable-active-high; 45 45 gpio = <&gpio4 RK_PC5 GPIO_ACTIVE_HIGH>; ··· 70 70 }; 71 71 }; 72 72 73 - vcc12v_cam: vcc12v-cam-regulator { 73 + vcc12v_cam: regulator-vcc12v-cam { 74 74 compatible = "regulator-fixed"; 75 75 enable-active-high; 76 76 gpio = <&gpio2 RK_PD1 GPIO_ACTIVE_HIGH>; ··· 82 82 vin-supply = <&vcc12v_in>; 83 83 }; 84 84 85 - vcc12v_in: vcc12v-in-regulator { 85 + vcc12v_in: regulator-vcc12v-in { 86 86 compatible = "regulator-fixed"; 87 87 regulator-name = "12v_in"; 88 88 regulator-always-on; ··· 91 91 regulator-max-microvolt = <12000000>; 92 92 }; 93 93 94 - vcc3v8_cam: vcc3v8-cam-regulator { 94 + vcc3v8_cam: regulator-vcc3v8-cam { 95 95 compatible = "regulator-fixed"; 96 96 enable-active-high; 97 97 gpio = <&gpio0 RK_PC3 GPIO_ACTIVE_HIGH>; ··· 103 103 vin-supply = <&vcc5v_in>; 104 104 }; 105 105 106 - vcc3v3_sys: vcc3v3-sys-regulator { 106 + vcc3v3_sys: regulator-vcc3v3-sys { 107 107 compatible = "regulator-fixed"; 108 108 regulator-name = "3v3_sys"; 109 109 regulator-always-on; ··· 113 113 vin-supply = <&vcc5v_in>; 114 114 }; 115 115 116 - vcc5v_in: vcc5v-in-regulator { 116 + vcc5v_in: regulator-vcc5v-in { 117 117 compatible = "regulator-fixed"; 118 118 regulator-name = "5v_in"; 119 119 regulator-always-on;
+107 -6
arch/arm64/boot/dts/rockchip/rk3568.dtsi
··· 3 3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 4 4 */ 5 5 6 - #include "rk356x.dtsi" 6 + #include "rk356x-base.dtsi" 7 7 8 8 / { 9 9 compatible = "rockchip,rk3568"; 10 + 11 + cpu0_opp_table: opp-table-0 { 12 + compatible = "operating-points-v2"; 13 + opp-shared; 14 + 15 + opp-408000000 { 16 + opp-hz = /bits/ 64 <408000000>; 17 + opp-microvolt = <850000 850000 1150000>; 18 + clock-latency-ns = <40000>; 19 + }; 20 + 21 + opp-600000000 { 22 + opp-hz = /bits/ 64 <600000000>; 23 + opp-microvolt = <850000 850000 1150000>; 24 + clock-latency-ns = <40000>; 25 + }; 26 + 27 + opp-816000000 { 28 + opp-hz = /bits/ 64 <816000000>; 29 + opp-microvolt = <850000 850000 1150000>; 30 + clock-latency-ns = <40000>; 31 + opp-suspend; 32 + }; 33 + 34 + opp-1104000000 { 35 + opp-hz = /bits/ 64 <1104000000>; 36 + opp-microvolt = <900000 900000 1150000>; 37 + clock-latency-ns = <40000>; 38 + }; 39 + 40 + opp-1416000000 { 41 + opp-hz = /bits/ 64 <1416000000>; 42 + opp-microvolt = <1025000 1025000 1150000>; 43 + clock-latency-ns = <40000>; 44 + }; 45 + 46 + opp-1608000000 { 47 + opp-hz = /bits/ 64 <1608000000>; 48 + opp-microvolt = <1100000 1100000 1150000>; 49 + clock-latency-ns = <40000>; 50 + }; 51 + 52 + opp-1800000000 { 53 + opp-hz = /bits/ 64 <1800000000>; 54 + opp-microvolt = <1150000 1150000 1150000>; 55 + clock-latency-ns = <40000>; 56 + }; 57 + 58 + opp-1992000000 { 59 + opp-hz = /bits/ 64 <1992000000>; 60 + opp-microvolt = <1150000 1150000 1150000>; 61 + clock-latency-ns = <40000>; 62 + }; 63 + }; 64 + 65 + gpu_opp_table: opp-table-1 { 66 + compatible = "operating-points-v2"; 67 + 68 + opp-200000000 { 69 + opp-hz = /bits/ 64 <200000000>; 70 + opp-microvolt = <850000 850000 1000000>; 71 + }; 72 + 73 + opp-300000000 { 74 + opp-hz = /bits/ 64 <300000000>; 75 + opp-microvolt = <850000 850000 1000000>; 76 + }; 77 + 78 + opp-400000000 { 79 + opp-hz = /bits/ 64 <400000000>; 80 + opp-microvolt = <850000 850000 1000000>; 81 + }; 82 + 83 + opp-600000000 { 84 + opp-hz = /bits/ 64 <600000000>; 85 + opp-microvolt = <900000 900000 1000000>; 86 + }; 87 + 88 + opp-700000000 { 89 + opp-hz = /bits/ 64 <700000000>; 90 + opp-microvolt = <950000 950000 1000000>; 91 + }; 92 + 93 + opp-800000000 { 94 + opp-hz = /bits/ 64 <800000000>; 95 + opp-microvolt = <1000000 1000000 1000000>; 96 + }; 97 + }; 10 98 11 99 sata0: sata@fc000000 { 12 100 compatible = "rockchip,rk3568-dwc-ahci", "snps,dwc-ahci"; ··· 357 269 }; 358 270 }; 359 271 360 - &cpu0_opp_table { 361 - opp-1992000000 { 362 - opp-hz = /bits/ 64 <1992000000>; 363 - opp-microvolt = <1150000 1150000 1150000>; 364 - }; 272 + &cpu0 { 273 + operating-points-v2 = <&cpu0_opp_table>; 274 + }; 275 + 276 + &cpu1 { 277 + operating-points-v2 = <&cpu0_opp_table>; 278 + }; 279 + 280 + &cpu2 { 281 + operating-points-v2 = <&cpu0_opp_table>; 282 + }; 283 + 284 + &cpu3 { 285 + operating-points-v2 = <&cpu0_opp_table>; 286 + }; 287 + 288 + &gpu { 289 + operating-points-v2 = <&gpu_opp_table>; 365 290 }; 366 291 367 292 &pipegrf {
-81
arch/arm64/boot/dts/rockchip/rk356x.dtsi arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
··· 56 56 clocks = <&scmi_clk 0>; 57 57 #cooling-cells = <2>; 58 58 enable-method = "psci"; 59 - operating-points-v2 = <&cpu0_opp_table>; 60 59 i-cache-size = <0x8000>; 61 60 i-cache-line-size = <64>; 62 61 i-cache-sets = <128>; ··· 71 72 reg = <0x0 0x100>; 72 73 #cooling-cells = <2>; 73 74 enable-method = "psci"; 74 - operating-points-v2 = <&cpu0_opp_table>; 75 75 i-cache-size = <0x8000>; 76 76 i-cache-line-size = <64>; 77 77 i-cache-sets = <128>; ··· 86 88 reg = <0x0 0x200>; 87 89 #cooling-cells = <2>; 88 90 enable-method = "psci"; 89 - operating-points-v2 = <&cpu0_opp_table>; 90 91 i-cache-size = <0x8000>; 91 92 i-cache-line-size = <64>; 92 93 i-cache-sets = <128>; ··· 101 104 reg = <0x0 0x300>; 102 105 #cooling-cells = <2>; 103 106 enable-method = "psci"; 104 - operating-points-v2 = <&cpu0_opp_table>; 105 107 i-cache-size = <0x8000>; 106 108 i-cache-line-size = <64>; 107 109 i-cache-sets = <128>; ··· 124 128 cache-sets = <512>; 125 129 }; 126 130 127 - cpu0_opp_table: opp-table-0 { 128 - compatible = "operating-points-v2"; 129 - opp-shared; 130 - 131 - opp-408000000 { 132 - opp-hz = /bits/ 64 <408000000>; 133 - opp-microvolt = <900000 900000 1150000>; 134 - clock-latency-ns = <40000>; 135 - }; 136 - 137 - opp-600000000 { 138 - opp-hz = /bits/ 64 <600000000>; 139 - opp-microvolt = <900000 900000 1150000>; 140 - }; 141 - 142 - opp-816000000 { 143 - opp-hz = /bits/ 64 <816000000>; 144 - opp-microvolt = <900000 900000 1150000>; 145 - opp-suspend; 146 - }; 147 - 148 - opp-1104000000 { 149 - opp-hz = /bits/ 64 <1104000000>; 150 - opp-microvolt = <900000 900000 1150000>; 151 - }; 152 - 153 - opp-1416000000 { 154 - opp-hz = /bits/ 64 <1416000000>; 155 - opp-microvolt = <900000 900000 1150000>; 156 - }; 157 - 158 - opp-1608000000 { 159 - opp-hz = /bits/ 64 <1608000000>; 160 - opp-microvolt = <975000 975000 1150000>; 161 - }; 162 - 163 - opp-1800000000 { 164 - opp-hz = /bits/ 64 <1800000000>; 165 - opp-microvolt = <1050000 1050000 1150000>; 166 - }; 167 - }; 168 - 169 131 display_subsystem: display-subsystem { 170 132 compatible = "rockchip,display-subsystem"; 171 133 ports = <&vop_out>; ··· 141 187 reg = <0x14>; 142 188 #clock-cells = <1>; 143 189 }; 144 - }; 145 - }; 146 - 147 - gpu_opp_table: opp-table-1 { 148 - compatible = "operating-points-v2"; 149 - 150 - opp-200000000 { 151 - opp-hz = /bits/ 64 <200000000>; 152 - opp-microvolt = <850000 850000 1000000>; 153 - }; 154 - 155 - opp-300000000 { 156 - opp-hz = /bits/ 64 <300000000>; 157 - opp-microvolt = <850000 850000 1000000>; 158 - }; 159 - 160 - opp-400000000 { 161 - opp-hz = /bits/ 64 <400000000>; 162 - opp-microvolt = <850000 850000 1000000>; 163 - }; 164 - 165 - opp-600000000 { 166 - opp-hz = /bits/ 64 <600000000>; 167 - opp-microvolt = <900000 900000 1000000>; 168 - }; 169 - 170 - opp-700000000 { 171 - opp-hz = /bits/ 64 <700000000>; 172 - opp-microvolt = <950000 950000 1000000>; 173 - }; 174 - 175 - opp-800000000 { 176 - opp-hz = /bits/ 64 <800000000>; 177 - opp-microvolt = <1000000 1000000 1000000>; 178 190 }; 179 191 }; 180 192 ··· 549 629 clocks = <&scmi_clk 1>, <&cru CLK_GPU>; 550 630 clock-names = "gpu", "bus"; 551 631 #cooling-cells = <2>; 552 - operating-points-v2 = <&gpu_opp_table>; 553 632 power-domains = <&power RK3568_PD_GPU>; 554 633 status = "disabled"; 555 634 };
-1
arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
··· 646 646 max-frequency = <200000000>; 647 647 no-sdio; 648 648 no-mmc; 649 - non-removable; 650 649 sd-uhs-sdr104; 651 650 vmmc-supply = <&vcc_3v3_s3>; 652 651 vqmmc-supply = <&vccio_sd_s0>;
+2 -2
arch/arm64/boot/dts/rockchip/rk3588-armsom-lm7.dtsi
··· 17 17 stdout-path = "serial2:1500000n8"; 18 18 }; 19 19 20 - vcc5v0_sys: vcc5v0-sys-regulator { 20 + vcc5v0_sys: regulator-vcc5v0-sys { 21 21 compatible = "regulator-fixed"; 22 22 regulator-name = "vcc5v0_sys"; 23 23 regulator-always-on; ··· 26 26 regulator-max-microvolt = <5000000>; 27 27 }; 28 28 29 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 29 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 30 30 compatible = "regulator-fixed"; 31 31 regulator-name = "vcc_1v1_nldo_s3"; 32 32 regulator-always-on;
+5 -5
arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts
··· 61 61 #cooling-cells = <2>; 62 62 }; 63 63 64 - vcc3v3_pcie2x1l2: vcc3v3-pcie2x1l2-regulator { 64 + vcc3v3_pcie2x1l2: regulator-vcc3v3-pcie2x1l2 { 65 65 compatible = "regulator-fixed"; 66 66 regulator-name = "vcc3v3_pcie2x1l2"; 67 67 regulator-min-microvolt = <3300000>; ··· 70 70 vin-supply = <&vcc_3v3_s3>; 71 71 }; 72 72 73 - vcc3v3_pcie30: vcc3v3-pcie30-regulator { 73 + vcc3v3_pcie30: regulator-vcc3v3-pcie30 { 74 74 compatible = "regulator-fixed"; 75 75 enable-active-high; 76 76 gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; ··· 81 81 vin-supply = <&vcc5v0_sys>; 82 82 }; 83 83 84 - vcc5v0_host: vcc5v0-host-regulator { 84 + vcc5v0_host: regulator-vcc5v0-host { 85 85 compatible = "regulator-fixed"; 86 86 regulator-name = "vcc5v0_host"; 87 87 regulator-boot-on; ··· 95 95 vin-supply = <&vcc5v0_sys>; 96 96 }; 97 97 98 - vcc5v0_sys: vcc5v0-sys-regulator { 98 + vcc5v0_sys: regulator-vcc5v0-sys { 99 99 compatible = "regulator-fixed"; 100 100 regulator-name = "vcc5v0_sys"; 101 101 regulator-always-on; ··· 104 104 regulator-max-microvolt = <5000000>; 105 105 }; 106 106 107 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 107 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 108 108 compatible = "regulator-fixed"; 109 109 regulator-name = "vcc_1v1_nldo_s3"; 110 110 regulator-always-on;
+4 -4
arch/arm64/boot/dts/rockchip/rk3588-armsom-w3.dts
··· 74 74 shutdown-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; 75 75 }; 76 76 77 - vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator { 77 + vcc3v3_pcie2x1l0: regulator-vcc3v3-pcie2x1l0 { 78 78 compatible = "regulator-fixed"; 79 79 enable-active-high; 80 80 gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>; ··· 89 89 vin-supply = <&vcc5v0_sys>; 90 90 }; 91 91 92 - vcc3v3_pcie2x1l2: vcc3v3-pcie2x1l2-regulator { 92 + vcc3v3_pcie2x1l2: regulator-vcc3v3-pcie2x1l2 { 93 93 compatible = "regulator-fixed"; 94 94 regulator-name = "vcc3v3_pcie2x1l2"; 95 95 regulator-min-microvolt = <3300000>; ··· 98 98 vin-supply = <&vcc_3v3_s3>; 99 99 }; 100 100 101 - vcc3v3_pcie30: vcc3v3-pcie30-regulator { 101 + vcc3v3_pcie30: regulator-vcc3v3-pcie30 { 102 102 compatible = "regulator-fixed"; 103 103 enable-active-high; 104 104 gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; ··· 111 111 vin-supply = <&vcc5v0_sys>; 112 112 }; 113 113 114 - vcc5v0_host: vcc5v0-host-regulator { 114 + vcc5v0_host: regulator-vcc5v0-host { 115 115 compatible = "regulator-fixed"; 116 116 regulator-name = "vcc5v0_host"; 117 117 regulator-boot-on;
+53 -6
arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts
··· 7 7 /dts-v1/; 8 8 9 9 #include <dt-bindings/leds/common.h> 10 + #include <dt-bindings/soc/rockchip,vop2.h> 10 11 #include "rk3588-coolpi-cm5.dtsi" 11 12 12 13 / { ··· 23 22 pwms = <&pwm2 0 25000 0>; 24 23 }; 25 24 25 + hdmi-con { 26 + compatible = "hdmi-connector"; 27 + type = "a"; 28 + 29 + port { 30 + hdmi_con_in: endpoint { 31 + remote-endpoint = <&hdmi0_out_con>; 32 + }; 33 + }; 34 + }; 35 + 26 36 leds: leds { 27 37 compatible = "gpio-leds"; 28 38 ··· 45 33 }; 46 34 }; 47 35 48 - vcc12v_dcin: vcc12v-dcin-regulator { 36 + vcc12v_dcin: regulator-vcc12v-dcin { 49 37 compatible = "regulator-fixed"; 50 38 regulator-name = "vcc12v_dcin"; 51 39 regulator-always-on; ··· 54 42 regulator-max-microvolt = <12000000>; 55 43 }; 56 44 57 - vcc5v0_sys: vcc5v0-sys-regulator { 45 + vcc5v0_sys: regulator-vcc5v0-sys { 58 46 compatible = "regulator-fixed"; 59 47 regulator-name = "vcc5v0_sys"; 60 48 regulator-always-on; ··· 64 52 vin-supply = <&vcc12v_dcin>; 65 53 }; 66 54 67 - vcc3v3_sys: vcc3v3-sys-regulator { 55 + vcc3v3_sys: regulator-vcc3v3-sys { 68 56 compatible = "regulator-fixed"; 69 57 regulator-name = "vcc3v3_sys"; 70 58 regulator-always-on; ··· 74 62 vin-supply = <&vcc12v_dcin>; 75 63 }; 76 64 77 - vcc3v3_lcd: vcc3v3-lcd-regulator { 65 + vcc3v3_lcd: regulator-vcc3v3-lcd { 78 66 compatible = "regulator-fixed"; 79 67 regulator-name = "vcc3v3_lcd"; 80 68 enable-active-high; ··· 84 72 vin-supply = <&vcc3v3_sys>; 85 73 }; 86 74 87 - vcc5v0_usb_host1: vcc5v0_usb_host2: vcc5v0-usb-host-regulator { 75 + vcc5v0_usb_host1: vcc5v0_usb_host2: regulator-vcc5v0-usb-host { 88 76 compatible = "regulator-fixed"; 89 77 regulator-name = "vcc5v0_host"; 90 78 regulator-boot-on; ··· 98 86 vin-supply = <&vcc5v0_sys>; 99 87 }; 100 88 101 - vcc5v0_usb30_otg: vcc5v0-usb30-otg-regulator { 89 + vcc5v0_usb30_otg: regulator-vcc5v0-usb30-otg { 102 90 compatible = "regulator-fixed"; 103 91 regulator-name = "vcc5v0_otg"; 104 92 regulator-boot-on; ··· 111 99 pinctrl-0 = <&usb_otg_pwren>; 112 100 vin-supply = <&vcc5v0_sys>; 113 101 }; 102 + }; 103 + 104 + &hdmi0 { 105 + status = "okay"; 106 + }; 107 + 108 + &hdmi0_in { 109 + hdmi0_in_vp0: endpoint { 110 + remote-endpoint = <&vp0_out_hdmi0>; 111 + }; 112 + }; 113 + 114 + &hdmi0_out { 115 + hdmi0_out_con: endpoint { 116 + remote-endpoint = <&hdmi_con_in>; 117 + }; 118 + }; 119 + 120 + &hdptxphy_hdmi0 { 121 + status = "okay"; 114 122 }; 115 123 116 124 /* M.2 E-Key */ ··· 245 213 246 214 &usb_host1_ohci { 247 215 status = "okay"; 216 + }; 217 + 218 + &vop { 219 + status = "okay"; 220 + }; 221 + 222 + &vop_mmu { 223 + status = "okay"; 224 + }; 225 + 226 + &vp0 { 227 + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 228 + reg = <ROCKCHIP_VOP2_EP_HDMI0>; 229 + remote-endpoint = <&hdmi0_in_vp0>; 230 + }; 248 231 };
+56 -7
arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-genbook.dts
··· 7 7 /dts-v1/; 8 8 9 9 #include <dt-bindings/leds/common.h> 10 + #include <dt-bindings/soc/rockchip,vop2.h> 10 11 #include "rk3588-coolpi-cm5.dtsi" 11 12 12 13 / { ··· 36 35 gpios = <&gpio1 RK_PC0 GPIO_ACTIVE_LOW>; 37 36 }; 38 37 38 + hdmi-con { 39 + compatible = "hdmi-connector"; 40 + type = "a"; 41 + 42 + port { 43 + hdmi_con_in: endpoint { 44 + remote-endpoint = <&hdmi0_out_con>; 45 + }; 46 + }; 47 + }; 48 + 39 49 leds: leds { 40 50 compatible = "gpio-leds"; 41 51 ··· 70 58 }; 71 59 }; 72 60 73 - vcc12v_dcin: vcc12v-dcin-regulator { 61 + vcc12v_dcin: regulator-vcc12v-dcin { 74 62 compatible = "regulator-fixed"; 75 63 regulator-name = "vcc12v_dcin"; 76 64 regulator-always-on; ··· 79 67 regulator-max-microvolt = <12000000>; 80 68 }; 81 69 82 - vcc_sys: vcc-sys-regulator { 70 + vcc_sys: regulator-vcc-sys { 83 71 compatible = "regulator-fixed"; 84 72 regulator-name = "vcc_sys"; 85 73 regulator-always-on; ··· 89 77 vin-supply = <&vcc12v_dcin>; 90 78 }; 91 79 92 - vcc5v0_sys: vcc5v0-sys-regulator { 80 + vcc5v0_sys: regulator-vcc5v0-sys { 93 81 compatible = "regulator-fixed"; 94 82 regulator-name = "vcc5v0_sys"; 95 83 regulator-always-on; ··· 99 87 vin-supply = <&vcc_sys>; 100 88 }; 101 89 102 - vcc3v3_sys: vcc3v3-sys-regulator { 90 + vcc3v3_sys: regulator-vcc3v3-sys { 103 91 compatible = "regulator-fixed"; 104 92 regulator-name = "vcc3v3_sys"; 105 93 regulator-always-on; ··· 109 97 vin-supply = <&vcc5v0_sys>; 110 98 }; 111 99 112 - vcc3v3_lcd: vcc3v3-lcd-regulator { 100 + vcc3v3_lcd: regulator-vcc3v3-lcd { 113 101 compatible = "regulator-fixed"; 114 102 regulator-name = "vcc3v3_lcd"; 115 103 enable-active-high; ··· 119 107 vin-supply = <&vcc3v3_sys>; 120 108 }; 121 109 122 - vcc5v0_usb: vcc5v0-usb-regulator { 110 + vcc5v0_usb: regulator-vcc5v0-usb { 123 111 compatible = "regulator-fixed"; 124 112 regulator-name = "vcc5v0_usb"; 125 113 regulator-boot-on; ··· 133 121 vin-supply = <&vcc_sys>; 134 122 }; 135 123 136 - vcc5v0_usb_host0: vcc5v0_usb30_host: vcc5v0-usb-host-regulator { 124 + vcc5v0_usb_host0: vcc5v0_usb30_host: regulator-vcc5v0-usb-host { 137 125 compatible = "regulator-fixed"; 138 126 regulator-name = "vcc5v0_host"; 139 127 regulator-boot-on; ··· 146 134 pinctrl-0 = <&usb_host_pwren>; 147 135 vin-supply = <&vcc5v0_usb>; 148 136 }; 137 + }; 138 + 139 + /* HDMI CEC is not used */ 140 + &hdmi0 { 141 + pinctrl-0 = <&hdmim0_tx0_hpd &hdmim0_tx0_scl &hdmim0_tx0_sda>; 142 + status = "okay"; 143 + }; 144 + 145 + &hdmi0_in { 146 + hdmi0_in_vp0: endpoint { 147 + remote-endpoint = <&vp0_out_hdmi0>; 148 + }; 149 + }; 150 + 151 + &hdmi0_out { 152 + hdmi0_out_con: endpoint { 153 + remote-endpoint = <&hdmi_con_in>; 154 + }; 155 + }; 156 + 157 + &hdptxphy_hdmi0 { 158 + status = "okay"; 149 159 }; 150 160 151 161 &i2c4 { ··· 380 346 &usb_host1_xhci { 381 347 dr_mode = "host"; 382 348 status = "okay"; 349 + }; 350 + 351 + &vop { 352 + status = "okay"; 353 + }; 354 + 355 + &vop_mmu { 356 + status = "okay"; 357 + }; 358 + 359 + &vp0 { 360 + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 361 + reg = <ROCKCHIP_VOP2_EP_HDMI0>; 362 + remote-endpoint = <&hdmi0_in_vp0>; 363 + }; 383 364 };
+4 -4
arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi
··· 36 36 stdout-path = "serial2:1500000n8"; 37 37 }; 38 38 39 - avdd0v85_pcie20: avdd0v85-pcie20-regulator { 39 + avdd0v85_pcie20: regulator-avdd0v85-pcie20 { 40 40 compatible = "regulator-fixed"; 41 41 regulator-name = "avdd0v85_pcie20"; 42 42 regulator-boot-on; ··· 46 46 vin-supply = <&vdd_0v85_s0>; 47 47 }; 48 48 49 - avdd1v8_pcie20: avdd1v8-pcie20-regulator { 49 + avdd1v8_pcie20: regulator-avdd1v8-pcie20 { 50 50 compatible = "regulator-fixed"; 51 51 regulator-name = "avdd1v8_pcie20"; 52 52 regulator-boot-on; ··· 56 56 vin-supply = <&avcc_1v8_s0>; 57 57 }; 58 58 59 - avdd0v75_pcie30: avdd0v75-pcie30-regulator { 59 + avdd0v75_pcie30: regulator-avdd0v75-pcie30 { 60 60 compatible = "regulator-fixed"; 61 61 regulator-name = "avdd0v75_pcie30"; 62 62 regulator-boot-on; ··· 66 66 vin-supply = <&avdd_0v75_s0>; 67 67 }; 68 68 69 - pcie30_avdd1v8: avdd1v8-pcie30-regulator { 69 + pcie30_avdd1v8: regulator-avdd1v8-pcie30 { 70 70 compatible = "regulator-fixed"; 71 71 regulator-name = "pcie30_avdd1v8"; 72 72 regulator-boot-on;
+3 -3
arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-common.dtsi
··· 24 24 }; 25 25 }; 26 26 27 - vcc12v_dcin: vcc12v-dcin-regulator { 27 + vcc12v_dcin: regulator-vcc12v-dcin { 28 28 compatible = "regulator-fixed"; 29 29 regulator-name = "vcc12v_dcin"; 30 30 regulator-always-on; ··· 33 33 regulator-max-microvolt = <12000000>; 34 34 }; 35 35 36 - vcc5v0_sys: vcc5v0-sys-regulator { 36 + vcc5v0_sys: regulator-vcc5v0-sys { 37 37 compatible = "regulator-fixed"; 38 38 regulator-name = "vcc5v0_sys"; 39 39 regulator-always-on; ··· 43 43 vin-supply = <&vcc12v_dcin>; 44 44 }; 45 45 46 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 46 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 47 47 compatible = "regulator-fixed"; 48 48 regulator-name = "vcc_1v1_nldo_s3"; 49 49 regulator-always-on;
+4 -4
arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dtsi
··· 10 10 stdout-path = "serial2:1500000n8"; 11 11 }; 12 12 13 - vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator { 13 + vcc3v3_pcie2x1l0: regulator-vcc3v3-pcie2x1l0 { 14 14 compatible = "regulator-fixed"; 15 15 regulator-name = "vcc3v3_pcie2x1l0"; 16 16 regulator-min-microvolt = <3300000>; ··· 19 19 vin-supply = <&vcc_3v3_s3>; 20 20 }; 21 21 22 - vcc3v3_pcie3x2: vcc3v3-pcie3x2-regulator { 22 + vcc3v3_pcie3x2: regulator-vcc3v3-pcie3x2 { 23 23 compatible = "regulator-fixed"; 24 24 enable-active-high; 25 25 gpios = <&gpio2 RK_PC4 GPIO_ACTIVE_HIGH>; /* PCIE_4G_PWEN */ ··· 32 32 vin-supply = <&vcc5v0_sys>; 33 33 }; 34 34 35 - vcc3v3_pcie3x4: vcc3v3-pcie3x4-regulator { 35 + vcc3v3_pcie3x4: regulator-vcc3v3-pcie3x4 { 36 36 compatible = "regulator-fixed"; 37 37 enable-active-high; 38 38 gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>; /* PCIE30x4_PWREN_H */ ··· 45 45 vin-supply = <&vcc5v0_sys>; 46 46 }; 47 47 48 - vcc5v0_host: vcc5v0-host-regulator { 48 + vcc5v0_host: regulator-vcc5v0-host { 49 49 compatible = "regulator-fixed"; 50 50 enable-active-high; 51 51 gpio = <&gpio3 RK_PC7 GPIO_ACTIVE_HIGH>;
+1 -1
arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-wifi.dtso
··· 14 14 #include <dt-bindings/pinctrl/rockchip.h> 15 15 16 16 &{/} { 17 - vcc3v3_pcie2x1l1: vcc3v3-pcie2x1l1-regulator { 17 + vcc3v3_pcie2x1l1: regulator-vcc3v3-pcie2x1l1 { 18 18 compatible = "regulator-fixed"; 19 19 enable-active-high; 20 20 gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; /* WIFI_3V3_EN */
+11 -11
arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dts
··· 132 132 }; 133 133 }; 134 134 135 - pcie20_avdd0v85: pcie20-avdd0v85-regulator { 135 + pcie20_avdd0v85: regulator-pcie20-avdd0v85 { 136 136 compatible = "regulator-fixed"; 137 137 regulator-name = "pcie20_avdd0v85"; 138 138 regulator-always-on; ··· 142 142 vin-supply = <&avdd_0v85_s0>; 143 143 }; 144 144 145 - pcie20_avdd1v8: pcie20-avdd1v8-regulator { 145 + pcie20_avdd1v8: regulator-pcie20-avdd1v8 { 146 146 compatible = "regulator-fixed"; 147 147 regulator-name = "pcie20_avdd1v8"; 148 148 regulator-always-on; ··· 152 152 vin-supply = <&avcc_1v8_s0>; 153 153 }; 154 154 155 - pcie30_avdd0v75: pcie30-avdd0v75-regulator { 155 + pcie30_avdd0v75: regulator-pcie30-avdd0v75 { 156 156 compatible = "regulator-fixed"; 157 157 regulator-name = "pcie30_avdd0v75"; 158 158 regulator-always-on; ··· 162 162 vin-supply = <&avdd_0v75_s0>; 163 163 }; 164 164 165 - pcie30_avdd1v8: pcie30-avdd1v8-regulator { 165 + pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 166 166 compatible = "regulator-fixed"; 167 167 regulator-name = "pcie30_avdd1v8"; 168 168 regulator-always-on; ··· 172 172 vin-supply = <&avcc_1v8_s0>; 173 173 }; 174 174 175 - vbus5v0_typec: vbus5v0-typec-regulator { 175 + vbus5v0_typec: regulator-vbus5v0-typec { 176 176 compatible = "regulator-fixed"; 177 177 enable-active-high; 178 178 gpio = <&gpio4 RK_PD0 GPIO_ACTIVE_HIGH>; ··· 184 184 vin-supply = <&vcc5v0_usb>; 185 185 }; 186 186 187 - vcc12v_dcin: vcc12v-dcin-regulator { 187 + vcc12v_dcin: regulator-vcc12v-dcin { 188 188 compatible = "regulator-fixed"; 189 189 regulator-name = "vcc12v_dcin"; 190 190 regulator-always-on; ··· 193 193 regulator-max-microvolt = <12000000>; 194 194 }; 195 195 196 - vcc3v3_pcie30: vcc3v3-pcie30-regulator { 196 + vcc3v3_pcie30: regulator-vcc3v3-pcie30 { 197 197 compatible = "regulator-fixed"; 198 198 regulator-name = "vcc3v3_pcie30"; 199 199 regulator-min-microvolt = <3300000>; ··· 206 206 pinctrl-0 = <&vcc3v3_pcie30_en>; 207 207 }; 208 208 209 - vcc5v0_host: vcc5v0-host-regulator { 209 + vcc5v0_host: regulator-vcc5v0-host { 210 210 compatible = "regulator-fixed"; 211 211 regulator-name = "vcc5v0_host"; 212 212 regulator-boot-on; ··· 220 220 vin-supply = <&vcc5v0_usb>; 221 221 }; 222 222 223 - vcc5v0_sys: vcc5v0-sys-regulator { 223 + vcc5v0_sys: regulator-vcc5v0-sys { 224 224 compatible = "regulator-fixed"; 225 225 regulator-name = "vcc5v0_sys"; 226 226 regulator-always-on; ··· 230 230 vin-supply = <&vcc12v_dcin>; 231 231 }; 232 232 233 - vcc5v0_usbdcin: vcc5v0-usbdcin-regulator { 233 + vcc5v0_usbdcin: regulator-vcc5v0-usbdcin { 234 234 compatible = "regulator-fixed"; 235 235 regulator-name = "vcc5v0_usbdcin"; 236 236 regulator-always-on; ··· 240 240 vin-supply = <&vcc12v_dcin>; 241 241 }; 242 242 243 - vcc5v0_usb: vcc5v0-usb-regulator { 243 + vcc5v0_usb: regulator-vcc5v0-usb { 244 244 compatible = "regulator-fixed"; 245 245 regulator-name = "vcc5v0_usb"; 246 246 regulator-always-on;
+6 -6
arch/arm64/boot/dts/rockchip/rk3588-fet3588-c.dtsi
··· 29 29 }; 30 30 }; 31 31 32 - pcie20_avdd0v85: pcie20-avdd0v85-regulator { 32 + pcie20_avdd0v85: regulator-pcie20-avdd0v85 { 33 33 compatible = "regulator-fixed"; 34 34 regulator-name = "pcie20_avdd0v85"; 35 35 regulator-always-on; ··· 39 39 vin-supply = <&vdd_0v85_s0>; 40 40 }; 41 41 42 - pcie20_avdd1v8: pcie20-avdd1v8-regulator { 42 + pcie20_avdd1v8: regulator-pcie20-avdd1v8 { 43 43 compatible = "regulator-fixed"; 44 44 regulator-name = "pcie20_avdd1v8"; 45 45 regulator-always-on; ··· 49 49 vin-supply = <&avcc_1v8_s0>; 50 50 }; 51 51 52 - pcie30_avdd0v75: pcie30-avdd0v75-regulator { 52 + pcie30_avdd0v75: regulator-pcie30-avdd0v75 { 53 53 compatible = "regulator-fixed"; 54 54 regulator-name = "pcie30_avdd0v75"; 55 55 regulator-always-on; ··· 59 59 vin-supply = <&avdd_0v75_s0>; 60 60 }; 61 61 62 - pcie30_avdd1v8: pcie30-avdd1v8-regulator { 62 + pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 63 63 compatible = "regulator-fixed"; 64 64 regulator-name = "pcie30_avdd1v8"; 65 65 regulator-always-on; ··· 69 69 vin-supply = <&avcc_1v8_s0>; 70 70 }; 71 71 72 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 72 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 73 73 compatible = "regulator-fixed"; 74 74 regulator-name = "vcc_1v1_nldo_s3"; 75 75 regulator-always-on; ··· 79 79 vin-supply = <&vcc5v0_sys>; 80 80 }; 81 81 82 - vcc4v0_sys: vcc4v0-sys-regulator { 82 + vcc4v0_sys: regulator-vcc4v0-sys { 83 83 compatible = "regulator-fixed"; 84 84 regulator-name = "vcc4v0_sys"; 85 85 regulator-always-on;
+47
arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588-nas.dts
··· 11 11 #include <dt-bindings/gpio/gpio.h> 12 12 #include <dt-bindings/input/input.h> 13 13 #include <dt-bindings/pinctrl/rockchip.h> 14 + #include <dt-bindings/soc/rockchip,vop2.h> 14 15 #include <dt-bindings/usb/pd.h> 15 16 #include "rk3588-friendlyelec-cm3588.dtsi" 16 17 ··· 87 86 label = "User Button"; 88 87 linux,code = <BTN_1>; 89 88 wakeup-source; 89 + }; 90 + }; 91 + 92 + hdmi0-con { 93 + compatible = "hdmi-connector"; 94 + type = "a"; 95 + 96 + port { 97 + hdmi0_con_in: endpoint { 98 + remote-endpoint = <&hdmi0_out_con>; 99 + }; 90 100 }; 91 101 }; 92 102 ··· 317 305 /* GPIO4 D0-D7 */ 318 306 "", "", "", "", 319 307 "", "", "", ""; 308 + }; 309 + 310 + &hdmi0 { 311 + status = "okay"; 312 + }; 313 + 314 + &hdmi0_in { 315 + hdmi0_in_vp0: endpoint { 316 + remote-endpoint = <&vp0_out_hdmi0>; 317 + }; 318 + }; 319 + 320 + &hdmi0_out { 321 + hdmi0_out_con: endpoint { 322 + remote-endpoint = <&hdmi0_con_in>; 323 + }; 324 + }; 325 + 326 + &hdptxphy_hdmi0 { 327 + status = "okay"; 320 328 }; 321 329 322 330 /* Connected to MIPI-DSI0 */ ··· 807 775 /* CM3588 USB Controller Config Table: USB30 OTG1 */ 808 776 &usbdp_phy1 { 809 777 status = "okay"; 778 + }; 779 + 780 + &vop { 781 + status = "okay"; 782 + }; 783 + 784 + &vop_mmu { 785 + status = "okay"; 786 + }; 787 + 788 + &vp0 { 789 + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 790 + reg = <ROCKCHIP_VOP2_EP_HDMI0>; 791 + remote-endpoint = <&hdmi0_in_vp0>; 792 + }; 810 793 };
+10 -10
arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts
··· 44 44 }; 45 45 46 46 /* DCIN is 12-24V but standard is 12V */ 47 - dc_12v: dc-12v-regulator { 47 + dc_12v: regulator-dc-12v { 48 48 compatible = "regulator-fixed"; 49 49 regulator-name = "dc_12v"; 50 50 regulator-always-on; ··· 111 111 gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; 112 112 }; 113 113 114 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 114 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 115 115 compatible = "regulator-fixed"; 116 116 regulator-name = "vcc_1v1_nldo_s3"; 117 117 regulator-always-on; ··· 121 121 vin-supply = <&vcc5v0_sys>; 122 122 }; 123 123 124 - vcc_1v2_s3: vcc-1v2-s3-regulator { 124 + vcc_1v2_s3: regulator-vcc-1v2-s3 { 125 125 compatible = "regulator-fixed"; 126 126 regulator-name = "vcc_1v2_s3"; 127 127 regulator-always-on; ··· 132 132 }; 133 133 134 134 /* Exposed on P14 and P15 */ 135 - vcc_2v8_s3: vcc-2v8-s3-regulator { 135 + vcc_2v8_s3: regulator-vcc-2v8-s3 { 136 136 compatible = "regulator-fixed"; 137 137 regulator-name = "vcc_2v8_s3"; 138 138 regulator-always-on; ··· 142 142 vin-supply = <&vcc_3v3_s3>; 143 143 }; 144 144 145 - vcc_5v0_usb_a: vcc-5v0-usb-a-regulator { 145 + vcc_5v0_usb_a: regulator-vcc-5v0-usb-a { 146 146 compatible = "regulator-fixed"; 147 147 regulator-name = "usb_a_vcc"; 148 148 regulator-min-microvolt = <5000000>; ··· 152 152 enable-active-high; 153 153 }; 154 154 155 - vcc_5v0_usb_c1: vcc-5v0-usb-c1-regulator { 155 + vcc_5v0_usb_c1: regulator-vcc-5v0-usb-c1 { 156 156 compatible = "regulator-fixed"; 157 157 regulator-name = "5v_usbc1"; 158 158 regulator-min-microvolt = <5000000>; ··· 162 162 enable-active-high; 163 163 }; 164 164 165 - vcc_5v0_usb_c2: vcc-5v0-usb-c2-regulator { 165 + vcc_5v0_usb_c2: regulator-vcc-5v0-usb-c2 { 166 166 compatible = "regulator-fixed"; 167 167 regulator-name = "5v_usbc2"; 168 168 regulator-min-microvolt = <5000000>; ··· 172 172 enable-active-high; 173 173 }; 174 174 175 - vcc3v3_mdot2: vcc3v3-mdot2-regulator { 175 + vcc3v3_mdot2: regulator-vcc3v3-mdot2 { 176 176 compatible = "regulator-fixed"; 177 177 regulator-name = "vcc3v3_mdot2"; 178 178 regulator-always-on; ··· 182 182 vin-supply = <&dc_12v>; 183 183 }; 184 184 185 - vcc5v0_sys: vcc5v0-sys-regulator { 185 + vcc5v0_sys: regulator-vcc5v0-sys { 186 186 compatible = "regulator-fixed"; 187 187 regulator-name = "vcc5v0_sys"; 188 188 regulator-always-on; ··· 192 192 vin-supply = <&dc_12v>; 193 193 }; 194 194 195 - vcc5v0_usb: vcc5v0-usb-regulator { 195 + vcc5v0_usb: regulator-vcc5v0-usb { 196 196 compatible = "regulator-fixed"; 197 197 regulator-name = "vcc5v0_usb"; 198 198 regulator-always-on;
+1 -1
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6-lts.dts
··· 15 15 compatible = "friendlyarm,nanopc-t6-lts", "rockchip,rk3588"; 16 16 17 17 /* provide power for on-board USB 2.0 hub */ 18 - vcc5v0_usb20_host: vcc5v0-usb20-host-regulator { 18 + vcc5v0_usb20_host: regulator-vcc5v0-usb20-host { 19 19 compatible = "regulator-fixed"; 20 20 enable-active-high; 21 21 gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>;
+1 -1
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
··· 14 14 model = "FriendlyElec NanoPC-T6"; 15 15 compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588"; 16 16 17 - vdd_4g_3v3: vdd-4g-3v3-regulator { 17 + vdd_4g_3v3: regulator-vdd-4g-3v3 { 18 18 compatible = "regulator-fixed"; 19 19 enable-active-high; 20 20 gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
+45 -9
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi
··· 106 106 }; 107 107 }; 108 108 109 - vcc12v_dcin: vcc12v-dcin-regulator { 109 + vcc12v_dcin: regulator-vcc12v-dcin { 110 110 compatible = "regulator-fixed"; 111 111 regulator-name = "vcc12v_dcin"; 112 112 regulator-always-on; ··· 116 116 }; 117 117 118 118 /* vcc5v0_sys powers peripherals */ 119 - vcc5v0_sys: vcc5v0-sys-regulator { 119 + vcc5v0_sys: regulator-vcc5v0-sys { 120 120 compatible = "regulator-fixed"; 121 121 regulator-name = "vcc5v0_sys"; 122 122 regulator-always-on; ··· 127 127 }; 128 128 129 129 /* vcc4v0_sys powers the RK806, RK860's */ 130 - vcc4v0_sys: vcc4v0-sys-regulator { 130 + vcc4v0_sys: regulator-vcc4v0-sys { 131 131 compatible = "regulator-fixed"; 132 132 regulator-name = "vcc4v0_sys"; 133 133 regulator-always-on; ··· 137 137 vin-supply = <&vcc12v_dcin>; 138 138 }; 139 139 140 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 140 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 141 141 compatible = "regulator-fixed"; 142 142 regulator-name = "vcc-1v1-nldo-s3"; 143 143 regulator-always-on; ··· 147 147 vin-supply = <&vcc4v0_sys>; 148 148 }; 149 149 150 - vcc_3v3_pcie20: vcc3v3-pcie20-regulator { 150 + vcc_3v3_pcie20: regulator-vcc3v3-pcie20 { 151 151 compatible = "regulator-fixed"; 152 152 regulator-name = "vcc_3v3_pcie20"; 153 153 regulator-always-on; ··· 157 157 vin-supply = <&vcc_3v3_s3>; 158 158 }; 159 159 160 - vbus5v0_typec: vbus5v0-typec-regulator { 160 + vbus5v0_typec: regulator-vbus5v0-typec { 161 161 compatible = "regulator-fixed"; 162 162 enable-active-high; 163 163 gpio = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>; ··· 171 171 vin-supply = <&vcc5v0_sys>; 172 172 }; 173 173 174 - vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator { 174 + vbus5v0_usb: regulator-vbus5v0-usb { 175 + compatible = "regulator-fixed"; 176 + enable-active-high; 177 + gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>; 178 + pinctrl-names = "default"; 179 + pinctrl-0 = <&usb5v_pwren>; 180 + regulator-always-on; 181 + regulator-boot-on; 182 + regulator-name = "vbus5v0_usb"; 183 + regulator-min-microvolt = <5000000>; 184 + regulator-max-microvolt = <5000000>; 185 + vin-supply = <&vcc5v0_sys>; 186 + }; 187 + 188 + vcc3v3_pcie2x1l0: regulator-vcc3v3-pcie2x1l0 { 175 189 compatible = "regulator-fixed"; 176 190 enable-active-high; 177 191 gpio = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; ··· 197 183 vin-supply = <&vcc5v0_sys>; 198 184 }; 199 185 200 - vcc3v3_pcie30: vcc3v3-pcie30-regulator { 186 + vcc3v3_pcie30: regulator-vcc3v3-pcie30 { 201 187 compatible = "regulator-fixed"; 202 188 enable-active-high; 203 189 gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>; ··· 209 195 vin-supply = <&vcc5v0_sys>; 210 196 }; 211 197 212 - vcc3v3_sd_s0: vcc3v3-sd-s0-regulator { 198 + vcc3v3_sd_s0: regulator-vcc3v3-sd-s0 { 213 199 compatible = "regulator-fixed"; 214 200 gpio = <&gpio4 RK_PA5 GPIO_ACTIVE_LOW>; 215 201 regulator-boot-on; ··· 621 607 rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 622 608 }; 623 609 610 + usb5v_pwren: usb5v_pwren { 611 + rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 612 + }; 613 + 624 614 usbc0_int: usbc0-int { 625 615 rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; 626 616 }; ··· 1023 1005 status = "okay"; 1024 1006 }; 1025 1007 1008 + &u2phy1 { 1009 + status = "okay"; 1010 + }; 1011 + 1012 + &u2phy1_otg { 1013 + status = "okay"; 1014 + }; 1015 + 1026 1016 &u2phy2_host { 1027 1017 status = "okay"; 1028 1018 }; ··· 1070 1044 }; 1071 1045 }; 1072 1046 1047 + &usbdp_phy1 { 1048 + phy-supply = <&vbus5v0_usb>; 1049 + status = "okay"; 1050 + }; 1051 + 1073 1052 &usb_host0_ehci { 1074 1053 status = "okay"; 1075 1054 }; ··· 1093 1062 remote-endpoint = <&usbc0_hs>; 1094 1063 }; 1095 1064 }; 1065 + }; 1066 + 1067 + &usb_host1_xhci { 1068 + dr_mode = "host"; 1069 + status = "okay"; 1096 1070 }; 1097 1071 1098 1072 &usb_host1_ehci {
+7 -7
arch/arm64/boot/dts/rockchip/rk3588-ok3588-c.dts
··· 100 100 }; 101 101 }; 102 102 103 - vcc12v_dcin: vcc12v-dcin-regulator { 103 + vcc12v_dcin: regulator-vcc12v-dcin { 104 104 compatible = "regulator-fixed"; 105 105 regulator-name = "vcc12v_dcin"; 106 106 regulator-always-on; ··· 109 109 regulator-max-microvolt = <12000000>; 110 110 }; 111 111 112 - vcc1v8_sys: vcc1v8-sys-regulator { 112 + vcc1v8_sys: regulator-vcc1v8-sys { 113 113 compatible = "regulator-fixed"; 114 114 regulator-name = "vcc1v8_sys"; 115 115 regulator-always-on; ··· 119 119 vin-supply = <&vcc3v3_sys>; 120 120 }; 121 121 122 - vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator { 122 + vcc3v3_pcie2x1l0: regulator-vcc3v3-pcie2x1l0 { 123 123 compatible = "regulator-fixed"; 124 124 regulator-name = "vcc3v3_pcie2x1l0"; 125 125 regulator-min-microvolt = <3300000>; ··· 128 128 vin-supply = <&vcc5v0_sys>; 129 129 }; 130 130 131 - vcc3v3_pcie2x1l2: vcc3v3-pcie2x1l2-regulator { 131 + vcc3v3_pcie2x1l2: regulator-vcc3v3-pcie2x1l2 { 132 132 compatible = "regulator-fixed"; 133 133 regulator-name = "vcc3v3_pcie2x1l2"; 134 134 regulator-min-microvolt = <3300000>; ··· 137 137 vin-supply = <&vcc5v0_sys>; 138 138 }; 139 139 140 - vcc3v3_pcie30: vcc3v3_pcie30-regulator { 140 + vcc3v3_pcie30: regulator-vcc3v3_pcie30 { 141 141 compatible = "regulator-fixed"; 142 142 regulator-name = "vcc3v3_pcie30"; 143 143 regulator-always-on; ··· 147 147 vin-supply = <&vcc5v0_sys>; 148 148 }; 149 149 150 - vcc3v3_sys: vcc3v3-sys-regulator { 150 + vcc3v3_sys: regulator-vcc3v3-sys { 151 151 compatible = "regulator-fixed"; 152 152 regulator-name = "vcc3v3_sys"; 153 153 regulator-always-on; ··· 157 157 vin-supply = <&vcc5v0_sys>; 158 158 }; 159 159 160 - vcc5v0_sys: vcc5v0-sys-regulator { 160 + vcc5v0_sys: regulator-vcc5v0-sys { 161 161 compatible = "regulator-fixed"; 162 162 regulator-name = "vcc5v0_sys"; 163 163 regulator-always-on;
+10 -5
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
··· 177 177 }; 178 178 }; 179 179 180 - vcc3v3_pcie30: vcc3v3-pcie30-regulator { 180 + vcc3v3_pcie30: regulator-vcc3v3-pcie30 { 181 181 compatible = "regulator-fixed"; 182 182 enable-active-high; 183 183 gpios = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>; ··· 188 188 vin-supply = <&vcc5v0_sys>; 189 189 }; 190 190 191 - vcc3v3_pcie_eth: vcc3v3-pcie-eth-regulator { 191 + vcc3v3_pcie_eth: regulator-vcc3v3-pcie-eth { 192 192 compatible = "regulator-fixed"; 193 193 gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>; 194 194 regulator-name = "vcc3v3_pcie_eth"; ··· 198 198 vin-supply = <&vcc5v0_sys>; 199 199 }; 200 200 201 - vcc3v3_wf: vcc3v3-wf-regulator { 201 + vcc3v3_wf: regulator-vcc3v3-wf { 202 202 compatible = "regulator-fixed"; 203 203 enable-active-high; 204 204 gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>; ··· 209 209 vin-supply = <&vcc5v0_sys>; 210 210 }; 211 211 212 - vcc5v0_sys: vcc5v0-sys-regulator { 212 + vcc5v0_sys: regulator-vcc5v0-sys { 213 213 compatible = "regulator-fixed"; 214 214 regulator-name = "vcc5v0_sys"; 215 215 regulator-always-on; ··· 218 218 regulator-max-microvolt = <5000000>; 219 219 }; 220 220 221 - vcc5v0_usb20: vcc5v0-usb20-regulator { 221 + vcc5v0_usb20: regulator-vcc5v0-usb20 { 222 222 compatible = "regulator-fixed"; 223 223 enable-active-high; 224 224 gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>; ··· 273 273 274 274 &cpu_l3 { 275 275 cpu-supply = <&vdd_cpu_lit_s0>; 276 + }; 277 + 278 + &gpu { 279 + mali-supply = <&vdd_gpu_s0>; 280 + status = "okay"; 276 281 }; 277 282 278 283 &hdmi0 {
+7 -7
arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts
··· 149 149 }; 150 150 }; 151 151 152 - vcc12v_dcin: vcc12v-dcin-regulator { 152 + vcc12v_dcin: regulator-vcc12v-dcin { 153 153 compatible = "regulator-fixed"; 154 154 regulator-name = "vcc12v_dcin"; 155 155 regulator-always-on; ··· 158 158 regulator-max-microvolt = <12000000>; 159 159 }; 160 160 161 - vcc3v3_bt: vcc3v3-bt-regulator { 161 + vcc3v3_bt: regulator-vcc3v3-bt { 162 162 compatible = "regulator-fixed"; 163 163 enable-active-high; 164 164 gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>; ··· 169 169 vin-supply = <&vcc_3v3_s0>; 170 170 }; 171 171 172 - vcc3v3_pcie30: vcc3v3-pcie30-regulator { 172 + vcc3v3_pcie30: regulator-vcc3v3-pcie30 { 173 173 compatible = "regulator-fixed"; 174 174 enable-active-high; 175 175 gpios = <&gpio3 RK_PC3 GPIO_ACTIVE_HIGH>; ··· 180 180 vin-supply = <&vcc12v_dcin>; 181 181 }; 182 182 183 - vcc3v3_wf: vcc3v3-wf-regulator { 183 + vcc3v3_wf: regulator-vcc3v3-wf { 184 184 compatible = "regulator-fixed"; 185 185 enable-active-high; 186 186 gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>; ··· 191 191 vin-supply = <&vcc_3v3_s0>; 192 192 }; 193 193 194 - vcc4v0_sys: vcc4v0-sys-regulator { 194 + vcc4v0_sys: regulator-vcc4v0-sys { 195 195 compatible = "regulator-fixed"; 196 196 regulator-name = "vcc4v0_sys"; 197 197 regulator-always-on; ··· 201 201 vin-supply = <&vcc12v_dcin>; 202 202 }; 203 203 204 - vcc5v0_host: vcc5v0-host-regulator { 204 + vcc5v0_host: regulator-vcc5v0-host { 205 205 compatible = "regulator-fixed"; 206 206 enable-active-high; 207 207 gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>; ··· 215 215 vin-supply = <&vcc5v0_usb>; 216 216 }; 217 217 218 - vcc5v0_usb: vcc5v0-usb-regulator { 218 + vcc5v0_usb: regulator-vcc5v0-usb { 219 219 compatible = "regulator-fixed"; 220 220 regulator-name = "vcc5v0_usb"; 221 221 regulator-always-on;
+6 -6
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
··· 84 84 shutdown-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; 85 85 }; 86 86 87 - vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator { 87 + vcc3v3_pcie2x1l0: regulator-vcc3v3-pcie2x1l0 { 88 88 compatible = "regulator-fixed"; 89 89 enable-active-high; 90 90 gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>; ··· 99 99 vin-supply = <&vcc5v0_sys>; 100 100 }; 101 101 102 - vcc3v3_pcie2x1l2: vcc3v3-pcie2x1l2-regulator { 102 + vcc3v3_pcie2x1l2: regulator-vcc3v3-pcie2x1l2 { 103 103 compatible = "regulator-fixed"; 104 104 regulator-name = "vcc3v3_pcie2x1l2"; 105 105 regulator-min-microvolt = <3300000>; ··· 108 108 vin-supply = <&vcc_3v3_s3>; 109 109 }; 110 110 111 - vcc3v3_pcie30: vcc3v3-pcie30-regulator { 111 + vcc3v3_pcie30: regulator-vcc3v3-pcie30 { 112 112 compatible = "regulator-fixed"; 113 113 enable-active-high; 114 114 gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; ··· 121 121 vin-supply = <&vcc5v0_sys>; 122 122 }; 123 123 124 - vcc5v0_host: vcc5v0-host-regulator { 124 + vcc5v0_host: regulator-vcc5v0-host { 125 125 compatible = "regulator-fixed"; 126 126 regulator-name = "vcc5v0_host"; 127 127 regulator-boot-on; ··· 135 135 vin-supply = <&vcc5v0_sys>; 136 136 }; 137 137 138 - vcc5v0_sys: vcc5v0-sys-regulator { 138 + vcc5v0_sys: regulator-vcc5v0-sys { 139 139 compatible = "regulator-fixed"; 140 140 regulator-name = "vcc5v0_sys"; 141 141 regulator-always-on; ··· 144 144 regulator-max-microvolt = <5000000>; 145 145 }; 146 146 147 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 147 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 148 148 compatible = "regulator-fixed"; 149 149 regulator-name = "vcc_1v1_nldo_s3"; 150 150 regulator-always-on;
+7 -7
arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dts
··· 21 21 stdout-path = "serial2:115200n8"; 22 22 }; 23 23 24 - dc_12v: dc-12v-regulator { 24 + dc_12v: regulator-dc-12v { 25 25 compatible = "regulator-fixed"; 26 26 regulator-name = "dc_12v"; 27 27 regulator-always-on; ··· 96 96 clock-frequency = <24576000>; 97 97 }; 98 98 99 - vcc3v3_baseboard: vcc3v3-baseboard-regulator { 99 + vcc3v3_baseboard: regulator-vcc3v3-baseboard { 100 100 compatible = "regulator-fixed"; 101 101 regulator-name = "vcc3v3_baseboard"; 102 102 regulator-always-on; ··· 106 106 vin-supply = <&dc_12v>; 107 107 }; 108 108 109 - vcc3v3_low_noise: vcc3v3-low-noise-regulator { 109 + vcc3v3_low_noise: regulator-vcc3v3-low-noise { 110 110 compatible = "regulator-fixed"; 111 111 regulator-name = "vcc3v3_low_noise"; 112 112 regulator-boot-on; ··· 115 115 vin-supply = <&vcc5v0_usb>; 116 116 }; 117 117 118 - vcc5v0_baseboard: vcc5v0-baseboard-regulator { 118 + vcc5v0_baseboard: regulator-vcc5v0-baseboard { 119 119 compatible = "regulator-fixed"; 120 120 regulator-name = "vcc5v0_baseboard"; 121 121 regulator-always-on; ··· 125 125 vin-supply = <&dc_12v>; 126 126 }; 127 127 128 - vcc5v0_otg: vcc5v0-otg-regulator { 128 + vcc5v0_otg: regulator-vcc5v0-otg { 129 129 compatible = "regulator-fixed"; 130 130 enable-active-high; 131 131 gpio = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; ··· 135 135 regulator-always-on; 136 136 }; 137 137 138 - vcc5v0_usb: vcc5v0-usb-regulator { 138 + vcc5v0_usb: regulator-vcc5v0-usb { 139 139 compatible = "regulator-fixed"; 140 140 regulator-name = "vcc5v0_usb"; 141 141 regulator-always-on; ··· 145 145 vin-supply = <&dc_12v>; 146 146 }; 147 147 148 - vddd_audio_1v6: vddd-audio-1v6-regulator { 148 + vddd_audio_1v6: regulator-vddd-audio-1v6 { 149 149 compatible = "regulator-fixed"; 150 150 regulator-name = "vddd_audio_1v6"; 151 151 regulator-boot-on;
+3 -3
arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
··· 65 65 enable-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; /* PCIE30X4_CLKREQN_M1_L */ 66 66 }; 67 67 68 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 68 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 69 69 compatible = "regulator-fixed"; 70 70 regulator-name = "vcc_1v1_nldo_s3"; 71 71 regulator-always-on; ··· 75 75 vin-supply = <&vcc5v0_sys>; 76 76 }; 77 77 78 - vcc_1v2_s3: vcc-1v2-s3-regulator { 78 + vcc_1v2_s3: regulator-vcc-1v2-s3 { 79 79 compatible = "regulator-fixed"; 80 80 regulator-name = "vcc_1v2_s3"; 81 81 regulator-always-on; ··· 85 85 vin-supply = <&vcc5v0_sys>; 86 86 }; 87 87 88 - vcc5v0_sys: vcc5v0-sys-regulator { 88 + vcc5v0_sys: regulator-vcc5v0-sys { 89 89 compatible = "regulator-fixed"; 90 90 regulator-name = "vcc5v0_sys"; 91 91 regulator-always-on;
+10 -10
arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0.dts
··· 61 61 pwms = <&pwm2 0 25000 0>; 62 62 }; 63 63 64 - pcie20_avdd0v85: pcie20-avdd0v85-regulator { 64 + pcie20_avdd0v85: regulator-pcie20-avdd0v85 { 65 65 compatible = "regulator-fixed"; 66 66 regulator-name = "pcie20_avdd0v85"; 67 67 regulator-always-on; ··· 71 71 vin-supply = <&vdd_0v85_s0>; 72 72 }; 73 73 74 - pcie20_avdd1v8: pcie20-avdd1v8-regulator { 74 + pcie20_avdd1v8: regulator-pcie20-avdd1v8 { 75 75 compatible = "regulator-fixed"; 76 76 regulator-name = "pcie20_avdd1v8"; 77 77 regulator-always-on; ··· 81 81 vin-supply = <&avcc_1v8_s0>; 82 82 }; 83 83 84 - pcie30_avdd0v75: pcie30-avdd0v75-regulator { 84 + pcie30_avdd0v75: regulator-pcie30-avdd0v75 { 85 85 compatible = "regulator-fixed"; 86 86 regulator-name = "pcie30_avdd0v75"; 87 87 regulator-always-on; ··· 91 91 vin-supply = <&avdd_0v75_s0>; 92 92 }; 93 93 94 - pcie30_avdd1v8: pcie30-avdd1v8-regulator { 94 + pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 95 95 compatible = "regulator-fixed"; 96 96 regulator-name = "pcie30_avdd1v8"; 97 97 regulator-always-on; ··· 101 101 vin-supply = <&avcc_1v8_s0>; 102 102 }; 103 103 104 - vcc12v_dcin: vcc12v-dcin-regulator { 104 + vcc12v_dcin: regulator-vcc12v-dcin { 105 105 compatible = "regulator-fixed"; 106 106 regulator-name = "vcc12v_dcin"; 107 107 regulator-always-on; ··· 110 110 regulator-max-microvolt = <12000000>; 111 111 }; 112 112 113 - vcc5v0_host: vcc5v0-host-regulator { 113 + vcc5v0_host: regulator-vcc5v0-host { 114 114 compatible = "regulator-fixed"; 115 115 enable-active-high; 116 116 gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>; ··· 124 124 vin-supply = <&vcc5v0_usb>; 125 125 }; 126 126 127 - vcc5v0_sys: vcc5v0-sys-regulator { 127 + vcc5v0_sys: regulator-vcc5v0-sys { 128 128 compatible = "regulator-fixed"; 129 129 regulator-name = "vcc5v0_sys"; 130 130 regulator-always-on; ··· 134 134 vin-supply = <&vcc12v_dcin>; 135 135 }; 136 136 137 - vcc5v0_usbdcin: vcc5v0-usbdcin-regulator { 137 + vcc5v0_usbdcin: regulator-vcc5v0-usbdcin { 138 138 compatible = "regulator-fixed"; 139 139 regulator-name = "vcc5v0_usbdcin"; 140 140 regulator-always-on; ··· 144 144 vin-supply = <&vcc12v_dcin>; 145 145 }; 146 146 147 - vcc5v0_usb: vcc5v0-usb-regulator { 147 + vcc5v0_usb: regulator-vcc5v0-usb { 148 148 compatible = "regulator-fixed"; 149 149 regulator-name = "vcc5v0_usb"; 150 150 regulator-always-on; ··· 154 154 vin-supply = <&vcc5v0_usbdcin>; 155 155 }; 156 156 157 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 157 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 158 158 compatible = "regulator-fixed"; 159 159 regulator-name = "vcc_1v1_nldo_s3"; 160 160 regulator-always-on;
+3 -3
arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi
··· 33 33 #cooling-cells = <2>; 34 34 }; 35 35 36 - vcc3v3_pcie30: vcc3v3-pcie30-regulator { 36 + vcc3v3_pcie30: regulator-vcc3v3-pcie30 { 37 37 compatible = "regulator-fixed"; 38 38 regulator-name = "vcc3v3_pcie30"; 39 39 regulator-min-microvolt = <3300000>; ··· 45 45 startup-delay-us = <5000>; 46 46 }; 47 47 48 - vcc5v0_sys: vcc5v0-sys-regulator { 48 + vcc5v0_sys: regulator-vcc5v0-sys { 49 49 compatible = "regulator-fixed"; 50 50 regulator-name = "vcc5v0_sys"; 51 51 regulator-always-on; ··· 54 54 regulator-max-microvolt = <5000000>; 55 55 }; 56 56 57 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 57 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 58 58 compatible = "regulator-fixed"; 59 59 regulator-name = "vcc_1v1_nldo_s3"; 60 60 regulator-always-on;
+57 -10
arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts
··· 11 11 #include <dt-bindings/gpio/gpio.h> 12 12 #include <dt-bindings/leds/common.h> 13 13 #include <dt-bindings/pinctrl/rockchip.h> 14 + #include <dt-bindings/soc/rockchip,vop2.h> 14 15 #include "rk3588s.dtsi" 15 16 16 17 / { ··· 37 36 38 37 chosen { 39 38 stdout-path = "serial2:1500000n8"; 39 + }; 40 + 41 + hdmi-con { 42 + compatible = "hdmi-connector"; 43 + type = "d"; 44 + 45 + port { 46 + hdmi_con_in: endpoint { 47 + remote-endpoint = <&hdmi0_out_con>; 48 + }; 49 + }; 40 50 }; 41 51 42 52 leds: leds { ··· 87 75 reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_LOW>; 88 76 }; 89 77 90 - vcc12v_dcin: vcc12v-dcin-regulator { 78 + vcc12v_dcin: regulator-vcc12v-dcin { 91 79 compatible = "regulator-fixed"; 92 80 regulator-name = "vcc12v_dcin"; 93 81 regulator-always-on; ··· 96 84 regulator-max-microvolt = <12000000>; 97 85 }; 98 86 99 - vcc5v0_sys: vcc5v0-sys-regulator { 87 + vcc5v0_sys: regulator-vcc5v0-sys { 100 88 compatible = "regulator-fixed"; 101 89 regulator-name = "vcc5v0_sys"; 102 90 regulator-always-on; ··· 106 94 vin-supply = <&vcc12v_dcin>; 107 95 }; 108 96 109 - vcc5v0_usbdcin: vcc5v0-usbdcin-regulator { 97 + vcc5v0_usbdcin: regulator-vcc5v0-usbdcin { 110 98 compatible = "regulator-fixed"; 111 99 regulator-name = "vcc5v0_usbdcin"; 112 100 regulator-always-on; ··· 116 104 vin-supply = <&vcc12v_dcin>; 117 105 }; 118 106 119 - vcc5v0_usb: vcc5v0-usb-regulator { 107 + vcc5v0_usb: regulator-vcc5v0-usb { 120 108 compatible = "regulator-fixed"; 121 109 regulator-name = "vcc5v0_usb"; 122 110 regulator-always-on; ··· 126 114 vin-supply = <&vcc5v0_usbdcin>; 127 115 }; 128 116 129 - avdd0v85_pcie20: avdd0v85-pcie20-regulator { 117 + avdd0v85_pcie20: regulator-avdd0v85-pcie20 { 130 118 compatible = "regulator-fixed"; 131 119 regulator-name = "avdd0v85_pcie20"; 132 120 regulator-boot-on; ··· 136 124 vin-supply = <&vdd_0v85_s0>; 137 125 }; 138 126 139 - avdd1v8_pcie20: avdd1v8-pcie20-regulator { 127 + avdd1v8_pcie20: regulator-avdd1v8-pcie20 { 140 128 compatible = "regulator-fixed"; 141 129 regulator-name = "avdd1v8_pcie20"; 142 130 regulator-boot-on; ··· 146 134 vin-supply = <&avcc_1v8_s0>; 147 135 }; 148 136 149 - vcc3v3_mipi: vcc3v3-mipi-regulator { 137 + vcc3v3_mipi: regulator-vcc3v3-mipi { 150 138 compatible = "regulator-fixed"; 151 139 enable-active-high; 152 140 gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_HIGH>; ··· 156 144 vin-supply = <&vcc_3v3_s3>; 157 145 }; 158 146 159 - vcc5v0_host: vcc5v0-host-regulator { 147 + vcc5v0_host: regulator-vcc5v0-host { 160 148 compatible = "regulator-fixed"; 161 149 enable-active-high; 162 150 gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; ··· 170 158 vin-supply = <&vcc5v0_sys>; 171 159 }; 172 160 173 - vcc5v0_otg: vcc5v0-otg-regulator { 161 + vcc5v0_otg: regulator-vcc5v0-otg { 174 162 compatible = "regulator-fixed"; 175 163 enable-active-high; 176 164 gpio = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>; ··· 184 172 vin-supply = <&vcc5v0_sys>; 185 173 }; 186 174 187 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 175 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 188 176 compatible = "regulator-fixed"; 189 177 regulator-name = "vcc_1v1_nldo_s3"; 190 178 regulator-always-on; ··· 217 205 218 206 &gpu { 219 207 mali-supply = <&vdd_gpu_s0>; 208 + status = "okay"; 209 + }; 210 + 211 + &hdmi0 { 212 + status = "okay"; 213 + }; 214 + 215 + &hdmi0_in { 216 + hdmi0_in_vp0: endpoint { 217 + remote-endpoint = <&vp0_out_hdmi0>; 218 + }; 219 + }; 220 + 221 + &hdmi0_out { 222 + hdmi0_out_con: endpoint { 223 + remote-endpoint = <&hdmi_con_in>; 224 + }; 225 + }; 226 + 227 + &hdptxphy_hdmi0 { 220 228 status = "okay"; 221 229 }; 222 230 ··· 846 814 847 815 &usb_host1_ohci { 848 816 status = "okay"; 817 + }; 818 + 819 + &vop { 820 + status = "okay"; 821 + }; 822 + 823 + &vop_mmu { 824 + status = "okay"; 825 + }; 826 + 827 + &vp0 { 828 + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 829 + reg = <ROCKCHIP_VOP2_EP_HDMI0>; 830 + remote-endpoint = <&hdmi0_in_vp0>; 831 + }; 849 832 };
+5 -5
arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts
··· 346 346 VCC-supply = <&vcc5v0_spk>; 347 347 }; 348 348 349 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 349 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 350 350 compatible = "regulator-fixed"; 351 351 regulator-always-on; 352 352 regulator-boot-on; ··· 356 356 vin-supply = <&vcc5v0_sys>; 357 357 }; 358 358 359 - vcc3v3_lcd0_n: vcc3v3-lcd0-n-regulator { 359 + vcc3v3_lcd0_n: regulator-vcc3v3-lcd0-n { 360 360 compatible = "regulator-fixed"; 361 361 enable-active-high; 362 362 gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; ··· 371 371 }; 372 372 }; 373 373 374 - vcc_3v3_sd_s0: vcc-3v3-sd-s0-regulator { 374 + vcc_3v3_sd_s0: regulator-vcc-3v3-sd-s0 { 375 375 compatible = "regulator-fixed"; 376 376 enable-active-high; 377 377 gpio = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; ··· 383 383 vin-supply = <&vcc_3v3_s3>; 384 384 }; 385 385 386 - vcc5v0_spk: vcc5v0-spk-regulator { 386 + vcc5v0_spk: regulator-vcc5v0-spk { 387 387 compatible = "regulator-fixed"; 388 388 enable-active-high; 389 389 gpio = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>; ··· 398 398 }; 399 399 }; 400 400 401 - vcc5v0_sys: vcc5v0-sys-regulator { 401 + vcc5v0_sys: regulator-vcc5v0-sys { 402 402 compatible = "regulator-fixed"; 403 403 regulator-always-on; 404 404 regulator-boot-on;
+62 -7
arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts
··· 5 5 #include <dt-bindings/gpio/gpio.h> 6 6 #include <dt-bindings/input/linux-event-codes.h> 7 7 #include <dt-bindings/pinctrl/rockchip.h> 8 + #include <dt-bindings/soc/rockchip,vop2.h> 8 9 #include <dt-bindings/usb/pd.h> 9 10 #include "rk3588s.dtsi" 10 11 ··· 51 50 stdout-path = "serial2:1500000n8"; 52 51 }; 53 52 53 + hdmi0-con { 54 + compatible = "hdmi-connector"; 55 + type = "d"; 56 + 57 + port { 58 + hdmi0_con_in: endpoint { 59 + remote-endpoint = <&hdmi0_out_con>; 60 + }; 61 + }; 62 + }; 63 + 54 64 sdio_pwrseq: sdio-pwrseq { 55 65 compatible = "mmc-pwrseq-simple"; 56 66 clock-names = "ext_clock"; ··· 74 62 75 63 sound { 76 64 compatible = "audio-graph-card"; 77 - label = "rockchip,es8388-codec"; 65 + label = "rockchip,es8388"; 78 66 widgets = "Microphone", "Mic Jack", 79 67 "Headphone", "Headphones"; 80 68 routing = "LINPUT2", "Mic Jack", ··· 83 71 dais = <&i2s0_8ch_p0>; 84 72 }; 85 73 86 - vbus5v0_typec: vbus5v0-typec-regulator { 74 + vbus5v0_typec: regulator-vbus5v0-typec { 87 75 compatible = "regulator-fixed"; 88 76 enable-active-high; 89 77 gpio = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; ··· 95 83 vin-supply = <&vcc5v0_usb>; 96 84 }; 97 85 98 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 86 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 99 87 compatible = "regulator-fixed"; 100 88 regulator-always-on; 101 89 regulator-boot-on; ··· 106 94 }; 107 95 108 96 /* Regulator is enabled whenever vcc_1v8_s0 is above 1.6v */ 109 - vcc_3v3_s0: vcc-3v3-s0-regulator { 97 + vcc_3v3_s0: regulator-vcc-3v3-s0 { 110 98 compatible = "regulator-fixed"; 111 99 regulator-always-on; 112 100 regulator-boot-on; ··· 120 108 }; 121 109 }; 122 110 123 - vcc5v0_sys: vcc5v0-sys-regulator { 111 + vcc5v0_sys: regulator-vcc5v0-sys { 124 112 compatible = "regulator-fixed"; 125 113 regulator-always-on; 126 114 regulator-boot-on; ··· 129 117 regulator-name = "vcc5v0_sys"; 130 118 }; 131 119 132 - vcc5v0_usb: vcc5v0-usb-regulator { 120 + vcc5v0_usb: regulator-vcc5v0-usb { 133 121 compatible = "regulator-fixed"; 134 122 regulator-always-on; 135 123 regulator-boot-on; ··· 139 127 vin-supply = <&vcc5v0_usbdcin>; 140 128 }; 141 129 142 - vcc5v0_usbdcin: vcc5v0-usbdcin-regulator { 130 + vcc5v0_usbdcin: regulator-vcc5v0-usbdcin { 143 131 compatible = "regulator-fixed"; 144 132 regulator-always-on; 145 133 regulator-boot-on; ··· 252 240 /* GPIO4 D0-D7 */ 253 241 "", "", "", "", 254 242 "", "", "", ""; 243 + }; 244 + 245 + &gpu { 246 + mali-supply = <&vdd_gpu_s0>; 247 + status = "okay"; 248 + }; 249 + 250 + &hdmi0 { 251 + pinctrl-0 = <&hdmim0_tx0_scl>, <&hdmim0_tx0_sda>, 252 + <&hdmim0_tx0_hpd>, <&hdmim0_tx0_cec>; 253 + pinctrl-names = "default"; 254 + status = "okay"; 255 + }; 256 + 257 + &hdmi0_in { 258 + hdmi0_in_vp0: endpoint { 259 + remote-endpoint = <&vp0_out_hdmi0>; 260 + }; 261 + }; 262 + 263 + &hdmi0_out { 264 + hdmi0_out_con: endpoint { 265 + remote-endpoint = <&hdmi0_con_in>; 266 + }; 267 + }; 268 + 269 + &hdptxphy_hdmi0 { 270 + status = "okay"; 255 271 }; 256 272 257 273 &i2c0 { ··· 957 917 reg = <1>; 958 918 remote-endpoint = <&dp_altmode_mux>; 959 919 }; 920 + }; 921 + }; 922 + 923 + &vop { 924 + status = "okay"; 925 + }; 926 + 927 + &vop_mmu { 928 + status = "okay"; 929 + }; 930 + 931 + &vp0 { 932 + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 933 + reg = <ROCKCHIP_VOP2_EP_HDMI0>; 934 + remote-endpoint = <&hdmi0_in_vp0>; 960 935 }; 961 936 };
+5 -5
arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
··· 76 76 }; 77 77 }; 78 78 79 - vcc3v3_pcie_wl: vcc3v3-pcie-wl-regulator { 79 + vcc3v3_pcie_wl: regulator-vcc3v3-pcie-wl { 80 80 compatible = "regulator-fixed"; 81 81 enable-active-high; 82 82 gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; ··· 89 89 vin-supply = <&vcc5v0_sys>; 90 90 }; 91 91 92 - vcc5v0_host: vcc5v0-host-regulator { 92 + vcc5v0_host: regulator-vcc5v0-host { 93 93 compatible = "regulator-fixed"; 94 94 regulator-name = "vcc5v0_host"; 95 95 regulator-boot-on; ··· 103 103 vin-supply = <&vcc5v0_sys>; 104 104 }; 105 105 106 - vcc5v0_sys: vcc5v0-sys-regulator { 106 + vcc5v0_sys: regulator-vcc5v0-sys { 107 107 compatible = "regulator-fixed"; 108 108 regulator-name = "vcc5v0_sys"; 109 109 regulator-always-on; ··· 112 112 regulator-max-microvolt = <5000000>; 113 113 }; 114 114 115 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 115 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 116 116 compatible = "regulator-fixed"; 117 117 regulator-name = "vcc_1v1_nldo_s3"; 118 118 regulator-always-on; ··· 122 122 vin-supply = <&vcc5v0_sys>; 123 123 }; 124 124 125 - vdd_3v3_sd: vdd-3v3-sd-regulator { 125 + vdd_3v3_sd: regulator-vdd-3v3-sd { 126 126 compatible = "regulator-fixed"; 127 127 regulator-name = "vdd_3v3_sd"; 128 128 gpios = <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>;
+60 -8
arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi
··· 5 5 #include <dt-bindings/pinctrl/rockchip.h> 6 6 #include <dt-bindings/gpio/gpio.h> 7 7 #include <dt-bindings/input/input.h> 8 + #include <dt-bindings/soc/rockchip,vop2.h> 8 9 #include "rk3588s.dtsi" 9 10 10 11 / { ··· 46 45 }; 47 46 }; 48 47 48 + hdmi-con { 49 + compatible = "hdmi-connector"; 50 + type = "a"; 51 + 52 + port { 53 + hdmi_con_in: endpoint { 54 + remote-endpoint = <&hdmi0_out_con>; 55 + }; 56 + }; 57 + }; 58 + 49 59 leds { 50 60 compatible = "gpio-leds"; 51 61 ··· 89 77 }; 90 78 }; 91 79 92 - vcc5v0_sys: vcc5v0-sys-regulator { 80 + vcc5v0_sys: regulator-vcc5v0-sys { 93 81 compatible = "regulator-fixed"; 94 82 regulator-name = "vcc5v0_sys"; 95 83 regulator-always-on; ··· 98 86 regulator-max-microvolt = <5000000>; 99 87 }; 100 88 101 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 89 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 102 90 compatible = "regulator-fixed"; 103 91 regulator-name = "vcc_1v1_nldo_s3"; 104 92 regulator-always-on; ··· 108 96 vin-supply = <&vcc5v0_sys>; 109 97 }; 110 98 111 - vcc_3v3_s0: vcc-3v3-s0-regulator { 99 + vcc_3v3_s0: regulator-vcc-3v3-s0 { 112 100 compatible = "regulator-fixed"; 113 101 regulator-always-on; 114 102 regulator-boot-on; ··· 118 106 vin-supply = <&vcc_3v3_s3>; 119 107 }; 120 108 121 - vcc_3v3_sd_s0: vcc-3v3-sd-s0-regulator { 109 + vcc_3v3_sd_s0: regulator-vcc-3v3-sd-s0 { 122 110 compatible = "regulator-fixed"; 123 111 enable-active-high; 124 112 gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; ··· 131 119 vin-supply = <&vcc_3v3_s3>; 132 120 }; 133 121 134 - vcc_3v3_pcie20: vcc3v3-pcie20-regulator { 122 + vcc_3v3_pcie20: regulator-vcc3v3-pcie20 { 135 123 compatible = "regulator-fixed"; 136 124 regulator-name = "vcc_3v3_pcie20"; 137 125 regulator-always-on; ··· 141 129 vin-supply = <&vcc_3v3_s3>; 142 130 }; 143 131 144 - vcc5v0_usb: vcc5v0-usb-regulator { 132 + vcc5v0_usb: regulator-vcc5v0-usb { 145 133 compatible = "regulator-fixed"; 146 134 regulator-name = "vcc5v0_usb"; 147 135 regulator-always-on; ··· 151 139 vin-supply = <&vcc5v0_sys>; 152 140 }; 153 141 154 - vcc5v0_usb_otg0: vcc5v0-usb-otg0-regulator { 142 + vcc5v0_usb_otg0: regulator-vcc5v0-usb-otg0 { 155 143 compatible = "regulator-fixed"; 156 144 enable-active-high; 157 145 gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>; ··· 163 151 vin-supply = <&vcc5v0_usb>; 164 152 }; 165 153 166 - vcc5v0_host_20: vcc5v0-host-20-regulator { 154 + vcc5v0_host_20: regulator-vcc5v0-host-20 { 167 155 compatible = "regulator-fixed"; 168 156 enable-active-high; 169 157 gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; ··· 227 215 &gmac1_rgmii_bus>; 228 216 pinctrl-names = "default"; 229 217 tx_delay = <0x42>; 218 + status = "okay"; 219 + }; 220 + 221 + &gpu { 222 + mali-supply = <&vdd_gpu_s0>; 223 + status = "okay"; 224 + }; 225 + 226 + &hdmi0 { 227 + status = "okay"; 228 + }; 229 + 230 + &hdmi0_in { 231 + hdmi0_in_vp0: endpoint { 232 + remote-endpoint = <&vp0_out_hdmi0>; 233 + }; 234 + }; 235 + 236 + &hdmi0_out { 237 + hdmi0_out_con: endpoint { 238 + remote-endpoint = <&hdmi_con_in>; 239 + }; 240 + }; 241 + 242 + &hdptxphy_hdmi0 { 230 243 status = "okay"; 231 244 }; 232 245 ··· 794 757 795 758 &usb_host0_ohci { 796 759 status = "okay"; 760 + }; 761 + 762 + &vop { 763 + status = "okay"; 764 + }; 765 + 766 + &vop_mmu { 767 + status = "okay"; 768 + }; 769 + 770 + &vp0 { 771 + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 772 + reg = <ROCKCHIP_VOP2_EP_HDMI0>; 773 + remote-endpoint = <&hdmi0_in_vp0>; 774 + }; 797 775 };
+47
arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dts
··· 5 5 #include <dt-bindings/gpio/gpio.h> 6 6 #include <dt-bindings/leds/common.h> 7 7 #include <dt-bindings/pinctrl/rockchip.h> 8 + #include <dt-bindings/soc/rockchip,vop2.h> 8 9 #include <dt-bindings/usb/pd.h> 9 10 #include "rk3588s.dtsi" 10 11 ··· 21 20 22 21 chosen { 23 22 stdout-path = "serial2:1500000n8"; 23 + }; 24 + 25 + hdmi-con { 26 + compatible = "hdmi-connector"; 27 + type = "a"; 28 + 29 + port { 30 + hdmi_con_in: endpoint { 31 + remote-endpoint = <&hdmi0_out_con>; 32 + }; 33 + }; 24 34 }; 25 35 26 36 leds { ··· 245 233 246 234 &gpu { 247 235 mali-supply = <&vdd_gpu_s0>; 236 + status = "okay"; 237 + }; 238 + 239 + &hdmi0 { 240 + status = "okay"; 241 + }; 242 + 243 + &hdmi0_in { 244 + hdmi0_in_vp0: endpoint { 245 + remote-endpoint = <&vp0_out_hdmi0>; 246 + }; 247 + }; 248 + 249 + &hdmi0_out { 250 + hdmi0_out_con: endpoint { 251 + remote-endpoint = <&hdmi_con_in>; 252 + }; 253 + }; 254 + 255 + &hdptxphy_hdmi0 { 248 256 status = "okay"; 249 257 }; 250 258 ··· 931 899 reg = <1>; 932 900 remote-endpoint = <&usbc0_dp_altmode_mux>; 933 901 }; 902 + }; 903 + }; 904 + 905 + &vop { 906 + status = "okay"; 907 + }; 908 + 909 + &vop_mmu { 910 + status = "okay"; 911 + }; 912 + 913 + &vp0 { 914 + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 915 + reg = <ROCKCHIP_VOP2_EP_HDMI0>; 916 + remote-endpoint = <&hdmi0_in_vp0>; 934 917 }; 935 918 };
+1 -1
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts
··· 8 8 model = "Xunlong Orange Pi 5"; 9 9 compatible = "xunlong,orangepi-5", "rockchip,rk3588s"; 10 10 11 - vcc3v3_pcie20: vcc3v3-pcie20-regulator { 11 + vcc3v3_pcie20: regulator-vcc3v3-pcie20 { 12 12 compatible = "regulator-fixed"; 13 13 enable-active-high; 14 14 gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
+3 -3
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi
··· 90 90 }; 91 91 }; 92 92 93 - vbus_typec: vbus-typec-regulator { 93 + vbus_typec: regulator-vbus-typec { 94 94 compatible = "regulator-fixed"; 95 95 enable-active-high; 96 96 gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; ··· 102 102 vin-supply = <&vcc5v0_sys>; 103 103 }; 104 104 105 - vcc5v0_sys: vcc5v0-sys-regulator { 105 + vcc5v0_sys: regulator-vcc5v0-sys { 106 106 compatible = "regulator-fixed"; 107 107 regulator-name = "vcc5v0_sys"; 108 108 regulator-always-on; ··· 111 111 regulator-max-microvolt = <5000000>; 112 112 }; 113 113 114 - vcc_3v3_sd_s0: vcc-3v3-sd-s0-regulator { 114 + vcc_3v3_sd_s0: regulator-vcc-3v3-sd-s0 { 115 115 compatible = "regulator-fixed"; 116 116 gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_LOW>; 117 117 regulator-name = "vcc_3v3_sd_s0";
+6 -6
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
··· 68 68 #cooling-cells = <2>; 69 69 }; 70 70 71 - vcc12v_dcin: vcc12v-dcin-regulator { 71 + vcc12v_dcin: regulator-vcc12v-dcin { 72 72 compatible = "regulator-fixed"; 73 73 regulator-name = "vcc12v_dcin"; 74 74 regulator-always-on; ··· 77 77 regulator-max-microvolt = <12000000>; 78 78 }; 79 79 80 - vcc3v3_wf: vcc3v3-wf-regulator { 80 + vcc3v3_wf: regulator-vcc3v3-wf { 81 81 compatible = "regulator-fixed"; 82 82 regulator-name = "vcc3v3_wf"; 83 83 regulator-min-microvolt = <3300000>; ··· 89 89 vin-supply = <&vcc5v0_sys>; 90 90 }; 91 91 92 - vcc5v0_host: vcc5v0-host-regulator { 92 + vcc5v0_host: regulator-vcc5v0-host { 93 93 compatible = "regulator-fixed"; 94 94 regulator-name = "vcc5v0_host"; 95 95 regulator-boot-on; ··· 103 103 vin-supply = <&vcc5v0_sys>; 104 104 }; 105 105 106 - vcc5v0_sys: vcc5v0-sys-regulator { 106 + vcc5v0_sys: regulator-vcc5v0-sys { 107 107 compatible = "regulator-fixed"; 108 108 regulator-name = "vcc5v0_sys"; 109 109 regulator-always-on; ··· 113 113 vin-supply = <&vcc12v_dcin>; 114 114 }; 115 115 116 - vcc_5v0: vcc-5v0-regulator { 116 + vcc_5v0: regulator-vcc-5v0 { 117 117 compatible = "regulator-fixed"; 118 118 regulator-name = "vcc_5v0"; 119 119 regulator-min-microvolt = <5000000>; ··· 127 127 vin-supply = <&vcc5v0_sys>; 128 128 }; 129 129 130 - vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 130 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 131 131 compatible = "regulator-fixed"; 132 132 regulator-name = "vcc_1v1_nldo_s3"; 133 133 regulator-always-on;
+920
arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + /* 3 + * Copyright (c) 2024 Radxa Computer (Shenzhen) Co., Ltd. 4 + */ 5 + 6 + /dts-v1/; 7 + 8 + #include <dt-bindings/gpio/gpio.h> 9 + #include <dt-bindings/leds/common.h> 10 + #include <dt-bindings/pinctrl/rockchip.h> 11 + #include <dt-bindings/soc/rockchip,vop2.h> 12 + #include "rk3588s.dtsi" 13 + 14 + / { 15 + model = "Radxa ROCK 5C"; 16 + compatible = "radxa,rock-5c", "rockchip,rk3588s"; 17 + 18 + aliases { 19 + ethernet0 = &gmac1; 20 + mmc0 = &sdhci; 21 + mmc1 = &sdmmc; 22 + }; 23 + 24 + chosen { 25 + stdout-path = "serial2:1500000n8"; 26 + }; 27 + 28 + analog-sound { 29 + compatible = "audio-graph-card"; 30 + label = "rk3588-es8316"; 31 + dais = <&i2s0_8ch_p0>; 32 + routing = "MIC2", "Mic Jack", 33 + "Headphones", "HPOL", 34 + "Headphones", "HPOR"; 35 + widgets = "Microphone", "Mic Jack", 36 + "Headphone", "Headphones"; 37 + }; 38 + 39 + hdmi0-con { 40 + compatible = "hdmi-connector"; 41 + type = "a"; 42 + 43 + port { 44 + hdmi0_con_in: endpoint { 45 + remote-endpoint = <&hdmi0_out_con>; 46 + }; 47 + }; 48 + }; 49 + 50 + leds { 51 + compatible = "gpio-leds"; 52 + pinctrl-names = "default"; 53 + pinctrl-0 = <&led_pins>; 54 + 55 + led-0 { 56 + color = <LED_COLOR_ID_GREEN>; 57 + default-state = "on"; 58 + function = LED_FUNCTION_POWER; 59 + gpios = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>; 60 + }; 61 + 62 + led-1 { 63 + color = <LED_COLOR_ID_BLUE>; 64 + default-state = "on"; 65 + function = LED_FUNCTION_HEARTBEAT; 66 + gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; 67 + linux,default-trigger = "heartbeat"; 68 + }; 69 + }; 70 + 71 + fan { 72 + compatible = "pwm-fan"; 73 + #cooling-cells = <2>; 74 + cooling-levels = <0 64 128 192 255>; 75 + fan-supply = <&vcc_5v0>; 76 + pwms = <&pwm3 0 10000 0>; 77 + }; 78 + 79 + pcie2x1l2_3v3: regulator-pcie2x1l2-3v3 { 80 + compatible = "regulator-fixed"; 81 + enable-active-high; 82 + gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; 83 + pinctrl-names = "default"; 84 + pinctrl-0 = <&pow_en>; 85 + regulator-name = "pcie2x1l2_3v3"; 86 + regulator-min-microvolt = <3300000>; 87 + regulator-max-microvolt = <3300000>; 88 + vin-supply = <&vcc_sysin>; 89 + }; 90 + 91 + vcc5v_dcin: regulator-vcc5v-dcin { 92 + compatible = "regulator-fixed"; 93 + regulator-name = "vcc5v_dcin"; 94 + regulator-always-on; 95 + regulator-boot-on; 96 + regulator-min-microvolt = <5000000>; 97 + regulator-max-microvolt = <5000000>; 98 + }; 99 + 100 + vcc5v0_usb_host: regulator-vcc5v0-usb-host { 101 + compatible = "regulator-fixed"; 102 + enable-active-high; 103 + gpio = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; 104 + pinctrl-names = "default"; 105 + pinctrl-0 = <&usb_host_pwren_h>; 106 + regulator-name = "vcc5v0_usb_host"; 107 + regulator-min-microvolt = <5000000>; 108 + regulator-max-microvolt = <5000000>; 109 + vin-supply = <&vcc_sysin>; 110 + }; 111 + 112 + vcc5v0_usb_otg0: regulator-vcc5v0-usb-otg0 { 113 + compatible = "regulator-fixed"; 114 + enable-active-high; 115 + gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; 116 + pinctrl-names = "default"; 117 + pinctrl-0 = <&usb_otg_pwren_h>; 118 + regulator-name = "vcc5v0_usb_otg0"; 119 + regulator-min-microvolt = <5000000>; 120 + regulator-max-microvolt = <5000000>; 121 + vin-supply = <&vcc_sysin>; 122 + }; 123 + 124 + vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 125 + compatible = "regulator-fixed"; 126 + regulator-name = "vcc_1v1_nldo_s3"; 127 + regulator-always-on; 128 + regulator-boot-on; 129 + regulator-min-microvolt = <1100000>; 130 + regulator-max-microvolt = <1100000>; 131 + vin-supply = <&vcc_sysin>; 132 + }; 133 + 134 + vcc_3v3_pmu: regulator-vcc-3v3-pmu { 135 + compatible = "regulator-fixed"; 136 + regulator-name = "vcc_3v3_pmu"; 137 + regulator-always-on; 138 + regulator-boot-on; 139 + regulator-min-microvolt = <3300000>; 140 + regulator-max-microvolt = <3300000>; 141 + vin-supply = <&vcc_3v3_s3>; 142 + }; 143 + 144 + vcc_3v3_s0: regulator-vcc-3v3-s0 { 145 + compatible = "regulator-fixed"; 146 + regulator-name = "vcc_3v3_s0"; 147 + regulator-always-on; 148 + regulator-boot-on; 149 + regulator-min-microvolt = <3300000>; 150 + regulator-max-microvolt = <3300000>; 151 + vin-supply = <&vcc_1v8_s0>; 152 + }; 153 + 154 + vcc_5v0: regulator-vcc-5v0 { 155 + compatible = "regulator-fixed"; 156 + enable-active-high; 157 + gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; 158 + pinctrl-names = "default"; 159 + pinctrl-0 = <&vcc_5v0_pwren_h>; 160 + regulator-name = "vcc_5v0"; 161 + regulator-min-microvolt = <5000000>; 162 + regulator-max-microvolt = <5000000>; 163 + vin-supply = <&vcc_sysin>; 164 + }; 165 + 166 + vcc_sysin: regulator-vcc-sysin { 167 + compatible = "regulator-fixed"; 168 + regulator-name = "vcc_sysin"; 169 + regulator-always-on; 170 + regulator-boot-on; 171 + regulator-min-microvolt = <5000000>; 172 + regulator-max-microvolt = <5000000>; 173 + vin-supply = <&vcc5v_dcin>; 174 + }; 175 + 176 + vcca: regulator-vcca { 177 + compatible = "regulator-fixed"; 178 + regulator-name = "vcca"; 179 + regulator-always-on; 180 + regulator-boot-on; 181 + regulator-min-microvolt = <4000000>; 182 + regulator-max-microvolt = <4000000>; 183 + vin-supply = <&vcc_sysin>; 184 + }; 185 + 186 + vdd_3v3: regulator-vdd-3v3 { 187 + compatible = "regulator-fixed"; 188 + enable-active-high; 189 + gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; 190 + pinctrl-names = "default"; 191 + pinctrl-0 = <&usb_wifi_pwr>; 192 + regulator-name = "vdd_3v3"; 193 + regulator-always-on; 194 + regulator-boot-on; 195 + regulator-min-microvolt = <3300000>; 196 + regulator-max-microvolt = <3300000>; 197 + vin-supply = <&vcc_3v3_s3>; 198 + }; 199 + }; 200 + 201 + &combphy0_ps { 202 + status = "okay"; 203 + }; 204 + 205 + &combphy2_psu { 206 + status = "okay"; 207 + }; 208 + 209 + &cpu_b0 { 210 + cpu-supply = <&vdd_cpu_big0_s0>; 211 + }; 212 + 213 + &cpu_b1 { 214 + cpu-supply = <&vdd_cpu_big0_s0>; 215 + }; 216 + 217 + &cpu_b2 { 218 + cpu-supply = <&vdd_cpu_big1_s0>; 219 + }; 220 + 221 + &cpu_b3 { 222 + cpu-supply = <&vdd_cpu_big1_s0>; 223 + }; 224 + 225 + &cpu_l0 { 226 + cpu-supply = <&vdd_cpu_lit_s0>; 227 + }; 228 + 229 + &cpu_l1 { 230 + cpu-supply = <&vdd_cpu_lit_s0>; 231 + }; 232 + 233 + &cpu_l2 { 234 + cpu-supply = <&vdd_cpu_lit_s0>; 235 + }; 236 + 237 + &cpu_l3 { 238 + cpu-supply = <&vdd_cpu_lit_s0>; 239 + }; 240 + 241 + &gmac1 { 242 + phy-handle = <&rgmii_phy1>; 243 + phy-mode = "rgmii-id"; 244 + phy-supply = <&vcc_3v3_s0>; 245 + pinctrl-0 = <&gmac1_miim 246 + &gmac1_tx_bus2 247 + &gmac1_rx_bus2 248 + &gmac1_rgmii_clk 249 + &gmac1_rgmii_bus 250 + &gmac1_clkinout>; 251 + pinctrl-names = "default"; 252 + status = "okay"; 253 + }; 254 + 255 + &gpu { 256 + mali-supply = <&vdd_gpu_s0>; 257 + status = "okay"; 258 + }; 259 + 260 + &hdmi0 { 261 + pinctrl-names = "default"; 262 + pinctrl-0 = <&hdmim0_tx0_cec 263 + &hdmim1_tx0_hpd 264 + &hdmim0_tx0_scl 265 + &hdmim0_tx0_sda>; 266 + status = "okay"; 267 + }; 268 + 269 + &hdmi0_in { 270 + hdmi0_in_vp0: endpoint { 271 + remote-endpoint = <&vp0_out_hdmi0>; 272 + }; 273 + }; 274 + 275 + &hdmi0_out { 276 + hdmi0_out_con: endpoint { 277 + remote-endpoint = <&hdmi0_con_in>; 278 + }; 279 + }; 280 + 281 + &hdptxphy_hdmi0 { 282 + status = "okay"; 283 + }; 284 + 285 + &i2c0 { 286 + pinctrl-names = "default"; 287 + pinctrl-0 = <&i2c0m2_xfer>; 288 + status = "okay"; 289 + 290 + vdd_cpu_big0_s0: regulator@42 { 291 + compatible = "rockchip,rk8602"; 292 + reg = <0x42>; 293 + fcs,suspend-voltage-selector = <1>; 294 + regulator-name = "vdd_cpu_big0_s0"; 295 + regulator-always-on; 296 + regulator-boot-on; 297 + regulator-min-microvolt = <550000>; 298 + regulator-max-microvolt = <1050000>; 299 + regulator-ramp-delay = <2300>; 300 + vin-supply = <&vcc_sysin>; 301 + 302 + regulator-state-mem { 303 + regulator-off-in-suspend; 304 + }; 305 + }; 306 + 307 + vdd_cpu_big1_s0: regulator@43 { 308 + compatible = "rockchip,rk8603", "rockchip,rk8602"; 309 + reg = <0x43>; 310 + fcs,suspend-voltage-selector = <1>; 311 + regulator-name = "vdd_cpu_big1_s0"; 312 + regulator-always-on; 313 + regulator-boot-on; 314 + regulator-min-microvolt = <550000>; 315 + regulator-max-microvolt = <1050000>; 316 + regulator-ramp-delay = <2300>; 317 + vin-supply = <&vcc_sysin>; 318 + 319 + regulator-state-mem { 320 + regulator-off-in-suspend; 321 + }; 322 + }; 323 + 324 + eeprom@50 { 325 + compatible = "belling,bl24c16a", "atmel,24c16"; 326 + reg = <0x50>; 327 + pagesize = <16>; 328 + vcc-supply = <&vcc_3v3_pmu>; 329 + }; 330 + }; 331 + 332 + &i2c2 { 333 + status = "okay"; 334 + 335 + vdd_npu_s0: regulator@42 { 336 + compatible = "rockchip,rk8602"; 337 + reg = <0x42>; 338 + fcs,suspend-voltage-selector = <1>; 339 + regulator-name = "vdd_npu_s0"; 340 + regulator-always-on; 341 + regulator-boot-on; 342 + regulator-min-microvolt = <550000>; 343 + regulator-max-microvolt = <950000>; 344 + regulator-ramp-delay = <2300>; 345 + vin-supply = <&vcc_sysin>; 346 + 347 + regulator-state-mem { 348 + regulator-off-in-suspend; 349 + }; 350 + }; 351 + }; 352 + 353 + &i2c5 { 354 + pinctrl-names = "default"; 355 + pinctrl-0 = <&i2c5m2_xfer>; 356 + status = "okay"; 357 + 358 + rtc@51 { 359 + compatible = "haoyu,hym8563"; 360 + reg = <0x51>; 361 + #clock-cells = <0>; 362 + clock-output-names = "rtcic_32kout"; 363 + interrupt-parent = <&gpio0>; 364 + interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; 365 + pinctrl-names = "default"; 366 + pinctrl-0 = <&rtc_int_l>; 367 + }; 368 + }; 369 + 370 + &i2c7 { 371 + status = "okay"; 372 + 373 + audio-codec@11 { 374 + compatible = "everest,es8316"; 375 + reg = <0x11>; 376 + assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; 377 + assigned-clock-rates = <12288000>; 378 + clocks = <&cru I2S0_8CH_MCLKOUT>; 379 + clock-names = "mclk"; 380 + #sound-dai-cells = <0>; 381 + 382 + port { 383 + es8316_p0_0: endpoint { 384 + remote-endpoint = <&i2s0_8ch_p0_0>; 385 + }; 386 + }; 387 + }; 388 + }; 389 + 390 + &i2s0_8ch { 391 + pinctrl-names = "default"; 392 + pinctrl-0 = <&i2s0_lrck 393 + &i2s0_mclk 394 + &i2s0_sclk 395 + &i2s0_sdi0 396 + &i2s0_sdo0>; 397 + status = "okay"; 398 + 399 + i2s0_8ch_p0: port { 400 + i2s0_8ch_p0_0: endpoint { 401 + dai-format = "i2s"; 402 + mclk-fs = <256>; 403 + remote-endpoint = <&es8316_p0_0>; 404 + }; 405 + }; 406 + }; 407 + 408 + &mdio1 { 409 + rgmii_phy1: ethernet-phy@1 { 410 + compatible = "ethernet-phy-id001c.c916"; 411 + reg = <1>; 412 + pinctrl-names = "default"; 413 + pinctrl-0 = <&gmac1_rstn>; 414 + reset-assert-us = <20000>; 415 + reset-deassert-us = <100000>; 416 + reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; 417 + }; 418 + }; 419 + 420 + &pcie2x1l2 { 421 + pinctrl-names = "default"; 422 + pinctrl-0 = <&pcie20x1_2_perstn_m0>; 423 + reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; 424 + vpcie3v3-supply = <&pcie2x1l2_3v3>; 425 + status = "okay"; 426 + }; 427 + 428 + &pinctrl { 429 + leds { 430 + led_pins: led-pins { 431 + rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>, 432 + <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 433 + }; 434 + }; 435 + 436 + mdio { 437 + gmac1_rstn: gmac1-rstn { 438 + rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 439 + }; 440 + }; 441 + 442 + pcie { 443 + pcie20x1_2_perstn_m0: pcie20x1-2-perstn-m0 { 444 + rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; 445 + }; 446 + 447 + pow_en: pow-en { 448 + rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; 449 + }; 450 + }; 451 + 452 + rtc { 453 + rtc_int_l: rtc-int-l { 454 + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 455 + }; 456 + }; 457 + 458 + usb { 459 + usb_host_pwren_h: usb-host-pwren-h { 460 + rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 461 + }; 462 + 463 + usb_otg_pwren_h: usb-otg-pwren-h { 464 + rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 465 + }; 466 + 467 + usb_wifi_pwr: usb-wifi-pwr { 468 + rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; 469 + }; 470 + 471 + vcc_5v0_pwren_h: vcc-5v0-pwren-h { 472 + rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 473 + }; 474 + }; 475 + }; 476 + 477 + &pwm3 { 478 + pinctrl-names = "default"; 479 + pinctrl-0 = <&pwm3m1_pins>; 480 + status = "okay"; 481 + }; 482 + 483 + &saradc { 484 + vref-supply = <&vcca_1v8_s0>; 485 + status = "okay"; 486 + }; 487 + 488 + &sdhci { 489 + bus-width = <8>; 490 + mmc-hs400-1_8v; 491 + mmc-hs400-enhanced-strobe; 492 + no-sdio; 493 + no-sd; 494 + non-removable; 495 + status = "okay"; 496 + }; 497 + 498 + &sdmmc { 499 + bus-width = <4>; 500 + cap-mmc-highspeed; 501 + cap-sd-highspeed; 502 + disable-wp; 503 + no-sdio; 504 + no-mmc; 505 + sd-uhs-sdr104; 506 + vmmc-supply = <&vcc_3v3_s3>; 507 + vqmmc-supply = <&vccio_sd_s0>; 508 + status = "okay"; 509 + }; 510 + 511 + &sfc { 512 + pinctrl-names = "default"; 513 + pinctrl-0 = <&fspim0_pins>; 514 + 515 + flash@0 { 516 + compatible = "jedec,spi-nor"; 517 + reg = <0>; 518 + spi-max-frequency = <104000000>; 519 + spi-rx-bus-width = <4>; 520 + spi-tx-bus-width = <1>; 521 + }; 522 + }; 523 + 524 + &spi2 { 525 + status = "okay"; 526 + assigned-clocks = <&cru CLK_SPI2>; 527 + assigned-clock-rates = <200000000>; 528 + num-cs = <1>; 529 + pinctrl-names = "default"; 530 + pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; 531 + 532 + pmic@0 { 533 + compatible = "rockchip,rk806"; 534 + reg = <0>; 535 + gpio-controller; 536 + #gpio-cells = <2>; 537 + interrupt-parent = <&gpio0>; 538 + interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 539 + pinctrl-names = "default"; 540 + pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 541 + <&rk806_dvs2_null>, <&rk806_dvs3_null>; 542 + spi-max-frequency = <1000000>; 543 + system-power-controller; 544 + 545 + vcc1-supply = <&vcc_sysin>; 546 + vcc2-supply = <&vcc_sysin>; 547 + vcc3-supply = <&vcc_sysin>; 548 + vcc4-supply = <&vcc_sysin>; 549 + vcc5-supply = <&vcc_sysin>; 550 + vcc6-supply = <&vcc_sysin>; 551 + vcc7-supply = <&vcc_sysin>; 552 + vcc8-supply = <&vcc_sysin>; 553 + vcc9-supply = <&vcc_sysin>; 554 + vcc10-supply = <&vcc_sysin>; 555 + vcc11-supply = <&vcc_2v0_pldo_s3>; 556 + vcc12-supply = <&vcc_sysin>; 557 + vcc13-supply = <&vcc_1v1_nldo_s3>; 558 + vcc14-supply = <&vcc_1v1_nldo_s3>; 559 + vcca-supply = <&vcca>; 560 + 561 + rk806_dvs1_null: dvs1-null-pins { 562 + pins = "gpio_pwrctrl1"; 563 + function = "pin_fun0"; 564 + }; 565 + 566 + rk806_dvs2_null: dvs2-null-pins { 567 + pins = "gpio_pwrctrl2"; 568 + function = "pin_fun0"; 569 + }; 570 + 571 + rk806_dvs3_null: dvs3-null-pins { 572 + pins = "gpio_pwrctrl3"; 573 + function = "pin_fun0"; 574 + }; 575 + 576 + regulators { 577 + vdd_gpu_s0: dcdc-reg1 { 578 + regulator-name = "vdd_gpu_s0"; 579 + regulator-boot-on; 580 + regulator-min-microvolt = <550000>; 581 + regulator-max-microvolt = <950000>; 582 + regulator-ramp-delay = <12500>; 583 + regulator-enable-ramp-delay = <400>; 584 + 585 + regulator-state-mem { 586 + regulator-off-in-suspend; 587 + }; 588 + }; 589 + 590 + vdd_cpu_lit_s0: dcdc-reg2 { 591 + regulator-name = "vdd_cpu_lit_s0"; 592 + regulator-always-on; 593 + regulator-boot-on; 594 + regulator-min-microvolt = <550000>; 595 + regulator-max-microvolt = <950000>; 596 + regulator-ramp-delay = <12500>; 597 + 598 + regulator-state-mem { 599 + regulator-off-in-suspend; 600 + }; 601 + }; 602 + 603 + vdd_logic_s0: dcdc-reg3 { 604 + regulator-name = "vdd_logic_s0"; 605 + regulator-always-on; 606 + regulator-boot-on; 607 + regulator-min-microvolt = <675000>; 608 + regulator-max-microvolt = <750000>; 609 + regulator-ramp-delay = <12500>; 610 + 611 + regulator-state-mem { 612 + regulator-on-in-suspend; 613 + regulator-suspend-microvolt = <750000>; 614 + }; 615 + }; 616 + 617 + vdd_vdenc_s0: dcdc-reg4 { 618 + regulator-name = "vdd_vdenc_s0"; 619 + regulator-always-on; 620 + regulator-boot-on; 621 + regulator-min-microvolt = <550000>; 622 + regulator-max-microvolt = <950000>; 623 + regulator-ramp-delay = <12500>; 624 + 625 + regulator-state-mem { 626 + regulator-off-in-suspend; 627 + }; 628 + }; 629 + 630 + vdd_ddr_s0: dcdc-reg5 { 631 + regulator-name = "vdd_ddr_s0"; 632 + regulator-always-on; 633 + regulator-boot-on; 634 + regulator-min-microvolt = <675000>; 635 + regulator-max-microvolt = <900000>; 636 + regulator-ramp-delay = <12500>; 637 + 638 + regulator-state-mem { 639 + regulator-off-in-suspend; 640 + regulator-suspend-microvolt = <850000>; 641 + }; 642 + }; 643 + 644 + vdd2_ddr_s3: dcdc-reg6 { 645 + regulator-name = "vdd2_ddr_s3"; 646 + regulator-always-on; 647 + regulator-boot-on; 648 + 649 + regulator-state-mem { 650 + regulator-on-in-suspend; 651 + }; 652 + }; 653 + 654 + vcc_2v0_pldo_s3: dcdc-reg7 { 655 + regulator-name = "vdd_2v0_pldo_s3"; 656 + regulator-always-on; 657 + regulator-boot-on; 658 + regulator-min-microvolt = <2000000>; 659 + regulator-max-microvolt = <2000000>; 660 + regulator-ramp-delay = <12500>; 661 + 662 + regulator-state-mem { 663 + regulator-on-in-suspend; 664 + regulator-suspend-microvolt = <2000000>; 665 + }; 666 + }; 667 + 668 + vcc_3v3_s3: dcdc-reg8 { 669 + regulator-name = "vcc_3v3_s3"; 670 + regulator-always-on; 671 + regulator-boot-on; 672 + regulator-min-microvolt = <3300000>; 673 + regulator-max-microvolt = <3300000>; 674 + 675 + regulator-state-mem { 676 + regulator-on-in-suspend; 677 + regulator-suspend-microvolt = <3300000>; 678 + }; 679 + }; 680 + 681 + vddq_ddr_s0: dcdc-reg9 { 682 + regulator-name = "vddq_ddr_s0"; 683 + regulator-always-on; 684 + regulator-boot-on; 685 + 686 + regulator-state-mem { 687 + regulator-off-in-suspend; 688 + }; 689 + }; 690 + 691 + vcc1v8_pmu_ddr_s3: dcdc-reg10 { 692 + regulator-name = "vcc1v8_pmu_ddr_s3"; 693 + regulator-always-on; 694 + regulator-boot-on; 695 + regulator-min-microvolt = <1800000>; 696 + regulator-max-microvolt = <1800000>; 697 + 698 + regulator-state-mem { 699 + regulator-on-in-suspend; 700 + regulator-suspend-microvolt = <1800000>; 701 + }; 702 + }; 703 + 704 + vcc_1v8_s0: pldo-reg1 { 705 + regulator-name = "vcc_1v8_s0"; 706 + regulator-always-on; 707 + regulator-boot-on; 708 + regulator-min-microvolt = <1800000>; 709 + regulator-max-microvolt = <1800000>; 710 + 711 + regulator-state-mem { 712 + regulator-on-in-suspend; 713 + regulator-suspend-microvolt = <1800000>; 714 + }; 715 + }; 716 + 717 + vcca_1v8_s0: pldo-reg2 { 718 + regulator-name = "vcca_1v8_s0"; 719 + regulator-always-on; 720 + regulator-boot-on; 721 + regulator-min-microvolt = <1800000>; 722 + regulator-max-microvolt = <1800000>; 723 + 724 + regulator-state-mem { 725 + regulator-on-in-suspend; 726 + regulator-suspend-microvolt = <1800000>; 727 + }; 728 + }; 729 + 730 + vdda_1v2_s0: pldo-reg3 { 731 + regulator-name = "vdda_1v2_s0"; 732 + regulator-always-on; 733 + regulator-boot-on; 734 + regulator-min-microvolt = <1200000>; 735 + regulator-max-microvolt = <1200000>; 736 + 737 + regulator-state-mem { 738 + regulator-off-in-suspend; 739 + }; 740 + }; 741 + 742 + vcca_3v3_s0: pldo-reg4 { 743 + regulator-name = "vcca_3v3_s0"; 744 + regulator-always-on; 745 + regulator-boot-on; 746 + regulator-min-microvolt = <3300000>; 747 + regulator-max-microvolt = <3300000>; 748 + 749 + regulator-state-mem { 750 + regulator-on-in-suspend; 751 + regulator-suspend-microvolt = <3300000>; 752 + }; 753 + }; 754 + 755 + vccio_sd_s0: pldo-reg5 { 756 + regulator-name = "vccio_sd_s0"; 757 + regulator-always-on; 758 + regulator-boot-on; 759 + regulator-min-microvolt = <1800000>; 760 + regulator-max-microvolt = <3300000>; 761 + 762 + regulator-state-mem { 763 + regulator-off-in-suspend; 764 + }; 765 + }; 766 + 767 + pldo6_s3: pldo-reg6 { 768 + regulator-name = "pldo6_s3"; 769 + regulator-always-on; 770 + regulator-boot-on; 771 + regulator-min-microvolt = <1800000>; 772 + regulator-max-microvolt = <1800000>; 773 + 774 + regulator-state-mem { 775 + regulator-on-in-suspend; 776 + regulator-suspend-microvolt = <1800000>; 777 + }; 778 + }; 779 + 780 + vdd_0v75_s3: nldo-reg1 { 781 + regulator-name = "vdd_0v75_s3"; 782 + regulator-always-on; 783 + regulator-boot-on; 784 + regulator-min-microvolt = <750000>; 785 + regulator-max-microvolt = <750000>; 786 + 787 + regulator-state-mem { 788 + regulator-on-in-suspend; 789 + regulator-suspend-microvolt = <750000>; 790 + }; 791 + }; 792 + 793 + vdda_ddr_pll_s0: nldo-reg2 { 794 + regulator-name = "vdda_ddr_pll_s0"; 795 + regulator-always-on; 796 + regulator-boot-on; 797 + regulator-min-microvolt = <850000>; 798 + regulator-max-microvolt = <850000>; 799 + 800 + regulator-state-mem { 801 + regulator-on-in-suspend; 802 + regulator-suspend-microvolt = <850000>; 803 + }; 804 + }; 805 + 806 + vdda_0v75_s0: nldo-reg3 { 807 + regulator-name = "vdda_0v75_s0"; 808 + regulator-always-on; 809 + regulator-boot-on; 810 + regulator-min-microvolt = <750000>; 811 + regulator-max-microvolt = <750000>; 812 + 813 + regulator-state-mem { 814 + regulator-off-in-suspend; 815 + }; 816 + }; 817 + 818 + vdda_0v85_s0: nldo-reg4 { 819 + regulator-name = "vdda_0v85_s0"; 820 + regulator-always-on; 821 + regulator-boot-on; 822 + regulator-min-microvolt = <850000>; 823 + regulator-max-microvolt = <850000>; 824 + 825 + regulator-state-mem { 826 + regulator-off-in-suspend; 827 + }; 828 + }; 829 + 830 + vdd_0v75_s0: nldo-reg5 { 831 + regulator-name = "vdd_0v75_s0"; 832 + regulator-always-on; 833 + regulator-boot-on; 834 + regulator-min-microvolt = <750000>; 835 + regulator-max-microvolt = <750000>; 836 + 837 + regulator-state-mem { 838 + regulator-off-in-suspend; 839 + }; 840 + }; 841 + }; 842 + }; 843 + }; 844 + 845 + &tsadc { 846 + status = "okay"; 847 + }; 848 + 849 + &u2phy0 { 850 + status = "okay"; 851 + }; 852 + 853 + &u2phy0_otg { 854 + phy-supply = <&vcc5v0_usb_otg0>; 855 + status = "okay"; 856 + }; 857 + 858 + &u2phy2 { 859 + status = "okay"; 860 + }; 861 + 862 + &u2phy2_host { 863 + /* connected to USB hub, which is powered by vcc_5v0 */ 864 + phy-supply = <&vcc_5v0>; 865 + status = "okay"; 866 + }; 867 + 868 + &u2phy3 { 869 + status = "okay"; 870 + }; 871 + 872 + &u2phy3_host { 873 + phy-supply = <&vcc5v0_usb_host>; 874 + status = "okay"; 875 + }; 876 + 877 + &uart2 { 878 + pinctrl-0 = <&uart2m0_xfer>; 879 + status = "okay"; 880 + }; 881 + 882 + &usbdp_phy0 { 883 + status = "okay"; 884 + }; 885 + 886 + &usb_host0_ehci { 887 + status = "okay"; 888 + }; 889 + 890 + &usb_host0_xhci { 891 + dr_mode = "host"; 892 + status = "okay"; 893 + }; 894 + 895 + &usb_host1_ehci { 896 + status = "okay"; 897 + }; 898 + 899 + &usb_host1_ohci { 900 + status = "okay"; 901 + }; 902 + 903 + &usb_host2_xhci { 904 + status = "okay"; 905 + }; 906 + 907 + &vop_mmu { 908 + status = "okay"; 909 + }; 910 + 911 + &vop { 912 + status = "okay"; 913 + }; 914 + 915 + &vp0 { 916 + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 917 + reg = <ROCKCHIP_VOP2_EP_HDMI0>; 918 + remote-endpoint = <&hdmi0_in_vp0>; 919 + }; 920 + };