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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3566-powkiddy-x55.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/rk3566-powkiddy-x55.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3566-powkiddy-x55.dts (Architecture m68k)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2                                                     2 
  3 /dts-v1/;                                           3 /dts-v1/;
  4                                                     4 
  5 #include <dt-bindings/gpio/gpio.h>                  5 #include <dt-bindings/gpio/gpio.h>
  6 #include <dt-bindings/input/linux-event-codes.      6 #include <dt-bindings/input/linux-event-codes.h>
  7 #include <dt-bindings/leds/common.h>                7 #include <dt-bindings/leds/common.h>
  8 #include <dt-bindings/pinctrl/rockchip.h>           8 #include <dt-bindings/pinctrl/rockchip.h>
  9 #include <dt-bindings/soc/rockchip,vop2.h>          9 #include <dt-bindings/soc/rockchip,vop2.h>
 10 #include "rk3566.dtsi"                             10 #include "rk3566.dtsi"
 11                                                    11 
 12 / {                                                12 / {
 13         model = "Powkiddy x55";                    13         model = "Powkiddy x55";
 14         chassis-type = "handset";                  14         chassis-type = "handset";
 15         compatible = "powkiddy,x55", "rockchip     15         compatible = "powkiddy,x55", "rockchip,rk3566";
 16                                                    16 
 17         aliases {                                  17         aliases {
 18                 mmc0 = &sdhci;                     18                 mmc0 = &sdhci;
 19                 mmc1 = &sdmmc0;                    19                 mmc1 = &sdmmc0;
 20                 mmc2 = &sdmmc2;                    20                 mmc2 = &sdmmc2;
 21                 mmc3 = &sdmmc1;                    21                 mmc3 = &sdmmc1;
 22         };                                         22         };
 23                                                    23 
 24         chosen: chosen {                           24         chosen: chosen {
 25                 stdout-path = "serial2:1500000     25                 stdout-path = "serial2:1500000n8";
 26         };                                         26         };
 27                                                    27 
 28         adc_joystick: adc-joystick {               28         adc_joystick: adc-joystick {
 29                 compatible = "adc-joystick";       29                 compatible = "adc-joystick";
 30                 io-channels = <&saradc 0>, <&s     30                 io-channels = <&saradc 0>, <&saradc 1>,
 31                               <&saradc 2>, <&s     31                               <&saradc 2>, <&saradc 3>;
 32                 poll-interval = <60>;              32                 poll-interval = <60>;
 33                 #address-cells = <1>;              33                 #address-cells = <1>;
 34                 #size-cells = <0>;                 34                 #size-cells = <0>;
 35                                                    35 
 36                 axis@0 {                           36                 axis@0 {
 37                         reg = <0>;                 37                         reg = <0>;
 38                         abs-flat = <30>;           38                         abs-flat = <30>;
 39                         abs-fuzz = <20>;           39                         abs-fuzz = <20>;
 40                         abs-range = <15 1023>;     40                         abs-range = <15 1023>;
 41                         linux,code = <ABS_X>;      41                         linux,code = <ABS_X>;
 42                 };                                 42                 };
 43                                                    43 
 44                 axis@1 {                           44                 axis@1 {
 45                         reg = <1>;                 45                         reg = <1>;
 46                         abs-flat = <30>;           46                         abs-flat = <30>;
 47                         abs-fuzz = <20>;           47                         abs-fuzz = <20>;
 48                         abs-range = <1023 15>;     48                         abs-range = <1023 15>;
 49                         linux,code = <ABS_Y>;      49                         linux,code = <ABS_Y>;
 50                 };                                 50                 };
 51                                                    51 
 52                 axis@2 {                           52                 axis@2 {
 53                         reg = <2>;                 53                         reg = <2>;
 54                         abs-flat = <30>;           54                         abs-flat = <30>;
 55                         abs-fuzz = <20>;           55                         abs-fuzz = <20>;
 56                         abs-range = <15 1023>;     56                         abs-range = <15 1023>;
 57                         linux,code = <ABS_RX>;     57                         linux,code = <ABS_RX>;
 58                 };                                 58                 };
 59                                                    59 
 60                 axis@3 {                           60                 axis@3 {
 61                         reg = <3>;                 61                         reg = <3>;
 62                         abs-flat = <30>;           62                         abs-flat = <30>;
 63                         abs-fuzz = <20>;           63                         abs-fuzz = <20>;
 64                         abs-range = <1023 15>;     64                         abs-range = <1023 15>;
 65                         linux,code = <ABS_RY>;     65                         linux,code = <ABS_RY>;
 66                 };                                 66                 };
 67         };                                         67         };
 68                                                    68 
 69         backlight: backlight {                     69         backlight: backlight {
 70                 compatible = "pwm-backlight";      70                 compatible = "pwm-backlight";
 71                 power-supply = <&vcc_sys>;         71                 power-supply = <&vcc_sys>;
 72                 pwms = <&pwm4 0 25000 0>;          72                 pwms = <&pwm4 0 25000 0>;
 73         };                                         73         };
 74                                                    74 
 75         battery: battery {                         75         battery: battery {
 76                 compatible = "simple-battery";     76                 compatible = "simple-battery";
 77                 charge-full-design-microamp-ho     77                 charge-full-design-microamp-hours = <4000000>;
 78                 charge-term-current-microamp =     78                 charge-term-current-microamp = <300000>;
 79                 constant-charge-current-max-mi     79                 constant-charge-current-max-microamp = <2000000>;
 80                 constant-charge-voltage-max-mi     80                 constant-charge-voltage-max-microvolt = <4300000>;
 81                 factory-internal-resistance-mi     81                 factory-internal-resistance-micro-ohms = <91000>;
 82                 voltage-max-design-microvolt =     82                 voltage-max-design-microvolt = <4138000>;
 83                 voltage-min-design-microvolt =     83                 voltage-min-design-microvolt = <3400000>;
 84                                                    84 
 85                 ocv-capacity-celsius = <20>;       85                 ocv-capacity-celsius = <20>;
 86                 ocv-capacity-table-0 =  <41380     86                 ocv-capacity-table-0 =  <4138000 100>, <4083000 95>, <4059000 90>, <4044000 85>,
 87                                         <40300     87                                         <4030000 80>, <4020000 75>, <4006000 70>, <3972000 65>,
 88                                         <39340     88                                         <3934000 60>, <3904000 55>, <3878000 50>, <3857000 45>,
 89                                         <38430     89                                         <3843000 40>, <3826000 35>, <3801000 30>, <3768000 25>,
 90                                         <37350     90                                         <3735000 20>, <3688000 15>, <3621000 10>, <3553000 5>,
 91                                         <34000     91                                         <3400000 0>;
 92         };                                         92         };
 93                                                    93 
 94         gpio_keys_control: gpio-keys-control {     94         gpio_keys_control: gpio-keys-control {
 95                 compatible = "gpio-keys";          95                 compatible = "gpio-keys";
 96                 pinctrl-0 = <&btn_pins_ctrl>;      96                 pinctrl-0 = <&btn_pins_ctrl>;
 97                 pinctrl-names = "default";         97                 pinctrl-names = "default";
 98                                                    98 
 99                 button-a {                         99                 button-a {
100                         gpios = <&gpio3 RK_PD3    100                         gpios = <&gpio3 RK_PD3 GPIO_ACTIVE_LOW>;
101                         label = "EAST";           101                         label = "EAST";
102                         linux,code = <BTN_EAST    102                         linux,code = <BTN_EAST>;
103                 };                                103                 };
104                                                   104 
105                 button-b {                        105                 button-b {
106                         gpios = <&gpio3 RK_PD2    106                         gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_LOW>;
107                         label = "SOUTH";          107                         label = "SOUTH";
108                         linux,code = <BTN_SOUT    108                         linux,code = <BTN_SOUTH>;
109                 };                                109                 };
110                                                   110 
111                 button-down {                     111                 button-down {
112                         gpios = <&gpio4 RK_PA1    112                         gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_LOW>;
113                         label = "DPAD-DOWN";      113                         label = "DPAD-DOWN";
114                         linux,code = <BTN_DPAD    114                         linux,code = <BTN_DPAD_DOWN>;
115                 };                                115                 };
116                                                   116 
117                 button-l1 {                       117                 button-l1 {
118                         gpios = <&gpio3 RK_PD0    118                         gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_LOW>;
119                         label = "TL";             119                         label = "TL";
120                         linux,code = <BTN_TL>;    120                         linux,code = <BTN_TL>;
121                 };                                121                 };
122                                                   122 
123                 button-l2 {                       123                 button-l2 {
124                         gpios = <&gpio3 RK_PD1    124                         gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_LOW>;
125                         label = "TL2";            125                         label = "TL2";
126                         linux,code = <BTN_TL2>    126                         linux,code = <BTN_TL2>;
127                 };                                127                 };
128                                                   128 
129                 button-left {                     129                 button-left {
130                         gpios = <&gpio3 RK_PD6    130                         gpios = <&gpio3 RK_PD6 GPIO_ACTIVE_LOW>;
131                         label = "DPAD-LEFT";      131                         label = "DPAD-LEFT";
132                         linux,code = <BTN_DPAD    132                         linux,code = <BTN_DPAD_LEFT>;
133                 };                                133                 };
134                                                   134 
135                 button-right {                    135                 button-right {
136                         gpios = <&gpio3 RK_PD7    136                         gpios = <&gpio3 RK_PD7 GPIO_ACTIVE_LOW>;
137                         label = "DPAD-RIGHT";     137                         label = "DPAD-RIGHT";
138                         linux,code = <BTN_DPAD    138                         linux,code = <BTN_DPAD_RIGHT>;
139                 };                                139                 };
140                                                   140 
141                 button-select {                   141                 button-select {
142                         gpios = <&gpio4 RK_PA4    142                         gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_LOW>;
143                         label = "SELECT";         143                         label = "SELECT";
144                         linux,code = <BTN_SELE    144                         linux,code = <BTN_SELECT>;
145                 };                                145                 };
146                                                   146 
147                 button-start {                    147                 button-start {
148                         gpios = <&gpio4 RK_PA2    148                         gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_LOW>;
149                         label = "START";          149                         label = "START";
150                         linux,code = <BTN_STAR    150                         linux,code = <BTN_START>;
151                 };                                151                 };
152                                                   152 
153                 button-thumbl {                   153                 button-thumbl {
154                         gpios = <&gpio4 RK_PA7    154                         gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_LOW>;
155                         label = "THUMBL";         155                         label = "THUMBL";
156                         linux,code = <BTN_THUM    156                         linux,code = <BTN_THUMBL>;
157                 };                                157                 };
158                                                   158 
159                 button-thumbr {                   159                 button-thumbr {
160                         gpios = <&gpio4 RK_PB0    160                         gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
161                         label = "THUMBR";         161                         label = "THUMBR";
162                         linux,code = <BTN_THUM    162                         linux,code = <BTN_THUMBR>;
163                 };                                163                 };
164                                                   164 
165                 button-r1 {                       165                 button-r1 {
166                         gpios = <&gpio3 RK_PC6    166                         gpios = <&gpio3 RK_PC6 GPIO_ACTIVE_LOW>;
167                         label = "TR";             167                         label = "TR";
168                         linux,code = <BTN_TR>;    168                         linux,code = <BTN_TR>;
169                 };                                169                 };
170                                                   170 
171                 button-r2 {                       171                 button-r2 {
172                         gpios = <&gpio3 RK_PC7    172                         gpios = <&gpio3 RK_PC7 GPIO_ACTIVE_LOW>;
173                         label = "TR2";            173                         label = "TR2";
174                         linux,code = <BTN_TR2>    174                         linux,code = <BTN_TR2>;
175                 };                                175                 };
176                                                   176 
177                 button-up {                       177                 button-up {
178                         gpios = <&gpio4 RK_PA0    178                         gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
179                         label = "DPAD-UP";        179                         label = "DPAD-UP";
180                         linux,code = <BTN_DPAD    180                         linux,code = <BTN_DPAD_UP>;
181                 };                                181                 };
182                                                   182 
183                 button-x {                        183                 button-x {
184                         gpios = <&gpio3 RK_PD5    184                         gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>;
185                         label = "NORTH";          185                         label = "NORTH";
186                         linux,code = <BTN_NORT    186                         linux,code = <BTN_NORTH>;
187                 };                                187                 };
188                                                   188 
189                 button-y {                        189                 button-y {
190                         gpios = <&gpio3 RK_PD4    190                         gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>;
191                         label = "WEST";           191                         label = "WEST";
192                         linux,code = <BTN_WEST    192                         linux,code = <BTN_WEST>;
193                 };                                193                 };
194         };                                        194         };
195                                                   195 
196         gpio_keys_vol: gpio-keys-vol {            196         gpio_keys_vol: gpio-keys-vol {
197                 compatible = "gpio-keys";         197                 compatible = "gpio-keys";
198                 autorepeat;                       198                 autorepeat;
199                 pinctrl-0 = <&btn_pins_vol>;      199                 pinctrl-0 = <&btn_pins_vol>;
200                 pinctrl-names = "default";        200                 pinctrl-names = "default";
201                                                   201 
202                 button-voldown {                  202                 button-voldown {
203                         gpios = <&gpio4 RK_PA3    203                         gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_LOW>;
204                         label = "VOLUMEDOWN";     204                         label = "VOLUMEDOWN";
205                         linux,code = <KEY_VOLU    205                         linux,code = <KEY_VOLUMEDOWN>;
206                 };                                206                 };
207                                                   207 
208                 button-volup {                    208                 button-volup {
209                         gpios = <&gpio4 RK_PA5    209                         gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_LOW>;
210                         label = "VOLUMEUP";       210                         label = "VOLUMEUP";
211                         linux,code = <KEY_VOLU    211                         linux,code = <KEY_VOLUMEUP>;
212                 };                                212                 };
213         };                                        213         };
214                                                   214 
215         gpio_leds: gpio-leds {                    215         gpio_leds: gpio-leds {
216                 compatible = "gpio-leds";         216                 compatible = "gpio-leds";
217                 pinctrl-names = "default";        217                 pinctrl-names = "default";
218                 pinctrl-0 = <&led_pins>;          218                 pinctrl-0 = <&led_pins>;
219                                                   219 
220                 red_led: led-0 {                  220                 red_led: led-0 {
221                         color = <LED_COLOR_ID_    221                         color = <LED_COLOR_ID_RED>;
222                         default-state = "off";    222                         default-state = "off";
223                         gpios = <&gpio4 RK_PB4    223                         gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
224                         function = LED_FUNCTIO    224                         function = LED_FUNCTION_STATUS;
225                 };                                225                 };
226                                                   226 
227                 green_led: led-1 {                227                 green_led: led-1 {
228                         color = <LED_COLOR_ID_    228                         color = <LED_COLOR_ID_GREEN>;
229                         default-state = "on";     229                         default-state = "on";
230                         gpios = <&gpio4 RK_PB5    230                         gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>;
231                         function = LED_FUNCTIO    231                         function = LED_FUNCTION_POWER;
232                 };                                232                 };
233                                                   233 
234                 amber_led: led-2 {                234                 amber_led: led-2 {
235                         color = <LED_COLOR_ID_    235                         color = <LED_COLOR_ID_AMBER>;
236                         gpios = <&gpio4 RK_PB6    236                         gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
237                         function = LED_FUNCTIO    237                         function = LED_FUNCTION_CHARGING;
238                 };                                238                 };
239                                                   239 
240         };                                        240         };
241                                                   241 
242         hdmi-con {                                242         hdmi-con {
243                 compatible = "hdmi-connector";    243                 compatible = "hdmi-connector";
244                 ddc-i2c-bus = <&i2c5>;            244                 ddc-i2c-bus = <&i2c5>;
245                 type = "c";                       245                 type = "c";
246                                                   246 
247                 port {                            247                 port {
248                         hdmi_con_in: endpoint     248                         hdmi_con_in: endpoint {
249                                 remote-endpoin    249                                 remote-endpoint = <&hdmi_out_con>;
250                         };                        250                         };
251                 };                                251                 };
252         };                                        252         };
253                                                   253 
254         sdio_pwrseq: sdio-pwrseq {                254         sdio_pwrseq: sdio-pwrseq {
255                 compatible = "mmc-pwrseq-simpl    255                 compatible = "mmc-pwrseq-simple";
256                 clocks = <&rk817 1>;              256                 clocks = <&rk817 1>;
257                 clock-names = "ext_clock";        257                 clock-names = "ext_clock";
258                 pinctrl-0 = <&wifi_enable_h>;     258                 pinctrl-0 = <&wifi_enable_h>;
259                 pinctrl-names = "default";        259                 pinctrl-names = "default";
260                 post-power-on-delay-ms = <200>    260                 post-power-on-delay-ms = <200>;
261                 reset-gpios = <&gpio0 RK_PC0 G    261                 reset-gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_LOW>;
262         };                                        262         };
263                                                   263 
264         /* Channels reversed for both headphon    264         /* Channels reversed for both headphones and speakers. */
265         sound {                                   265         sound {
266                 compatible = "simple-audio-car    266                 compatible = "simple-audio-card";
267                 pinctrl-0 = <&hp_det>;            267                 pinctrl-0 = <&hp_det>;
268                 pinctrl-names = "default";        268                 pinctrl-names = "default";
269                 simple-audio-card,name = "rk81    269                 simple-audio-card,name = "rk817_ext";
270                 simple-audio-card,aux-devs = <    270                 simple-audio-card,aux-devs = <&spk_amp>;
271                 simple-audio-card,format = "i2    271                 simple-audio-card,format = "i2s";
272                 simple-audio-card,hp-det-gpio     272                 simple-audio-card,hp-det-gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
273                 simple-audio-card,mclk-fs = <2    273                 simple-audio-card,mclk-fs = <256>;
274                 simple-audio-card,widgets =       274                 simple-audio-card,widgets =
275                         "Microphone", "Mic Jac    275                         "Microphone", "Mic Jack",
276                         "Headphone", "Headphon    276                         "Headphone", "Headphones",
277                         "Speaker", "Internal S    277                         "Speaker", "Internal Speakers";
278                 simple-audio-card,routing =       278                 simple-audio-card,routing =
279                         "MICL", "Mic Jack",       279                         "MICL", "Mic Jack",
280                         "Headphones", "HPOL",     280                         "Headphones", "HPOL",
281                         "Headphones", "HPOR",     281                         "Headphones", "HPOR",
282                         "Internal Speakers", "    282                         "Internal Speakers", "Speaker Amp OUTL",
283                         "Internal Speakers", "    283                         "Internal Speakers", "Speaker Amp OUTR",
284                         "Speaker Amp INL", "HP    284                         "Speaker Amp INL", "HPOL",
285                         "Speaker Amp INR", "HP    285                         "Speaker Amp INR", "HPOR";
286                 simple-audio-card,pin-switches    286                 simple-audio-card,pin-switches = "Internal Speakers";
287                                                   287 
288                 simple-audio-card,codec {         288                 simple-audio-card,codec {
289                         sound-dai = <&rk817>;     289                         sound-dai = <&rk817>;
290                 };                                290                 };
291                                                   291 
292                 simple-audio-card,cpu {           292                 simple-audio-card,cpu {
293                         sound-dai = <&i2s1_8ch    293                         sound-dai = <&i2s1_8ch>;
294                 };                                294                 };
295         };                                        295         };
296                                                   296 
297         spk_amp: audio-amplifier {                297         spk_amp: audio-amplifier {
298                 compatible = "simple-audio-amp    298                 compatible = "simple-audio-amplifier";
299                 enable-gpios = <&gpio4 RK_PC2     299                 enable-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
300                 pinctrl-0 = <&spk_amp_enable_h    300                 pinctrl-0 = <&spk_amp_enable_h>;
301                 pinctrl-names = "default";        301                 pinctrl-names = "default";
302                 sound-name-prefix = "Speaker A    302                 sound-name-prefix = "Speaker Amp";
303         };                                        303         };
304                                                   304 
305         vcc5v0_host: regulator-vcc5v0-host {      305         vcc5v0_host: regulator-vcc5v0-host {
306                 compatible = "regulator-fixed"    306                 compatible = "regulator-fixed";
307                 enable-active-high;               307                 enable-active-high;
308                 gpio = <&gpio4 RK_PC4 GPIO_ACT    308                 gpio = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>;
309                 pinctrl-0 = <&vcc5v0_host_en>;    309                 pinctrl-0 = <&vcc5v0_host_en>;
310                 pinctrl-names = "default";        310                 pinctrl-names = "default";
311                 regulator-name = "vcc5v0_host"    311                 regulator-name = "vcc5v0_host";
312                 vin-supply = <&dcdc_boost>;       312                 vin-supply = <&dcdc_boost>;
313         };                                        313         };
314                                                   314 
315         vcc_lcd: regulator-vcc-lcd {              315         vcc_lcd: regulator-vcc-lcd {
316                 compatible = "regulator-fixed"    316                 compatible = "regulator-fixed";
317                 enable-active-high;               317                 enable-active-high;
318                 gpio = <&gpio0 RK_PC7 GPIO_ACT    318                 gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
319                 pinctrl-0 = <&vcc_lcd_en>;        319                 pinctrl-0 = <&vcc_lcd_en>;
320                 pinctrl-names = "default";        320                 pinctrl-names = "default";
321                 regulator-min-microvolt = <330    321                 regulator-min-microvolt = <3300000>;
322                 regulator-max-microvolt = <330    322                 regulator-max-microvolt = <3300000>;
323                 regulator-name = "vcc_lcd";       323                 regulator-name = "vcc_lcd";
324         };                                        324         };
325                                                   325 
326         vcc_sys: regulator-vcc-sys {              326         vcc_sys: regulator-vcc-sys {
327                 compatible = "regulator-fixed"    327                 compatible = "regulator-fixed";
328                 regulator-always-on;              328                 regulator-always-on;
329                 regulator-boot-on;                329                 regulator-boot-on;
330                 regulator-min-microvolt = <380    330                 regulator-min-microvolt = <3800000>;
331                 regulator-max-microvolt = <380    331                 regulator-max-microvolt = <3800000>;
332                 regulator-name = "vcc_sys";       332                 regulator-name = "vcc_sys";
333         };                                        333         };
334                                                   334 
335         vcc_wifi: regulator-vcc-wifi {            335         vcc_wifi: regulator-vcc-wifi {
336                 compatible = "regulator-fixed"    336                 compatible = "regulator-fixed";
337                 gpio = <&gpio0 RK_PA0 GPIO_ACT    337                 gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
338                 pinctrl-0 = <&vcc_wifi_h>;        338                 pinctrl-0 = <&vcc_wifi_h>;
339                 pinctrl-names = "default";        339                 pinctrl-names = "default";
340                 regulator-min-microvolt = <330    340                 regulator-min-microvolt = <3300000>;
341                 regulator-max-microvolt = <330    341                 regulator-max-microvolt = <3300000>;
342                 regulator-name = "vcc_wifi";      342                 regulator-name = "vcc_wifi";
343         };                                        343         };
344 };                                                344 };
345                                                   345 
346 &combphy1 {                                       346 &combphy1 {
347         status = "okay";                          347         status = "okay";
348 };                                                348 };
349                                                   349 
350 &cru {                                            350 &cru {
351         assigned-clocks = <&pmucru CLK_RTC_32K    351         assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
352                           <&pmucru PLL_PPLL>,     352                           <&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
353         assigned-clock-rates = <32768>, <12000    353         assigned-clock-rates = <32768>, <1200000000>,
354                                <200000000>, <1    354                                <200000000>, <126400000>;
355 };                                                355 };
356                                                   356 
357 &cpu0 {                                           357 &cpu0 {
358         cpu-supply = <&vdd_cpu>;                  358         cpu-supply = <&vdd_cpu>;
359 };                                                359 };
360                                                   360 
361 &cpu1 {                                           361 &cpu1 {
362         cpu-supply = <&vdd_cpu>;                  362         cpu-supply = <&vdd_cpu>;
363 };                                                363 };
364                                                   364 
365 &cpu2 {                                           365 &cpu2 {
366         cpu-supply = <&vdd_cpu>;                  366         cpu-supply = <&vdd_cpu>;
367 };                                                367 };
368                                                   368 
369 &cpu3 {                                           369 &cpu3 {
370         cpu-supply = <&vdd_cpu>;                  370         cpu-supply = <&vdd_cpu>;
371 };                                                371 };
372                                                   372 
373 &dsi_dphy0 {                                      373 &dsi_dphy0 {
374         status = "okay";                          374         status = "okay";
375 };                                                375 };
376                                                   376 
377 &dsi0 {                                           377 &dsi0 {
378         status = "okay";                          378         status = "okay";
379         #address-cells = <1>;                     379         #address-cells = <1>;
380         #size-cells = <0>;                        380         #size-cells = <0>;
381                                                   381 
382         ports {                                   382         ports {
383                 dsi0_in: port@0 {                 383                 dsi0_in: port@0 {
384                         reg = <0>;                384                         reg = <0>;
385                         dsi0_in_vp1: endpoint     385                         dsi0_in_vp1: endpoint {
386                                 remote-endpoin    386                                 remote-endpoint = <&vp1_out_dsi0>;
387                         };                        387                         };
388                 };                                388                 };
389                                                   389 
390                 dsi0_out: port@1 {                390                 dsi0_out: port@1 {
391                         reg = <1>;                391                         reg = <1>;
392                         mipi_out_panel: endpoi    392                         mipi_out_panel: endpoint {
393                                 remote-endpoin    393                                 remote-endpoint = <&mipi_in_panel>;
394                         };                        394                         };
395                 };                                395                 };
396         };                                        396         };
397                                                   397 
398         panel: panel@0 {                          398         panel: panel@0 {
399                 compatible = "powkiddy,x55-pan    399                 compatible = "powkiddy,x55-panel", "himax,hx8394";
400                 reg = <0>;                        400                 reg = <0>;
401                 backlight = <&backlight>;         401                 backlight = <&backlight>;
402                 iovcc-supply = <&vcc_lcd>;        402                 iovcc-supply = <&vcc_lcd>;
403                 pinctrl-names = "default";        403                 pinctrl-names = "default";
404                 pinctrl-0 = <&lcd_rst>;           404                 pinctrl-0 = <&lcd_rst>;
405                 reset-gpios = <&gpio0 RK_PD5 G    405                 reset-gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_LOW>;
406                 rotation = <270>;                 406                 rotation = <270>;
407                 vcc-supply = <&vcc_lcd>;          407                 vcc-supply = <&vcc_lcd>;
408                                                   408 
409                 port {                            409                 port {
410                         mipi_in_panel: endpoin    410                         mipi_in_panel: endpoint {
411                                 remote-endpoin    411                                 remote-endpoint = <&mipi_out_panel>;
412                         };                        412                         };
413                 };                                413                 };
414         };                                        414         };
415 };                                                415 };
416                                                   416 
417 &gpu {                                            417 &gpu {
418         mali-supply = <&vdd_gpu>;                 418         mali-supply = <&vdd_gpu>;
419         status = "okay";                          419         status = "okay";
420 };                                                420 };
421                                                   421 
422 &hdmi {                                           422 &hdmi {
423         ddc-i2c-bus = <&i2c5>;                    423         ddc-i2c-bus = <&i2c5>;
424         pinctrl-0 = <&hdmitxm0_cec>;              424         pinctrl-0 = <&hdmitxm0_cec>;
425         pinctrl-names = "default";                425         pinctrl-names = "default";
426         status = "okay";                          426         status = "okay";
427 };                                                427 };
428                                                   428 
429 &hdmi_in {                                        429 &hdmi_in {
430         hdmi_in_vp0: endpoint {                   430         hdmi_in_vp0: endpoint {
431                 remote-endpoint = <&vp0_out_hd    431                 remote-endpoint = <&vp0_out_hdmi>;
432         };                                        432         };
433 };                                                433 };
434                                                   434 
435 &hdmi_out {                                       435 &hdmi_out {
436         hdmi_out_con: endpoint {                  436         hdmi_out_con: endpoint {
437                 remote-endpoint = <&hdmi_con_i    437                 remote-endpoint = <&hdmi_con_in>;
438         };                                        438         };
439 };                                                439 };
440                                                   440 
441 &hdmi_sound {                                     441 &hdmi_sound {
442         status = "okay";                          442         status = "okay";
443 };                                                443 };
444                                                   444 
445 &i2c0 {                                           445 &i2c0 {
446         status = "okay";                          446         status = "okay";
447                                                   447 
448         rk817: pmic@20 {                          448         rk817: pmic@20 {
449                 compatible = "rockchip,rk817";    449                 compatible = "rockchip,rk817";
450                 reg = <0x20>;                     450                 reg = <0x20>;
451                 assigned-clocks = <&cru I2S1_M    451                 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
452                 assigned-clock-parents = <&cru    452                 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
453                 clock-names = "mclk";             453                 clock-names = "mclk";
454                 clock-output-names = "rk808-cl    454                 clock-output-names = "rk808-clkout1", "rk808-clkout2";
455                 clocks = <&cru I2S1_MCLKOUT_TX    455                 clocks = <&cru I2S1_MCLKOUT_TX>;
456                 interrupt-parent = <&gpio0>;      456                 interrupt-parent = <&gpio0>;
457                 interrupts = <RK_PA3 IRQ_TYPE_    457                 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
458                 pinctrl-names = "default";        458                 pinctrl-names = "default";
459                 pinctrl-0 = <&i2s1m0_mclk>, <&    459                 pinctrl-0 = <&i2s1m0_mclk>, <&pmic_int_l>;
460                 wakeup-source;                    460                 wakeup-source;
461                 #clock-cells = <1>;               461                 #clock-cells = <1>;
462                 #sound-dai-cells = <0>;           462                 #sound-dai-cells = <0>;
463                                                   463 
464                 vcc1-supply = <&vcc_sys>;         464                 vcc1-supply = <&vcc_sys>;
465                 vcc2-supply = <&vcc_sys>;         465                 vcc2-supply = <&vcc_sys>;
466                 vcc3-supply = <&vcc_sys>;         466                 vcc3-supply = <&vcc_sys>;
467                 vcc4-supply = <&vcc_sys>;         467                 vcc4-supply = <&vcc_sys>;
468                 vcc5-supply = <&vcc_sys>;         468                 vcc5-supply = <&vcc_sys>;
469                 vcc6-supply = <&vcc_sys>;         469                 vcc6-supply = <&vcc_sys>;
470                 vcc7-supply = <&vcc_sys>;         470                 vcc7-supply = <&vcc_sys>;
471                 vcc8-supply = <&vcc_sys>;         471                 vcc8-supply = <&vcc_sys>;
472                 vcc9-supply = <&dcdc_boost>;      472                 vcc9-supply = <&dcdc_boost>;
473                                                   473 
474                 regulators {                      474                 regulators {
475                         vdd_logic: DCDC_REG1 {    475                         vdd_logic: DCDC_REG1 {
476                                 regulator-alwa    476                                 regulator-always-on;
477                                 regulator-boot    477                                 regulator-boot-on;
478                                 regulator-min-    478                                 regulator-min-microvolt = <500000>;
479                                 regulator-max-    479                                 regulator-max-microvolt = <1350000>;
480                                 regulator-ramp    480                                 regulator-ramp-delay = <6001>;
481                                 regulator-init    481                                 regulator-initial-mode = <0x2>;
482                                 regulator-name    482                                 regulator-name = "vdd_logic";
483                                 regulator-stat    483                                 regulator-state-mem {
484                                         regula    484                                         regulator-off-in-suspend;
485                                         regula    485                                         regulator-suspend-microvolt = <900000>;
486                                 };                486                                 };
487                         };                        487                         };
488                                                   488 
489                         vdd_gpu: DCDC_REG2 {      489                         vdd_gpu: DCDC_REG2 {
490                                 regulator-alwa    490                                 regulator-always-on;
491                                 regulator-boot    491                                 regulator-boot-on;
492                                 regulator-min-    492                                 regulator-min-microvolt = <500000>;
493                                 regulator-max-    493                                 regulator-max-microvolt = <1350000>;
494                                 regulator-ramp    494                                 regulator-ramp-delay = <6001>;
495                                 regulator-init    495                                 regulator-initial-mode = <0x2>;
496                                 regulator-name    496                                 regulator-name = "vdd_gpu";
497                                 regulator-stat    497                                 regulator-state-mem {
498                                         regula    498                                         regulator-off-in-suspend;
499                                 };                499                                 };
500                         };                        500                         };
501                                                   501 
502                         vcc_ddr: DCDC_REG3 {      502                         vcc_ddr: DCDC_REG3 {
503                                 regulator-alwa    503                                 regulator-always-on;
504                                 regulator-boot    504                                 regulator-boot-on;
505                                 regulator-init    505                                 regulator-initial-mode = <0x2>;
506                                 regulator-name    506                                 regulator-name = "vcc_ddr";
507                                 regulator-stat    507                                 regulator-state-mem {
508                                         regula    508                                         regulator-on-in-suspend;
509                                 };                509                                 };
510                         };                        510                         };
511                                                   511 
512                         vcc_3v3: DCDC_REG4 {      512                         vcc_3v3: DCDC_REG4 {
513                                 regulator-alwa    513                                 regulator-always-on;
514                                 regulator-boot    514                                 regulator-boot-on;
515                                 regulator-min-    515                                 regulator-min-microvolt = <3300000>;
516                                 regulator-max-    516                                 regulator-max-microvolt = <3300000>;
517                                 regulator-init    517                                 regulator-initial-mode = <0x2>;
518                                 regulator-name    518                                 regulator-name = "vcc_3v3";
519                                 regulator-stat    519                                 regulator-state-mem {
520                                         regula    520                                         regulator-on-in-suspend;
521                                         regula    521                                         regulator-suspend-microvolt = <3300000>;
522                                 };                522                                 };
523                         };                        523                         };
524                                                   524 
525                         vcca1v8_pmu: LDO_REG1     525                         vcca1v8_pmu: LDO_REG1 {
526                                 regulator-alwa    526                                 regulator-always-on;
527                                 regulator-boot    527                                 regulator-boot-on;
528                                 regulator-min-    528                                 regulator-min-microvolt = <1800000>;
529                                 regulator-max-    529                                 regulator-max-microvolt = <1800000>;
530                                 regulator-name    530                                 regulator-name = "vcca1v8_pmu";
531                                 regulator-stat    531                                 regulator-state-mem {
532                                         regula    532                                         regulator-on-in-suspend;
533                                         regula    533                                         regulator-suspend-microvolt = <1800000>;
534                                 };                534                                 };
535                         };                        535                         };
536                                                   536 
537                         vdda_0v9: LDO_REG2 {      537                         vdda_0v9: LDO_REG2 {
538                                 regulator-alwa    538                                 regulator-always-on;
539                                 regulator-boot    539                                 regulator-boot-on;
540                                 regulator-min-    540                                 regulator-min-microvolt = <900000>;
541                                 regulator-max-    541                                 regulator-max-microvolt = <900000>;
542                                 regulator-name    542                                 regulator-name = "vdda_0v9";
543                                 regulator-stat    543                                 regulator-state-mem {
544                                         regula    544                                         regulator-off-in-suspend;
545                                 };                545                                 };
546                         };                        546                         };
547                                                   547 
548                         vdda0v9_pmu: LDO_REG3     548                         vdda0v9_pmu: LDO_REG3 {
549                                 regulator-alwa    549                                 regulator-always-on;
550                                 regulator-boot    550                                 regulator-boot-on;
551                                 regulator-min-    551                                 regulator-min-microvolt = <900000>;
552                                 regulator-max-    552                                 regulator-max-microvolt = <900000>;
553                                 regulator-name    553                                 regulator-name = "vdda0v9_pmu";
554                                 regulator-stat    554                                 regulator-state-mem {
555                                         regula    555                                         regulator-on-in-suspend;
556                                         regula    556                                         regulator-suspend-microvolt = <900000>;
557                                 };                557                                 };
558                         };                        558                         };
559                                                   559 
560                         vccio_acodec: LDO_REG4    560                         vccio_acodec: LDO_REG4 {
561                                 regulator-alwa    561                                 regulator-always-on;
562                                 regulator-boot    562                                 regulator-boot-on;
563                                 regulator-min-    563                                 regulator-min-microvolt = <3300000>;
564                                 regulator-max-    564                                 regulator-max-microvolt = <3300000>;
565                                 regulator-name    565                                 regulator-name = "vccio_acodec";
566                                 regulator-stat    566                                 regulator-state-mem {
567                                         regula    567                                         regulator-off-in-suspend;
568                                 };                568                                 };
569                         };                        569                         };
570                                                   570 
571                         vccio_sd: LDO_REG5 {      571                         vccio_sd: LDO_REG5 {
572                                 regulator-alwa    572                                 regulator-always-on;
573                                 regulator-boot    573                                 regulator-boot-on;
574                                 regulator-min-    574                                 regulator-min-microvolt = <1800000>;
575                                 regulator-max-    575                                 regulator-max-microvolt = <3300000>;
576                                 regulator-name    576                                 regulator-name = "vccio_sd";
577                                 regulator-stat    577                                 regulator-state-mem {
578                                         regula    578                                         regulator-off-in-suspend;
579                                 };                579                                 };
580                         };                        580                         };
581                                                   581 
582                         vcc3v3_pmu: LDO_REG6 {    582                         vcc3v3_pmu: LDO_REG6 {
583                                 regulator-alwa    583                                 regulator-always-on;
584                                 regulator-boot    584                                 regulator-boot-on;
585                                 regulator-min-    585                                 regulator-min-microvolt = <3300000>;
586                                 regulator-max-    586                                 regulator-max-microvolt = <3300000>;
587                                 regulator-name    587                                 regulator-name = "vcc3v3_pmu";
588                                 regulator-stat    588                                 regulator-state-mem {
589                                         regula    589                                         regulator-on-in-suspend;
590                                         regula    590                                         regulator-suspend-microvolt = <3300000>;
591                                 };                591                                 };
592                         };                        592                         };
593                                                   593 
594                         vcc_1v8: LDO_REG7 {       594                         vcc_1v8: LDO_REG7 {
595                                 regulator-alwa    595                                 regulator-always-on;
596                                 regulator-boot    596                                 regulator-boot-on;
597                                 regulator-min-    597                                 regulator-min-microvolt = <1800000>;
598                                 regulator-max-    598                                 regulator-max-microvolt = <1800000>;
599                                 regulator-name    599                                 regulator-name = "vcc_1v8";
600                                 regulator-stat    600                                 regulator-state-mem {
601                                         regula    601                                         regulator-off-in-suspend;
602                                 };                602                                 };
603                         };                        603                         };
604                                                   604 
605                         vcc1v8_dvp: LDO_REG8 {    605                         vcc1v8_dvp: LDO_REG8 {
606                                 regulator-alwa    606                                 regulator-always-on;
607                                 regulator-boot    607                                 regulator-boot-on;
608                                 regulator-min-    608                                 regulator-min-microvolt = <1800000>;
609                                 regulator-max-    609                                 regulator-max-microvolt = <1800000>;
610                                 regulator-name    610                                 regulator-name = "vcc1v8_dvp";
611                                 regulator-stat    611                                 regulator-state-mem {
612                                         regula    612                                         regulator-on-in-suspend;
613                                 };                613                                 };
614                         };                        614                         };
615                                                   615 
616                         vcc2v8_dvp: LDO_REG9 {    616                         vcc2v8_dvp: LDO_REG9 {
617                                 regulator-alwa    617                                 regulator-always-on;
618                                 regulator-boot    618                                 regulator-boot-on;
619                                 regulator-min-    619                                 regulator-min-microvolt = <1800000>;
620                                 regulator-max-    620                                 regulator-max-microvolt = <3300000>;
621                                 regulator-name    621                                 regulator-name = "vcc2v8_dvp";
622                                 regulator-stat    622                                 regulator-state-mem {
623                                         regula    623                                         regulator-off-in-suspend;
624                                 };                624                                 };
625                         };                        625                         };
626                                                   626 
627                         dcdc_boost: BOOST {       627                         dcdc_boost: BOOST {
628                                 regulator-min-    628                                 regulator-min-microvolt = <4700000>;
629                                 regulator-max-    629                                 regulator-max-microvolt = <5400000>;
630                                 regulator-name    630                                 regulator-name = "boost";
631                                 regulator-stat    631                                 regulator-state-mem {
632                                         regula    632                                         regulator-off-in-suspend;
633                                 };                633                                 };
634                         };                        634                         };
635                                                   635 
636                         otg_switch: OTG_SWITCH    636                         otg_switch: OTG_SWITCH {
637                                 regulator-name    637                                 regulator-name = "otg_switch";
638                                 regulator-stat    638                                 regulator-state-mem {
639                                         regula    639                                         regulator-off-in-suspend;
640                                 };                640                                 };
641                         };                        641                         };
642                 };                                642                 };
643                                                   643 
644                 rk817_charger: charger {          644                 rk817_charger: charger {
645                         monitored-battery = <&    645                         monitored-battery = <&battery>;
646                         rockchip,resistor-sens    646                         rockchip,resistor-sense-micro-ohms = <10000>;
647                         rockchip,sleep-enter-c    647                         rockchip,sleep-enter-current-microamp = <150000>;
648                         rockchip,sleep-filter-    648                         rockchip,sleep-filter-current-microamp = <100000>;
649                 };                                649                 };
650                                                   650 
651         };                                        651         };
652                                                   652 
653         vdd_cpu: regulator@1c {                   653         vdd_cpu: regulator@1c {
654                 compatible = "tcs,tcs4525";       654                 compatible = "tcs,tcs4525";
655                 reg = <0x1c>;                     655                 reg = <0x1c>;
656                 fcs,suspend-voltage-selector =    656                 fcs,suspend-voltage-selector = <1>;
657                 regulator-always-on;              657                 regulator-always-on;
658                 regulator-boot-on;                658                 regulator-boot-on;
659                 regulator-min-microvolt = <712    659                 regulator-min-microvolt = <712500>;
660                 regulator-max-microvolt = <139    660                 regulator-max-microvolt = <1390000>;
661                 regulator-name = "vdd_cpu";       661                 regulator-name = "vdd_cpu";
662                 regulator-ramp-delay = <2300>;    662                 regulator-ramp-delay = <2300>;
663                 vin-supply = <&vcc_sys>;          663                 vin-supply = <&vcc_sys>;
664                 regulator-state-mem {             664                 regulator-state-mem {
665                         regulator-off-in-suspe    665                         regulator-off-in-suspend;
666                 };                                666                 };
667         };                                        667         };
668 };                                                668 };
669                                                   669 
670 &i2c5 {                                           670 &i2c5 {
671         pinctrl-0 = <&i2c5m1_xfer>;               671         pinctrl-0 = <&i2c5m1_xfer>;
672         pinctrl-names = "default";                672         pinctrl-names = "default";
673         status = "okay";                          673         status = "okay";
674 };                                                674 };
675                                                   675 
676 &i2s0_8ch {                                       676 &i2s0_8ch {
677         status = "okay";                          677         status = "okay";
678 };                                                678 };
679                                                   679 
680 &i2s1_8ch {                                       680 &i2s1_8ch {
681         pinctrl-0 = <&i2s1m0_sclktx>, <&i2s1m0    681         pinctrl-0 = <&i2s1m0_sclktx>, <&i2s1m0_lrcktx>, <&i2s1m0_sdi0>,
682                     <&i2s1m0_sdo0>;               682                     <&i2s1m0_sdo0>;
683         pinctrl-names = "default";                683         pinctrl-names = "default";
684         rockchip,trcm-sync-tx-only;               684         rockchip,trcm-sync-tx-only;
685         status = "okay";                          685         status = "okay";
686 };                                                686 };
687                                                   687 
688 &pinctrl {                                        688 &pinctrl {
689         audio-amplifier {                         689         audio-amplifier {
690                 spk_amp_enable_h: spk-amp-enab    690                 spk_amp_enable_h: spk-amp-enable-h {
691                         rockchip,pins =           691                         rockchip,pins =
692                                 <4 RK_PC2 RK_F    692                                 <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
693                 };                                693                 };
694         };                                        694         };
695                                                   695 
696         gpio-control {                            696         gpio-control {
697                 btn_pins_ctrl: btn-pins-ctrl {    697                 btn_pins_ctrl: btn-pins-ctrl {
698                         rockchip,pins =           698                         rockchip,pins =
699                                 <3 RK_PC6 RK_F    699                                 <3 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>,
700                                 <3 RK_PC7 RK_F    700                                 <3 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>,
701                                 <3 RK_PD0 RK_F    701                                 <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>,
702                                 <3 RK_PD1 RK_F    702                                 <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>,
703                                 <3 RK_PD2 RK_F    703                                 <3 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>,
704                                 <3 RK_PD3 RK_F    704                                 <3 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>,
705                                 <3 RK_PD4 RK_F    705                                 <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>,
706                                 <3 RK_PD5 RK_F    706                                 <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>,
707                                 <3 RK_PD6 RK_F    707                                 <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>,
708                                 <3 RK_PD7 RK_F    708                                 <3 RK_PD7 RK_FUNC_GPIO &pcfg_pull_up>,
709                                 <4 RK_PA0 RK_F    709                                 <4 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>,
710                                 <4 RK_PA1 RK_F    710                                 <4 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>,
711                                 <4 RK_PA2 RK_F    711                                 <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>,
712                                 <4 RK_PA4 RK_F    712                                 <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>,
713                                 <4 RK_PA7 RK_F    713                                 <4 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>,
714                                 <4 RK_PB0 RK_F    714                                 <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
715                 };                                715                 };
716                                                   716 
717                 btn_pins_vol: btn-pins-vol {      717                 btn_pins_vol: btn-pins-vol {
718                         rockchip,pins =           718                         rockchip,pins =
719                                 <4 RK_PA3 RK_F    719                                 <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>,
720                                 <4 RK_PA5 RK_F    720                                 <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
721                 };                                721                 };
722         };                                        722         };
723                                                   723 
724         gpio-lcd {                                724         gpio-lcd {
725                 lcd_rst: lcd-rst {                725                 lcd_rst: lcd-rst {
726                         rockchip,pins =           726                         rockchip,pins =
727                                 <0 RK_PD5 RK_F    727                                 <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
728                 };                                728                 };
729         };                                        729         };
730                                                   730 
731         gpio-leds {                               731         gpio-leds {
732                 led_pins: led-pins {              732                 led_pins: led-pins {
733                         rockchip,pins =           733                         rockchip,pins =
734                                 <4 RK_PB4 RK_F    734                                 <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>,
735                                 <4 RK_PB5 RK_F    735                                 <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>,
736                                 <4 RK_PB6 RK_F    736                                 <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
737                 };                                737                 };
738         };                                        738         };
739                                                   739 
740         hp-detect {                               740         hp-detect {
741                 hp_det: hp-det {                  741                 hp_det: hp-det {
742                         rockchip,pins =           742                         rockchip,pins =
743                                 <4 RK_PC6 RK_F    743                                 <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>;
744                 };                                744                 };
745         };                                        745         };
746                                                   746 
747         pmic {                                    747         pmic {
748                 pmic_int_l: pmic-int-l {          748                 pmic_int_l: pmic-int-l {
749                         rockchip,pins =           749                         rockchip,pins =
750                                 <0 RK_PA3 RK_F    750                                 <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
751                 };                                751                 };
752         };                                        752         };
753                                                   753 
754         sdio-pwrseq {                             754         sdio-pwrseq {
755                 wifi_enable_h: wifi-enable-h {    755                 wifi_enable_h: wifi-enable-h {
756                         rockchip,pins =           756                         rockchip,pins =
757                                 <0 RK_PC0 RK_F    757                                 <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
758                 };                                758                 };
759         };                                        759         };
760                                                   760 
761         usb {                                     761         usb {
762                 vcc5v0_host_en: vcc5v0-host-en    762                 vcc5v0_host_en: vcc5v0-host-en {
763                         rockchip,pins =           763                         rockchip,pins =
764                                 <4 RK_PC4 RK_F    764                                 <4 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
765                 };                                765                 };
766                                                   766 
767                 vcc5v0_otg_en: vcc5v0-otg-en {    767                 vcc5v0_otg_en: vcc5v0-otg-en {
768                         rockchip,pins =           768                         rockchip,pins =
769                                 <4 RK_PC5 RK_F    769                                 <4 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
770                 };                                770                 };
771         };                                        771         };
772                                                   772 
773         vcc-lcd {                                 773         vcc-lcd {
774                 vcc_lcd_en: vcc-lcd-en {          774                 vcc_lcd_en: vcc-lcd-en {
775                         rockchip,pins =           775                         rockchip,pins =
776                                 <0 RK_PC7 RK_F    776                                 <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
777                 };                                777                 };
778         };                                        778         };
779                                                   779 
780         vcc-wifi {                                780         vcc-wifi {
781                 vcc_wifi_h: vcc-wifi-h {          781                 vcc_wifi_h: vcc-wifi-h {
782                         rockchip,pins =           782                         rockchip,pins =
783                                 <0 RK_PA0 RK_F    783                                 <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
784                 };                                784                 };
785         };                                        785         };
786 };                                                786 };
787                                                   787 
788 &pmu_io_domains {                                 788 &pmu_io_domains {
789         status = "okay";                          789         status = "okay";
790         pmuio1-supply = <&vcc3v3_pmu>;            790         pmuio1-supply = <&vcc3v3_pmu>;
791         pmuio2-supply = <&vcca1v8_pmu>;           791         pmuio2-supply = <&vcca1v8_pmu>;
792         vccio1-supply = <&vccio_acodec>;          792         vccio1-supply = <&vccio_acodec>;
793         vccio3-supply = <&vccio_sd>;              793         vccio3-supply = <&vccio_sd>;
794         vccio4-supply = <&vcca1v8_pmu>;           794         vccio4-supply = <&vcca1v8_pmu>;
795         vccio5-supply = <&vcc2v8_dvp>;            795         vccio5-supply = <&vcc2v8_dvp>;
796         vccio6-supply = <&vcc1v8_dvp>;            796         vccio6-supply = <&vcc1v8_dvp>;
797         vccio7-supply = <&vcc_3v3>;               797         vccio7-supply = <&vcc_3v3>;
798 };                                                798 };
799                                                   799 
800 &pwm4 {                                           800 &pwm4 {
801         status = "okay";                          801         status = "okay";
802 };                                                802 };
803                                                   803 
804 &saradc {                                         804 &saradc {
805         vref-supply = <&vcc_1v8>;                 805         vref-supply = <&vcc_1v8>;
806         status = "okay";                          806         status = "okay";
807 };                                                807 };
808                                                   808 
809 &sdhci {                                          809 &sdhci {
810         bus-width = <8>;                          810         bus-width = <8>;
811         mmc-hs200-1_8v;                           811         mmc-hs200-1_8v;
812         non-removable;                            812         non-removable;
813         pinctrl-0 = <&emmc_bus8>, <&emmc_clk>,    813         pinctrl-0 = <&emmc_bus8>, <&emmc_clk>, <&emmc_cmd>,
814                     <&emmc_datastrobe>, <&emmc    814                     <&emmc_datastrobe>, <&emmc_rstnout>;
815         pinctrl-names = "default";                815         pinctrl-names = "default";
816         status = "okay";                          816         status = "okay";
817 };                                                817 };
818                                                   818 
819 &sdmmc0 {                                         819 &sdmmc0 {
820         bus-width = <4>;                          820         bus-width = <4>;
821         cap-mmc-highspeed;                        821         cap-mmc-highspeed;
822         cap-sd-highspeed;                         822         cap-sd-highspeed;
823         disable-wp;                               823         disable-wp;
824         pinctrl-0 = <&sdmmc0_bus4>, <&sdmmc0_c    824         pinctrl-0 = <&sdmmc0_bus4>, <&sdmmc0_clk>, <&sdmmc0_cmd>,
825                     <&sdmmc0_det>;                825                     <&sdmmc0_det>;
826         pinctrl-names = "default";                826         pinctrl-names = "default";
827         sd-uhs-sdr104;                            827         sd-uhs-sdr104;
828         vqmmc-supply = <&vccio_sd>;               828         vqmmc-supply = <&vccio_sd>;
829         status = "okay";                          829         status = "okay";
830 };                                                830 };
831                                                   831 
832 &sdmmc1 {                                         832 &sdmmc1 {
833         bus-width = <4>;                          833         bus-width = <4>;
834         cap-sd-highspeed;                         834         cap-sd-highspeed;
835         cap-sdio-irq;                             835         cap-sdio-irq;
836         keep-power-in-suspend;                    836         keep-power-in-suspend;
837         mmc-pwrseq = <&sdio_pwrseq>;              837         mmc-pwrseq = <&sdio_pwrseq>;
838         non-removable;                            838         non-removable;
839         pinctrl-0 = <&sdmmc1_bus4>, <&sdmmc1_c    839         pinctrl-0 = <&sdmmc1_bus4>, <&sdmmc1_cmd>, <&sdmmc1_clk>;
840         pinctrl-names = "default";                840         pinctrl-names = "default";
841         vmmc-supply = <&vcc_wifi>;                841         vmmc-supply = <&vcc_wifi>;
842         status = "okay";                          842         status = "okay";
843 };                                                843 };
844                                                   844 
845 &sdmmc2 {                                         845 &sdmmc2 {
846         bus-width = <4>;                          846         bus-width = <4>;
847         cap-mmc-highspeed;                        847         cap-mmc-highspeed;
848         cap-sd-highspeed;                         848         cap-sd-highspeed;
849         disable-wp;                               849         disable-wp;
850         pinctrl-0 = <&sdmmc2m1_bus4>, <&sdmmc2    850         pinctrl-0 = <&sdmmc2m1_bus4>, <&sdmmc2m1_cmd>, <&sdmmc2m1_clk>,
851                     <&sdmmc2m1_det>;              851                     <&sdmmc2m1_det>;
852         pinctrl-names = "default";                852         pinctrl-names = "default";
853         sd-uhs-sdr104;                            853         sd-uhs-sdr104;
854         vqmmc-supply = <&vcc2v8_dvp>;             854         vqmmc-supply = <&vcc2v8_dvp>;
855         status = "okay";                          855         status = "okay";
856 };                                                856 };
857                                                   857 
858 &tsadc {                                          858 &tsadc {
859         rockchip,hw-tshut-mode = <1>;             859         rockchip,hw-tshut-mode = <1>;
860         rockchip,hw-tshut-polarity = <0>;         860         rockchip,hw-tshut-polarity = <0>;
861         status = "okay";                          861         status = "okay";
862 };                                                862 };
863                                                   863 
864 &uart1 {                                          864 &uart1 {
865         pinctrl-0 = <&uart1m0_xfer>, <&uart1m0    865         pinctrl-0 = <&uart1m0_xfer>, <&uart1m0_ctsn>, <&uart1m0_rtsn>;
866         pinctrl-names = "default";                866         pinctrl-names = "default";
867         uart-has-rtscts;                          867         uart-has-rtscts;
868         status = "okay";                          868         status = "okay";
869                                                   869 
870         bluetooth {                               870         bluetooth {
871                 compatible = "realtek,rtl8821c    871                 compatible = "realtek,rtl8821cs-bt", "realtek,rtl8723bs-bt";
872                 device-wake-gpios = <&gpio0 RK    872                 device-wake-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
873                 enable-gpios = <&gpio0 RK_PC1     873                 enable-gpios = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
874                 host-wake-gpios = <&gpio0 RK_P    874                 host-wake-gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
875         };                                        875         };
876 };                                                876 };
877                                                   877 
878 &uart2 {                                          878 &uart2 {
879         status = "okay";                          879         status = "okay";
880 };                                                880 };
881                                                   881 
882 &usb_host0_xhci {                                 882 &usb_host0_xhci {
883         phys = <&usb2phy0_otg>;                   883         phys = <&usb2phy0_otg>;
884         phy-names = "usb2-phy";                   884         phy-names = "usb2-phy";
885         status = "okay";                          885         status = "okay";
886 };                                                886 };
887                                                   887 
888 &usb_host1_xhci {                                 888 &usb_host1_xhci {
889         status = "okay";                          889         status = "okay";
890 };                                                890 };
891                                                   891 
892 &usb2phy0 {                                       892 &usb2phy0 {
893         status = "okay";                          893         status = "okay";
894 };                                                894 };
895                                                   895 
896 &usb2phy0_otg {                                   896 &usb2phy0_otg {
897         status = "okay";                          897         status = "okay";
898 };                                                898 };
899                                                   899 
900 &usb2phy0_host {                                  900 &usb2phy0_host {
901         phy-supply = <&vcc5v0_host>;              901         phy-supply = <&vcc5v0_host>;
902         status = "okay";                          902         status = "okay";
903 };                                                903 };
904                                                   904 
905 &vop {                                            905 &vop {
906         assigned-clocks = <&cru DCLK_VOP0>, <&    906         assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
907         assigned-clock-parents = <&pmucru PLL_    907         assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
908         status = "okay";                          908         status = "okay";
909 };                                                909 };
910                                                   910 
911 &vop_mmu {                                        911 &vop_mmu {
912         status = "okay";                          912         status = "okay";
913 };                                                913 };
914                                                   914 
915 &vp0 {                                            915 &vp0 {
916         vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_E    916         vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
917                 reg = <ROCKCHIP_VOP2_EP_HDMI0>    917                 reg = <ROCKCHIP_VOP2_EP_HDMI0>;
918                 remote-endpoint = <&hdmi_in_vp    918                 remote-endpoint = <&hdmi_in_vp0>;
919         };                                        919         };
920 };                                                920 };
921                                                   921 
922 &vp1 {                                            922 &vp1 {
923         vp1_out_dsi0: endpoint@ROCKCHIP_VOP2_E    923         vp1_out_dsi0: endpoint@ROCKCHIP_VOP2_EP_MIPI0 {
924                 reg = <ROCKCHIP_VOP2_EP_MIPI0>    924                 reg = <ROCKCHIP_VOP2_EP_MIPI0>;
925                 remote-endpoint = <&dsi0_in_vp    925                 remote-endpoint = <&dsi0_in_vp1>;
926         };                                        926         };
927 };                                                927 };
                                                      

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