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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3399-rockpro64.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/rk3399-rockpro64.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3399-rockpro64.dtsi (Version linux-5.10.229)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2017 Fuzhou Rockchip Electron      3  * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
  4  * Copyright (c) 2018 Akash Gajjar <Akash_Gajja      4  * Copyright (c) 2018 Akash Gajjar <Akash_Gajjar@mentor.com>
  5  */                                                 5  */
  6                                                     6 
  7 #include <dt-bindings/input/linux-event-codes.      7 #include <dt-bindings/input/linux-event-codes.h>
  8 #include <dt-bindings/pwm/pwm.h>                    8 #include <dt-bindings/pwm/pwm.h>
  9 #include "rk3399.dtsi"                              9 #include "rk3399.dtsi"
                                                   >>  10 #include "rk3399-opp.dtsi"
 10                                                    11 
 11 / {                                                12 / {
 12         aliases {                              << 
 13                 ethernet0 = &gmac;             << 
 14                 mmc0 = &sdio0;                 << 
 15                 mmc1 = &sdmmc;                 << 
 16                 mmc2 = &sdhci;                 << 
 17         };                                     << 
 18                                                << 
 19         chosen {                                   13         chosen {
 20                 stdout-path = "serial2:1500000     14                 stdout-path = "serial2:1500000n8";
 21         };                                         15         };
 22                                                    16 
 23         /* enable for panel backlight support  << 
 24         backlight: backlight {                 << 
 25                 compatible = "pwm-backlight";  << 
 26                 brightness-levels = <0 4 8 16  << 
 27                 default-brightness-level = <5> << 
 28                 pwms = <&pwm0 0 1000000 0>;    << 
 29                 status = "disabled";           << 
 30         };                                     << 
 31                                                << 
 32         clkin_gmac: external-gmac-clock {          17         clkin_gmac: external-gmac-clock {
 33                 compatible = "fixed-clock";        18                 compatible = "fixed-clock";
 34                 clock-frequency = <125000000>;     19                 clock-frequency = <125000000>;
 35                 clock-output-names = "clkin_gm     20                 clock-output-names = "clkin_gmac";
 36                 #clock-cells = <0>;                21                 #clock-cells = <0>;
 37         };                                         22         };
 38                                                    23 
 39         gpio-keys {                                24         gpio-keys {
 40                 compatible = "gpio-keys";          25                 compatible = "gpio-keys";
 41                 autorepeat;                        26                 autorepeat;
 42                 pinctrl-names = "default";         27                 pinctrl-names = "default";
 43                 pinctrl-0 = <&pwrbtn>;             28                 pinctrl-0 = <&pwrbtn>;
 44                                                    29 
 45                 key-power {                    !!  30                 power {
 46                         debounce-interval = <1     31                         debounce-interval = <100>;
 47                         gpios = <&gpio0 RK_PA5     32                         gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
 48                         label = "GPIO Key Powe     33                         label = "GPIO Key Power";
 49                         linux,code = <KEY_POWE     34                         linux,code = <KEY_POWER>;
 50                         wakeup-source;             35                         wakeup-source;
 51                 };                                 36                 };
 52         };                                         37         };
 53                                                    38 
 54         ir-receiver {                          << 
 55                 compatible = "gpio-ir-receiver << 
 56                 gpios = <&gpio0 RK_PA6 GPIO_AC << 
 57                 pinctrl-0 = <&ir_int>;         << 
 58                 pinctrl-names = "default";     << 
 59         };                                     << 
 60                                                << 
 61         leds {                                     39         leds {
 62                 compatible = "gpio-leds";          40                 compatible = "gpio-leds";
 63                 pinctrl-names = "default";         41                 pinctrl-names = "default";
 64                 pinctrl-0 = <&work_led_pin>, <     42                 pinctrl-0 = <&work_led_pin>, <&diy_led_pin>;
 65                                                    43 
 66                 work_led: led-0 {                  44                 work_led: led-0 {
 67                         label = "work";            45                         label = "work";
 68                         default-state = "on";      46                         default-state = "on";
 69                         gpios = <&gpio0 RK_PB3     47                         gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
 70                 };                                 48                 };
 71                                                    49 
 72                 diy_led: led-1 {                   50                 diy_led: led-1 {
 73                         label = "diy";             51                         label = "diy";
 74                         default-state = "off";     52                         default-state = "off";
 75                         gpios = <&gpio0 RK_PA2     53                         gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
 76                 };                                 54                 };
 77         };                                         55         };
 78                                                    56 
 79         fan: pwm-fan {                             57         fan: pwm-fan {
 80                 compatible = "pwm-fan";            58                 compatible = "pwm-fan";
 81                 cooling-levels = <0 100 150 20 << 
 82                 #cooling-cells = <2>;              59                 #cooling-cells = <2>;
 83                 fan-supply = <&vcc12v_dcin>;       60                 fan-supply = <&vcc12v_dcin>;
 84                 pwms = <&pwm1 0 50000 0>;          61                 pwms = <&pwm1 0 50000 0>;
 85         };                                         62         };
 86                                                    63 
 87         sdio_pwrseq: sdio-pwrseq {                 64         sdio_pwrseq: sdio-pwrseq {
 88                 compatible = "mmc-pwrseq-simpl     65                 compatible = "mmc-pwrseq-simple";
 89                 clocks = <&rk808 1>;               66                 clocks = <&rk808 1>;
 90                 clock-names = "ext_clock";         67                 clock-names = "ext_clock";
 91                 pinctrl-names = "default";         68                 pinctrl-names = "default";
 92                 pinctrl-0 = <&wifi_enable_h>;      69                 pinctrl-0 = <&wifi_enable_h>;
 93                 reset-gpios = <&gpio0 RK_PB2 G     70                 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
 94         };                                         71         };
 95                                                    72 
 96         sound {                                    73         sound {
 97                 compatible = "audio-graph-card     74                 compatible = "audio-graph-card";
 98                 label = "Analog";              !!  75                 label = "rockchip,rk3399";
 99                 dais = <&i2s1_p0>;                 76                 dais = <&i2s1_p0>;
100         };                                         77         };
101                                                    78 
102         sound-dit {                            << 
103                 compatible = "audio-graph-card << 
104                 label = "SPDIF";               << 
105                 dais = <&spdif_p0>;            << 
106         };                                     << 
107                                                << 
108         spdif-dit {                            << 
109                 compatible = "linux,spdif-dit" << 
110                 #sound-dai-cells = <0>;        << 
111                                                << 
112                 port {                         << 
113                         dit_p0_0: endpoint {   << 
114                                 remote-endpoin << 
115                         };                     << 
116                 };                             << 
117         };                                     << 
118                                                << 
119         avdd: avdd-regulator {                 << 
120                 compatible = "regulator-fixed" << 
121                 regulator-name = "avdd";       << 
122                 regulator-min-microvolt = <110 << 
123                 regulator-max-microvolt = <110 << 
124                 vin-supply = <&vcc3v3_s0>;     << 
125         };                                     << 
126                                                << 
127         vcc12v_dcin: vcc12v-dcin {                 79         vcc12v_dcin: vcc12v-dcin {
128                 compatible = "regulator-fixed"     80                 compatible = "regulator-fixed";
129                 regulator-name = "vcc12v_dcin"     81                 regulator-name = "vcc12v_dcin";
130                 regulator-always-on;               82                 regulator-always-on;
131                 regulator-boot-on;                 83                 regulator-boot-on;
132                 regulator-min-microvolt = <120     84                 regulator-min-microvolt = <12000000>;
133                 regulator-max-microvolt = <120     85                 regulator-max-microvolt = <12000000>;
134         };                                         86         };
135                                                    87 
136         /* switched by pmic_sleep */               88         /* switched by pmic_sleep */
137         vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {         89         vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
138                 compatible = "regulator-fixed"     90                 compatible = "regulator-fixed";
139                 regulator-name = "vcc1v8_s3";      91                 regulator-name = "vcc1v8_s3";
140                 regulator-always-on;               92                 regulator-always-on;
141                 regulator-boot-on;                 93                 regulator-boot-on;
142                 regulator-min-microvolt = <180     94                 regulator-min-microvolt = <1800000>;
143                 regulator-max-microvolt = <180     95                 regulator-max-microvolt = <1800000>;
144                 vin-supply = <&vcc_1v8>;           96                 vin-supply = <&vcc_1v8>;
145         };                                         97         };
146                                                    98 
147         /* micro SD card power */                  99         /* micro SD card power */
148         vcc3v0_sd: vcc3v0-sd {                    100         vcc3v0_sd: vcc3v0-sd {
149                 compatible = "regulator-fixed"    101                 compatible = "regulator-fixed";
150                 enable-active-high;               102                 enable-active-high;
151                 gpio = <&gpio0 RK_PA1 GPIO_ACT    103                 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
152                 pinctrl-names = "default";        104                 pinctrl-names = "default";
153                 pinctrl-0 = <&sdmmc0_pwr_h>;      105                 pinctrl-0 = <&sdmmc0_pwr_h>;
154                 regulator-name = "vcc3v0_sd";     106                 regulator-name = "vcc3v0_sd";
155                 regulator-always-on;              107                 regulator-always-on;
156                 regulator-min-microvolt = <300    108                 regulator-min-microvolt = <3000000>;
157                 regulator-max-microvolt = <300    109                 regulator-max-microvolt = <3000000>;
158                 vin-supply = <&vcc3v3_sys>;       110                 vin-supply = <&vcc3v3_sys>;
159                                                   111 
160                 regulator-state-mem {             112                 regulator-state-mem {
161                         regulator-off-in-suspe    113                         regulator-off-in-suspend;
162                 };                                114                 };
163         };                                        115         };
164                                                   116 
165         vcc3v3_pcie: vcc3v3-pcie-regulator {      117         vcc3v3_pcie: vcc3v3-pcie-regulator {
166                 compatible = "regulator-fixed"    118                 compatible = "regulator-fixed";
167                 enable-active-high;               119                 enable-active-high;
168                 gpio = <&gpio1 RK_PD0 GPIO_ACT    120                 gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
169                 pinctrl-names = "default";        121                 pinctrl-names = "default";
170                 pinctrl-0 = <&pcie_pwr_en>;       122                 pinctrl-0 = <&pcie_pwr_en>;
171                 regulator-name = "vcc3v3_pcie"    123                 regulator-name = "vcc3v3_pcie";
172                 regulator-always-on;              124                 regulator-always-on;
173                 regulator-boot-on;                125                 regulator-boot-on;
174                 vin-supply = <&vcc12v_dcin>;      126                 vin-supply = <&vcc12v_dcin>;
175         };                                        127         };
176                                                   128 
177         vcc3v3_sys: vcc3v3-sys {                  129         vcc3v3_sys: vcc3v3-sys {
178                 compatible = "regulator-fixed"    130                 compatible = "regulator-fixed";
179                 regulator-name = "vcc3v3_sys";    131                 regulator-name = "vcc3v3_sys";
180                 regulator-always-on;              132                 regulator-always-on;
181                 regulator-boot-on;                133                 regulator-boot-on;
182                 regulator-min-microvolt = <330    134                 regulator-min-microvolt = <3300000>;
183                 regulator-max-microvolt = <330    135                 regulator-max-microvolt = <3300000>;
184                 vin-supply = <&vcc5v0_sys>;       136                 vin-supply = <&vcc5v0_sys>;
185         };                                        137         };
186                                                   138 
187         /* Actually 3 regulators (host0, 1, 2)    139         /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */
188         vcc5v0_host: vcc5v0-host-regulator {      140         vcc5v0_host: vcc5v0-host-regulator {
189                 compatible = "regulator-fixed"    141                 compatible = "regulator-fixed";
190                 enable-active-high;               142                 enable-active-high;
191                 gpio = <&gpio4 RK_PD2 GPIO_ACT    143                 gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
192                 pinctrl-names = "default";        144                 pinctrl-names = "default";
193                 pinctrl-0 = <&vcc5v0_host_en>;    145                 pinctrl-0 = <&vcc5v0_host_en>;
194                 regulator-name = "vcc5v0_host"    146                 regulator-name = "vcc5v0_host";
195                 regulator-always-on;              147                 regulator-always-on;
196                 vin-supply = <&vcc5v0_usb>;       148                 vin-supply = <&vcc5v0_usb>;
197         };                                        149         };
198                                                   150 
199         vcc5v0_typec: vcc5v0-typec-regulator {    151         vcc5v0_typec: vcc5v0-typec-regulator {
200                 compatible = "regulator-fixed"    152                 compatible = "regulator-fixed";
201                 enable-active-high;               153                 enable-active-high;
202                 gpio = <&gpio1 RK_PA3 GPIO_ACT    154                 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
203                 pinctrl-names = "default";        155                 pinctrl-names = "default";
204                 pinctrl-0 = <&vcc5v0_typec_en>    156                 pinctrl-0 = <&vcc5v0_typec_en>;
205                 regulator-name = "vcc5v0_typec    157                 regulator-name = "vcc5v0_typec";
206                 regulator-always-on;              158                 regulator-always-on;
207                 vin-supply = <&vcc5v0_usb>;       159                 vin-supply = <&vcc5v0_usb>;
208         };                                        160         };
209                                                   161 
210         vcc5v0_sys: vcc5v0-sys {                  162         vcc5v0_sys: vcc5v0-sys {
211                 compatible = "regulator-fixed"    163                 compatible = "regulator-fixed";
212                 regulator-name = "vcc5v0_sys";    164                 regulator-name = "vcc5v0_sys";
213                 regulator-always-on;              165                 regulator-always-on;
214                 regulator-boot-on;                166                 regulator-boot-on;
215                 regulator-min-microvolt = <500    167                 regulator-min-microvolt = <5000000>;
216                 regulator-max-microvolt = <500    168                 regulator-max-microvolt = <5000000>;
217                 vin-supply = <&vcc12v_dcin>;      169                 vin-supply = <&vcc12v_dcin>;
218         };                                        170         };
219                                                   171 
220         vcc5v0_usb: vcc5v0-usb {                  172         vcc5v0_usb: vcc5v0-usb {
221                 compatible = "regulator-fixed"    173                 compatible = "regulator-fixed";
222                 regulator-name = "vcc5v0_usb";    174                 regulator-name = "vcc5v0_usb";
223                 regulator-always-on;              175                 regulator-always-on;
224                 regulator-boot-on;                176                 regulator-boot-on;
225                 regulator-min-microvolt = <500    177                 regulator-min-microvolt = <5000000>;
226                 regulator-max-microvolt = <500    178                 regulator-max-microvolt = <5000000>;
227                 vin-supply = <&vcc12v_dcin>;      179                 vin-supply = <&vcc12v_dcin>;
228         };                                        180         };
229                                                   181 
230         vdd_log: vdd-log {                        182         vdd_log: vdd-log {
231                 compatible = "pwm-regulator";     183                 compatible = "pwm-regulator";
232                 pwms = <&pwm2 0 25000 1>;         184                 pwms = <&pwm2 0 25000 1>;
233                 pwm-supply = <&vcc5v0_sys>;    << 
234                 regulator-name = "vdd_log";       185                 regulator-name = "vdd_log";
235                 regulator-always-on;              186                 regulator-always-on;
236                 regulator-boot-on;                187                 regulator-boot-on;
237                 regulator-min-microvolt = <800    188                 regulator-min-microvolt = <800000>;
238                 regulator-max-microvolt = <170    189                 regulator-max-microvolt = <1700000>;
                                                   >> 190                 vin-supply = <&vcc5v0_sys>;
239         };                                        191         };
240 };                                                192 };
241                                                   193 
242 &cpu_l0 {                                         194 &cpu_l0 {
243         cpu-supply = <&vdd_cpu_l>;                195         cpu-supply = <&vdd_cpu_l>;
244 };                                                196 };
245                                                   197 
246 &cpu_l1 {                                         198 &cpu_l1 {
247         cpu-supply = <&vdd_cpu_l>;                199         cpu-supply = <&vdd_cpu_l>;
248 };                                                200 };
249                                                   201 
250 &cpu_l2 {                                         202 &cpu_l2 {
251         cpu-supply = <&vdd_cpu_l>;                203         cpu-supply = <&vdd_cpu_l>;
252 };                                                204 };
253                                                   205 
254 &cpu_l3 {                                         206 &cpu_l3 {
255         cpu-supply = <&vdd_cpu_l>;                207         cpu-supply = <&vdd_cpu_l>;
256 };                                                208 };
257                                                   209 
258 &cpu_b0 {                                         210 &cpu_b0 {
259         cpu-supply = <&vdd_cpu_b>;                211         cpu-supply = <&vdd_cpu_b>;
260 };                                                212 };
261                                                   213 
262 &cpu_b1 {                                         214 &cpu_b1 {
263         cpu-supply = <&vdd_cpu_b>;                215         cpu-supply = <&vdd_cpu_b>;
264 };                                                216 };
265                                                   217 
266 &cpu_thermal {                                 << 
267         trips {                                << 
268                 cpu_warm: cpu_warm {           << 
269                         temperature = <55000>; << 
270                         hysteresis = <2000>;   << 
271                         type = "active";       << 
272                 };                             << 
273                                                << 
274                 cpu_hot: cpu_hot {             << 
275                         temperature = <65000>; << 
276                         hysteresis = <2000>;   << 
277                         type = "active";       << 
278                 };                             << 
279         };                                     << 
280                                                << 
281         cooling-maps {                         << 
282                 map2 {                         << 
283                         trip = <&cpu_warm>;    << 
284                         cooling-device = <&fan << 
285                 };                             << 
286                                                << 
287                 map3 {                         << 
288                         trip = <&cpu_hot>;     << 
289                         cooling-device = <&fan << 
290                 };                             << 
291         };                                     << 
292 };                                             << 
293                                                << 
294 &emmc_phy {                                       218 &emmc_phy {
295         status = "okay";                          219         status = "okay";
296 };                                                220 };
297                                                   221 
298 &gmac {                                           222 &gmac {
299         assigned-clocks = <&cru SCLK_RMII_SRC>    223         assigned-clocks = <&cru SCLK_RMII_SRC>;
300         assigned-clock-parents = <&clkin_gmac>    224         assigned-clock-parents = <&clkin_gmac>;
301         clock_in_out = "input";                   225         clock_in_out = "input";
302         phy-supply = <&vcc_lan>;                  226         phy-supply = <&vcc_lan>;
303         phy-mode = "rgmii";                       227         phy-mode = "rgmii";
304         pinctrl-names = "default";                228         pinctrl-names = "default";
305         pinctrl-0 = <&rgmii_pins>;                229         pinctrl-0 = <&rgmii_pins>;
306         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_    230         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
307         snps,reset-active-low;                    231         snps,reset-active-low;
308         snps,reset-delays-us = <0 10000 50000>    232         snps,reset-delays-us = <0 10000 50000>;
309         tx_delay = <0x28>;                        233         tx_delay = <0x28>;
310         rx_delay = <0x11>;                        234         rx_delay = <0x11>;
311         status = "okay";                          235         status = "okay";
312 };                                                236 };
313                                                   237 
314 &hdmi {                                           238 &hdmi {
315         ddc-i2c-bus = <&i2c3>;                    239         ddc-i2c-bus = <&i2c3>;
316         pinctrl-names = "default";                240         pinctrl-names = "default";
317         pinctrl-0 = <&hdmi_cec>;                  241         pinctrl-0 = <&hdmi_cec>;
318         status = "okay";                          242         status = "okay";
319 };                                                243 };
320                                                   244 
321 &hdmi_sound {                                     245 &hdmi_sound {
322         status = "okay";                          246         status = "okay";
323 };                                                247 };
324                                                   248 
325 &gpu {                                            249 &gpu {
326         mali-supply = <&vdd_gpu>;                 250         mali-supply = <&vdd_gpu>;
327         status = "okay";                          251         status = "okay";
328 };                                                252 };
329                                                   253 
330 &i2c0 {                                           254 &i2c0 {
331         clock-frequency = <400000>;               255         clock-frequency = <400000>;
332         i2c-scl-rising-time-ns = <168>;           256         i2c-scl-rising-time-ns = <168>;
333         i2c-scl-falling-time-ns = <4>;            257         i2c-scl-falling-time-ns = <4>;
334         status = "okay";                          258         status = "okay";
335                                                   259 
336         rk808: pmic@1b {                          260         rk808: pmic@1b {
337                 compatible = "rockchip,rk808";    261                 compatible = "rockchip,rk808";
338                 reg = <0x1b>;                     262                 reg = <0x1b>;
339                 interrupt-parent = <&gpio3>;      263                 interrupt-parent = <&gpio3>;
340                 interrupts = <10 IRQ_TYPE_LEVE    264                 interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
341                 #clock-cells = <1>;               265                 #clock-cells = <1>;
342                 clock-output-names = "xin32k",    266                 clock-output-names = "xin32k", "rk808-clkout2";
343                 pinctrl-names = "default";        267                 pinctrl-names = "default";
344                 pinctrl-0 = <&pmic_int_l>;        268                 pinctrl-0 = <&pmic_int_l>;
345                 rockchip,system-power-controll    269                 rockchip,system-power-controller;
346                 wakeup-source;                    270                 wakeup-source;
347                                                   271 
348                 vcc1-supply = <&vcc5v0_sys>;      272                 vcc1-supply = <&vcc5v0_sys>;
349                 vcc2-supply = <&vcc5v0_sys>;      273                 vcc2-supply = <&vcc5v0_sys>;
350                 vcc3-supply = <&vcc5v0_sys>;      274                 vcc3-supply = <&vcc5v0_sys>;
351                 vcc4-supply = <&vcc5v0_sys>;      275                 vcc4-supply = <&vcc5v0_sys>;
352                 vcc6-supply = <&vcc5v0_sys>;      276                 vcc6-supply = <&vcc5v0_sys>;
353                 vcc7-supply = <&vcc5v0_sys>;      277                 vcc7-supply = <&vcc5v0_sys>;
354                 vcc8-supply = <&vcc3v3_sys>;      278                 vcc8-supply = <&vcc3v3_sys>;
355                 vcc9-supply = <&vcc5v0_sys>;      279                 vcc9-supply = <&vcc5v0_sys>;
356                 vcc10-supply = <&vcc5v0_sys>;     280                 vcc10-supply = <&vcc5v0_sys>;
357                 vcc11-supply = <&vcc5v0_sys>;     281                 vcc11-supply = <&vcc5v0_sys>;
358                 vcc12-supply = <&vcc3v3_sys>;     282                 vcc12-supply = <&vcc3v3_sys>;
359                 vddio-supply = <&vcca_1v8>;       283                 vddio-supply = <&vcca_1v8>;
360                                                   284 
361                 regulators {                      285                 regulators {
362                         vdd_center: DCDC_REG1     286                         vdd_center: DCDC_REG1 {
363                                 regulator-name    287                                 regulator-name = "vdd_center";
364                                 regulator-alwa    288                                 regulator-always-on;
365                                 regulator-boot    289                                 regulator-boot-on;
366                                 regulator-min-    290                                 regulator-min-microvolt = <750000>;
367                                 regulator-max-    291                                 regulator-max-microvolt = <1350000>;
368                                 regulator-ramp    292                                 regulator-ramp-delay = <6001>;
369                                 regulator-stat    293                                 regulator-state-mem {
370                                         regula    294                                         regulator-off-in-suspend;
371                                 };                295                                 };
372                         };                        296                         };
373                                                   297 
374                         vdd_cpu_l: DCDC_REG2 {    298                         vdd_cpu_l: DCDC_REG2 {
375                                 regulator-name    299                                 regulator-name = "vdd_cpu_l";
376                                 regulator-alwa    300                                 regulator-always-on;
377                                 regulator-boot    301                                 regulator-boot-on;
378                                 regulator-min-    302                                 regulator-min-microvolt = <750000>;
379                                 regulator-max-    303                                 regulator-max-microvolt = <1350000>;
380                                 regulator-ramp    304                                 regulator-ramp-delay = <6001>;
381                                 regulator-stat    305                                 regulator-state-mem {
382                                         regula    306                                         regulator-off-in-suspend;
383                                 };                307                                 };
384                         };                        308                         };
385                                                   309 
386                         vcc_ddr: DCDC_REG3 {      310                         vcc_ddr: DCDC_REG3 {
387                                 regulator-name    311                                 regulator-name = "vcc_ddr";
388                                 regulator-alwa    312                                 regulator-always-on;
389                                 regulator-boot    313                                 regulator-boot-on;
390                                 regulator-stat    314                                 regulator-state-mem {
391                                         regula    315                                         regulator-on-in-suspend;
392                                 };                316                                 };
393                         };                        317                         };
394                                                   318 
395                         vcc_1v8: DCDC_REG4 {      319                         vcc_1v8: DCDC_REG4 {
396                                 regulator-name    320                                 regulator-name = "vcc_1v8";
397                                 regulator-alwa    321                                 regulator-always-on;
398                                 regulator-boot    322                                 regulator-boot-on;
399                                 regulator-min-    323                                 regulator-min-microvolt = <1800000>;
400                                 regulator-max-    324                                 regulator-max-microvolt = <1800000>;
401                                 regulator-stat    325                                 regulator-state-mem {
402                                         regula    326                                         regulator-on-in-suspend;
403                                         regula    327                                         regulator-suspend-microvolt = <1800000>;
404                                 };                328                                 };
405                         };                        329                         };
406                                                   330 
407                         vcc1v8_dvp: LDO_REG1 {    331                         vcc1v8_dvp: LDO_REG1 {
408                                 regulator-name    332                                 regulator-name = "vcc1v8_dvp";
409                                 regulator-alwa    333                                 regulator-always-on;
410                                 regulator-boot    334                                 regulator-boot-on;
411                                 regulator-min-    335                                 regulator-min-microvolt = <1800000>;
412                                 regulator-max-    336                                 regulator-max-microvolt = <1800000>;
413                                 regulator-stat    337                                 regulator-state-mem {
414                                         regula    338                                         regulator-off-in-suspend;
415                                 };                339                                 };
416                         };                        340                         };
417                                                   341 
418                         vcc3v0_touch: LDO_REG2    342                         vcc3v0_touch: LDO_REG2 {
419                                 regulator-name    343                                 regulator-name = "vcc3v0_touch";
                                                   >> 344                                 regulator-always-on;
                                                   >> 345                                 regulator-boot-on;
420                                 regulator-min-    346                                 regulator-min-microvolt = <3000000>;
421                                 regulator-max-    347                                 regulator-max-microvolt = <3000000>;
422                                 regulator-stat    348                                 regulator-state-mem {
423                                         regula    349                                         regulator-off-in-suspend;
424                                 };                350                                 };
425                         };                        351                         };
426                                                   352 
427                         vcca_1v8: LDO_REG3 {      353                         vcca_1v8: LDO_REG3 {
428                                 regulator-name    354                                 regulator-name = "vcca_1v8";
429                                 regulator-alwa    355                                 regulator-always-on;
430                                 regulator-boot    356                                 regulator-boot-on;
431                                 regulator-min-    357                                 regulator-min-microvolt = <1800000>;
432                                 regulator-max-    358                                 regulator-max-microvolt = <1800000>;
433                                 regulator-stat    359                                 regulator-state-mem {
434                                         regula    360                                         regulator-on-in-suspend;
435                                         regula    361                                         regulator-suspend-microvolt = <1800000>;
436                                 };                362                                 };
437                         };                        363                         };
438                                                   364 
439                         vcc_sdio: LDO_REG4 {      365                         vcc_sdio: LDO_REG4 {
440                                 regulator-name    366                                 regulator-name = "vcc_sdio";
441                                 regulator-alwa    367                                 regulator-always-on;
442                                 regulator-boot    368                                 regulator-boot-on;
443                                 regulator-min-    369                                 regulator-min-microvolt = <1800000>;
444                                 regulator-max-    370                                 regulator-max-microvolt = <3000000>;
445                                 regulator-stat    371                                 regulator-state-mem {
446                                         regula    372                                         regulator-on-in-suspend;
447                                         regula    373                                         regulator-suspend-microvolt = <3000000>;
448                                 };                374                                 };
449                         };                        375                         };
450                                                   376 
451                         vcca3v0_codec: LDO_REG    377                         vcca3v0_codec: LDO_REG5 {
452                                 regulator-name    378                                 regulator-name = "vcca3v0_codec";
453                                 regulator-alwa    379                                 regulator-always-on;
454                                 regulator-boot    380                                 regulator-boot-on;
455                                 regulator-min-    381                                 regulator-min-microvolt = <3000000>;
456                                 regulator-max-    382                                 regulator-max-microvolt = <3000000>;
457                                 regulator-stat    383                                 regulator-state-mem {
458                                         regula    384                                         regulator-off-in-suspend;
459                                 };                385                                 };
460                         };                        386                         };
461                                                   387 
462                         vcc_1v5: LDO_REG6 {       388                         vcc_1v5: LDO_REG6 {
463                                 regulator-name    389                                 regulator-name = "vcc_1v5";
464                                 regulator-alwa    390                                 regulator-always-on;
465                                 regulator-boot    391                                 regulator-boot-on;
466                                 regulator-min-    392                                 regulator-min-microvolt = <1500000>;
467                                 regulator-max-    393                                 regulator-max-microvolt = <1500000>;
468                                 regulator-stat    394                                 regulator-state-mem {
469                                         regula    395                                         regulator-on-in-suspend;
470                                         regula    396                                         regulator-suspend-microvolt = <1500000>;
471                                 };                397                                 };
472                         };                        398                         };
473                                                   399 
474                         vcca1v8_codec: LDO_REG    400                         vcca1v8_codec: LDO_REG7 {
475                                 regulator-name    401                                 regulator-name = "vcca1v8_codec";
476                                 regulator-alwa    402                                 regulator-always-on;
477                                 regulator-boot    403                                 regulator-boot-on;
478                                 regulator-min-    404                                 regulator-min-microvolt = <1800000>;
479                                 regulator-max-    405                                 regulator-max-microvolt = <1800000>;
480                                 regulator-stat    406                                 regulator-state-mem {
481                                         regula    407                                         regulator-off-in-suspend;
482                                 };                408                                 };
483                         };                        409                         };
484                                                   410 
485                         vcc_3v0: LDO_REG8 {       411                         vcc_3v0: LDO_REG8 {
486                                 regulator-name    412                                 regulator-name = "vcc_3v0";
487                                 regulator-alwa    413                                 regulator-always-on;
488                                 regulator-boot    414                                 regulator-boot-on;
489                                 regulator-min-    415                                 regulator-min-microvolt = <3000000>;
490                                 regulator-max-    416                                 regulator-max-microvolt = <3000000>;
491                                 regulator-stat    417                                 regulator-state-mem {
492                                         regula    418                                         regulator-on-in-suspend;
493                                         regula    419                                         regulator-suspend-microvolt = <3000000>;
494                                 };                420                                 };
495                         };                        421                         };
496                                                   422 
497                         vcc3v3_s3: vcc_lan: SW    423                         vcc3v3_s3: vcc_lan: SWITCH_REG1 {
498                                 regulator-name    424                                 regulator-name = "vcc3v3_s3";
499                                 regulator-alwa    425                                 regulator-always-on;
500                                 regulator-boot    426                                 regulator-boot-on;
501                                 regulator-stat    427                                 regulator-state-mem {
502                                         regula    428                                         regulator-off-in-suspend;
503                                 };                429                                 };
504                         };                        430                         };
505                                                   431 
506                         vcc3v3_s0: SWITCH_REG2    432                         vcc3v3_s0: SWITCH_REG2 {
507                                 regulator-name    433                                 regulator-name = "vcc3v3_s0";
                                                   >> 434                                 regulator-always-on;
                                                   >> 435                                 regulator-boot-on;
508                                 regulator-stat    436                                 regulator-state-mem {
509                                         regula    437                                         regulator-off-in-suspend;
510                                 };                438                                 };
511                         };                        439                         };
512                 };                                440                 };
513         };                                        441         };
514                                                   442 
515         vdd_cpu_b: regulator@40 {                 443         vdd_cpu_b: regulator@40 {
516                 compatible = "silergy,syr827";    444                 compatible = "silergy,syr827";
517                 reg = <0x40>;                     445                 reg = <0x40>;
518                 fcs,suspend-voltage-selector =    446                 fcs,suspend-voltage-selector = <1>;
519                 pinctrl-names = "default";        447                 pinctrl-names = "default";
520                 pinctrl-0 = <&vsel1_pin>;         448                 pinctrl-0 = <&vsel1_pin>;
521                 regulator-name = "vdd_cpu_b";     449                 regulator-name = "vdd_cpu_b";
522                 regulator-min-microvolt = <712    450                 regulator-min-microvolt = <712500>;
523                 regulator-max-microvolt = <150    451                 regulator-max-microvolt = <1500000>;
524                 regulator-ramp-delay = <1000>;    452                 regulator-ramp-delay = <1000>;
525                 regulator-always-on;              453                 regulator-always-on;
526                 regulator-boot-on;                454                 regulator-boot-on;
527                 vin-supply = <&vcc5v0_sys>;       455                 vin-supply = <&vcc5v0_sys>;
528                                                   456 
529                 regulator-state-mem {             457                 regulator-state-mem {
530                         regulator-off-in-suspe    458                         regulator-off-in-suspend;
531                 };                                459                 };
532         };                                        460         };
533                                                   461 
534         vdd_gpu: regulator@41 {                   462         vdd_gpu: regulator@41 {
535                 compatible = "silergy,syr828";    463                 compatible = "silergy,syr828";
536                 reg = <0x41>;                     464                 reg = <0x41>;
537                 fcs,suspend-voltage-selector =    465                 fcs,suspend-voltage-selector = <1>;
538                 pinctrl-names = "default";        466                 pinctrl-names = "default";
539                 pinctrl-0 = <&vsel2_pin>;         467                 pinctrl-0 = <&vsel2_pin>;
540                 regulator-name = "vdd_gpu";       468                 regulator-name = "vdd_gpu";
541                 regulator-min-microvolt = <712    469                 regulator-min-microvolt = <712500>;
542                 regulator-max-microvolt = <150    470                 regulator-max-microvolt = <1500000>;
543                 regulator-ramp-delay = <1000>;    471                 regulator-ramp-delay = <1000>;
544                 regulator-always-on;              472                 regulator-always-on;
545                 regulator-boot-on;                473                 regulator-boot-on;
546                 vin-supply = <&vcc5v0_sys>;       474                 vin-supply = <&vcc5v0_sys>;
547                                                   475 
548                 regulator-state-mem {             476                 regulator-state-mem {
549                         regulator-off-in-suspe    477                         regulator-off-in-suspend;
550                 };                                478                 };
551         };                                        479         };
552 };                                                480 };
553                                                   481 
554 &i2c1 {                                           482 &i2c1 {
555         i2c-scl-rising-time-ns = <300>;           483         i2c-scl-rising-time-ns = <300>;
556         i2c-scl-falling-time-ns = <15>;           484         i2c-scl-falling-time-ns = <15>;
557         status = "okay";                          485         status = "okay";
558 };                                                486 };
559                                                   487 
560 &i2c3 {                                           488 &i2c3 {
561         i2c-scl-rising-time-ns = <450>;           489         i2c-scl-rising-time-ns = <450>;
562         i2c-scl-falling-time-ns = <15>;           490         i2c-scl-falling-time-ns = <15>;
563         status = "okay";                          491         status = "okay";
564 };                                                492 };
565                                                   493 
566 &i2c4 {                                           494 &i2c4 {
567         i2c-scl-rising-time-ns = <600>;           495         i2c-scl-rising-time-ns = <600>;
568         i2c-scl-falling-time-ns = <20>;           496         i2c-scl-falling-time-ns = <20>;
569         status = "okay";                          497         status = "okay";
570                                                   498 
571         fusb0: typec-portc@22 {                   499         fusb0: typec-portc@22 {
572                 compatible = "fcs,fusb302";       500                 compatible = "fcs,fusb302";
573                 reg = <0x22>;                     501                 reg = <0x22>;
574                 interrupt-parent = <&gpio1>;      502                 interrupt-parent = <&gpio1>;
575                 interrupts = <RK_PA2 IRQ_TYPE_    503                 interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
576                 pinctrl-names = "default";        504                 pinctrl-names = "default";
577                 pinctrl-0 = <&fusb0_int>;         505                 pinctrl-0 = <&fusb0_int>;
578                 vbus-supply = <&vcc5v0_typec>;    506                 vbus-supply = <&vcc5v0_typec>;
579                 status = "okay";                  507                 status = "okay";
580         };                                        508         };
581                                                << 
582         /* enable for pine64 touch screen supp << 
583         touch: touchscreen@5d {                << 
584                 compatible = "goodix,gt911";   << 
585                 reg = <0x5d>;                  << 
586                 interrupt-parent = <&gpio4>;   << 
587                 interrupts = <RK_PD5 IRQ_TYPE_ << 
588                 AVDD28-supply = <&vcc3v0_touch << 
589                 VDDIO-supply = <&vcc3v0_touch> << 
590                 irq-gpios = <&gpio4 RK_PD5 GPI << 
591                 reset-gpios = <&gpio4 RK_PD6 G << 
592                 status = "disabled";           << 
593         };                                     << 
594 };                                                509 };
595                                                   510 
596 &i2s0 {                                           511 &i2s0 {
597         rockchip,playback-channels = <8>;         512         rockchip,playback-channels = <8>;
598         rockchip,capture-channels = <8>;          513         rockchip,capture-channels = <8>;
599         status = "okay";                          514         status = "okay";
600 };                                                515 };
601                                                   516 
602 &i2s1 {                                           517 &i2s1 {
603         rockchip,playback-channels = <2>;         518         rockchip,playback-channels = <2>;
604         rockchip,capture-channels = <2>;          519         rockchip,capture-channels = <2>;
605         status = "okay";                          520         status = "okay";
606                                                   521 
607         i2s1_p0: port {                           522         i2s1_p0: port {
608                 i2s1_p0_0: endpoint {             523                 i2s1_p0_0: endpoint {
609                         dai-format = "i2s";       524                         dai-format = "i2s";
610                         mclk-fs = <256>;          525                         mclk-fs = <256>;
611                         remote-endpoint = <&es    526                         remote-endpoint = <&es8316_p0_0>;
612                 };                                527                 };
613         };                                        528         };
614 };                                                529 };
615                                                   530 
616 &i2s2 {                                           531 &i2s2 {
617         status = "okay";                          532         status = "okay";
618 };                                                533 };
619                                                   534 
620 &io_domains {                                     535 &io_domains {
621         status = "okay";                          536         status = "okay";
622                                                   537 
623         bt656-supply = <&vcc1v8_dvp>;             538         bt656-supply = <&vcc1v8_dvp>;
624         audio-supply = <&vcc_3v0>;                539         audio-supply = <&vcc_3v0>;
625         sdmmc-supply = <&vcc_sdio>;               540         sdmmc-supply = <&vcc_sdio>;
626         gpio1830-supply = <&vcc_3v0>;             541         gpio1830-supply = <&vcc_3v0>;
627 };                                                542 };
628                                                   543 
629 /* enable for pine64 panel display support */  << 
630 &mipi_dsi {                                    << 
631         clock-master;                          << 
632         status = "disabled";                   << 
633                                                << 
634         ports {                                << 
635                 mipi_out: port@1 {             << 
636                         reg = <1>;             << 
637                                                << 
638                         mipi_out_panel: endpoi << 
639                                 remote-endpoin << 
640                         };                     << 
641                 };                             << 
642         };                                     << 
643                                                << 
644         mipi_panel: panel@0 {                  << 
645                 compatible = "feiyang,fy07024d << 
646                 reg = <0>;                     << 
647                 avdd-supply = <&avdd>;         << 
648                 backlight = <&backlight>;      << 
649                 dvdd-supply = <&vcc3v3_s0>;    << 
650                                                << 
651                 port {                         << 
652                         mipi_in_panel: endpoin << 
653                                 remote-endpoin << 
654                         };                     << 
655                 };                             << 
656         };                                     << 
657 };                                             << 
658                                                << 
659 &pcie0 {                                          544 &pcie0 {
660         ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_    545         ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
661         num-lanes = <4>;                          546         num-lanes = <4>;
662         pinctrl-names = "default";                547         pinctrl-names = "default";
663         pinctrl-0 = <&pcie_perst>;                548         pinctrl-0 = <&pcie_perst>;
664         vpcie12v-supply = <&vcc12v_dcin>;         549         vpcie12v-supply = <&vcc12v_dcin>;
665         vpcie3v3-supply = <&vcc3v3_pcie>;         550         vpcie3v3-supply = <&vcc3v3_pcie>;
666         status = "okay";                          551         status = "okay";
667 };                                                552 };
668                                                   553 
669 &pcie_phy {                                       554 &pcie_phy {
670         status = "okay";                          555         status = "okay";
671 };                                                556 };
672                                                   557 
673 &pmu_io_domains {                                 558 &pmu_io_domains {
674         pmu1830-supply = <&vcc_3v0>;              559         pmu1830-supply = <&vcc_3v0>;
675         status = "okay";                          560         status = "okay";
676 };                                                561 };
677                                                   562 
678 &pinctrl {                                        563 &pinctrl {
679         bt {                                      564         bt {
680                 bt_enable_h: bt-enable-h {        565                 bt_enable_h: bt-enable-h {
681                         rockchip,pins = <0 RK_    566                         rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
682                 };                                567                 };
683                                                   568 
684                 bt_host_wake_l: bt-host-wake-l    569                 bt_host_wake_l: bt-host-wake-l {
685                         rockchip,pins = <0 RK_    570                         rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_down>;
686                 };                                571                 };
687                                                   572 
688                 bt_wake_l: bt-wake-l {            573                 bt_wake_l: bt-wake-l {
689                         rockchip,pins = <2 RK_    574                         rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
690                 };                                575                 };
691         };                                        576         };
692                                                   577 
693         buttons {                                 578         buttons {
694                 pwrbtn: pwrbtn {                  579                 pwrbtn: pwrbtn {
695                         rockchip,pins = <0 RK_    580                         rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
696                 };                                581                 };
697         };                                        582         };
698                                                   583 
699         fusb302x {                                584         fusb302x {
700                 fusb0_int: fusb0-int {            585                 fusb0_int: fusb0-int {
701                         rockchip,pins = <1 RK_    586                         rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
702                 };                                587                 };
703         };                                        588         };
704                                                   589 
705         ir {                                   << 
706                 ir_int: ir-int {               << 
707                         rockchip,pins = <0 RK_ << 
708                 };                             << 
709         };                                     << 
710                                                << 
711         leds {                                    590         leds {
712                 work_led_pin: work-led-pin {      591                 work_led_pin: work-led-pin {
713                         rockchip,pins = <0 RK_    592                         rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
714                 };                                593                 };
715                                                   594 
716                 diy_led_pin: diy-led-pin {        595                 diy_led_pin: diy-led-pin {
717                         rockchip,pins = <0 RK_    596                         rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
718                 };                                597                 };
719         };                                        598         };
720                                                   599 
721         pcie {                                    600         pcie {
722                 pcie_perst: pcie-perst {          601                 pcie_perst: pcie-perst {
723                         rockchip,pins = <2 RK_    602                         rockchip,pins = <2 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
724                 };                                603                 };
725                                                   604 
726                 pcie_pwr_en: pcie-pwr-en {        605                 pcie_pwr_en: pcie-pwr-en {
727                         rockchip,pins = <1 RK_    606                         rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
728                 };                                607                 };
729         };                                        608         };
730                                                   609 
731         pmic {                                    610         pmic {
732                 pmic_int_l: pmic-int-l {          611                 pmic_int_l: pmic-int-l {
733                         rockchip,pins = <3 RK_    612                         rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
734                 };                                613                 };
735                                                   614 
736                 vsel1_pin: vsel1-pin {            615                 vsel1_pin: vsel1-pin {
737                         rockchip,pins = <1 RK_    616                         rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
738                 };                                617                 };
739                                                   618 
740                 vsel2_pin: vsel2-pin {            619                 vsel2_pin: vsel2-pin {
741                         rockchip,pins = <1 RK_    620                         rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
742                 };                                621                 };
743         };                                        622         };
744                                                   623 
745         sdcard {                                  624         sdcard {
746                 sdmmc0_pwr_h: sdmmc0-pwr-h {      625                 sdmmc0_pwr_h: sdmmc0-pwr-h {
747                         rockchip,pins = <0 RK_    626                         rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
748                 };                                627                 };
749                                                   628 
750         };                                        629         };
751                                                   630 
752         sdio-pwrseq {                             631         sdio-pwrseq {
753                 wifi_enable_h: wifi-enable-h {    632                 wifi_enable_h: wifi-enable-h {
754                         rockchip,pins = <0 RK_    633                         rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
755                 };                                634                 };
756         };                                        635         };
757                                                   636 
758         usb-typec {                               637         usb-typec {
759                 vcc5v0_typec_en: vcc5v0_typec_    638                 vcc5v0_typec_en: vcc5v0_typec_en {
760                         rockchip,pins = <1 RK_    639                         rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
761                 };                                640                 };
762         };                                        641         };
763                                                   642 
764         usb2 {                                    643         usb2 {
765                 vcc5v0_host_en: vcc5v0-host-en    644                 vcc5v0_host_en: vcc5v0-host-en {
766                         rockchip,pins = <4 RK_    645                         rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
767                 };                                646                 };
768         };                                        647         };
769 };                                                648 };
770                                                   649 
771 &pwm0 {                                           650 &pwm0 {
772         status = "okay";                          651         status = "okay";
773 };                                                652 };
774                                                   653 
775 &pwm1 {                                           654 &pwm1 {
776         status = "okay";                          655         status = "okay";
777 };                                                656 };
778                                                   657 
779 &pwm2 {                                           658 &pwm2 {
780         status = "okay";                          659         status = "okay";
781 };                                                660 };
782                                                   661 
783 &saradc {                                         662 &saradc {
784         vref-supply = <&vcca1v8_s3>;              663         vref-supply = <&vcca1v8_s3>;
785         status = "okay";                          664         status = "okay";
786 };                                                665 };
787                                                   666 
788 &sdio0 {                                          667 &sdio0 {
789         bus-width = <4>;                          668         bus-width = <4>;
790         cap-sd-highspeed;                         669         cap-sd-highspeed;
791         cap-sdio-irq;                             670         cap-sdio-irq;
792         disable-wp;                               671         disable-wp;
793         keep-power-in-suspend;                    672         keep-power-in-suspend;
794         mmc-pwrseq = <&sdio_pwrseq>;              673         mmc-pwrseq = <&sdio_pwrseq>;
795         non-removable;                            674         non-removable;
796         pinctrl-names = "default";                675         pinctrl-names = "default";
797         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &s    676         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
798         sd-uhs-sdr104;                            677         sd-uhs-sdr104;
799         status = "okay";                          678         status = "okay";
800 };                                                679 };
801                                                   680 
802 &sdmmc {                                          681 &sdmmc {
803         bus-width = <4>;                          682         bus-width = <4>;
804         cap-sd-highspeed;                         683         cap-sd-highspeed;
805         cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;    684         cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
806         disable-wp;                               685         disable-wp;
807         max-frequency = <150000000>;              686         max-frequency = <150000000>;
808         pinctrl-names = "default";                687         pinctrl-names = "default";
809         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sd    688         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
810         vmmc-supply = <&vcc3v0_sd>;               689         vmmc-supply = <&vcc3v0_sd>;
811         vqmmc-supply = <&vcc_sdio>;               690         vqmmc-supply = <&vcc_sdio>;
812         status = "okay";                          691         status = "okay";
813 };                                                692 };
814                                                   693 
815 &sdhci {                                          694 &sdhci {
816         bus-width = <8>;                          695         bus-width = <8>;
817         mmc-hs200-1_8v;                           696         mmc-hs200-1_8v;
818         non-removable;                            697         non-removable;
819         status = "okay";                          698         status = "okay";
820 };                                             << 
821                                                << 
822 &spdif {                                       << 
823         pinctrl-0 = <&spdif_bus_1>;            << 
824                                                << 
825         spdif_p0: port {                       << 
826                 spdif_p0_0: endpoint {         << 
827                         remote-endpoint = <&di << 
828                 };                             << 
829         };                                     << 
830 };                                                699 };
831                                                   700 
832 &spi1 {                                           701 &spi1 {
833         status = "okay";                          702         status = "okay";
834                                                   703 
835         flash@0 {                                 704         flash@0 {
836                 compatible = "jedec,spi-nor";     705                 compatible = "jedec,spi-nor";
837                 reg = <0>;                        706                 reg = <0>;
838                 spi-max-frequency = <10000000>    707                 spi-max-frequency = <10000000>;
839         };                                        708         };
840 };                                                709 };
841                                                   710 
842 &tcphy0 {                                         711 &tcphy0 {
843         status = "okay";                          712         status = "okay";
844 };                                                713 };
845                                                   714 
846 &tcphy1 {                                         715 &tcphy1 {
847         status = "okay";                          716         status = "okay";
848 };                                                717 };
849                                                   718 
850 &tsadc {                                          719 &tsadc {
851         /* tshut mode 0:CRU 1:GPIO */             720         /* tshut mode 0:CRU 1:GPIO */
852         rockchip,hw-tshut-mode = <1>;             721         rockchip,hw-tshut-mode = <1>;
853         /* tshut polarity 0:LOW 1:HIGH */         722         /* tshut polarity 0:LOW 1:HIGH */
854         rockchip,hw-tshut-polarity = <1>;         723         rockchip,hw-tshut-polarity = <1>;
855         status = "okay";                          724         status = "okay";
856 };                                                725 };
857                                                   726 
858 &u2phy0 {                                         727 &u2phy0 {
859         status = "okay";                          728         status = "okay";
860                                                   729 
861         u2phy0_otg: otg-port {                    730         u2phy0_otg: otg-port {
862                 status = "okay";                  731                 status = "okay";
863         };                                        732         };
864                                                   733 
865         u2phy0_host: host-port {                  734         u2phy0_host: host-port {
866                 phy-supply = <&vcc5v0_host>;      735                 phy-supply = <&vcc5v0_host>;
867                 status = "okay";                  736                 status = "okay";
868         };                                        737         };
869 };                                                738 };
870                                                   739 
871 &u2phy1 {                                         740 &u2phy1 {
872         status = "okay";                          741         status = "okay";
873                                                   742 
874         u2phy1_otg: otg-port {                    743         u2phy1_otg: otg-port {
875                 status = "okay";                  744                 status = "okay";
876         };                                        745         };
877                                                   746 
878         u2phy1_host: host-port {                  747         u2phy1_host: host-port {
879                 phy-supply = <&vcc5v0_host>;      748                 phy-supply = <&vcc5v0_host>;
880                 status = "okay";                  749                 status = "okay";
881         };                                        750         };
882 };                                                751 };
883                                                   752 
884 &uart0 {                                          753 &uart0 {
885         pinctrl-names = "default";                754         pinctrl-names = "default";
886         pinctrl-0 = <&uart0_xfer &uart0_cts &u    755         pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
887         status = "okay";                          756         status = "okay";
888                                                   757 
889         bluetooth {                               758         bluetooth {
890                 compatible = "brcm,bcm43438-bt    759                 compatible = "brcm,bcm43438-bt";
891                 clocks = <&rk808 1>;              760                 clocks = <&rk808 1>;
892                 clock-names = "lpo";              761                 clock-names = "lpo";
893                 device-wakeup-gpios = <&gpio2     762                 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
894                 host-wakeup-gpios = <&gpio0 RK    763                 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
895                 shutdown-gpios = <&gpio0 RK_PB    764                 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
896                 pinctrl-names = "default";        765                 pinctrl-names = "default";
897                 pinctrl-0 = <&bt_host_wake_l &    766                 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
898                 vbat-supply = <&vcc3v3_sys>;      767                 vbat-supply = <&vcc3v3_sys>;
899                 vddio-supply = <&vcc_1v8>;        768                 vddio-supply = <&vcc_1v8>;
900         };                                        769         };
901 };                                                770 };
902                                                   771 
903 &uart2 {                                          772 &uart2 {
904         status = "okay";                          773         status = "okay";
905 };                                                774 };
906                                                   775 
907 &usb_host0_ehci {                                 776 &usb_host0_ehci {
908         status = "okay";                          777         status = "okay";
909 };                                                778 };
910                                                   779 
911 &usb_host0_ohci {                                 780 &usb_host0_ohci {
912         status = "okay";                          781         status = "okay";
913 };                                                782 };
914                                                   783 
915 &usb_host1_ehci {                                 784 &usb_host1_ehci {
916         status = "okay";                          785         status = "okay";
917 };                                                786 };
918                                                   787 
919 &usb_host1_ohci {                                 788 &usb_host1_ohci {
920         status = "okay";                          789         status = "okay";
921 };                                                790 };
922                                                   791 
923 &usbdrd3_0 {                                      792 &usbdrd3_0 {
924         status = "okay";                          793         status = "okay";
925 };                                                794 };
926                                                   795 
927 &usbdrd_dwc3_0 {                                  796 &usbdrd_dwc3_0 {
928         status = "okay";                          797         status = "okay";
929         dr_mode = "host";                         798         dr_mode = "host";
930 };                                                799 };
931                                                   800 
932 &usbdrd3_1 {                                      801 &usbdrd3_1 {
933         status = "okay";                          802         status = "okay";
934 };                                                803 };
935                                                   804 
936 &usbdrd_dwc3_1 {                                  805 &usbdrd_dwc3_1 {
937         status = "okay";                          806         status = "okay";
938         dr_mode = "host";                         807         dr_mode = "host";
939 };                                                808 };
940                                                   809 
941 &vopb {                                           810 &vopb {
942         status = "okay";                          811         status = "okay";
943 };                                                812 };
944                                                   813 
945 &vopb_mmu {                                       814 &vopb_mmu {
946         status = "okay";                          815         status = "okay";
947 };                                                816 };
948                                                   817 
949 &vopl {                                           818 &vopl {
950         status = "okay";                          819         status = "okay";
951 };                                                820 };
952                                                   821 
953 &vopl_mmu {                                       822 &vopl_mmu {
954         status = "okay";                          823         status = "okay";
955 };                                                824 };
                                                      

~ [ 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