hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2022 Rockchip Electronics Co., Ltd.
 */
 
/dts-v1/;
 
#include "rv1103.dtsi"
#include "rv1103-evb-v10.dtsi"
#include "rv1103-evb-cam.dtsi"
 
/ {
   model = "Rockchip RV1103G EVB V11 Board";
   compatible = "rockchip,rv1103g-evb-v11", "rockchip,rv1103";
 
   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 = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
       regulator-name = "vcc3v3_sd";
       regulator-min-microvolt = <3300000>;
       regulator-max-microvolt = <3300000>;
       enable-active-low;
       regulator-always-on;
       regulator-boot-on;
       pinctrl-names = "default";
       pinctrl-0 = <&sdmmc_pwren>;
   };
 
   vcc3v3_wifi: vcc3v3-wifi {
       compatible = "regulator-fixed";
       regulator-name = "vcc3v3_wifi";
       regulator-min-microvolt = <3300000>;
       regulator-max-microvolt = <3300000>;
       enable-active-low;
       regulator-always-on;
       regulator-boot-on;
       gpio = <&gpio1 RK_PC7 GPIO_ACTIVE_LOW>;
       pinctrl-names = "default";
       pinctrl-0 = <&wifi_pwren>;
   };
};
 
&pinctrl {
   sdmmc {
       /omit-if-no-ref/
       sdmmc_pwren: sdmmc-pwren {
           rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
       };
   };
 
   wifi {
       wifi_pwren: wifi-pwren {
           rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
       };
   };
};
 
&saradc {
   status = "okay";
   vref-supply = <&vcc_1v8>;
};
 
&usbdrd_dwc3 {
   dr_mode = "host";
};
 
&vdd_arm {
   regulator-min-microvolt = <800000>;
   regulator-max-microvolt = <1000000>;
   regulator-init-microvolt = <900000>;
};