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

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