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


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

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