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

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


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2019 Fuzhou Rockchip Electron      3  * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
  4  * Copyright (c) 2019 Vamrs Limited                 4  * Copyright (c) 2019 Vamrs Limited
  5  * Copyright (c) 2019 Amarula Solutions(India)      5  * Copyright (c) 2019 Amarula Solutions(India)
  6  */                                                 6  */
  7                                                     7 
  8 #include <dt-bindings/gpio/gpio.h>                  8 #include <dt-bindings/gpio/gpio.h>
  9 #include <dt-bindings/pinctrl/rockchip.h>           9 #include <dt-bindings/pinctrl/rockchip.h>
 10 #include <dt-bindings/pwm/pwm.h>                   10 #include <dt-bindings/pwm/pwm.h>
 11                                                    11 
 12 / {                                                12 / {
 13         compatible = "vamrs,rk3399pro-vmarc-so     13         compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro";
 14                                                    14 
 15         aliases {                                  15         aliases {
 16                 ethernet0 = &gmac;             !!  16                 mmc0 = &sdmmc;
 17                 mmc0 = &sdhci;                 !!  17                 mmc1 = &sdhci;
 18                 mmc1 = &sdmmc;                 << 
 19         };                                         18         };
 20                                                    19 
 21         vcc3v3_pcie: vcc-pcie-regulator {          20         vcc3v3_pcie: vcc-pcie-regulator {
 22                 compatible = "regulator-fixed"     21                 compatible = "regulator-fixed";
 23                 enable-active-high;                22                 enable-active-high;
 24                 gpio = <&gpio4 RK_PD4 GPIO_ACT     23                 gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>;
 25                 pinctrl-names = "default";         24                 pinctrl-names = "default";
 26                 pinctrl-0 = <&pcie_pwr>;           25                 pinctrl-0 = <&pcie_pwr>;
 27                 regulator-name = "vcc3v3_pcie"     26                 regulator-name = "vcc3v3_pcie";
 28                 regulator-always-on;               27                 regulator-always-on;
 29                 regulator-boot-on;                 28                 regulator-boot-on;
 30                 vin-supply = <&vcc5v0_sys>;        29                 vin-supply = <&vcc5v0_sys>;
 31         };                                         30         };
 32 };                                                 31 };
 33                                                    32 
 34 &cpu_l0 {                                          33 &cpu_l0 {
 35         cpu-supply = <&vdd_cpu_l>;                 34         cpu-supply = <&vdd_cpu_l>;
 36 };                                                 35 };
 37                                                    36 
 38 &cpu_l1 {                                          37 &cpu_l1 {
 39         cpu-supply = <&vdd_cpu_l>;                 38         cpu-supply = <&vdd_cpu_l>;
 40 };                                                 39 };
 41                                                    40 
 42 &cpu_l2 {                                          41 &cpu_l2 {
 43         cpu-supply = <&vdd_cpu_l>;                 42         cpu-supply = <&vdd_cpu_l>;
 44 };                                                 43 };
 45                                                    44 
 46 &cpu_l3 {                                          45 &cpu_l3 {
 47         cpu-supply = <&vdd_cpu_l>;                 46         cpu-supply = <&vdd_cpu_l>;
 48 };                                                 47 };
 49                                                    48 
 50 &emmc_phy {                                        49 &emmc_phy {
 51         status = "okay";                           50         status = "okay";
 52 };                                                 51 };
 53                                                    52 
 54 &gmac {                                            53 &gmac {
 55         assigned-clocks = <&cru SCLK_RMII_SRC>     54         assigned-clocks = <&cru SCLK_RMII_SRC>;
 56         phy-supply = <&vcc_lan>;                   55         phy-supply = <&vcc_lan>;
 57         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_     56         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
 58 };                                                 57 };
 59                                                    58 
 60 &hdmi {                                            59 &hdmi {
 61         ddc-i2c-bus = <&i2c3>;                     60         ddc-i2c-bus = <&i2c3>;
 62         pinctrl-names = "default";                 61         pinctrl-names = "default";
 63         pinctrl-0 = <&hdmi_cec>;                   62         pinctrl-0 = <&hdmi_cec>;
 64 };                                                 63 };
 65                                                    64 
 66 &i2c0 {                                            65 &i2c0 {
 67         clock-frequency = <400000>;                66         clock-frequency = <400000>;
 68         i2c-scl-falling-time-ns = <30>;            67         i2c-scl-falling-time-ns = <30>;
 69         i2c-scl-rising-time-ns = <180>;            68         i2c-scl-rising-time-ns = <180>;
 70         status = "okay";                           69         status = "okay";
 71                                                    70 
 72         rk809: pmic@20 {                           71         rk809: pmic@20 {
 73                 compatible = "rockchip,rk809";     72                 compatible = "rockchip,rk809";
 74                 reg = <0x20>;                      73                 reg = <0x20>;
 75                 interrupt-parent = <&gpio1>;       74                 interrupt-parent = <&gpio1>;
 76                 interrupts = <RK_PC2 IRQ_TYPE_     75                 interrupts = <RK_PC2 IRQ_TYPE_LEVEL_LOW>;
 77                 #clock-cells = <1>;                76                 #clock-cells = <1>;
 78                 clock-output-names = "rk808-cl     77                 clock-output-names = "rk808-clkout1", "rk808-clkout2";
 79                 pinctrl-names = "default";         78                 pinctrl-names = "default";
 80                 pinctrl-0 = <&pmic_int_l>;         79                 pinctrl-0 = <&pmic_int_l>;
 81                 rockchip,system-power-controll     80                 rockchip,system-power-controller;
 82                 wakeup-source;                     81                 wakeup-source;
 83                                                    82 
 84                 vcc1-supply = <&vcc5v0_sys>;       83                 vcc1-supply = <&vcc5v0_sys>;
 85                 vcc2-supply = <&vcc5v0_sys>;       84                 vcc2-supply = <&vcc5v0_sys>;
 86                 vcc3-supply = <&vcc5v0_sys>;       85                 vcc3-supply = <&vcc5v0_sys>;
 87                 vcc4-supply = <&vcc5v0_sys>;       86                 vcc4-supply = <&vcc5v0_sys>;
 88                 vcc5-supply = <&vcc_buck5>;        87                 vcc5-supply = <&vcc_buck5>;
 89                 vcc6-supply = <&vcc_buck5>;        88                 vcc6-supply = <&vcc_buck5>;
 90                 vcc7-supply = <&vcc5v0_sys>;       89                 vcc7-supply = <&vcc5v0_sys>;
 91                 vcc8-supply = <&vcc3v3_sys>;       90                 vcc8-supply = <&vcc3v3_sys>;
 92                 vcc9-supply = <&vcc5v0_sys>;       91                 vcc9-supply = <&vcc5v0_sys>;
 93                                                    92 
 94                 regulators {                       93                 regulators {
 95                         vdd_log: DCDC_REG1 {       94                         vdd_log: DCDC_REG1 {
 96                                 regulator-name     95                                 regulator-name = "vdd_log";
 97                                 regulator-alwa     96                                 regulator-always-on;
 98                                 regulator-boot     97                                 regulator-boot-on;
 99                                 regulator-min-     98                                 regulator-min-microvolt = <750000>;
100                                 regulator-max-     99                                 regulator-max-microvolt = <1350000>;
101                                 regulator-init    100                                 regulator-initial-mode = <0x2>;
102                                 regulator-stat    101                                 regulator-state-mem {
103                                         regula    102                                         regulator-off-in-suspend;
104                                         regula    103                                         regulator-suspend-microvolt = <900000>;
105                                 };                104                                 };
106                         };                        105                         };
107                                                   106 
108                         vdd_cpu_l: DCDC_REG2 {    107                         vdd_cpu_l: DCDC_REG2 {
109                                 regulator-name    108                                 regulator-name = "vdd_cpu_l";
110                                 regulator-alwa    109                                 regulator-always-on;
111                                 regulator-boot    110                                 regulator-boot-on;
112                                 regulator-min-    111                                 regulator-min-microvolt = <750000>;
113                                 regulator-max-    112                                 regulator-max-microvolt = <1350000>;
114                                 regulator-ramp    113                                 regulator-ramp-delay = <6001>;
115                                 regulator-init    114                                 regulator-initial-mode = <0x2>;
116                                 regulator-stat    115                                 regulator-state-mem {
117                                         regula    116                                         regulator-off-in-suspend;
118                                 };                117                                 };
119                         };                        118                         };
120                                                   119 
121                         vcc_ddr: DCDC_REG3 {      120                         vcc_ddr: DCDC_REG3 {
122                                 regulator-name    121                                 regulator-name = "vcc_ddr";
123                                 regulator-alwa    122                                 regulator-always-on;
124                                 regulator-boot    123                                 regulator-boot-on;
125                                 regulator-init    124                                 regulator-initial-mode = <0x2>;
126                                 regulator-stat    125                                 regulator-state-mem {
127                                         regula    126                                         regulator-on-in-suspend;
128                                 };                127                                 };
129                         };                        128                         };
130                                                   129 
131                         vcc3v3_sys: DCDC_REG4     130                         vcc3v3_sys: DCDC_REG4 {
132                                 regulator-name    131                                 regulator-name = "vcc3v3_sys";
133                                 regulator-alwa    132                                 regulator-always-on;
134                                 regulator-boot    133                                 regulator-boot-on;
135                                 regulator-min-    134                                 regulator-min-microvolt = <3300000>;
136                                 regulator-max-    135                                 regulator-max-microvolt = <3300000>;
137                                 regulator-init    136                                 regulator-initial-mode = <0x2>;
138                                 regulator-stat    137                                 regulator-state-mem {
139                                         regula    138                                         regulator-on-in-suspend;
140                                         regula    139                                         regulator-suspend-microvolt = <3300000>;
141                                 };                140                                 };
142                         };                        141                         };
143                                                   142 
144                         vcc_buck5: DCDC_REG5 {    143                         vcc_buck5: DCDC_REG5 {
145                                 regulator-name    144                                 regulator-name = "vcc_buck5";
146                                 regulator-alwa    145                                 regulator-always-on;
147                                 regulator-boot    146                                 regulator-boot-on;
148                                 regulator-min-    147                                 regulator-min-microvolt = <2200000>;
149                                 regulator-max-    148                                 regulator-max-microvolt = <2200000>;
150                                 regulator-stat    149                                 regulator-state-mem {
151                                         regula    150                                         regulator-on-in-suspend;
152                                         regula    151                                         regulator-suspend-microvolt = <2200000>;
153                                 };                152                                 };
154                         };                        153                         };
155                                                   154 
156                         vcca_0v9: LDO_REG1 {      155                         vcca_0v9: LDO_REG1 {
157                                 regulator-name    156                                 regulator-name = "vcca_0v9";
158                                 regulator-alwa    157                                 regulator-always-on;
159                                 regulator-boot    158                                 regulator-boot-on;
160                                 regulator-min-    159                                 regulator-min-microvolt = <900000>;
161                                 regulator-max-    160                                 regulator-max-microvolt = <900000>;
162                                 regulator-stat    161                                 regulator-state-mem {
163                                         regula    162                                         regulator-on-in-suspend;
164                                         regula    163                                         regulator-suspend-microvolt = <900000>;
165                                 };                164                                 };
166                         };                        165                         };
167                                                   166 
168                         vcc_1v8: LDO_REG2 {       167                         vcc_1v8: LDO_REG2 {
169                                 regulator-name    168                                 regulator-name = "vcc_1v8";
170                                 regulator-alwa    169                                 regulator-always-on;
171                                 regulator-boot    170                                 regulator-boot-on;
172                                 regulator-min-    171                                 regulator-min-microvolt = <1800000>;
173                                 regulator-max-    172                                 regulator-max-microvolt = <1800000>;
174                                 regulator-stat    173                                 regulator-state-mem {
175                                         regula    174                                         regulator-on-in-suspend;
176                                         regula    175                                         regulator-suspend-microvolt = <1800000>;
177                                 };                176                                 };
178                         };                        177                         };
179                                                   178 
180                         vcc_0v9: LDO_REG3 {       179                         vcc_0v9: LDO_REG3 {
181                                 regulator-name    180                                 regulator-name = "vcc_0v9";
182                                 regulator-alwa    181                                 regulator-always-on;
183                                 regulator-boot    182                                 regulator-boot-on;
184                                 regulator-min-    183                                 regulator-min-microvolt = <900000>;
185                                 regulator-max-    184                                 regulator-max-microvolt = <900000>;
186                                 regulator-stat    185                                 regulator-state-mem {
187                                         regula    186                                         regulator-on-in-suspend;
188                                         regula    187                                         regulator-suspend-microvolt = <900000>;
189                                 };                188                                 };
190                         };                        189                         };
191                                                   190 
192                         vcca_1v8: LDO_REG4 {      191                         vcca_1v8: LDO_REG4 {
193                                 regulator-name    192                                 regulator-name = "vcca_1v8";
194                                 regulator-alwa    193                                 regulator-always-on;
195                                 regulator-boot    194                                 regulator-boot-on;
196                                 regulator-min-    195                                 regulator-min-microvolt = <1850000>;
197                                 regulator-max-    196                                 regulator-max-microvolt = <1850000>;
198                                 regulator-stat    197                                 regulator-state-mem {
199                                         regula    198                                         regulator-on-in-suspend;
200                                         regula    199                                         regulator-suspend-microvolt = <1850000>;
201                                 };                200                                 };
202                         };                        201                         };
203                                                   202 
204                         /*                        203                         /*
205                          * As per BSP, but sch    204                          * As per BSP, but schematic not showing any regulator
206                          * pin for LD05.          205                          * pin for LD05.
207                          */                       206                          */
208                         vdd1v5_dvp: LDO_REG5 {    207                         vdd1v5_dvp: LDO_REG5 {
209                                 regulator-name    208                                 regulator-name = "vdd1v5_dvp";
210                                 regulator-alwa    209                                 regulator-always-on;
211                                 regulator-boot    210                                 regulator-boot-on;
212                                 regulator-min-    211                                 regulator-min-microvolt = <1500000>;
213                                 regulator-max-    212                                 regulator-max-microvolt = <1500000>;
214                                 regulator-stat    213                                 regulator-state-mem {
215                                         regula    214                                         regulator-off-in-suspend;
216                                 };                215                                 };
217                         };                        216                         };
218                                                   217 
219                         vcc_1v5: LDO_REG6 {       218                         vcc_1v5: LDO_REG6 {
220                                 regulator-name    219                                 regulator-name = "vcc_1v5";
221                                 regulator-alwa    220                                 regulator-always-on;
222                                 regulator-boot    221                                 regulator-boot-on;
223                                 regulator-min-    222                                 regulator-min-microvolt = <1500000>;
224                                 regulator-max-    223                                 regulator-max-microvolt = <1500000>;
225                                 regulator-stat    224                                 regulator-state-mem {
226                                         regula    225                                         regulator-off-in-suspend;
227                                 };                226                                 };
228                         };                        227                         };
229                                                   228 
230                         vccio_3v0: LDO_REG7 {     229                         vccio_3v0: LDO_REG7 {
231                                 regulator-name    230                                 regulator-name = "vccio_3v0";
232                                 regulator-alwa    231                                 regulator-always-on;
233                                 regulator-boot    232                                 regulator-boot-on;
234                                 regulator-min-    233                                 regulator-min-microvolt = <3000000>;
235                                 regulator-max-    234                                 regulator-max-microvolt = <3000000>;
236                                 regulator-stat    235                                 regulator-state-mem {
237                                         regula    236                                         regulator-off-in-suspend;
238                                 };                237                                 };
239                         };                        238                         };
240                                                   239 
241                         vccio_sd: LDO_REG8 {      240                         vccio_sd: LDO_REG8 {
242                                 regulator-name    241                                 regulator-name = "vccio_sd";
243                                 regulator-alwa    242                                 regulator-always-on;
244                                 regulator-boot    243                                 regulator-boot-on;
245                                 regulator-min-    244                                 regulator-min-microvolt = <1800000>;
246                                 regulator-max-    245                                 regulator-max-microvolt = <3300000>;
247                                 regulator-stat    246                                 regulator-state-mem {
248                                         regula    247                                         regulator-off-in-suspend;
249                                 };                248                                 };
250                         };                        249                         };
251                                                   250 
252                         /*                        251                         /*
253                          * As per BSP, but sch    252                          * As per BSP, but schematic not showing any regulator
254                          * pin for LD09.          253                          * pin for LD09.
255                          */                       254                          */
256                         vcc_sd: LDO_REG9 {        255                         vcc_sd: LDO_REG9 {
257                                 regulator-name    256                                 regulator-name = "vcc_sd";
258                                 regulator-alwa    257                                 regulator-always-on;
259                                 regulator-boot    258                                 regulator-boot-on;
260                                 regulator-min-    259                                 regulator-min-microvolt = <3300000>;
261                                 regulator-max-    260                                 regulator-max-microvolt = <3300000>;
262                                 regulator-stat    261                                 regulator-state-mem {
263                                         regula    262                                         regulator-off-in-suspend;
264                                 };                263                                 };
265                         };                        264                         };
266                                                   265 
267                         vcc5v0_usb2: SWITCH_RE    266                         vcc5v0_usb2: SWITCH_REG1 {
268                                 regulator-name    267                                 regulator-name = "vcc5v0_usb2";
269                                 regulator-min-    268                                 regulator-min-microvolt = <5000000>;
270                                 regulator-max-    269                                 regulator-max-microvolt = <5000000>;
271                                 regulator-stat    270                                 regulator-state-mem {
272                                         regula    271                                         regulator-on-in-suspend;
273                                         regula    272                                         regulator-suspend-microvolt = <5000000>;
274                                 };                273                                 };
275                         };                        274                         };
276                                                   275 
277                         vccio_3v3: vcc_lan: SW    276                         vccio_3v3: vcc_lan: SWITCH_REG2 {
278                                 regulator-name    277                                 regulator-name = "vccio_3v3";
279                                 regulator-alwa    278                                 regulator-always-on;
280                                 regulator-boot    279                                 regulator-boot-on;
281                                 regulator-min-    280                                 regulator-min-microvolt = <3300000>;
282                                 regulator-max-    281                                 regulator-max-microvolt = <3300000>;
283                                 regulator-stat    282                                 regulator-state-mem {
284                                         regula    283                                         regulator-off-in-suspend;
285                                 };                284                                 };
286                         };                        285                         };
287                 };                                286                 };
288         };                                        287         };
289 };                                                288 };
290                                                   289 
291 &i2c1 {                                           290 &i2c1 {
292         i2c-scl-falling-time-ns = <30>;           291         i2c-scl-falling-time-ns = <30>;
293         i2c-scl-rising-time-ns = <140>;           292         i2c-scl-rising-time-ns = <140>;
294         status = "okay";                          293         status = "okay";
295 };                                                294 };
296                                                   295 
297 &i2c2 {                                           296 &i2c2 {
298         clock-frequency = <400000>;               297         clock-frequency = <400000>;
299         status = "okay";                          298         status = "okay";
300                                                   299 
301         hym8563: rtc@51 {                         300         hym8563: rtc@51 {
302                 compatible = "haoyu,hym8563";     301                 compatible = "haoyu,hym8563";
303                 reg = <0x51>;                     302                 reg = <0x51>;
304                 #clock-cells = <0>;               303                 #clock-cells = <0>;
305                 clock-output-names = "hym8563"    304                 clock-output-names = "hym8563";
306                 pinctrl-names = "default";        305                 pinctrl-names = "default";
307                 pinctrl-0 = <&hym8563_int>;       306                 pinctrl-0 = <&hym8563_int>;
308                 interrupt-parent = <&gpio4>;      307                 interrupt-parent = <&gpio4>;
309                 interrupts = <RK_PD6 IRQ_TYPE_    308                 interrupts = <RK_PD6 IRQ_TYPE_LEVEL_LOW>;
310         };                                        309         };
311 };                                                310 };
312                                                   311 
313 &i2c3 {                                           312 &i2c3 {
314         i2c-scl-rising-time-ns = <450>;           313         i2c-scl-rising-time-ns = <450>;
315         i2c-scl-falling-time-ns = <15>;           314         i2c-scl-falling-time-ns = <15>;
316         status = "okay";                          315         status = "okay";
317 };                                                316 };
318                                                   317 
319 &io_domains {                                     318 &io_domains {
320         status = "okay";                          319         status = "okay";
321         bt656-supply = <&vcca_1v8>;               320         bt656-supply = <&vcca_1v8>;
322         gpio1830-supply = <&vccio_3v0>;           321         gpio1830-supply = <&vccio_3v0>;
323         sdmmc-supply = <&vccio_sd>;               322         sdmmc-supply = <&vccio_sd>;
324 };                                                323 };
325                                                   324 
326 &pcie_phy {                                       325 &pcie_phy {
327         status = "okay";                          326         status = "okay";
328 };                                                327 };
329                                                   328 
330 &pcie0 {                                          329 &pcie0 {
331         ep-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_    330         ep-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
332         num-lanes = <4>;                          331         num-lanes = <4>;
333         pinctrl-0 = <&pcie_clkreqnb_cpm>;         332         pinctrl-0 = <&pcie_clkreqnb_cpm>;
334         pinctrl-names = "default";                333         pinctrl-names = "default";
335         vpcie0v9-supply = <&vcca_0v9>;  /* VCC    334         vpcie0v9-supply = <&vcca_0v9>;  /* VCC_0V9_S0 */
336         vpcie1v8-supply = <&vcca_1v8>;  /* VCC    335         vpcie1v8-supply = <&vcca_1v8>;  /* VCC_1V8_S0 */
337         vpcie3v3-supply = <&vcc3v3_pcie>;         336         vpcie3v3-supply = <&vcc3v3_pcie>;
338         status = "okay";                          337         status = "okay";
339 };                                                338 };
340                                                   339 
341 &pinctrl {                                        340 &pinctrl {
342         hym8563 {                                 341         hym8563 {
343                 hym8563_int: hym8563-int {        342                 hym8563_int: hym8563-int {
344                         rockchip,pins = <4 RK_    343                         rockchip,pins = <4 RK_PD6 0 &pcfg_pull_up>;
345                 };                                344                 };
346         };                                        345         };
347                                                   346 
348         pcie {                                    347         pcie {
349                 pcie_pwr: pcie-pwr {              348                 pcie_pwr: pcie-pwr {
350                         rockchip,pins = <4 RK_    349                         rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>;
351                 };                                350                 };
352         };                                        351         };
353                                                   352 
354         pmic {                                    353         pmic {
355                 pmic_int_l: pmic-int-l {          354                 pmic_int_l: pmic-int-l {
356                         rockchip,pins = <1 RK_    355                         rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>;
357                 };                                356                 };
358         };                                        357         };
359                                                   358 
360         sdio-pwrseq {                             359         sdio-pwrseq {
361                 wifi_enable_h: wifi-enable-h {    360                 wifi_enable_h: wifi-enable-h {
362                         rockchip,pins = <2 RK_    361                         rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
363                 };                                362                 };
364         };                                        363         };
365                                                   364 
366         vbus_host {                               365         vbus_host {
367                 usb1_en_oc: usb1-en-oc {          366                 usb1_en_oc: usb1-en-oc {
368                         rockchip,pins = <4 RK_    367                         rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>;
369                 };                                368                 };
370         };                                        369         };
371                                                   370 
372         vbus_typec {                              371         vbus_typec {
373                 usb0_en_oc: usb0-en-oc {          372                 usb0_en_oc: usb0-en-oc {
374                         rockchip,pins = <4 RK_    373                         rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>;
375                 };                                374                 };
376         };                                        375         };
377 };                                                376 };
378                                                   377 
379 &pmu_io_domains {                                 378 &pmu_io_domains {
380         status = "okay";                          379         status = "okay";
381         pmu1830-supply = <&vcc_1v8>;              380         pmu1830-supply = <&vcc_1v8>;
382 };                                                381 };
383                                                   382 
384 &sdio_pwrseq {                                    383 &sdio_pwrseq {
385         /*                                        384         /*
386          * On the module itself this is one of    385          * On the module itself this is one of these (depending
387          * on the actual card populated):         386          * on the actual card populated):
388          * - SDIO_RESET_L_WL_REG_ON               387          * - SDIO_RESET_L_WL_REG_ON
389          * - PDN (power down when low)            388          * - PDN (power down when low)
390          */                                       389          */
391         reset-gpios = <&gpio2 RK_PD3 GPIO_ACTI    390         reset-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
392 };                                                391 };
393                                                   392 
394 &sdhci {                                          393 &sdhci {
395         bus-width = <8>;                          394         bus-width = <8>;
396         mmc-hs400-1_8v;                           395         mmc-hs400-1_8v;
397         mmc-hs400-enhanced-strobe;                396         mmc-hs400-enhanced-strobe;
398         non-removable;                            397         non-removable;
399         status = "okay";                          398         status = "okay";
400 };                                                399 };
401                                                   400 
402 &sdmmc {                                          401 &sdmmc {
403         cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_    402         cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
404         max-frequency = <150000000>;              403         max-frequency = <150000000>;
405 };                                                404 };
406                                                   405 
407 &tcphy0 {                                         406 &tcphy0 {
408         status = "okay";                          407         status = "okay";
409 };                                                408 };
410                                                   409 
411 &tsadc {                                          410 &tsadc {
412         rockchip,hw-tshut-mode = <1>;             411         rockchip,hw-tshut-mode = <1>;
413         rockchip,hw-tshut-polarity = <1>;         412         rockchip,hw-tshut-polarity = <1>;
414         status = "okay";                          413         status = "okay";
415 };                                                414 };
416                                                   415 
417 &u2phy0 {                                         416 &u2phy0 {
418         status = "okay";                          417         status = "okay";
419                                                   418 
420         u2phy0_otg: otg-port {                    419         u2phy0_otg: otg-port {
421                 phy-supply = <&vbus_typec>;       420                 phy-supply = <&vbus_typec>;
422                 status = "okay";                  421                 status = "okay";
423         };                                        422         };
424                                                   423 
425         u2phy0_host: host-port {                  424         u2phy0_host: host-port {
426                 phy-supply = <&vbus_host>;        425                 phy-supply = <&vbus_host>;
427                 status = "okay";                  426                 status = "okay";
428         };                                        427         };
429 };                                                428 };
430                                                   429 
431                                                   430 
432 &u2phy1 {                                         431 &u2phy1 {
433         status = "okay";                          432         status = "okay";
434                                                   433 
435         u2phy1_host: host-port {                  434         u2phy1_host: host-port {
436                 phy-supply = <&vbus_host>;        435                 phy-supply = <&vbus_host>;
437                 status = "okay";                  436                 status = "okay";
438         };                                        437         };
439 };                                                438 };
440                                                   439 
441 &usb_host0_ehci {                                 440 &usb_host0_ehci {
442         status = "okay";                          441         status = "okay";
443 };                                                442 };
444                                                   443 
445 &usb_host0_ohci {                                 444 &usb_host0_ohci {
446         status = "okay";                          445         status = "okay";
447 };                                                446 };
448                                                   447 
449 &usb_host1_ehci {                                 448 &usb_host1_ehci {
450         status = "okay";                          449         status = "okay";
451 };                                                450 };
452                                                   451 
453 &usb_host1_ohci {                                 452 &usb_host1_ohci {
454         status = "okay";                          453         status = "okay";
455 };                                                454 };
456                                                   455 
457 &usbdrd3_0 {                                      456 &usbdrd3_0 {
458         status = "okay";                          457         status = "okay";
459 };                                                458 };
460                                                   459 
461 &usbdrd_dwc3_0 {                                  460 &usbdrd_dwc3_0 {
462         status = "okay";                          461         status = "okay";
463 };                                                462 };
464                                                   463 
465 &vbus_host {                                      464 &vbus_host {
466         enable-active-high;                       465         enable-active-high;
467         gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH    466         gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; /* USB1_EN_OC# */
468         pinctrl-names = "default";                467         pinctrl-names = "default";
469         pinctrl-0 = <&usb1_en_oc>;                468         pinctrl-0 = <&usb1_en_oc>;
470 };                                                469 };
471                                                   470 
472 &vbus_typec {                                     471 &vbus_typec {
473         enable-active-high;                       472         enable-active-high;
474         gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH    473         gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; /* USB0_EN_OC# */
475         pinctrl-names = "default";                474         pinctrl-names = "default";
476         pinctrl-0 = <&usb0_en_oc>;                475         pinctrl-0 = <&usb0_en_oc>;
477 };                                                476 };
                                                      

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