// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2024 Rockchip Electronics Co., Ltd. */ #include "rv1106b-evb.dtsi" / { vcc_1v8: vcc-1v8 { compatible = "regulator-fixed"; regulator-name = "vcc_1v8"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; }; vcc_3v3: vcc-3v3 { compatible = "regulator-fixed"; regulator-name = "vcc_3v3"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; vcc3v3_sd: vcc3v3-sd { compatible = "regulator-fixed"; gpio = <&gpio0 RK_PB1 GPIO_ACTIVE_LOW>; regulator-name = "vcc3v3_sd"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_pwren>; }; vdd_npu: vdd_arm: vdd-arm { compatible = "pwm-regulator"; pwms = <&pwm0_4ch_0 0 5000 1>; regulator-name = "vdd_arm"; regulator-min-microvolt = <717000>; regulator-max-microvolt = <1102000>; regulator-init-microvolt = <950000>; regulator-always-on; regulator-boot-on; regulator-settling-time-up-us = <250>; pwm-supply = <&vcc_sys>; }; vdd_logic: vdd-logic { compatible = "pwm-regulator"; pwms = <&pwm0_4ch_3 0 5000 1>; regulator-name = "vdd_logic"; regulator-min-microvolt = <810000>; regulator-max-microvolt = <1006000>; regulator-init-microvolt = <900000>; regulator-always-on; regulator-boot-on; regulator-settling-time-up-us = <250>; pwm-supply = <&vcc_sys>; status = "disabled"; }; }; &acodec { #sound-dai-cells = <0>; pa-ctl-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; status = "okay"; }; &cpu0 { cpu-supply = <&vdd_arm>; }; &npu { rknpu-supply = <&vdd_npu>; }; &pinctrl { sdmmc { /omit-if-no-ref/ sdmmc_pwren: sdmmc-pwren { rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; }; }; }; &pwm0_4ch_0 { status = "okay"; }; &pwm0_4ch_3 { pinctrl-0 = <&pwm0m1_ch3_pins>; status = "okay"; }; &sdmmc0 { bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; disable-wp; no-sdio; no-mmc; vmmc-supply = <&vcc3v3_sd>; status = "okay"; }; &sdmmc1 { bus-width = <1>; cap-sd-highspeed; cap-sdio-irq; keep-power-in-suspend; non-removable; no-sd; no-mmc; pinctrl-names = "default"; pinctrl-0 = <&sdmmc1_clk_pins &sdmmc1_cmd_pins &sdmmc1_bus1_pins>; status = "okay"; };