~ [ 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 (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3566-powkiddy-x55.dts (Version linux-6.8.12)


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

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