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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/px30-evb.dts

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/px30-evb.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/px30-evb.dts (Version linux-5.5.19)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2018 Fuzhou Rockchip Electron      3  * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7 #include <dt-bindings/gpio/gpio.h>                  7 #include <dt-bindings/gpio/gpio.h>
  8 #include <dt-bindings/input/input.h>                8 #include <dt-bindings/input/input.h>
  9 #include <dt-bindings/pinctrl/rockchip.h>           9 #include <dt-bindings/pinctrl/rockchip.h>
 10 #include "px30.dtsi"                               10 #include "px30.dtsi"
 11                                                    11 
 12 / {                                                12 / {
 13         model = "Rockchip PX30 EVB";               13         model = "Rockchip PX30 EVB";
 14         compatible = "rockchip,px30-evb", "roc     14         compatible = "rockchip,px30-evb", "rockchip,px30";
 15                                                    15 
 16         aliases {                              << 
 17                 ethernet0 = &gmac;             << 
 18                 mmc0 = &sdmmc;                 << 
 19                 mmc1 = &sdio;                  << 
 20                 mmc2 = &emmc;                  << 
 21         };                                     << 
 22                                                << 
 23         chosen {                                   16         chosen {
 24                 stdout-path = "serial5:115200n     17                 stdout-path = "serial5:115200n8";
 25         };                                         18         };
 26                                                    19 
 27         adc-keys {                                 20         adc-keys {
 28                 compatible = "adc-keys";           21                 compatible = "adc-keys";
 29                 io-channels = <&saradc 2>;         22                 io-channels = <&saradc 2>;
 30                 io-channel-names = "buttons";      23                 io-channel-names = "buttons";
 31                 keyup-threshold-microvolt = <1     24                 keyup-threshold-microvolt = <1800000>;
 32                 poll-interval = <100>;             25                 poll-interval = <100>;
 33                                                    26 
 34                 button-esc {                   !!  27                 esc-key {
 35                         label = "esc";             28                         label = "esc";
 36                         linux,code = <KEY_ESC>     29                         linux,code = <KEY_ESC>;
 37                         press-threshold-microv     30                         press-threshold-microvolt = <1310000>;
 38                 };                                 31                 };
 39                                                    32 
 40                 button-home {                  !!  33                 home-key {
 41                         label = "home";            34                         label = "home";
 42                         linux,code = <KEY_HOME     35                         linux,code = <KEY_HOME>;
 43                         press-threshold-microv     36                         press-threshold-microvolt = <624000>;
 44                 };                                 37                 };
 45                                                    38 
 46                 button-menu {                  !!  39                 menu-key {
 47                         label = "menu";            40                         label = "menu";
 48                         linux,code = <KEY_MENU     41                         linux,code = <KEY_MENU>;
 49                         press-threshold-microv     42                         press-threshold-microvolt = <987000>;
 50                 };                                 43                 };
 51                                                    44 
 52                 button-down {                  !!  45                 vol-down-key {
 53                         label = "volume down";     46                         label = "volume down";
 54                         linux,code = <KEY_VOLU     47                         linux,code = <KEY_VOLUMEDOWN>;
 55                         press-threshold-microv     48                         press-threshold-microvolt = <300000>;
 56                 };                                 49                 };
 57                                                    50 
 58                 button-up {                    !!  51                 vol-up-key {
 59                         label = "volume up";       52                         label = "volume up";
 60                         linux,code = <KEY_VOLU     53                         linux,code = <KEY_VOLUMEUP>;
 61                         press-threshold-microv     54                         press-threshold-microvolt = <17000>;
 62                 };                                 55                 };
 63         };                                         56         };
 64                                                    57 
 65         backlight: backlight {                     58         backlight: backlight {
 66                 compatible = "pwm-backlight";      59                 compatible = "pwm-backlight";
 67                 pwms = <&pwm1 0 25000 0>;          60                 pwms = <&pwm1 0 25000 0>;
 68                 power-supply = <&vcc3v3_lcd>;      61                 power-supply = <&vcc3v3_lcd>;
 69         };                                         62         };
 70                                                    63 
 71         emmc_pwrseq: emmc-pwrseq {                 64         emmc_pwrseq: emmc-pwrseq {
 72                 compatible = "mmc-pwrseq-emmc"     65                 compatible = "mmc-pwrseq-emmc";
 73                 pinctrl-0 = <&emmc_reset>;         66                 pinctrl-0 = <&emmc_reset>;
 74                 pinctrl-names = "default";         67                 pinctrl-names = "default";
 75                 reset-gpios = <&gpio1 RK_PB3 G     68                 reset-gpios = <&gpio1 RK_PB3 GPIO_ACTIVE_HIGH>;
 76         };                                         69         };
 77                                                    70 
 78         sdio_pwrseq: sdio-pwrseq {                 71         sdio_pwrseq: sdio-pwrseq {
 79                 compatible = "mmc-pwrseq-simpl     72                 compatible = "mmc-pwrseq-simple";
 80                 pinctrl-names = "default";         73                 pinctrl-names = "default";
 81                 pinctrl-0 = <&wifi_enable_h>;      74                 pinctrl-0 = <&wifi_enable_h>;
 82                                                    75 
 83                 /*                                 76                 /*
 84                  * On the module itself this i     77                  * On the module itself this is one of these (depending
 85                  * on the actual card populate     78                  * on the actual card populated):
 86                  * - SDIO_RESET_L_WL_REG_ON        79                  * - SDIO_RESET_L_WL_REG_ON
 87                  * - PDN (power down when low)     80                  * - PDN (power down when low)
 88                  */                                81                  */
 89                 reset-gpios = <&gpio0 RK_PA2 G     82                 reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO3_A4 */
 90         };                                         83         };
 91                                                    84 
 92         vcc5v0_sys: vccsys {                       85         vcc5v0_sys: vccsys {
 93                 compatible = "regulator-fixed"     86                 compatible = "regulator-fixed";
 94                 regulator-name = "vcc5v0_sys";     87                 regulator-name = "vcc5v0_sys";
 95                 regulator-always-on;               88                 regulator-always-on;
 96                 regulator-boot-on;                 89                 regulator-boot-on;
 97                 regulator-min-microvolt = <500     90                 regulator-min-microvolt = <5000000>;
 98                 regulator-max-microvolt = <500     91                 regulator-max-microvolt = <5000000>;
 99         };                                         92         };
100 };                                                 93 };
101                                                    94 
102 &cpu0 {                                            95 &cpu0 {
103         cpu-supply = <&vdd_arm>;                   96         cpu-supply = <&vdd_arm>;
104 };                                                 97 };
105                                                    98 
106 &cpu1 {                                            99 &cpu1 {
107         cpu-supply = <&vdd_arm>;                  100         cpu-supply = <&vdd_arm>;
108 };                                                101 };
109                                                   102 
110 &cpu2 {                                           103 &cpu2 {
111         cpu-supply = <&vdd_arm>;                  104         cpu-supply = <&vdd_arm>;
112 };                                                105 };
113                                                   106 
114 &cpu3 {                                           107 &cpu3 {
115         cpu-supply = <&vdd_arm>;                  108         cpu-supply = <&vdd_arm>;
116 };                                                109 };
117                                                   110 
118 &csi_dphy {                                    << 
119         status = "okay";                       << 
120 };                                             << 
121                                                << 
122 &display_subsystem {                              111 &display_subsystem {
123         status = "okay";                          112         status = "okay";
124 };                                                113 };
125                                                   114 
126 &dsi {                                         << 
127         status = "okay";                       << 
128                                                << 
129         ports {                                << 
130                 mipi_out: port@1 {             << 
131                         reg = <1>;             << 
132                                                << 
133                         mipi_out_panel: endpoi << 
134                                 remote-endpoin << 
135                         };                     << 
136                 };                             << 
137         };                                     << 
138                                                << 
139         panel@0 {                              << 
140                 compatible = "xinpeng,xpp055c2 << 
141                 reg = <0>;                     << 
142                 backlight = <&backlight>;      << 
143                 iovcc-supply = <&vcc_1v8>;     << 
144                 vci-supply = <&vcc3v3_lcd>;    << 
145                                                << 
146                 port {                         << 
147                         mipi_in_panel: endpoin << 
148                                 remote-endpoin << 
149                         };                     << 
150                 };                             << 
151         };                                     << 
152 };                                             << 
153                                                << 
154 &dsi_dphy {                                    << 
155         status = "okay";                       << 
156 };                                             << 
157                                                << 
158 &emmc {                                           115 &emmc {
                                                   >> 116         bus-width = <8>;
159         cap-mmc-highspeed;                        117         cap-mmc-highspeed;
160         mmc-hs200-1_8v;                           118         mmc-hs200-1_8v;
161         non-removable;                            119         non-removable;
162         mmc-pwrseq = <&emmc_pwrseq>;              120         mmc-pwrseq = <&emmc_pwrseq>;
163         vmmc-supply = <&vcc_3v0>;                 121         vmmc-supply = <&vcc_3v0>;
164         vqmmc-supply = <&vccio_flash>;            122         vqmmc-supply = <&vccio_flash>;
165         status = "okay";                          123         status = "okay";
166 };                                                124 };
167                                                   125 
168 &gmac {                                           126 &gmac {
169         clock_in_out = "output";                  127         clock_in_out = "output";
170         phy-supply = <&vcc_rmii>;                 128         phy-supply = <&vcc_rmii>;
171         snps,reset-gpio = <&gpio2 13 GPIO_ACTI    129         snps,reset-gpio = <&gpio2 13 GPIO_ACTIVE_LOW>;
172         snps,reset-active-low;                    130         snps,reset-active-low;
173         snps,reset-delays-us = <0 50000 50000>    131         snps,reset-delays-us = <0 50000 50000>;
174         status = "okay";                          132         status = "okay";
175 };                                                133 };
176                                                   134 
177 &gpu {                                         << 
178         mali-supply = <&vdd_log>;              << 
179         status = "okay";                       << 
180 };                                             << 
181                                                << 
182 &i2c0 {                                           135 &i2c0 {
183         status = "okay";                          136         status = "okay";
184                                                   137 
185         rk809: pmic@20 {                          138         rk809: pmic@20 {
186                 compatible = "rockchip,rk809";    139                 compatible = "rockchip,rk809";
187                 reg = <0x20>;                     140                 reg = <0x20>;
188                 interrupt-parent = <&gpio0>;      141                 interrupt-parent = <&gpio0>;
189                 interrupts = <7 IRQ_TYPE_LEVEL    142                 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
190                 pinctrl-names = "default";        143                 pinctrl-names = "default";
191                 pinctrl-0 = <&pmic_int>;          144                 pinctrl-0 = <&pmic_int>;
192                 rockchip,system-power-controll    145                 rockchip,system-power-controller;
193                 wakeup-source;                    146                 wakeup-source;
194                 #clock-cells = <0>;               147                 #clock-cells = <0>;
195                 clock-output-names = "xin32k";    148                 clock-output-names = "xin32k";
196                                                   149 
197                 vcc1-supply = <&vcc5v0_sys>;      150                 vcc1-supply = <&vcc5v0_sys>;
198                 vcc2-supply = <&vcc5v0_sys>;      151                 vcc2-supply = <&vcc5v0_sys>;
199                 vcc3-supply = <&vcc5v0_sys>;      152                 vcc3-supply = <&vcc5v0_sys>;
200                 vcc4-supply = <&vcc5v0_sys>;      153                 vcc4-supply = <&vcc5v0_sys>;
201                 vcc5-supply = <&vcc3v3_sys>;      154                 vcc5-supply = <&vcc3v3_sys>;
202                 vcc6-supply = <&vcc3v3_sys>;      155                 vcc6-supply = <&vcc3v3_sys>;
203                 vcc7-supply = <&vcc3v3_sys>;      156                 vcc7-supply = <&vcc3v3_sys>;
204                 vcc8-supply = <&vcc3v3_sys>;      157                 vcc8-supply = <&vcc3v3_sys>;
205                 vcc9-supply = <&vcc5v0_sys>;      158                 vcc9-supply = <&vcc5v0_sys>;
206                                                   159 
207                 regulators {                      160                 regulators {
208                         vdd_log: DCDC_REG1 {      161                         vdd_log: DCDC_REG1 {
209                                 regulator-name    162                                 regulator-name = "vdd_log";
210                                 regulator-min-    163                                 regulator-min-microvolt = <950000>;
211                                 regulator-max-    164                                 regulator-max-microvolt = <1350000>;
212                                 regulator-ramp    165                                 regulator-ramp-delay = <6001>;
213                                 regulator-alwa    166                                 regulator-always-on;
214                                 regulator-boot    167                                 regulator-boot-on;
215                                                   168 
216                                 regulator-stat    169                                 regulator-state-mem {
217                                         regula    170                                         regulator-on-in-suspend;
218                                         regula    171                                         regulator-suspend-microvolt = <950000>;
219                                 };                172                                 };
220                         };                        173                         };
221                                                   174 
222                         vdd_arm: DCDC_REG2 {      175                         vdd_arm: DCDC_REG2 {
223                                 regulator-name    176                                 regulator-name = "vdd_arm";
224                                 regulator-min-    177                                 regulator-min-microvolt = <950000>;
225                                 regulator-max-    178                                 regulator-max-microvolt = <1350000>;
226                                 regulator-ramp    179                                 regulator-ramp-delay = <6001>;
227                                 regulator-alwa    180                                 regulator-always-on;
228                                 regulator-boot    181                                 regulator-boot-on;
229                                                   182 
230                                 regulator-stat    183                                 regulator-state-mem {
231                                         regula    184                                         regulator-off-in-suspend;
232                                         regula    185                                         regulator-suspend-microvolt = <950000>;
233                                 };                186                                 };
234                         };                        187                         };
235                                                   188 
236                         vcc_ddr: DCDC_REG3 {      189                         vcc_ddr: DCDC_REG3 {
237                                 regulator-name    190                                 regulator-name = "vcc_ddr";
238                                 regulator-alwa    191                                 regulator-always-on;
239                                 regulator-boot    192                                 regulator-boot-on;
240                                                   193 
241                                 regulator-stat    194                                 regulator-state-mem {
242                                         regula    195                                         regulator-on-in-suspend;
243                                 };                196                                 };
244                         };                        197                         };
245                                                   198 
246                         vcc_3v0: vcc_rmii: DCD    199                         vcc_3v0: vcc_rmii: DCDC_REG4 {
247                                 regulator-name    200                                 regulator-name = "vcc_3v0";
248                                 regulator-min-    201                                 regulator-min-microvolt = <3000000>;
249                                 regulator-max-    202                                 regulator-max-microvolt = <3000000>;
250                                 regulator-alwa    203                                 regulator-always-on;
251                                 regulator-boot    204                                 regulator-boot-on;
252                                                   205 
253                                 regulator-stat    206                                 regulator-state-mem {
254                                         regula    207                                         regulator-on-in-suspend;
255                                         regula    208                                         regulator-suspend-microvolt = <3000000>;
256                                 };                209                                 };
257                         };                        210                         };
258                                                   211 
259                         vcc3v3_sys: DCDC_REG5     212                         vcc3v3_sys: DCDC_REG5 {
260                                 regulator-name    213                                 regulator-name = "vcc3v3_sys";
261                                 regulator-min-    214                                 regulator-min-microvolt = <3300000>;
262                                 regulator-max-    215                                 regulator-max-microvolt = <3300000>;
263                                 regulator-alwa    216                                 regulator-always-on;
264                                 regulator-boot    217                                 regulator-boot-on;
265                                                   218 
266                                 regulator-stat    219                                 regulator-state-mem {
267                                         regula    220                                         regulator-on-in-suspend;
268                                         regula    221                                         regulator-suspend-microvolt = <3300000>;
269                                 };                222                                 };
270                         };                        223                         };
271                                                   224 
272                         vcc_1v0: LDO_REG1 {       225                         vcc_1v0: LDO_REG1 {
273                                 regulator-name    226                                 regulator-name = "vcc_1v0";
274                                 regulator-min-    227                                 regulator-min-microvolt = <1000000>;
275                                 regulator-max-    228                                 regulator-max-microvolt = <1000000>;
276                                 regulator-alwa    229                                 regulator-always-on;
277                                 regulator-boot    230                                 regulator-boot-on;
278                                                   231 
279                                 regulator-stat    232                                 regulator-state-mem {
280                                         regula    233                                         regulator-on-in-suspend;
281                                         regula    234                                         regulator-suspend-microvolt = <1000000>;
282                                 };                235                                 };
283                         };                        236                         };
284                                                   237 
285                         vcc_1v8: vccio_flash:     238                         vcc_1v8: vccio_flash: vccio_sdio: LDO_REG2 {
286                                 regulator-name    239                                 regulator-name = "vcc_1v8";
287                                 regulator-min-    240                                 regulator-min-microvolt = <1800000>;
288                                 regulator-max-    241                                 regulator-max-microvolt = <1800000>;
289                                 regulator-alwa    242                                 regulator-always-on;
290                                 regulator-boot    243                                 regulator-boot-on;
291                                                   244 
292                                 regulator-stat    245                                 regulator-state-mem {
293                                         regula    246                                         regulator-on-in-suspend;
294                                         regula    247                                         regulator-suspend-microvolt = <1800000>;
295                                 };                248                                 };
296                         };                        249                         };
297                                                   250 
298                         vdd_1v0: LDO_REG3 {       251                         vdd_1v0: LDO_REG3 {
299                                 regulator-name    252                                 regulator-name = "vdd_1v0";
300                                 regulator-min-    253                                 regulator-min-microvolt = <1000000>;
301                                 regulator-max-    254                                 regulator-max-microvolt = <1000000>;
302                                 regulator-alwa    255                                 regulator-always-on;
303                                 regulator-boot    256                                 regulator-boot-on;
304                                                   257 
305                                 regulator-stat    258                                 regulator-state-mem {
306                                         regula    259                                         regulator-on-in-suspend;
307                                         regula    260                                         regulator-suspend-microvolt = <1000000>;
308                                 };                261                                 };
309                         };                        262                         };
310                                                   263 
311                         vcc3v0_pmu: LDO_REG4 {    264                         vcc3v0_pmu: LDO_REG4 {
312                                 regulator-name    265                                 regulator-name = "vcc3v0_pmu";
313                                 regulator-min-    266                                 regulator-min-microvolt = <3000000>;
314                                 regulator-max-    267                                 regulator-max-microvolt = <3000000>;
315                                 regulator-alwa    268                                 regulator-always-on;
316                                 regulator-boot    269                                 regulator-boot-on;
317                                                   270 
318                                 regulator-stat    271                                 regulator-state-mem {
319                                         regula    272                                         regulator-on-in-suspend;
320                                         regula    273                                         regulator-suspend-microvolt = <3000000>;
321                                 };                274                                 };
322                         };                        275                         };
323                                                   276 
324                         vccio_sd: LDO_REG5 {      277                         vccio_sd: LDO_REG5 {
325                                 regulator-name    278                                 regulator-name = "vccio_sd";
326                                 regulator-min-    279                                 regulator-min-microvolt = <1800000>;
327                                 regulator-max-    280                                 regulator-max-microvolt = <3300000>;
328                                 regulator-alwa    281                                 regulator-always-on;
329                                 regulator-boot    282                                 regulator-boot-on;
330                                                   283 
331                                 regulator-stat    284                                 regulator-state-mem {
332                                         regula    285                                         regulator-on-in-suspend;
333                                         regula    286                                         regulator-suspend-microvolt = <3300000>;
334                                 };                287                                 };
335                         };                        288                         };
336                                                   289 
337                         vcc_sd: LDO_REG6 {        290                         vcc_sd: LDO_REG6 {
338                                 regulator-name    291                                 regulator-name = "vcc_sd";
339                                 regulator-min-    292                                 regulator-min-microvolt = <3300000>;
340                                 regulator-max-    293                                 regulator-max-microvolt = <3300000>;
341                                 regulator-boot    294                                 regulator-boot-on;
342                                                   295 
343                                 regulator-stat    296                                 regulator-state-mem {
344                                         regula    297                                         regulator-on-in-suspend;
345                                         regula    298                                         regulator-suspend-microvolt = <3300000>;
346                                 };                299                                 };
347                         };                        300                         };
348                                                   301 
349                         vcc2v8_dvp: LDO_REG7 {    302                         vcc2v8_dvp: LDO_REG7 {
350                                 regulator-name    303                                 regulator-name = "vcc2v8_dvp";
351                                 regulator-min-    304                                 regulator-min-microvolt = <2800000>;
352                                 regulator-max-    305                                 regulator-max-microvolt = <2800000>;
353                                 regulator-boot    306                                 regulator-boot-on;
354                                                   307 
355                                 regulator-stat    308                                 regulator-state-mem {
356                                         regula    309                                         regulator-off-in-suspend;
357                                         regula    310                                         regulator-suspend-microvolt = <2800000>;
358                                 };                311                                 };
359                         };                        312                         };
360                                                   313 
361                         vcc1v8_dvp: LDO_REG8 {    314                         vcc1v8_dvp: LDO_REG8 {
362                                 regulator-name    315                                 regulator-name = "vcc1v8_dvp";
363                                 regulator-min-    316                                 regulator-min-microvolt = <1800000>;
364                                 regulator-max-    317                                 regulator-max-microvolt = <1800000>;
365                                 regulator-boot    318                                 regulator-boot-on;
366                                                   319 
367                                 regulator-stat    320                                 regulator-state-mem {
368                                         regula    321                                         regulator-on-in-suspend;
369                                         regula    322                                         regulator-suspend-microvolt = <1800000>;
370                                 };                323                                 };
371                         };                        324                         };
372                                                   325 
373                         vcc1v5_dvp: LDO_REG9 {    326                         vcc1v5_dvp: LDO_REG9 {
374                                 regulator-name    327                                 regulator-name = "vcc1v5_dvp";
375                                 regulator-min-    328                                 regulator-min-microvolt = <1500000>;
376                                 regulator-max-    329                                 regulator-max-microvolt = <1500000>;
377                                 regulator-boot    330                                 regulator-boot-on;
378                                                   331 
379                                 regulator-stat    332                                 regulator-state-mem {
380                                         regula    333                                         regulator-off-in-suspend;
381                                         regula    334                                         regulator-suspend-microvolt = <1500000>;
382                                 };                335                                 };
383                         };                        336                         };
384                                                   337 
385                         vcc3v3_lcd: SWITCH_REG    338                         vcc3v3_lcd: SWITCH_REG1 {
386                                 regulator-name    339                                 regulator-name = "vcc3v3_lcd";
387                                 regulator-boot    340                                 regulator-boot-on;
388                         };                        341                         };
389                                                   342 
390                         vcc5v0_host: SWITCH_RE    343                         vcc5v0_host: SWITCH_REG2 {
391                                 regulator-name    344                                 regulator-name = "vcc5v0_host";
392                                 regulator-alwa    345                                 regulator-always-on;
393                                 regulator-boot    346                                 regulator-boot-on;
394                         };                        347                         };
395                 };                                348                 };
396         };                                        349         };
397 };                                                350 };
398                                                   351 
399 &i2c1 {                                           352 &i2c1 {
400         status = "okay";                          353         status = "okay";
401                                                   354 
402         sensor@d {                                355         sensor@d {
403                 compatible = "asahi-kasei,ak89    356                 compatible = "asahi-kasei,ak8963";
404                 reg = <0x0d>;                     357                 reg = <0x0d>;
405                 gpios = <&gpio0 RK_PB7 GPIO_AC    358                 gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
406                 vdd-supply = <&vcc3v0_pmu>;       359                 vdd-supply = <&vcc3v0_pmu>;
407                 mount-matrix = "1", /* x0 */      360                 mount-matrix = "1", /* x0 */
408                                "0", /* y0 */      361                                "0", /* y0 */
409                                "0", /* z0 */      362                                "0", /* z0 */
410                                "0", /* x1 */      363                                "0", /* x1 */
411                                "1", /* y1 */      364                                "1", /* y1 */
412                                "0", /* z1 */      365                                "0", /* z1 */
413                                "0", /* x2 */      366                                "0", /* x2 */
414                                "0", /* y2 */      367                                "0", /* y2 */
415                                "1"; /* z2 */      368                                "1"; /* z2 */
416         };                                        369         };
417                                                   370 
418         touchscreen@14 {                          371         touchscreen@14 {
419                 compatible = "goodix,gt1151";     372                 compatible = "goodix,gt1151";
420                 reg = <0x14>;                     373                 reg = <0x14>;
421                 interrupt-parent = <&gpio0>;      374                 interrupt-parent = <&gpio0>;
422                 interrupts = <RK_PA5 IRQ_TYPE_    375                 interrupts = <RK_PA5 IRQ_TYPE_LEVEL_LOW>;
423                 irq-gpios = <&gpio0 RK_PA5 GPI    376                 irq-gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
424                 reset-gpios = <&gpio0 RK_PB4 G    377                 reset-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
425                 VDDIO-supply = <&vcc3v3_lcd>;     378                 VDDIO-supply = <&vcc3v3_lcd>;
426         };                                        379         };
427                                                   380 
428         sensor@4c {                               381         sensor@4c {
429                 compatible = "fsl,mma7660";       382                 compatible = "fsl,mma7660";
430                 reg = <0x4c>;                     383                 reg = <0x4c>;
431                 interrupt-parent = <&gpio0>;      384                 interrupt-parent = <&gpio0>;
432                 interrupts = <RK_PB7 IRQ_TYPE_    385                 interrupts = <RK_PB7 IRQ_TYPE_LEVEL_LOW>;
433         };                                        386         };
434 };                                                387 };
435                                                   388 
436 &i2c2 {                                        << 
437         status = "okay";                       << 
438                                                << 
439         clock-frequency = <100000>;            << 
440                                                << 
441         /* These are relatively safe rise/fall << 
442         i2c-scl-falling-time-ns = <50>;        << 
443         i2c-scl-rising-time-ns = <300>;        << 
444                                                << 
445         ov5695: ov5695@36 {                    << 
446                 compatible = "ovti,ov5695";    << 
447                 reg = <0x36>;                  << 
448                 avdd-supply = <&vcc2v8_dvp>;   << 
449                 clocks = <&cru SCLK_CIF_OUT>;  << 
450                 clock-names = "xvclk";         << 
451                 dvdd-supply = <&vcc1v5_dvp>;   << 
452                 dovdd-supply = <&vcc1v8_dvp>;  << 
453                 pinctrl-names = "default";     << 
454                 pinctrl-0 = <&cif_clkout_m0 &m << 
455                 reset-gpios = <&gpio2 RK_PB6 G << 
456                                                << 
457                 port {                         << 
458                         ucam_out: endpoint {   << 
459                                 remote-endpoin << 
460                                 data-lanes = < << 
461                         };                     << 
462                 };                             << 
463         };                                     << 
464 };                                             << 
465                                                << 
466 &i2s1_2ch {                                       389 &i2s1_2ch {
467         status = "okay";                          390         status = "okay";
468 };                                                391 };
469                                                   392 
470 &io_domains {                                     393 &io_domains {
471         status = "okay";                          394         status = "okay";
472                                                   395 
473         vccio1-supply = <&vccio_sdio>;            396         vccio1-supply = <&vccio_sdio>;
474         vccio2-supply = <&vccio_sd>;              397         vccio2-supply = <&vccio_sd>;
475         vccio3-supply = <&vcc_3v0>;               398         vccio3-supply = <&vcc_3v0>;
476         vccio4-supply = <&vcc3v0_pmu>;            399         vccio4-supply = <&vcc3v0_pmu>;
477         vccio5-supply = <&vcc_3v0>;               400         vccio5-supply = <&vcc_3v0>;
478         vccio6-supply = <&vccio_flash>;           401         vccio6-supply = <&vccio_flash>;
479 };                                                402 };
480                                                   403 
481 &isp {                                         << 
482         status = "okay";                       << 
483                                                << 
484         ports {                                << 
485                 port@0 {                       << 
486                         mipi_in_ucam: endpoint << 
487                                 reg = <0>;     << 
488                                 data-lanes = < << 
489                                 remote-endpoin << 
490                         };                     << 
491                 };                             << 
492         };                                     << 
493 };                                             << 
494                                                << 
495 &isp_mmu {                                     << 
496         status = "okay";                       << 
497 };                                             << 
498                                                << 
499 &pinctrl {                                        404 &pinctrl {
500         headphone {                               405         headphone {
501                 hp_det: hp-det {                  406                 hp_det: hp-det {
502                         rockchip,pins =           407                         rockchip,pins =
503                                 <2 RK_PB0 RK_F    408                                 <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_down>;
504                 };                                409                 };
505         };                                        410         };
506                                                   411 
507         emmc {                                    412         emmc {
508                 emmc_reset: emmc-reset {          413                 emmc_reset: emmc-reset {
509                         rockchip,pins = <1 RK_    414                         rockchip,pins = <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
510                 };                                415                 };
511         };                                        416         };
512                                                   417 
513         pmic {                                    418         pmic {
514                 pmic_int: pmic_int {              419                 pmic_int: pmic_int {
515                         rockchip,pins =           420                         rockchip,pins =
516                                 <0 RK_PA7 RK_F    421                                 <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
517                 };                                422                 };
518                                                   423 
519                 soc_slppin_gpio: soc_slppin_gp    424                 soc_slppin_gpio: soc_slppin_gpio {
520                         rockchip,pins =           425                         rockchip,pins =
521                                 <0 RK_PA4 RK_F    426                                 <0 RK_PA4 RK_FUNC_GPIO &pcfg_output_low>;
522                 };                                427                 };
523                                                   428 
524                 soc_slppin_slp: soc_slppin_slp    429                 soc_slppin_slp: soc_slppin_slp {
525                         rockchip,pins =           430                         rockchip,pins =
526                                 <0 RK_PA4 1 &p    431                                 <0 RK_PA4 1 &pcfg_pull_none>;
527                 };                                432                 };
528                                                   433 
529                 soc_slppin_rst: soc_slppin_rst    434                 soc_slppin_rst: soc_slppin_rst {
530                         rockchip,pins =           435                         rockchip,pins =
531                                 <0 RK_PA4 2 &p    436                                 <0 RK_PA4 2 &pcfg_pull_none>;
532                 };                                437                 };
533         };                                        438         };
534                                                   439 
535         sdio-pwrseq {                             440         sdio-pwrseq {
536                 wifi_enable_h: wifi-enable-h {    441                 wifi_enable_h: wifi-enable-h {
537                         rockchip,pins =           442                         rockchip,pins =
538                                 <0 RK_PA2 RK_F    443                                 <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
539                 };                                444                 };
540         };                                        445         };
541                                                << 
542         cif-m0 {                               << 
543                 cif_clkout_m0: cif-clkout-m0 { << 
544                         rockchip,pins =        << 
545                                 <2 RK_PB3 1 &p << 
546                 };                             << 
547         };                                     << 
548                                                << 
549         mipi {                                 << 
550                 mipi_pdn: mipi-pdn {           << 
551                         rockchip,pins = <2 RK_ << 
552                 };                             << 
553         };                                     << 
554 };                                                446 };
555                                                   447 
556 &pmu_io_domains {                                 448 &pmu_io_domains {
557         status = "okay";                          449         status = "okay";
558                                                   450 
559         pmuio1-supply = <&vcc3v0_pmu>;            451         pmuio1-supply = <&vcc3v0_pmu>;
560         pmuio2-supply = <&vcc3v0_pmu>;            452         pmuio2-supply = <&vcc3v0_pmu>;
561 };                                                453 };
562                                                   454 
563 &pwm1 {                                           455 &pwm1 {
564         status = "okay";                          456         status = "okay";
565 };                                                457 };
566                                                   458 
567 &saradc {                                         459 &saradc {
568         vref-supply = <&vcc_1v8>;                 460         vref-supply = <&vcc_1v8>;
569         status = "okay";                          461         status = "okay";
570 };                                                462 };
571                                                   463 
572 &sdmmc {                                          464 &sdmmc {
                                                   >> 465         bus-width = <4>;
573         cap-mmc-highspeed;                        466         cap-mmc-highspeed;
574         cap-sd-highspeed;                         467         cap-sd-highspeed;
575         card-detect-delay = <800>;                468         card-detect-delay = <800>;
576         sd-uhs-sdr12;                             469         sd-uhs-sdr12;
577         sd-uhs-sdr25;                             470         sd-uhs-sdr25;
578         sd-uhs-sdr50;                             471         sd-uhs-sdr50;
579         sd-uhs-sdr104;                            472         sd-uhs-sdr104;
580         vmmc-supply = <&vcc_sd>;                  473         vmmc-supply = <&vcc_sd>;
581         vqmmc-supply = <&vccio_sd>;               474         vqmmc-supply = <&vccio_sd>;
582         status = "okay";                          475         status = "okay";
583 };                                                476 };
584                                                   477 
585 &sdio {                                           478 &sdio {
                                                   >> 479         bus-width = <4>;
586         cap-sd-highspeed;                         480         cap-sd-highspeed;
587         keep-power-in-suspend;                    481         keep-power-in-suspend;
588         non-removable;                            482         non-removable;
589         mmc-pwrseq = <&sdio_pwrseq>;              483         mmc-pwrseq = <&sdio_pwrseq>;
590         sd-uhs-sdr104;                            484         sd-uhs-sdr104;
591         status = "okay";                       << 
592 };                                             << 
593                                                << 
594 &tsadc {                                       << 
595         rockchip,hw-tshut-mode = <1>;          << 
596         rockchip,hw-tshut-polarity = <1>;      << 
597         status = "okay";                          485         status = "okay";
598 };                                                486 };
599                                                   487 
600 &u2phy {                                          488 &u2phy {
601         status = "okay";                          489         status = "okay";
602                                                   490 
603         u2phy_host: host-port {                   491         u2phy_host: host-port {
604                 status = "okay";                  492                 status = "okay";
605         };                                        493         };
606                                                   494 
607         u2phy_otg: otg-port {                     495         u2phy_otg: otg-port {
608                 status = "okay";                  496                 status = "okay";
609         };                                        497         };
610 };                                                498 };
611                                                   499 
612 &uart1 {                                          500 &uart1 {
613         pinctrl-names = "default";                501         pinctrl-names = "default";
614         pinctrl-0 = <&uart1_xfer &uart1_cts>;     502         pinctrl-0 = <&uart1_xfer &uart1_cts>;
615         status = "okay";                          503         status = "okay";
616 };                                                504 };
617                                                   505 
618 &uart5 {                                          506 &uart5 {
619         status = "okay";                          507         status = "okay";
620 };                                                508 };
621                                                   509 
622 &usb20_otg {                                      510 &usb20_otg {
623         status = "okay";                          511         status = "okay";
624 };                                                512 };
625                                                   513 
626 &usb_host0_ehci {                                 514 &usb_host0_ehci {
627         status = "okay";                          515         status = "okay";
628 };                                                516 };
629                                                   517 
630 &usb_host0_ohci {                                 518 &usb_host0_ohci {
631         status = "okay";                          519         status = "okay";
632 };                                                520 };
633                                                   521 
634 &vopb {                                           522 &vopb {
635         status = "okay";                          523         status = "okay";
636 };                                                524 };
637                                                   525 
638 &vopb_mmu {                                       526 &vopb_mmu {
639         status = "okay";                          527         status = "okay";
640 };                                                528 };
641                                                   529 
642 &vopl {                                           530 &vopl {
643         status = "okay";                          531         status = "okay";
644 };                                                532 };
645                                                   533 
646 &vopl_mmu {                                       534 &vopl_mmu {
647         status = "okay";                          535         status = "okay";
648 };                                                536 };
                                                      

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