1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd. 4 */ 5 6/dts-v1/; 7 8#include "rv1103.dtsi" 9#include "rv1103-evb-v10.dtsi" 10#include "rv1103-evb-cam.dtsi" 11 12/ { 13 model = "Rockchip RV1103G EVB V10 Board"; 14 compatible = "rockchip,rv1103g-evb-v10", "rockchip,rv1103"; 15 16 vcc_1v8: vcc-1v8 { 17 compatible = "regulator-fixed"; 18 regulator-name = "vcc_1v8"; 19 regulator-always-on; 20 regulator-boot-on; 21 regulator-min-microvolt = <1800000>; 22 regulator-max-microvolt = <1800000>; 23 }; 24 25 vcc_3v3: vcc-3v3 { 26 compatible = "regulator-fixed"; 27 regulator-name = "vcc_3v3"; 28 regulator-always-on; 29 regulator-boot-on; 30 regulator-min-microvolt = <3300000>; 31 regulator-max-microvolt = <3300000>; 32 }; 33 34 vcc3v3_sd: vcc3v3-sd { 35 compatible = "regulator-fixed"; 36 gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>; 37 regulator-name = "vcc3v3_sd"; 38 regulator-min-microvolt = <3300000>; 39 regulator-max-microvolt = <3300000>; 40 enable-active-low; 41 regulator-always-on; 42 regulator-boot-on; 43 pinctrl-names = "default"; 44 pinctrl-0 = <&sdmmc_pwren>; 45 }; 46 47 vcc5v0_usb: vcc5v0-usb { 48 compatible = "regulator-fixed"; 49 regulator-name = "vcc5v0_usb"; 50 regulator-min-microvolt = <5000000>; 51 regulator-max-microvolt = <5000000>; 52 enable-active-high; 53 gpio = <&gpio1 RK_PC7 GPIO_ACTIVE_HIGH>; 54 pinctrl-names = "default"; 55 pinctrl-0 = <&usb_pwren>; 56 }; 57}; 58 59&pinctrl { 60 sdmmc { 61 /omit-if-no-ref/ 62 sdmmc_pwren: sdmmc-pwren { 63 rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 64 }; 65 }; 66 67 usb { 68 usb_pwren: usb-pwren { 69 rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; 70 }; 71 }; 72}; 73 74&u2phy_otg { 75 vbus-supply = <&vcc5v0_usb>; 76}; 77