hc
2023-11-20 2e7bd41e4e8ab3d1efdabd9e263a2f7fe79bff8c
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2022 Rockchip Electronics Co., Ltd.
 *
 */
 
/dts-v1/;
 
#include <dt-bindings/gpio/gpio.h>
 
#include "rk3528.dtsi"
#include "rk3528-android.dtsi"
 
/ {
   model = "Rockchip RK3528 IOTEST LP3 V10 Board";
   compatible = "rockchip,rk3528-iotest-lp3-v10", "rockchip,rk3528";
 
   firmware {
       android {
           compatible = "android,firmware";
           boot_devices = "ffbf0000.mmc";
           vbmeta {
               compatible = "android,vbmeta";
               parts = "vbmeta,boot,system,vendor,dtbo";
           };
           fstab {
               compatible = "android,fstab";
               vendor {
                   compatible = "android,vendor";
                   dev = "/dev/block/by-name/vendor";
                   type = "ext4";
                   mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
                   fsmgr_flags = "wait,avb";
               };
           };
       };
   };
 
   dc_12v: dc-12v {
       compatible = "regulator-fixed";
       regulator-name = "dc_12v";
       regulator-always-on;
       regulator-boot-on;
       regulator-min-microvolt = <12000000>;
       regulator-max-microvolt = <12000000>;
   };
 
   vcc5v0_sys: vcc5v0-sys {
       compatible = "regulator-fixed";
       regulator-name = "vcc5v0_sys";
       regulator-always-on;
       regulator-boot-on;
       regulator-min-microvolt = <5000000>;
       regulator-max-microvolt = <5000000>;
       vin-supply = <&dc_12v>;
   };
 
   vdd_logic: vdd-logic {
       compatible = "pwm-regulator";
       pwms = <&pwm2 0 5000 1>;
       regulator-name = "vdd_logic";
       regulator-min-microvolt = <705000>;
       regulator-max-microvolt = <1006000>;
       regulator-init-microvolt = <900000>;
       regulator-always-on;
       regulator-boot-on;
       regulator-settling-time-up-us = <250>;
       pwm-supply = <&vcc5v0_sys>;
       status = "okay";
   };
 
   vdd_cpu: vdd-cpu {
       compatible = "pwm-regulator";
       pwms = <&pwm1 0 5000 1>;
       regulator-name = "vdd_cpu";
       regulator-min-microvolt = <746000>;
       regulator-max-microvolt = <1201000>;
       regulator-init-microvolt = <953000>;
       regulator-always-on;
       regulator-boot-on;
       regulator-settling-time-up-us = <250>;
       pwm-supply = <&vcc5v0_sys>;
       status = "okay";
   };
 
   vdd_gpu: vdd-gpu {
       compatible = "pwm-regulator";
       pwms = <&pwm0 0 5000 1>;
       regulator-name = "vdd_gpu";
       regulator-min-microvolt = <705000>;
       regulator-max-microvolt = <1148000>;
       regulator-init-microvolt = <900000>;
       regulator-always-on;
       regulator-boot-on;
       regulator-settling-time-up-us = <250>;
       pwm-supply = <&vcc5v0_sys>;
       status = "okay";
   };
 
   vdd_0v9_s3: vdd-0v9-s3 {
       compatible = "regulator-fixed";
       regulator-name = "vdd_0v9_s3";
       regulator-always-on;
       regulator-boot-on;
       regulator-min-microvolt = <900000>;
       regulator-max-microvolt = <900000>;
       vin-supply = <&vcc5v0_sys>;
   };
 
   vdd_1v8_s3: vdd-1v8-s3 {
       compatible = "regulator-fixed";
       regulator-name = "vdd_1v8_s3";
       regulator-always-on;
       regulator-boot-on;
       regulator-min-microvolt = <1800000>;
       regulator-max-microvolt = <1800000>;
       vin-supply = <&vcc5v0_sys>;
   };
 
   vcc_3v3_s3: vcc-3v3-s3 {
       compatible = "regulator-fixed";
       regulator-name = "vcc_3v3_s3";
       regulator-always-on;
       regulator-boot-on;
       regulator-min-microvolt = <3300000>;
       regulator-max-microvolt = <3300000>;
       vin-supply = <&vcc5v0_sys>;
   };
 
   vcc_ddr_s3: vcc-ddr-s3 {
       compatible = "regulator-fixed";
       regulator-name = "vcc_ddr_s3";
       regulator-always-on;
       regulator-boot-on;
       regulator-min-microvolt = <1200000>;
       regulator-max-microvolt = <1200000>;
       vin-supply = <&vcc5v0_sys>;
   };
};
 
&cpu0 {
   cpu-supply = <&vdd_cpu>;
};
 
&cpu0_opp_table {
   /delete-node/ opp-1416000000;
   /delete-node/ opp-1608000000;
};
 
&pwm0 {
   status = "okay";
};
 
&pwm1 {
   status = "okay";
};
 
&pwm2 {
   status = "okay";
};
 
&sdhci {
   bus-width = <8>;
   supports-emmc;
   non-removable;
   max-frequency = <200000000>;
   status = "okay";
};
 
&u2phy_host {
   status = "okay";
};
 
&u2phy_otg {
   status = "okay";
};
 
&usb2phy {
   status = "okay";
};
 
&usb_host0_ehci {
   status = "okay";
};
 
&usb_host0_ohci {
   status = "okay";
};
 
&usbdrd30 {
   status = "okay";
};
 
&usbdrd_dwc3 {
   dr_mode = "peripheral";
   maximum-speed = "high-speed";
   extcon = <&usb2phy>;
   phys = <&u2phy_otg>;
   phy-names = "usb2-phy";
   snps,dis_u2_susphy_quirk;
   snps,usb2-lpm-disable;
   status = "okay";
};