~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3588-nanopc-t6.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/rockchip/rk3588-nanopc-t6.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3588-nanopc-t6.dtsi (Architecture mips)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2021 Rockchip Electronics Co.      3  * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
  4  * Copyright (c) 2023 Thomas McKahan                4  * Copyright (c) 2023 Thomas McKahan
  5  *                                                  5  *
  6  */                                                 6  */
  7                                                     7 
  8 /dts-v1/;                                           8 /dts-v1/;
  9                                                     9 
 10 #include <dt-bindings/gpio/gpio.h>                 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/input.h>               11 #include <dt-bindings/input/input.h>
 12 #include <dt-bindings/pinctrl/rockchip.h>          12 #include <dt-bindings/pinctrl/rockchip.h>
 13 #include <dt-bindings/usb/pd.h>                    13 #include <dt-bindings/usb/pd.h>
 14 #include "rk3588.dtsi"                             14 #include "rk3588.dtsi"
 15                                                    15 
 16 / {                                                16 / {
 17         model = "FriendlyElec NanoPC-T6";          17         model = "FriendlyElec NanoPC-T6";
 18         compatible = "friendlyarm,nanopc-t6",      18         compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588";
 19                                                    19 
 20         aliases {                                  20         aliases {
 21                 mmc0 = &sdhci;                     21                 mmc0 = &sdhci;
 22                 mmc1 = &sdmmc;                     22                 mmc1 = &sdmmc;
 23         };                                         23         };
 24                                                    24 
 25         adc-keys-0 {                               25         adc-keys-0 {
 26                 compatible = "adc-keys";           26                 compatible = "adc-keys";
 27                 io-channels = <&saradc 0>;         27                 io-channels = <&saradc 0>;
 28                 io-channel-names = "buttons";      28                 io-channel-names = "buttons";
 29                 keyup-threshold-microvolt = <1     29                 keyup-threshold-microvolt = <1800000>;
 30                 poll-interval = <100>;             30                 poll-interval = <100>;
 31                                                    31 
 32                 button-maskrom {                   32                 button-maskrom {
 33                         label = "Mask Rom";        33                         label = "Mask Rom";
 34                         linux,code = <KEY_SETU     34                         linux,code = <KEY_SETUP>;
 35                         press-threshold-microv     35                         press-threshold-microvolt = <2000>;
 36                 };                                 36                 };
 37         };                                         37         };
 38                                                    38 
 39         chosen {                                   39         chosen {
 40                 stdout-path = "serial2:1500000     40                 stdout-path = "serial2:1500000n8";
 41         };                                         41         };
 42                                                    42 
 43         ir-receiver {                              43         ir-receiver {
 44                 compatible = "gpio-ir-receiver     44                 compatible = "gpio-ir-receiver";
 45                 gpios = <&gpio0 RK_PD4 GPIO_AC     45                 gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_LOW>;
 46                 pinctrl-names = "default";         46                 pinctrl-names = "default";
 47                 pinctrl-0 = <&ir_receiver_pin>     47                 pinctrl-0 = <&ir_receiver_pin>;
 48         };                                         48         };
 49                                                    49 
 50         leds {                                     50         leds {
 51                 compatible = "gpio-leds";          51                 compatible = "gpio-leds";
 52                                                    52 
 53                 sys_led: led-0 {                   53                 sys_led: led-0 {
 54                         gpios = <&gpio2 RK_PB7     54                         gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
 55                         label = "system-led";      55                         label = "system-led";
 56                         linux,default-trigger      56                         linux,default-trigger = "heartbeat";
 57                         pinctrl-names = "defau     57                         pinctrl-names = "default";
 58                         pinctrl-0 = <&sys_led_     58                         pinctrl-0 = <&sys_led_pin>;
 59                 };                                 59                 };
 60                                                    60 
 61                 usr_led: led-1 {                   61                 usr_led: led-1 {
 62                         gpios = <&gpio2 RK_PC0     62                         gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
 63                         label = "user-led";        63                         label = "user-led";
 64                         pinctrl-names = "defau     64                         pinctrl-names = "default";
 65                         pinctrl-0 = <&usr_led_     65                         pinctrl-0 = <&usr_led_pin>;
 66                 };                                 66                 };
 67         };                                         67         };
 68                                                    68 
 69         sound {                                    69         sound {
 70                 compatible = "simple-audio-car     70                 compatible = "simple-audio-card";
 71                 pinctrl-names = "default";         71                 pinctrl-names = "default";
 72                 pinctrl-0 = <&hp_det>;             72                 pinctrl-0 = <&hp_det>;
 73                                                    73 
 74                 simple-audio-card,name = "real     74                 simple-audio-card,name = "realtek,rt5616-codec";
 75                 simple-audio-card,format = "i2     75                 simple-audio-card,format = "i2s";
 76                 simple-audio-card,mclk-fs = <2     76                 simple-audio-card,mclk-fs = <256>;
 77                                                    77 
 78                 simple-audio-card,hp-det-gpio      78                 simple-audio-card,hp-det-gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_LOW>;
 79                                                    79 
 80                 simple-audio-card,widgets =        80                 simple-audio-card,widgets =
 81                         "Headphone", "Headphon     81                         "Headphone", "Headphones",
 82                         "Microphone", "Microph     82                         "Microphone", "Microphone Jack";
 83                 simple-audio-card,routing =        83                 simple-audio-card,routing =
 84                         "Headphones", "HPOL",      84                         "Headphones", "HPOL",
 85                         "Headphones", "HPOR",      85                         "Headphones", "HPOR",
 86                         "MIC1", "Microphone Ja     86                         "MIC1", "Microphone Jack",
 87                         "Microphone Jack", "mi     87                         "Microphone Jack", "micbias1";
 88                                                    88 
 89                 simple-audio-card,cpu {            89                 simple-audio-card,cpu {
 90                         sound-dai = <&i2s0_8ch     90                         sound-dai = <&i2s0_8ch>;
 91                 };                                 91                 };
 92                 simple-audio-card,codec {          92                 simple-audio-card,codec {
 93                         sound-dai = <&rt5616>;     93                         sound-dai = <&rt5616>;
 94                 };                                 94                 };
 95         };                                         95         };
 96                                                    96 
 97         vcc12v_dcin: vcc12v-dcin-regulator {       97         vcc12v_dcin: vcc12v-dcin-regulator {
 98                 compatible = "regulator-fixed"     98                 compatible = "regulator-fixed";
 99                 regulator-name = "vcc12v_dcin"     99                 regulator-name = "vcc12v_dcin";
100                 regulator-always-on;              100                 regulator-always-on;
101                 regulator-boot-on;                101                 regulator-boot-on;
102                 regulator-min-microvolt = <120    102                 regulator-min-microvolt = <12000000>;
103                 regulator-max-microvolt = <120    103                 regulator-max-microvolt = <12000000>;
104         };                                        104         };
105                                                   105 
106         /* vcc5v0_sys powers peripherals */       106         /* vcc5v0_sys powers peripherals */
107         vcc5v0_sys: vcc5v0-sys-regulator {        107         vcc5v0_sys: vcc5v0-sys-regulator {
108                 compatible = "regulator-fixed"    108                 compatible = "regulator-fixed";
109                 regulator-name = "vcc5v0_sys";    109                 regulator-name = "vcc5v0_sys";
110                 regulator-always-on;              110                 regulator-always-on;
111                 regulator-boot-on;                111                 regulator-boot-on;
112                 regulator-min-microvolt = <500    112                 regulator-min-microvolt = <5000000>;
113                 regulator-max-microvolt = <500    113                 regulator-max-microvolt = <5000000>;
114                 vin-supply = <&vcc12v_dcin>;      114                 vin-supply = <&vcc12v_dcin>;
115         };                                        115         };
116                                                   116 
117         /* vcc4v0_sys powers the RK806, RK860'    117         /* vcc4v0_sys powers the RK806, RK860's */
118         vcc4v0_sys: vcc4v0-sys-regulator {        118         vcc4v0_sys: vcc4v0-sys-regulator {
119                 compatible = "regulator-fixed"    119                 compatible = "regulator-fixed";
120                 regulator-name = "vcc4v0_sys";    120                 regulator-name = "vcc4v0_sys";
121                 regulator-always-on;              121                 regulator-always-on;
122                 regulator-boot-on;                122                 regulator-boot-on;
123                 regulator-min-microvolt = <400    123                 regulator-min-microvolt = <4000000>;
124                 regulator-max-microvolt = <400    124                 regulator-max-microvolt = <4000000>;
125                 vin-supply = <&vcc12v_dcin>;      125                 vin-supply = <&vcc12v_dcin>;
126         };                                        126         };
127                                                   127 
128         vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regul    128         vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
129                 compatible = "regulator-fixed"    129                 compatible = "regulator-fixed";
130                 regulator-name = "vcc-1v1-nldo    130                 regulator-name = "vcc-1v1-nldo-s3";
131                 regulator-always-on;              131                 regulator-always-on;
132                 regulator-boot-on;                132                 regulator-boot-on;
133                 regulator-min-microvolt = <110    133                 regulator-min-microvolt = <1100000>;
134                 regulator-max-microvolt = <110    134                 regulator-max-microvolt = <1100000>;
135                 vin-supply = <&vcc4v0_sys>;       135                 vin-supply = <&vcc4v0_sys>;
136         };                                        136         };
137                                                   137 
138         vcc_3v3_pcie20: vcc3v3-pcie20-regulato    138         vcc_3v3_pcie20: vcc3v3-pcie20-regulator {
139                 compatible = "regulator-fixed"    139                 compatible = "regulator-fixed";
140                 regulator-name = "vcc_3v3_pcie    140                 regulator-name = "vcc_3v3_pcie20";
141                 regulator-always-on;              141                 regulator-always-on;
142                 regulator-boot-on;                142                 regulator-boot-on;
143                 regulator-min-microvolt = <330    143                 regulator-min-microvolt = <3300000>;
144                 regulator-max-microvolt = <330    144                 regulator-max-microvolt = <3300000>;
145                 vin-supply = <&vcc_3v3_s3>;       145                 vin-supply = <&vcc_3v3_s3>;
146         };                                        146         };
147                                                   147 
148         vbus5v0_typec: vbus5v0-typec-regulator    148         vbus5v0_typec: vbus5v0-typec-regulator {
149                 compatible = "regulator-fixed"    149                 compatible = "regulator-fixed";
150                 enable-active-high;               150                 enable-active-high;
151                 gpio = <&gpio1 RK_PD2 GPIO_ACT    151                 gpio = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
152                 pinctrl-names = "default";        152                 pinctrl-names = "default";
153                 pinctrl-0 = <&typec5v_pwren>;     153                 pinctrl-0 = <&typec5v_pwren>;
154                 regulator-always-on;              154                 regulator-always-on;
155                 regulator-boot-on;                155                 regulator-boot-on;
156                 regulator-name = "vbus5v0_type    156                 regulator-name = "vbus5v0_typec";
157                 regulator-min-microvolt = <500    157                 regulator-min-microvolt = <5000000>;
158                 regulator-max-microvolt = <500    158                 regulator-max-microvolt = <5000000>;
159                 vin-supply = <&vcc5v0_sys>;       159                 vin-supply = <&vcc5v0_sys>;
160         };                                        160         };
161                                                   161 
162         vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-reg    162         vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator {
163                 compatible = "regulator-fixed"    163                 compatible = "regulator-fixed";
164                 enable-active-high;               164                 enable-active-high;
165                 gpio = <&gpio4 RK_PC2 GPIO_ACT    165                 gpio = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
166                 pinctrl-names = "default";        166                 pinctrl-names = "default";
167                 pinctrl-0 = <&pcie_m2_1_pwren>    167                 pinctrl-0 = <&pcie_m2_1_pwren>;
168                 regulator-name = "vcc3v3_pcie2    168                 regulator-name = "vcc3v3_pcie2x1l0";
169                 regulator-min-microvolt = <330    169                 regulator-min-microvolt = <3300000>;
170                 regulator-max-microvolt = <330    170                 regulator-max-microvolt = <3300000>;
171                 vin-supply = <&vcc5v0_sys>;       171                 vin-supply = <&vcc5v0_sys>;
172         };                                        172         };
173                                                   173 
174         vcc3v3_pcie30: vcc3v3-pcie30-regulator    174         vcc3v3_pcie30: vcc3v3-pcie30-regulator {
175                 compatible = "regulator-fixed"    175                 compatible = "regulator-fixed";
176                 enable-active-high;               176                 enable-active-high;
177                 gpios = <&gpio2 RK_PC5 GPIO_AC    177                 gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;
178                 pinctrl-names = "default";        178                 pinctrl-names = "default";
179                 pinctrl-0 = <&pcie_m2_0_pwren>    179                 pinctrl-0 = <&pcie_m2_0_pwren>;
180                 regulator-name = "vcc3v3_pcie3    180                 regulator-name = "vcc3v3_pcie30";
181                 regulator-min-microvolt = <330    181                 regulator-min-microvolt = <3300000>;
182                 regulator-max-microvolt = <330    182                 regulator-max-microvolt = <3300000>;
183                 vin-supply = <&vcc5v0_sys>;       183                 vin-supply = <&vcc5v0_sys>;
184         };                                        184         };
185                                                   185 
186         vcc3v3_sd_s0: vcc3v3-sd-s0-regulator {    186         vcc3v3_sd_s0: vcc3v3-sd-s0-regulator {
187                 compatible = "regulator-fixed"    187                 compatible = "regulator-fixed";
188                 gpio = <&gpio4 RK_PA5 GPIO_ACT    188                 gpio = <&gpio4 RK_PA5 GPIO_ACTIVE_LOW>;
189                 regulator-boot-on;                189                 regulator-boot-on;
190                 regulator-max-microvolt = <330    190                 regulator-max-microvolt = <3300000>;
191                 regulator-min-microvolt = <330    191                 regulator-min-microvolt = <3300000>;
192                 regulator-name = "vcc3v3_sd_s0    192                 regulator-name = "vcc3v3_sd_s0";
193                 vin-supply = <&vcc_3v3_s3>;       193                 vin-supply = <&vcc_3v3_s3>;
194         };                                        194         };
195 };                                                195 };
196                                                   196 
197 &combphy0_ps {                                    197 &combphy0_ps {
198         status = "okay";                          198         status = "okay";
199 };                                                199 };
200                                                   200 
201 &combphy1_ps {                                    201 &combphy1_ps {
202         status = "okay";                          202         status = "okay";
203 };                                                203 };
204                                                   204 
205 &combphy2_psu {                                   205 &combphy2_psu {
206         status = "okay";                          206         status = "okay";
207 };                                                207 };
208                                                   208 
209 &cpu_l0 {                                         209 &cpu_l0 {
210         cpu-supply = <&vdd_cpu_lit_s0>;           210         cpu-supply = <&vdd_cpu_lit_s0>;
211 };                                                211 };
212                                                   212 
213 &cpu_l1 {                                         213 &cpu_l1 {
214         cpu-supply = <&vdd_cpu_lit_s0>;           214         cpu-supply = <&vdd_cpu_lit_s0>;
215 };                                                215 };
216                                                   216 
217 &cpu_l2 {                                         217 &cpu_l2 {
218         cpu-supply = <&vdd_cpu_lit_s0>;           218         cpu-supply = <&vdd_cpu_lit_s0>;
219 };                                                219 };
220                                                   220 
221 &cpu_l3 {                                         221 &cpu_l3 {
222         cpu-supply = <&vdd_cpu_lit_s0>;           222         cpu-supply = <&vdd_cpu_lit_s0>;
223 };                                                223 };
224                                                   224 
225 &cpu_b0 {                                         225 &cpu_b0 {
226         cpu-supply = <&vdd_cpu_big0_s0>;          226         cpu-supply = <&vdd_cpu_big0_s0>;
227 };                                                227 };
228                                                   228 
229 &cpu_b1 {                                         229 &cpu_b1 {
230         cpu-supply = <&vdd_cpu_big0_s0>;          230         cpu-supply = <&vdd_cpu_big0_s0>;
231 };                                                231 };
232                                                   232 
233 &cpu_b2 {                                         233 &cpu_b2 {
234         cpu-supply = <&vdd_cpu_big1_s0>;          234         cpu-supply = <&vdd_cpu_big1_s0>;
235 };                                                235 };
236                                                   236 
237 &cpu_b3 {                                         237 &cpu_b3 {
238         cpu-supply = <&vdd_cpu_big1_s0>;          238         cpu-supply = <&vdd_cpu_big1_s0>;
239 };                                                239 };
240                                                   240 
241 &gpio0 {                                          241 &gpio0 {
242         gpio-line-names = /* GPIO0 A0-A7 */       242         gpio-line-names = /* GPIO0 A0-A7 */
243                           "", "", "", "",         243                           "", "", "", "",
244                           "", "", "", "",         244                           "", "", "", "",
245                           /* GPIO0 B0-B7 */       245                           /* GPIO0 B0-B7 */
246                           "", "", "", "",         246                           "", "", "", "",
247                           "", "", "", "",         247                           "", "", "", "",
248                           /* GPIO0 C0-C7 */       248                           /* GPIO0 C0-C7 */
249                           "", "", "", "",         249                           "", "", "", "",
250                           "HEADER_10", "HEADER    250                           "HEADER_10", "HEADER_08", "HEADER_32", "",
251                           /* GPIO0 D0-D7 */       251                           /* GPIO0 D0-D7 */
252                           "", "", "", "",         252                           "", "", "", "",
253                           "IR receiver [PWM3_I    253                           "IR receiver [PWM3_IR_M0]", "", "", "";
254 };                                                254 };
255                                                   255 
256 &gpio1 {                                          256 &gpio1 {
257         gpio-line-names = /* GPIO1 A0-A7 */       257         gpio-line-names = /* GPIO1 A0-A7 */
258                           "HEADER_27", "HEADER    258                           "HEADER_27", "HEADER_28", "", "",
259                           "", "", "", "HEADER_    259                           "", "", "", "HEADER_15",
260                           /* GPIO1 B0-B7 */       260                           /* GPIO1 B0-B7 */
261                           "HEADER_26", "HEADER    261                           "HEADER_26", "HEADER_21", "HEADER_19", "HEADER_23",
262                           "HEADER_24", "HEADER    262                           "HEADER_24", "HEADER_22", "", "",
263                           /* GPIO1 C0-C7 */       263                           /* GPIO1 C0-C7 */
264                           "", "", "", "",         264                           "", "", "", "",
265                           "", "", "", "",         265                           "", "", "", "",
266                           /* GPIO1 D0-D7 */       266                           /* GPIO1 D0-D7 */
267                           "", "", "", "",         267                           "", "", "", "",
268                           "", "", "HEADER_05",    268                           "", "", "HEADER_05", "HEADER_03";
269 };                                                269 };
270                                                   270 
271 &gpio2 {                                          271 &gpio2 {
272         gpio-line-names = /* GPIO2 A0-A7 */       272         gpio-line-names = /* GPIO2 A0-A7 */
273                           "", "", "", "",         273                           "", "", "", "",
274                           "", "", "", "",         274                           "", "", "", "",
275                           /* GPIO2 B0-B7 */       275                           /* GPIO2 B0-B7 */
276                           "", "", "", "",         276                           "", "", "", "",
277                           "", "", "", "",         277                           "", "", "", "",
278                           /* GPIO2 C0-C7 */       278                           /* GPIO2 C0-C7 */
279                           "", "CSI1_11", "CSI1    279                           "", "CSI1_11", "CSI1_12", "",
280                           "", "", "", "",         280                           "", "", "", "",
281                           /* GPIO2 D0-D7 */       281                           /* GPIO2 D0-D7 */
282                           "", "", "", "",         282                           "", "", "", "",
283                           "", "", "", "";         283                           "", "", "", "";
284 };                                                284 };
285                                                   285 
286 &gpio3 {                                          286 &gpio3 {
287         gpio-line-names = /* GPIO3 A0-A7 */       287         gpio-line-names = /* GPIO3 A0-A7 */
288                           "HEADER_35", "HEADER    288                           "HEADER_35", "HEADER_38", "HEADER_40", "HEADER_36",
289                           "HEADER_37", "", "DS    289                           "HEADER_37", "", "DSI0_12", "",
290                           /* GPIO3 B0-B7 */       290                           /* GPIO3 B0-B7 */
291                           "HEADER_33", "DSI0_1    291                           "HEADER_33", "DSI0_10", "HEADER_07", "HEADER_16",
292                           "HEADER_18", "HEADER    292                           "HEADER_18", "HEADER_29", "HEADER_31", "HEADER_12",
293                           /* GPIO3 C0-C7 */       293                           /* GPIO3 C0-C7 */
294                           "DSI0_08", "DSI0_14"    294                           "DSI0_08", "DSI0_14", "HEADER_11", "HEADER_13",
295                           "", "", "", "",         295                           "", "", "", "",
296                           /* GPIO3 D0-D7 */       296                           /* GPIO3 D0-D7 */
297                           "", "", "", "",         297                           "", "", "", "",
298                           "", "DSI1_10", "", "    298                           "", "DSI1_10", "", "";
299 };                                                299 };
300                                                   300 
301 &gpio4 {                                          301 &gpio4 {
302         gpio-line-names = /* GPIO4 A0-A7 */       302         gpio-line-names = /* GPIO4 A0-A7 */
303                           "DSI1_08", "DSI1_14"    303                           "DSI1_08", "DSI1_14", "", "DSI1_12",
304                           "", "", "", "",         304                           "", "", "", "",
305                           /* GPIO4 B0-B7 */       305                           /* GPIO4 B0-B7 */
306                           "", "", "", "",         306                           "", "", "", "",
307                           "", "", "", "",         307                           "", "", "", "",
308                           /* GPIO4 C0-C7 */       308                           /* GPIO4 C0-C7 */
309                           "", "", "", "",         309                           "", "", "", "",
310                           "CSI0_11", "CSI0_12"    310                           "CSI0_11", "CSI0_12", "", "",
311                           /* GPIO4 D0-D7 */       311                           /* GPIO4 D0-D7 */
312                           "", "", "", "",         312                           "", "", "", "",
313                           "", "", "", "";         313                           "", "", "", "";
314 };                                                314 };
315                                                   315 
316 &gpu {                                            316 &gpu {
317         mali-supply = <&vdd_gpu_s0>;              317         mali-supply = <&vdd_gpu_s0>;
318         status = "okay";                          318         status = "okay";
319 };                                                319 };
320                                                   320 
321 &i2c0 {                                           321 &i2c0 {
322         pinctrl-names = "default";                322         pinctrl-names = "default";
323         pinctrl-0 = <&i2c0m2_xfer>;               323         pinctrl-0 = <&i2c0m2_xfer>;
324         status = "okay";                          324         status = "okay";
325                                                   325 
326         vdd_cpu_big0_s0: regulator@42 {           326         vdd_cpu_big0_s0: regulator@42 {
327                 compatible = "rockchip,rk8602"    327                 compatible = "rockchip,rk8602";
328                 reg = <0x42>;                     328                 reg = <0x42>;
329                 fcs,suspend-voltage-selector =    329                 fcs,suspend-voltage-selector = <1>;
330                 regulator-name = "vdd_cpu_big0    330                 regulator-name = "vdd_cpu_big0_s0";
331                 regulator-always-on;              331                 regulator-always-on;
332                 regulator-boot-on;                332                 regulator-boot-on;
333                 regulator-min-microvolt = <550    333                 regulator-min-microvolt = <550000>;
334                 regulator-max-microvolt = <105    334                 regulator-max-microvolt = <1050000>;
335                 regulator-ramp-delay = <2300>;    335                 regulator-ramp-delay = <2300>;
336                 vin-supply = <&vcc4v0_sys>;       336                 vin-supply = <&vcc4v0_sys>;
337                                                   337 
338                 regulator-state-mem {             338                 regulator-state-mem {
339                         regulator-off-in-suspe    339                         regulator-off-in-suspend;
340                 };                                340                 };
341         };                                        341         };
342                                                   342 
343         vdd_cpu_big1_s0: regulator@43 {           343         vdd_cpu_big1_s0: regulator@43 {
344                 compatible = "rockchip,rk8603"    344                 compatible = "rockchip,rk8603", "rockchip,rk8602";
345                 reg = <0x43>;                     345                 reg = <0x43>;
346                 fcs,suspend-voltage-selector =    346                 fcs,suspend-voltage-selector = <1>;
347                 regulator-name = "vdd_cpu_big1    347                 regulator-name = "vdd_cpu_big1_s0";
348                 regulator-always-on;              348                 regulator-always-on;
349                 regulator-boot-on;                349                 regulator-boot-on;
350                 regulator-min-microvolt = <550    350                 regulator-min-microvolt = <550000>;
351                 regulator-max-microvolt = <105    351                 regulator-max-microvolt = <1050000>;
352                 regulator-ramp-delay = <2300>;    352                 regulator-ramp-delay = <2300>;
353                 vin-supply = <&vcc4v0_sys>;       353                 vin-supply = <&vcc4v0_sys>;
354                                                   354 
355                 regulator-state-mem {             355                 regulator-state-mem {
356                         regulator-off-in-suspe    356                         regulator-off-in-suspend;
357                 };                                357                 };
358         };                                        358         };
359 };                                                359 };
360                                                   360 
361 &i2c2 {                                           361 &i2c2 {
362         status = "okay";                          362         status = "okay";
363                                                   363 
364         vdd_npu_s0: regulator@42 {                364         vdd_npu_s0: regulator@42 {
365                 compatible = "rockchip,rk8602"    365                 compatible = "rockchip,rk8602";
366                 reg = <0x42>;                     366                 reg = <0x42>;
367                 fcs,suspend-voltage-selector =    367                 fcs,suspend-voltage-selector = <1>;
368                 regulator-name = "vdd_npu_s0";    368                 regulator-name = "vdd_npu_s0";
369                 regulator-always-on;              369                 regulator-always-on;
370                 regulator-boot-on;                370                 regulator-boot-on;
371                 regulator-min-microvolt = <550    371                 regulator-min-microvolt = <550000>;
372                 regulator-max-microvolt = <950    372                 regulator-max-microvolt = <950000>;
373                 regulator-ramp-delay = <2300>;    373                 regulator-ramp-delay = <2300>;
374                 vin-supply = <&vcc4v0_sys>;       374                 vin-supply = <&vcc4v0_sys>;
375                                                   375 
376                 regulator-state-mem {             376                 regulator-state-mem {
377                         regulator-off-in-suspe    377                         regulator-off-in-suspend;
378                 };                                378                 };
379         };                                        379         };
380 };                                                380 };
381                                                   381 
382 &i2c6 {                                           382 &i2c6 {
383         clock-frequency = <200000>;               383         clock-frequency = <200000>;
384         status = "okay";                          384         status = "okay";
385                                                   385 
386         fusb302: typec-portc@22 {                 386         fusb302: typec-portc@22 {
387                 compatible = "fcs,fusb302";       387                 compatible = "fcs,fusb302";
388                 reg = <0x22>;                     388                 reg = <0x22>;
389                 interrupt-parent = <&gpio0>;      389                 interrupt-parent = <&gpio0>;
390                 interrupts = <RK_PD3 IRQ_TYPE_    390                 interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
391                 pinctrl-0 = <&usbc0_int>;         391                 pinctrl-0 = <&usbc0_int>;
392                 pinctrl-names = "default";        392                 pinctrl-names = "default";
393                 vbus-supply = <&vbus5v0_typec>    393                 vbus-supply = <&vbus5v0_typec>;
394                                                   394 
395                 connector {                       395                 connector {
396                         compatible = "usb-c-co    396                         compatible = "usb-c-connector";
397                         data-role = "dual";       397                         data-role = "dual";
398                         label = "USB-C";          398                         label = "USB-C";
399                         power-role = "source";    399                         power-role = "source";
400                         source-pdos = <PDO_FIX    400                         source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
401                                                   401 
402                         ports {                   402                         ports {
403                                 #address-cells    403                                 #address-cells = <1>;
404                                 #size-cells =     404                                 #size-cells = <0>;
405                                                   405 
406                                 port@0 {          406                                 port@0 {
407                                         reg =     407                                         reg = <0>;
408                                         usbc0_    408                                         usbc0_hs: endpoint {
409                                                   409                                                 remote-endpoint = <&usb_host0_xhci_drd_sw>;
410                                         };        410                                         };
411                                 };                411                                 };
412                                                   412 
413                                 port@1 {          413                                 port@1 {
414                                         reg =     414                                         reg = <1>;
415                                         usbc0_    415                                         usbc0_ss: endpoint {
416                                                   416                                                 remote-endpoint = <&usbdp_phy0_typec_ss>;
417                                         };        417                                         };
418                                 };                418                                 };
419                                                   419 
420                                 port@2 {          420                                 port@2 {
421                                         reg =     421                                         reg = <2>;
422                                         usbc0_    422                                         usbc0_sbu: endpoint {
423                                                   423                                                 remote-endpoint = <&usbdp_phy0_typec_sbu>;
424                                         };        424                                         };
425                                 };                425                                 };
426                         };                        426                         };
427                 };                                427                 };
428         };                                        428         };
429                                                   429 
430         hym8563: rtc@51 {                         430         hym8563: rtc@51 {
431                 compatible = "haoyu,hym8563";     431                 compatible = "haoyu,hym8563";
432                 reg = <0x51>;                     432                 reg = <0x51>;
433                 #clock-cells = <0>;               433                 #clock-cells = <0>;
434                 clock-output-names = "hym8563"    434                 clock-output-names = "hym8563";
435                 pinctrl-names = "default";        435                 pinctrl-names = "default";
436                 pinctrl-0 = <&hym8563_int>;       436                 pinctrl-0 = <&hym8563_int>;
437                 interrupt-parent = <&gpio0>;      437                 interrupt-parent = <&gpio0>;
438                 interrupts = <RK_PB0 IRQ_TYPE_    438                 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
439                 wakeup-source;                    439                 wakeup-source;
440         };                                        440         };
441 };                                                441 };
442                                                   442 
443 &i2c7 {                                           443 &i2c7 {
444         clock-frequency = <200000>;               444         clock-frequency = <200000>;
445         status = "okay";                          445         status = "okay";
446                                                   446 
447         rt5616: codec@1b {                        447         rt5616: codec@1b {
448                 compatible = "realtek,rt5616";    448                 compatible = "realtek,rt5616";
449                 reg = <0x1b>;                     449                 reg = <0x1b>;
450                 clocks = <&cru I2S0_8CH_MCLKOU    450                 clocks = <&cru I2S0_8CH_MCLKOUT>;
451                 clock-names = "mclk";             451                 clock-names = "mclk";
452                 #sound-dai-cells = <0>;           452                 #sound-dai-cells = <0>;
453                 assigned-clocks = <&cru I2S0_8    453                 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
454                 assigned-clock-rates = <122880    454                 assigned-clock-rates = <12288000>;
455                                                   455 
456                 port {                            456                 port {
457                         rt5616_p0_0: endpoint     457                         rt5616_p0_0: endpoint {
458                                 remote-endpoin    458                                 remote-endpoint = <&i2s0_8ch_p0_0>;
459                         };                        459                         };
460                 };                                460                 };
461         };                                        461         };
462                                                   462 
463         /* connected with MIPI-CSI1 */            463         /* connected with MIPI-CSI1 */
464 };                                                464 };
465                                                   465 
466 &i2c8 {                                           466 &i2c8 {
467         pinctrl-0 = <&i2c8m2_xfer>;               467         pinctrl-0 = <&i2c8m2_xfer>;
468 };                                                468 };
469                                                   469 
470 &i2s0_8ch {                                       470 &i2s0_8ch {
471         pinctrl-names = "default";                471         pinctrl-names = "default";
472         pinctrl-0 = <&i2s0_lrck                   472         pinctrl-0 = <&i2s0_lrck
473                      &i2s0_mclk                   473                      &i2s0_mclk
474                      &i2s0_sclk                   474                      &i2s0_sclk
475                      &i2s0_sdi0                   475                      &i2s0_sdi0
476                      &i2s0_sdo0>;                 476                      &i2s0_sdo0>;
477         status = "okay";                          477         status = "okay";
478                                                   478 
479         i2s0_8ch_p0: port {                       479         i2s0_8ch_p0: port {
480                 i2s0_8ch_p0_0: endpoint {         480                 i2s0_8ch_p0_0: endpoint {
481                         dai-format = "i2s";       481                         dai-format = "i2s";
482                         mclk-fs = <256>;          482                         mclk-fs = <256>;
483                         remote-endpoint = <&rt    483                         remote-endpoint = <&rt5616_p0_0>;
484                 };                                484                 };
485         };                                        485         };
486 };                                                486 };
487                                                   487 
488 &pcie2x1l0 {                                      488 &pcie2x1l0 {
489         reset-gpios = <&gpio4 RK_PB3 GPIO_ACTI    489         reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
490         vpcie3v3-supply = <&vcc_3v3_pcie20>;      490         vpcie3v3-supply = <&vcc_3v3_pcie20>;
491         pinctrl-names = "default";                491         pinctrl-names = "default";
492         pinctrl-0 = <&pcie2_0_rst>;               492         pinctrl-0 = <&pcie2_0_rst>;
493         status = "okay";                          493         status = "okay";
494 };                                                494 };
495                                                   495 
496 &pcie2x1l1 {                                      496 &pcie2x1l1 {
497         reset-gpios = <&gpio4 RK_PA2 GPIO_ACTI    497         reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
498         vpcie3v3-supply = <&vcc3v3_pcie2x1l0>;    498         vpcie3v3-supply = <&vcc3v3_pcie2x1l0>;
499         pinctrl-names = "default";                499         pinctrl-names = "default";
500         pinctrl-0 = <&pcie2_1_rst>;               500         pinctrl-0 = <&pcie2_1_rst>;
501         status = "okay";                          501         status = "okay";
502 };                                                502 };
503                                                   503 
504 &pcie2x1l2 {                                      504 &pcie2x1l2 {
505         reset-gpios = <&gpio4 RK_PA4 GPIO_ACTI    505         reset-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
506         vpcie3v3-supply = <&vcc_3v3_pcie20>;      506         vpcie3v3-supply = <&vcc_3v3_pcie20>;
507         pinctrl-names = "default";                507         pinctrl-names = "default";
508         pinctrl-0 = <&pcie2_2_rst>;               508         pinctrl-0 = <&pcie2_2_rst>;
509         status = "okay";                          509         status = "okay";
510 };                                                510 };
511                                                   511 
512 &pcie30phy {                                      512 &pcie30phy {
513         status = "okay";                          513         status = "okay";
514 };                                                514 };
515                                                   515 
516 &pcie3x4 {                                        516 &pcie3x4 {
517         reset-gpios = <&gpio4 RK_PB6 GPIO_ACTI    517         reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
518         vpcie3v3-supply = <&vcc3v3_pcie30>;       518         vpcie3v3-supply = <&vcc3v3_pcie30>;
519         status = "okay";                          519         status = "okay";
520 };                                                520 };
521                                                   521 
522 &pinctrl {                                        522 &pinctrl {
523         gpio-leds {                               523         gpio-leds {
524                 sys_led_pin: sys-led-pin {        524                 sys_led_pin: sys-led-pin {
525                         rockchip,pins = <2 RK_    525                         rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
526                 };                                526                 };
527                                                   527 
528                 usr_led_pin: usr-led-pin {        528                 usr_led_pin: usr-led-pin {
529                         rockchip,pins = <2 RK_    529                         rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
530                 };                                530                 };
531         };                                        531         };
532                                                   532 
533         headphone {                               533         headphone {
534                 hp_det: hp-det {                  534                 hp_det: hp-det {
535                         rockchip,pins = <1 RK_    535                         rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
536                 };                                536                 };
537         };                                        537         };
538                                                   538 
539         hym8563 {                                 539         hym8563 {
540                 hym8563_int: hym8563-int {        540                 hym8563_int: hym8563-int {
541                         rockchip,pins = <0 RK_    541                         rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
542                 };                                542                 };
543         };                                        543         };
544                                                   544 
545         ir-receiver {                             545         ir-receiver {
546                 ir_receiver_pin: ir-receiver-p    546                 ir_receiver_pin: ir-receiver-pin {
547                         rockchip,pins = <0 RK_    547                         rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
548                 };                                548                 };
549         };                                        549         };
550                                                   550 
551         pcie {                                    551         pcie {
552                 pcie2_0_rst: pcie2-0-rst {        552                 pcie2_0_rst: pcie2-0-rst {
553                         rockchip,pins = <4 RK_    553                         rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
554                 };                                554                 };
555                                                   555 
556                 pcie2_1_rst: pcie2-1-rst {        556                 pcie2_1_rst: pcie2-1-rst {
557                         rockchip,pins = <4 RK_    557                         rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
558                 };                                558                 };
559                                                   559 
560                 pcie2_2_rst: pcie2-2-rst {        560                 pcie2_2_rst: pcie2-2-rst {
561                         rockchip,pins = <4 RK_    561                         rockchip,pins = <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
562                 };                                562                 };
563                                                   563 
564                 pcie_m2_0_pwren: pcie-m20-pwre    564                 pcie_m2_0_pwren: pcie-m20-pwren {
565                         rockchip,pins = <2 RK_    565                         rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
566                 };                                566                 };
567                                                   567 
568                 pcie_m2_1_pwren: pcie-m21-pwre    568                 pcie_m2_1_pwren: pcie-m21-pwren {
569                         rockchip,pins = <4 RK_    569                         rockchip,pins = <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
570                 };                                570                 };
571         };                                        571         };
572                                                   572 
573         usb {                                     573         usb {
574                 typec5v_pwren: typec5v-pwren {    574                 typec5v_pwren: typec5v-pwren {
575                         rockchip,pins = <1 RK_    575                         rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
576                 };                                576                 };
577                                                   577 
578                 usbc0_int: usbc0-int {            578                 usbc0_int: usbc0-int {
579                         rockchip,pins = <0 RK_    579                         rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
580                 };                                580                 };
581         };                                        581         };
582 };                                                582 };
583                                                   583 
584 &pwm1 {                                           584 &pwm1 {
585         pinctrl-0 = <&pwm1m1_pins>;               585         pinctrl-0 = <&pwm1m1_pins>;
586         status = "okay";                          586         status = "okay";
587 };                                                587 };
588                                                   588 
589 &saradc {                                         589 &saradc {
590         vref-supply = <&avcc_1v8_s0>;             590         vref-supply = <&avcc_1v8_s0>;
591         status = "okay";                          591         status = "okay";
592 };                                                592 };
593                                                   593 
594 &sdhci {                                          594 &sdhci {
595         bus-width = <8>;                          595         bus-width = <8>;
596         no-sdio;                                  596         no-sdio;
597         no-sd;                                    597         no-sd;
598         non-removable;                            598         non-removable;
599         max-frequency = <200000000>;              599         max-frequency = <200000000>;
600         mmc-hs400-1_8v;                           600         mmc-hs400-1_8v;
601         mmc-hs400-enhanced-strobe;                601         mmc-hs400-enhanced-strobe;
602         status = "okay";                          602         status = "okay";
603 };                                                603 };
604                                                   604 
605 &sdmmc {                                          605 &sdmmc {
606         bus-width = <4>;                          606         bus-width = <4>;
607         cap-mmc-highspeed;                        607         cap-mmc-highspeed;
608         cap-sd-highspeed;                         608         cap-sd-highspeed;
609         cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_    609         cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
610         disable-wp;                               610         disable-wp;
611         no-mmc;                                   611         no-mmc;
612         no-sdio;                                  612         no-sdio;
613         sd-uhs-sdr104;                            613         sd-uhs-sdr104;
614         vmmc-supply = <&vcc3v3_sd_s0>;            614         vmmc-supply = <&vcc3v3_sd_s0>;
615         vqmmc-supply = <&vccio_sd_s0>;            615         vqmmc-supply = <&vccio_sd_s0>;
616         status = "okay";                          616         status = "okay";
617 };                                                617 };
618                                                   618 
619 /* optional on non-LTS, populated on LTS versi    619 /* optional on non-LTS, populated on LTS version */
620 &sfc {                                            620 &sfc {
621         pinctrl-names = "default";                621         pinctrl-names = "default";
622         pinctrl-0 = <&fspim1_pins>;               622         pinctrl-0 = <&fspim1_pins>;
623         status = "okay";                          623         status = "okay";
624                                                   624 
625         flash@0 {                                 625         flash@0 {
626                 compatible = "jedec,spi-nor";     626                 compatible = "jedec,spi-nor";
627                 reg = <0>;                        627                 reg = <0>;
628                 spi-max-frequency = <104000000    628                 spi-max-frequency = <104000000>;
629                 spi-rx-bus-width = <4>;           629                 spi-rx-bus-width = <4>;
630                 spi-tx-bus-width = <1>;           630                 spi-tx-bus-width = <1>;
631         };                                        631         };
632 };                                                632 };
633                                                   633 
634 &spi2 {                                           634 &spi2 {
635         status = "okay";                          635         status = "okay";
636         assigned-clocks = <&cru CLK_SPI2>;        636         assigned-clocks = <&cru CLK_SPI2>;
637         assigned-clock-rates = <200000000>;       637         assigned-clock-rates = <200000000>;
638         pinctrl-names = "default";                638         pinctrl-names = "default";
639         pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>    639         pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
640         num-cs = <1>;                             640         num-cs = <1>;
641                                                   641 
642         pmic@0 {                                  642         pmic@0 {
643                 compatible = "rockchip,rk806";    643                 compatible = "rockchip,rk806";
644                 spi-max-frequency = <1000000>;    644                 spi-max-frequency = <1000000>;
645                 reg = <0x0>;                      645                 reg = <0x0>;
646                                                   646 
647                 interrupt-parent = <&gpio0>;      647                 interrupt-parent = <&gpio0>;
648                 interrupts = <7 IRQ_TYPE_LEVEL    648                 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
649                                                   649 
650                 pinctrl-names = "default";        650                 pinctrl-names = "default";
651                 pinctrl-0 = <&pmic_pins>, <&rk    651                 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
652                             <&rk806_dvs2_null>    652                             <&rk806_dvs2_null>, <&rk806_dvs3_null>;
653                                                   653 
654                 system-power-controller;          654                 system-power-controller;
655                                                   655 
656                 vcc1-supply = <&vcc4v0_sys>;      656                 vcc1-supply = <&vcc4v0_sys>;
657                 vcc2-supply = <&vcc4v0_sys>;      657                 vcc2-supply = <&vcc4v0_sys>;
658                 vcc3-supply = <&vcc4v0_sys>;      658                 vcc3-supply = <&vcc4v0_sys>;
659                 vcc4-supply = <&vcc4v0_sys>;      659                 vcc4-supply = <&vcc4v0_sys>;
660                 vcc5-supply = <&vcc4v0_sys>;      660                 vcc5-supply = <&vcc4v0_sys>;
661                 vcc6-supply = <&vcc4v0_sys>;      661                 vcc6-supply = <&vcc4v0_sys>;
662                 vcc7-supply = <&vcc4v0_sys>;      662                 vcc7-supply = <&vcc4v0_sys>;
663                 vcc8-supply = <&vcc4v0_sys>;      663                 vcc8-supply = <&vcc4v0_sys>;
664                 vcc9-supply = <&vcc4v0_sys>;      664                 vcc9-supply = <&vcc4v0_sys>;
665                 vcc10-supply = <&vcc4v0_sys>;     665                 vcc10-supply = <&vcc4v0_sys>;
666                 vcc11-supply = <&vcc_2v0_pldo_    666                 vcc11-supply = <&vcc_2v0_pldo_s3>;
667                 vcc12-supply = <&vcc4v0_sys>;     667                 vcc12-supply = <&vcc4v0_sys>;
668                 vcc13-supply = <&vcc_1v1_nldo_    668                 vcc13-supply = <&vcc_1v1_nldo_s3>;
669                 vcc14-supply = <&vcc_1v1_nldo_    669                 vcc14-supply = <&vcc_1v1_nldo_s3>;
670                 vcca-supply = <&vcc4v0_sys>;      670                 vcca-supply = <&vcc4v0_sys>;
671                                                   671 
672                 gpio-controller;                  672                 gpio-controller;
673                 #gpio-cells = <2>;                673                 #gpio-cells = <2>;
674                                                   674 
675                 rk806_dvs1_null: dvs1-null-pin    675                 rk806_dvs1_null: dvs1-null-pins {
676                         pins = "gpio_pwrctrl1"    676                         pins = "gpio_pwrctrl1";
677                         function = "pin_fun0";    677                         function = "pin_fun0";
678                 };                                678                 };
679                                                   679 
680                 rk806_dvs2_null: dvs2-null-pin    680                 rk806_dvs2_null: dvs2-null-pins {
681                         pins = "gpio_pwrctrl2"    681                         pins = "gpio_pwrctrl2";
682                         function = "pin_fun0";    682                         function = "pin_fun0";
683                 };                                683                 };
684                                                   684 
685                 rk806_dvs3_null: dvs3-null-pin    685                 rk806_dvs3_null: dvs3-null-pins {
686                         pins = "gpio_pwrctrl3"    686                         pins = "gpio_pwrctrl3";
687                         function = "pin_fun0";    687                         function = "pin_fun0";
688                 };                                688                 };
689                                                   689 
690                 regulators {                      690                 regulators {
691                         vdd_gpu_s0: vdd_gpu_me    691                         vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
692                                 regulator-boot    692                                 regulator-boot-on;
693                                 regulator-min-    693                                 regulator-min-microvolt = <550000>;
694                                 regulator-max-    694                                 regulator-max-microvolt = <950000>;
695                                 regulator-ramp    695                                 regulator-ramp-delay = <12500>;
696                                 regulator-name    696                                 regulator-name = "vdd_gpu_s0";
697                                 regulator-enab    697                                 regulator-enable-ramp-delay = <400>;
698                                                   698 
699                                 regulator-stat    699                                 regulator-state-mem {
700                                         regula    700                                         regulator-off-in-suspend;
701                                 };                701                                 };
702                         };                        702                         };
703                                                   703 
704                         vdd_cpu_lit_s0: vdd_cp    704                         vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
705                                 regulator-alwa    705                                 regulator-always-on;
706                                 regulator-boot    706                                 regulator-boot-on;
707                                 regulator-min-    707                                 regulator-min-microvolt = <550000>;
708                                 regulator-max-    708                                 regulator-max-microvolt = <950000>;
709                                 regulator-ramp    709                                 regulator-ramp-delay = <12500>;
710                                 regulator-name    710                                 regulator-name = "vdd_cpu_lit_s0";
711                                                   711 
712                                 regulator-stat    712                                 regulator-state-mem {
713                                         regula    713                                         regulator-off-in-suspend;
714                                 };                714                                 };
715                         };                        715                         };
716                                                   716 
717                         vdd_log_s0: dcdc-reg3     717                         vdd_log_s0: dcdc-reg3 {
718                                 regulator-alwa    718                                 regulator-always-on;
719                                 regulator-boot    719                                 regulator-boot-on;
720                                 regulator-min-    720                                 regulator-min-microvolt = <675000>;
721                                 regulator-max-    721                                 regulator-max-microvolt = <750000>;
722                                 regulator-ramp    722                                 regulator-ramp-delay = <12500>;
723                                 regulator-name    723                                 regulator-name = "vdd_log_s0";
724                                                   724 
725                                 regulator-stat    725                                 regulator-state-mem {
726                                         regula    726                                         regulator-off-in-suspend;
727                                         regula    727                                         regulator-suspend-microvolt = <750000>;
728                                 };                728                                 };
729                         };                        729                         };
730                                                   730 
731                         vdd_vdenc_s0: vdd_vden    731                         vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
732                                 regulator-alwa    732                                 regulator-always-on;
733                                 regulator-boot    733                                 regulator-boot-on;
734                                 regulator-min-    734                                 regulator-min-microvolt = <550000>;
735                                 regulator-max-    735                                 regulator-max-microvolt = <950000>;
736                                 regulator-ramp    736                                 regulator-ramp-delay = <12500>;
737                                 regulator-name    737                                 regulator-name = "vdd_vdenc_s0";
738                                                   738 
739                                 regulator-stat    739                                 regulator-state-mem {
740                                         regula    740                                         regulator-off-in-suspend;
741                                 };                741                                 };
742                         };                        742                         };
743                                                   743 
744                         vdd_ddr_s0: dcdc-reg5     744                         vdd_ddr_s0: dcdc-reg5 {
745                                 regulator-alwa    745                                 regulator-always-on;
746                                 regulator-boot    746                                 regulator-boot-on;
747                                 regulator-min-    747                                 regulator-min-microvolt = <675000>;
748                                 regulator-max-    748                                 regulator-max-microvolt = <900000>;
749                                 regulator-ramp    749                                 regulator-ramp-delay = <12500>;
750                                 regulator-name    750                                 regulator-name = "vdd_ddr_s0";
751                                                   751 
752                                 regulator-stat    752                                 regulator-state-mem {
753                                         regula    753                                         regulator-off-in-suspend;
754                                         regula    754                                         regulator-suspend-microvolt = <850000>;
755                                 };                755                                 };
756                         };                        756                         };
757                                                   757 
758                         vdd2_ddr_s3: dcdc-reg6    758                         vdd2_ddr_s3: dcdc-reg6 {
759                                 regulator-alwa    759                                 regulator-always-on;
760                                 regulator-boot    760                                 regulator-boot-on;
761                                 regulator-name    761                                 regulator-name = "vdd2_ddr_s3";
762                                                   762 
763                                 regulator-stat    763                                 regulator-state-mem {
764                                         regula    764                                         regulator-on-in-suspend;
765                                 };                765                                 };
766                         };                        766                         };
767                                                   767 
768                         vcc_2v0_pldo_s3: dcdc-    768                         vcc_2v0_pldo_s3: dcdc-reg7 {
769                                 regulator-alwa    769                                 regulator-always-on;
770                                 regulator-boot    770                                 regulator-boot-on;
771                                 regulator-min-    771                                 regulator-min-microvolt = <2000000>;
772                                 regulator-max-    772                                 regulator-max-microvolt = <2000000>;
773                                 regulator-ramp    773                                 regulator-ramp-delay = <12500>;
774                                 regulator-name    774                                 regulator-name = "vdd_2v0_pldo_s3";
775                                                   775 
776                                 regulator-stat    776                                 regulator-state-mem {
777                                         regula    777                                         regulator-on-in-suspend;
778                                         regula    778                                         regulator-suspend-microvolt = <2000000>;
779                                 };                779                                 };
780                         };                        780                         };
781                                                   781 
782                         vcc_3v3_s3: dcdc-reg8     782                         vcc_3v3_s3: dcdc-reg8 {
783                                 regulator-alwa    783                                 regulator-always-on;
784                                 regulator-boot    784                                 regulator-boot-on;
785                                 regulator-min-    785                                 regulator-min-microvolt = <3300000>;
786                                 regulator-max-    786                                 regulator-max-microvolt = <3300000>;
787                                 regulator-name    787                                 regulator-name = "vcc_3v3_s3";
788                                                   788 
789                                 regulator-stat    789                                 regulator-state-mem {
790                                         regula    790                                         regulator-on-in-suspend;
791                                         regula    791                                         regulator-suspend-microvolt = <3300000>;
792                                 };                792                                 };
793                         };                        793                         };
794                                                   794 
795                         vddq_ddr_s0: dcdc-reg9    795                         vddq_ddr_s0: dcdc-reg9 {
796                                 regulator-alwa    796                                 regulator-always-on;
797                                 regulator-boot    797                                 regulator-boot-on;
798                                 regulator-name    798                                 regulator-name = "vddq_ddr_s0";
799                                                   799 
800                                 regulator-stat    800                                 regulator-state-mem {
801                                         regula    801                                         regulator-off-in-suspend;
802                                 };                802                                 };
803                         };                        803                         };
804                                                   804 
805                         vcc_1v8_s3: dcdc-reg10    805                         vcc_1v8_s3: dcdc-reg10 {
806                                 regulator-alwa    806                                 regulator-always-on;
807                                 regulator-boot    807                                 regulator-boot-on;
808                                 regulator-min-    808                                 regulator-min-microvolt = <1800000>;
809                                 regulator-max-    809                                 regulator-max-microvolt = <1800000>;
810                                 regulator-name    810                                 regulator-name = "vcc_1v8_s3";
811                                                   811 
812                                 regulator-stat    812                                 regulator-state-mem {
813                                         regula    813                                         regulator-on-in-suspend;
814                                         regula    814                                         regulator-suspend-microvolt = <1800000>;
815                                 };                815                                 };
816                         };                        816                         };
817                                                   817 
818                         avcc_1v8_s0: pldo-reg1    818                         avcc_1v8_s0: pldo-reg1 {
819                                 regulator-alwa    819                                 regulator-always-on;
820                                 regulator-boot    820                                 regulator-boot-on;
821                                 regulator-min-    821                                 regulator-min-microvolt = <1800000>;
822                                 regulator-max-    822                                 regulator-max-microvolt = <1800000>;
823                                 regulator-name    823                                 regulator-name = "avcc_1v8_s0";
824                                                   824 
825                                 regulator-stat    825                                 regulator-state-mem {
826                                         regula    826                                         regulator-off-in-suspend;
827                                 };                827                                 };
828                         };                        828                         };
829                                                   829 
830                         vcc_1v8_s0: pldo-reg2     830                         vcc_1v8_s0: pldo-reg2 {
831                                 regulator-alwa    831                                 regulator-always-on;
832                                 regulator-boot    832                                 regulator-boot-on;
833                                 regulator-min-    833                                 regulator-min-microvolt = <1800000>;
834                                 regulator-max-    834                                 regulator-max-microvolt = <1800000>;
835                                 regulator-name    835                                 regulator-name = "vcc_1v8_s0";
836                                                   836 
837                                 regulator-stat    837                                 regulator-state-mem {
838                                         regula    838                                         regulator-off-in-suspend;
839                                         regula    839                                         regulator-suspend-microvolt = <1800000>;
840                                 };                840                                 };
841                         };                        841                         };
842                                                   842 
843                         avdd_1v2_s0: pldo-reg3    843                         avdd_1v2_s0: pldo-reg3 {
844                                 regulator-alwa    844                                 regulator-always-on;
845                                 regulator-boot    845                                 regulator-boot-on;
846                                 regulator-min-    846                                 regulator-min-microvolt = <1200000>;
847                                 regulator-max-    847                                 regulator-max-microvolt = <1200000>;
848                                 regulator-name    848                                 regulator-name = "avdd_1v2_s0";
849                                                   849 
850                                 regulator-stat    850                                 regulator-state-mem {
851                                         regula    851                                         regulator-off-in-suspend;
852                                 };                852                                 };
853                         };                        853                         };
854                                                   854 
855                         vcc_3v3_s0: pldo-reg4     855                         vcc_3v3_s0: pldo-reg4 {
856                                 regulator-alwa    856                                 regulator-always-on;
857                                 regulator-boot    857                                 regulator-boot-on;
858                                 regulator-min-    858                                 regulator-min-microvolt = <3300000>;
859                                 regulator-max-    859                                 regulator-max-microvolt = <3300000>;
860                                 regulator-ramp    860                                 regulator-ramp-delay = <12500>;
861                                 regulator-name    861                                 regulator-name = "vcc_3v3_s0";
862                                                   862 
863                                 regulator-stat    863                                 regulator-state-mem {
864                                         regula    864                                         regulator-off-in-suspend;
865                                 };                865                                 };
866                         };                        866                         };
867                                                   867 
868                         vccio_sd_s0: pldo-reg5    868                         vccio_sd_s0: pldo-reg5 {
869                                 regulator-alwa    869                                 regulator-always-on;
870                                 regulator-boot    870                                 regulator-boot-on;
871                                 regulator-min-    871                                 regulator-min-microvolt = <1800000>;
872                                 regulator-max-    872                                 regulator-max-microvolt = <3300000>;
873                                 regulator-ramp    873                                 regulator-ramp-delay = <12500>;
874                                 regulator-name    874                                 regulator-name = "vccio_sd_s0";
875                                                   875 
876                                 regulator-stat    876                                 regulator-state-mem {
877                                         regula    877                                         regulator-off-in-suspend;
878                                 };                878                                 };
879                         };                        879                         };
880                                                   880 
881                         pldo6_s3: pldo-reg6 {     881                         pldo6_s3: pldo-reg6 {
882                                 regulator-alwa    882                                 regulator-always-on;
883                                 regulator-boot    883                                 regulator-boot-on;
884                                 regulator-min-    884                                 regulator-min-microvolt = <1800000>;
885                                 regulator-max-    885                                 regulator-max-microvolt = <1800000>;
886                                 regulator-name    886                                 regulator-name = "pldo6_s3";
887                                                   887 
888                                 regulator-stat    888                                 regulator-state-mem {
889                                         regula    889                                         regulator-on-in-suspend;
890                                         regula    890                                         regulator-suspend-microvolt = <1800000>;
891                                 };                891                                 };
892                         };                        892                         };
893                                                   893 
894                         vdd_0v75_s3: nldo-reg1    894                         vdd_0v75_s3: nldo-reg1 {
895                                 regulator-alwa    895                                 regulator-always-on;
896                                 regulator-boot    896                                 regulator-boot-on;
897                                 regulator-min-    897                                 regulator-min-microvolt = <750000>;
898                                 regulator-max-    898                                 regulator-max-microvolt = <750000>;
899                                 regulator-name    899                                 regulator-name = "vdd_0v75_s3";
900                                                   900 
901                                 regulator-stat    901                                 regulator-state-mem {
902                                         regula    902                                         regulator-on-in-suspend;
903                                         regula    903                                         regulator-suspend-microvolt = <750000>;
904                                 };                904                                 };
905                         };                        905                         };
906                                                   906 
907                         vdd_ddr_pll_s0: nldo-r    907                         vdd_ddr_pll_s0: nldo-reg2 {
908                                 regulator-alwa    908                                 regulator-always-on;
909                                 regulator-boot    909                                 regulator-boot-on;
910                                 regulator-min-    910                                 regulator-min-microvolt = <850000>;
911                                 regulator-max-    911                                 regulator-max-microvolt = <850000>;
912                                 regulator-name    912                                 regulator-name = "vdd_ddr_pll_s0";
913                                                   913 
914                                 regulator-stat    914                                 regulator-state-mem {
915                                         regula    915                                         regulator-off-in-suspend;
916                                         regula    916                                         regulator-suspend-microvolt = <850000>;
917                                 };                917                                 };
918                         };                        918                         };
919                                                   919 
920                         avdd_0v75_s0: nldo-reg    920                         avdd_0v75_s0: nldo-reg3 {
921                                 regulator-alwa    921                                 regulator-always-on;
922                                 regulator-boot    922                                 regulator-boot-on;
923                                 regulator-min-    923                                 regulator-min-microvolt = <750000>;
924                                 regulator-max-    924                                 regulator-max-microvolt = <750000>;
925                                 regulator-name    925                                 regulator-name = "avdd_0v75_s0";
926                                                   926 
927                                 regulator-stat    927                                 regulator-state-mem {
928                                         regula    928                                         regulator-off-in-suspend;
929                                 };                929                                 };
930                         };                        930                         };
931                                                   931 
932                         vdd_0v85_s0: nldo-reg4    932                         vdd_0v85_s0: nldo-reg4 {
933                                 regulator-alwa    933                                 regulator-always-on;
934                                 regulator-boot    934                                 regulator-boot-on;
935                                 regulator-min-    935                                 regulator-min-microvolt = <850000>;
936                                 regulator-max-    936                                 regulator-max-microvolt = <850000>;
937                                 regulator-name    937                                 regulator-name = "vdd_0v85_s0";
938                                                   938 
939                                 regulator-stat    939                                 regulator-state-mem {
940                                         regula    940                                         regulator-off-in-suspend;
941                                 };                941                                 };
942                         };                        942                         };
943                                                   943 
944                         vdd_0v75_s0: nldo-reg5    944                         vdd_0v75_s0: nldo-reg5 {
945                                 regulator-alwa    945                                 regulator-always-on;
946                                 regulator-boot    946                                 regulator-boot-on;
947                                 regulator-min-    947                                 regulator-min-microvolt = <750000>;
948                                 regulator-max-    948                                 regulator-max-microvolt = <750000>;
949                                 regulator-name    949                                 regulator-name = "vdd_0v75_s0";
950                                                   950 
951                                 regulator-stat    951                                 regulator-state-mem {
952                                         regula    952                                         regulator-off-in-suspend;
953                                 };                953                                 };
954                         };                        954                         };
955                 };                                955                 };
956         };                                        956         };
957 };                                                957 };
958                                                   958 
959 &tsadc {                                          959 &tsadc {
960         status = "okay";                          960         status = "okay";
961 };                                                961 };
962                                                   962 
963 &uart2 {                                          963 &uart2 {
964         pinctrl-0 = <&uart2m0_xfer>;              964         pinctrl-0 = <&uart2m0_xfer>;
965         status = "okay";                          965         status = "okay";
966 };                                                966 };
967                                                   967 
968 &u2phy0 {                                         968 &u2phy0 {
969         status = "okay";                          969         status = "okay";
970 };                                                970 };
971                                                   971 
972 &u2phy0_otg {                                     972 &u2phy0_otg {
973         status = "okay";                          973         status = "okay";
974 };                                                974 };
975                                                   975 
976 &u2phy2_host {                                    976 &u2phy2_host {
977         status = "okay";                          977         status = "okay";
978 };                                                978 };
979                                                   979 
980 &u2phy3_host {                                    980 &u2phy3_host {
981         status = "okay";                          981         status = "okay";
982 };                                                982 };
983                                                   983 
984 &u2phy2 {                                         984 &u2phy2 {
985         status = "okay";                          985         status = "okay";
986 };                                                986 };
987                                                   987 
988 &u2phy3 {                                         988 &u2phy3 {
989         status = "okay";                          989         status = "okay";
990 };                                                990 };
991                                                   991 
992 &usbdp_phy0 {                                     992 &usbdp_phy0 {
993         mode-switch;                              993         mode-switch;
994         orientation-switch;                       994         orientation-switch;
995         sbu1-dc-gpios = <&gpio4 RK_PA6 GPIO_AC    995         sbu1-dc-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
996         sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_AC    996         sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
997         status = "okay";                          997         status = "okay";
998                                                   998 
999         port {                                    999         port {
1000                 #address-cells = <1>;            1000                 #address-cells = <1>;
1001                 #size-cells = <0>;               1001                 #size-cells = <0>;
1002                                                  1002 
1003                 usbdp_phy0_typec_ss: endpoint    1003                 usbdp_phy0_typec_ss: endpoint@0 {
1004                         reg = <0>;               1004                         reg = <0>;
1005                         remote-endpoint = <&u    1005                         remote-endpoint = <&usbc0_ss>;
1006                 };                               1006                 };
1007                                                  1007 
1008                 usbdp_phy0_typec_sbu: endpoin    1008                 usbdp_phy0_typec_sbu: endpoint@1 {
1009                         reg = <1>;               1009                         reg = <1>;
1010                         remote-endpoint = <&u    1010                         remote-endpoint = <&usbc0_sbu>;
1011                 };                               1011                 };
1012         };                                       1012         };
1013 };                                               1013 };
1014                                                  1014 
1015 &usb_host0_ehci {                                1015 &usb_host0_ehci {
1016         status = "okay";                         1016         status = "okay";
1017 };                                               1017 };
1018                                                  1018 
1019 &usb_host0_ohci {                                1019 &usb_host0_ohci {
1020         status = "okay";                         1020         status = "okay";
1021 };                                               1021 };
1022                                                  1022 
1023 &usb_host0_xhci {                                1023 &usb_host0_xhci {
1024         dr_mode = "host";                        1024         dr_mode = "host";
1025         status = "okay";                         1025         status = "okay";
1026         usb-role-switch;                         1026         usb-role-switch;
1027                                                  1027 
1028         port {                                   1028         port {
1029                 usb_host0_xhci_drd_sw: endpoi    1029                 usb_host0_xhci_drd_sw: endpoint {
1030                         remote-endpoint = <&u    1030                         remote-endpoint = <&usbc0_hs>;
1031                 };                               1031                 };
1032         };                                       1032         };
1033 };                                               1033 };
1034                                                  1034 
1035 &usb_host1_ehci {                                1035 &usb_host1_ehci {
1036         status = "okay";                         1036         status = "okay";
1037 };                                               1037 };
1038                                                  1038 
1039 &usb_host1_ohci {                                1039 &usb_host1_ohci {
1040         status = "okay";                         1040         status = "okay";
1041 };                                               1041 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php