~ [ 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.8.18)


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

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