.. | .. |
---|
6 | 6 | |
---|
7 | 7 | /dts-v1/; |
---|
8 | 8 | #include "sun50iw10p1.dtsi" |
---|
| 9 | +#include "dt-bindings/input/linux-event-codes.h" |
---|
9 | 10 | |
---|
10 | 11 | /{ |
---|
11 | 12 | model = "sun50iw10"; |
---|
.. | .. |
---|
18 | 19 | |
---|
19 | 20 | reg_usb1_vbus: usb1-vbus { |
---|
20 | 21 | compatible = "regulator-fixed"; |
---|
21 | | - //gpio = <&r_pio PL 11 1 2 0 1>; |
---|
| 22 | + gpio = <&r_pio PL 8 1 2 0 1>; |
---|
22 | 23 | regulator-name = "usb1-vbus"; |
---|
23 | 24 | regulator-min-microvolt = <5000000>; |
---|
24 | 25 | regulator-max-microvolt = <5000000>; |
---|
.. | .. |
---|
26 | 27 | enable-active-high; |
---|
27 | 28 | }; |
---|
28 | 29 | |
---|
29 | | - soc@03000000 { |
---|
| 30 | + soc: soc@03000000 { |
---|
30 | 31 | |
---|
31 | 32 | r_pio: pinctrl@07022000 { |
---|
32 | 33 | |
---|
.. | .. |
---|
100 | 101 | }; |
---|
101 | 102 | |
---|
102 | 103 | twi3_pins_a: twi3@0 { |
---|
103 | | - allwinner,pins = "PE3", "PE4"; |
---|
| 104 | + allwinner,pins = "PH12", "PH13"; |
---|
104 | 105 | allwinner,pname = "twi3_scl", "twi3_sda"; |
---|
105 | 106 | allwinner,function = "twi3"; |
---|
106 | | - allwinner,muxsel = <2>; |
---|
| 107 | + allwinner,muxsel = <3>; |
---|
107 | 108 | allwinner,drive = <1>; |
---|
108 | 109 | allwinner,pull = <1>; |
---|
109 | 110 | }; |
---|
110 | 111 | |
---|
111 | 112 | twi3_pins_b: twi3@1 { |
---|
112 | | - allwinner,pins = "PE3", "PE4"; |
---|
| 113 | + allwinner,pins = "PH12", "PH13"; |
---|
113 | 114 | allwinner,function = "io_disabled"; |
---|
114 | 115 | allwinner,muxsel = <7>; |
---|
115 | 116 | allwinner,drive = <1>; |
---|
116 | 117 | allwinner,pull = <0>; |
---|
117 | 118 | }; |
---|
118 | | - |
---|
| 119 | +/* |
---|
119 | 120 | pwm0_pin_a: pwm0@0 { |
---|
120 | 121 | //allwinner,pins = "PD23"; |
---|
121 | 122 | allwinner,function = "pwm0"; |
---|
.. | .. |
---|
151 | 152 | allwinner,pull = <0>; |
---|
152 | 153 | allwinner,data = <0xffffffff>; |
---|
153 | 154 | }; |
---|
154 | | - |
---|
| 155 | +*/ |
---|
155 | 156 | pwm2_pin_a: pwm2@0 { |
---|
156 | 157 | allwinner,pins = "PD20"; |
---|
157 | 158 | allwinner,function = "pwm2"; |
---|
.. | .. |
---|
169 | 170 | allwinner,pull = <0>; |
---|
170 | 171 | allwinner,data = <0xffffffff>; |
---|
171 | 172 | }; |
---|
172 | | - |
---|
| 173 | +/* |
---|
173 | 174 | pwm3_pin_a: pwm3@0 { |
---|
174 | 175 | allwinner,pins = "PD21"; |
---|
175 | 176 | allwinner,function = "pwm3"; |
---|
.. | .. |
---|
187 | 188 | allwinner,pull = <0>; |
---|
188 | 189 | allwinner,data = <0xffffffff>; |
---|
189 | 190 | }; |
---|
190 | | - |
---|
| 191 | +*/ |
---|
191 | 192 | spi0_pins_a: spi0@0 { |
---|
192 | | - allwinner,pins = "PC2", "PC4", "PC12", "PC15", "PC16"; |
---|
193 | | - allwinner,pname = "spi0_mosi", "spi0_miso", |
---|
194 | | - "spi0_sclk", "spi0_wp", "spi0_hold"; |
---|
| 193 | + // allwinner,pins = "PC2", "PC4", "PC12", "PC15", "PC16"; |
---|
| 194 | + allwinner,pins = "PC2", "PC4", "PC12"; |
---|
| 195 | + // allwinner,pname = "spi0_mosi", "spi0_miso", |
---|
| 196 | + // "spi0_sclk", "spi0_wp", "spi0_hold"; |
---|
| 197 | + allwinner,pname = "spi0_mosi", "spi0_miso", "spi0_sclk"; |
---|
195 | 198 | allwinner,function = "spi0"; |
---|
196 | 199 | allwinner,muxsel = <4>; |
---|
197 | 200 | allwinner,drive = <1>; |
---|
.. | .. |
---|
208 | 211 | }; |
---|
209 | 212 | |
---|
210 | 213 | spi0_pins_c: spi0@2 { |
---|
211 | | - allwinner,pins = "PC2", "PC3", "PC4", "PC7", "PC12", "PC15", "PC16"; |
---|
| 214 | + // allwinner,pins = "PC2", "PC3", "PC4", "PC7", "PC12", "PC15", "PC16"; |
---|
| 215 | + allwinner,pins = "PC2", "PC3", "PC4", "PC7", "PC12"; |
---|
212 | 216 | allwinner,function = "io_disabled"; |
---|
213 | 217 | allwinner,muxsel = <7>; |
---|
214 | 218 | allwinner,drive = <1>; |
---|
215 | 219 | allwinner,pull = <0>; |
---|
216 | 220 | }; |
---|
| 221 | +/* |
---|
217 | 222 | spi1_pins_a: spi1@0 { |
---|
218 | 223 | allwinner,pins = "PD11", "PD12", "PD13"; |
---|
219 | 224 | allwinner,pname = "spi1_sclk", "spi1_mosi", |
---|
.. | .. |
---|
230 | 235 | allwinner,function = "spi1"; |
---|
231 | 236 | allwinner,muxsel = <4>; |
---|
232 | 237 | allwinner,drive = <1>; |
---|
233 | | - allwinner,pull = <1>; /* only CS should be pulled up */ |
---|
| 238 | + allwinner,pull = <1>; // only CS should be pulled up |
---|
234 | 239 | }; |
---|
235 | 240 | |
---|
236 | 241 | spi1_pins_c: spi1@2 { |
---|
.. | .. |
---|
275 | 280 | allwinner,drive = <1>; |
---|
276 | 281 | allwinner,pull = <0>; |
---|
277 | 282 | }; |
---|
| 283 | +*/ |
---|
278 | 284 | }; |
---|
279 | 285 | |
---|
280 | 286 | twi0: twi@0x05002000{ |
---|
.. | .. |
---|
295 | 301 | ctp_revert_x_flag = <0x1>; |
---|
296 | 302 | ctp_revert_y_flag = <0x1>; |
---|
297 | 303 | ctp_exchange_x_y_flag = <0x0>; |
---|
298 | | - ctp_int_port = <&r_pio PL 7 3 0xffffffff 0xffffffff 0>; |
---|
299 | | - ctp_wakeup = <&pio PB 2 1 0xffffffff 0xffffffff 1>; |
---|
| 304 | + ctp_int_port = <&pio PE 3 6 0xffffffff 0xffffffff 0>; |
---|
| 305 | + ctp_wakeup = <&pio PE 4 1 0xffffffff 0xffffffff 1>; |
---|
300 | 306 | ctp_power_ldo = <3300>; |
---|
301 | 307 | ctp_power_ldo_vol = <3300>; |
---|
302 | 308 | ctp_power = <3300>; |
---|
.. | .. |
---|
317 | 323 | pinctrl-1 = <&spi0_pins_c>; |
---|
318 | 324 | spi0_cs_number = <1>; |
---|
319 | 325 | spi0_cs_bitmap = <1>; |
---|
320 | | - spi_slave_mode = <0>; |
---|
| 326 | + spi_slave_mode = <0>; |
---|
321 | 327 | //status = "okay"; |
---|
322 | 328 | status = "disabled"; |
---|
| 329 | + /* |
---|
323 | 330 | spi_uart { |
---|
324 | 331 | compatible = "wkmic,wk2124spi"; |
---|
325 | 332 | reg = <0>; |
---|
326 | 333 | spi-max-frequency = <10000000>; |
---|
327 | 334 | //irq_gpio = <&pio PH 11 6 0xffffffff 0xffffffff 0>; |
---|
328 | 335 | }; |
---|
329 | | - }; |
---|
| 336 | + */ |
---|
330 | 337 | |
---|
| 338 | + dh2228@2 { |
---|
| 339 | + compatible = "rohm,dh2228fv"; |
---|
| 340 | + reg = <0>; |
---|
| 341 | + spi-max-frequency = <100000>; |
---|
| 342 | + }; |
---|
| 343 | + |
---|
| 344 | + }; |
---|
| 345 | +/* |
---|
331 | 346 | pwm3: pwm3@0300a000 { |
---|
332 | 347 | pinctrl-names = "active", "sleep"; |
---|
333 | 348 | pinctrl-0 = <&pwm3_pin_a>; |
---|
334 | 349 | pinctrl-1 = <&pwm3_pin_b>; |
---|
335 | | - status = "okay"; |
---|
| 350 | + status = "disabled"; |
---|
336 | 351 | }; |
---|
337 | | - |
---|
| 352 | +*/ |
---|
338 | 353 | pwm2: pwm2@0300a000 { |
---|
339 | 354 | pinctrl-names = "active", "sleep"; |
---|
340 | 355 | pinctrl-0 = <&pwm2_pin_a>; |
---|
341 | 356 | pinctrl-1 = <&pwm2_pin_b>; |
---|
342 | | - status = "okay"; |
---|
| 357 | + status = "okay"; |
---|
343 | 358 | }; |
---|
344 | 359 | |
---|
345 | 360 | twi1: twi@0x05002400{ |
---|
.. | .. |
---|
347 | 362 | pinctrl-0 = <&twi1_pins_a>; |
---|
348 | 363 | pinctrl-1 = <&twi1_pins_b>; |
---|
349 | 364 | status = "okay"; |
---|
350 | | - gsensor { |
---|
351 | | - compatible = "allwinner,sc7a20"; |
---|
352 | | - reg = <0x19>; |
---|
353 | | - device_type = "gsensor"; |
---|
354 | | - status = "disabled"; |
---|
355 | | - gsensor_twi_id = <0x1>; |
---|
356 | | - gsensor_twi_addr = <0x19>; |
---|
357 | | - //gsensor_int1 = <&pio PH 11 6 1 0xffffffff 0xffffffff>; |
---|
358 | | - gsensor-supply = <®_dcdc1>; |
---|
359 | | - gsensor_vcc_io_val = <3300>; |
---|
360 | | - }; |
---|
361 | | - lightsensor { |
---|
362 | | - compatible = "allwinner,stk3x1x"; |
---|
363 | | - reg = <0x48>; |
---|
364 | | - device_type = "lightsensor"; |
---|
365 | | - status = "disabled"; |
---|
366 | | - ls_twi_id = <0x1>; |
---|
367 | | - ls_twi_addr = <0x48>; |
---|
368 | | - //ls_int = <&pio PH 4 6 1 0xffffffff 0xffffffff>; |
---|
369 | | - lightsensor-supply = <®_dcdc1>; |
---|
370 | | - }; |
---|
371 | | - pcf85063@51 { |
---|
372 | | - compatible = "haoyu,hym8563"; |
---|
373 | | - reg = <0x51>; |
---|
374 | | - status = "okay"; |
---|
375 | | - }; |
---|
376 | | - mpu6050@68 { |
---|
377 | | - compatible = "invensense,mpu6500"; |
---|
378 | | - reg = <0x68>; |
---|
379 | | - mount-matrix = "-0.984807753012208", /* x0 */ |
---|
380 | | - "0", /* y0 */ |
---|
381 | | - "-0.173648177666930", /* z0 */ |
---|
382 | | - "0", /* x1 */ |
---|
383 | | - "-1", /* y1 */ |
---|
384 | | - "0", /* z1 */ |
---|
385 | | - "-0.173648177666930", /* x2 */ |
---|
386 | | - "0", /* y2 */ |
---|
387 | | - "0.984807753012208"; /* z2 */ |
---|
388 | | - status = "disabled"; |
---|
389 | | - }; |
---|
| 365 | + // EXTEND GPIO |
---|
390 | 366 | }; |
---|
391 | 367 | |
---|
392 | 368 | twi2: twi@0x05002800{ |
---|
.. | .. |
---|
394 | 370 | pinctrl-0 = <&twi2_pins_a>; |
---|
395 | 371 | pinctrl-1 = <&twi2_pins_b>; |
---|
396 | 372 | twi-supply = <®_dldo2>; |
---|
397 | | - status = "ok"; |
---|
| 373 | + status = "okay"; |
---|
| 374 | + // CAMERA1 |
---|
398 | 375 | |
---|
399 | | -/* ac107@36 { |
---|
400 | | - compatible = "Allwinnertech,ac107_0"; |
---|
401 | | - gpio-reset = "null"; |
---|
402 | | - reg = <0x36>; |
---|
403 | | - status = "okay"; |
---|
404 | | - }; */ |
---|
| 376 | + // CAMERA2 |
---|
405 | 377 | }; |
---|
406 | 378 | |
---|
407 | 379 | twi3: twi@0x05002c00{ |
---|
408 | 380 | clock-frequency = <200000>; |
---|
409 | 381 | pinctrl-0 = <&twi3_pins_a>; |
---|
410 | 382 | pinctrl-1 = <&twi3_pins_b>; |
---|
411 | | - status = "ok"; |
---|
| 383 | + status = "okay"; |
---|
| 384 | + // RTC |
---|
| 385 | + pcf8563@51 { |
---|
| 386 | + compatible = "haoyu,hym8563"; |
---|
| 387 | + reg = <0x51>; |
---|
| 388 | + interrupt-parent = <&pio>; |
---|
| 389 | + interrupts = <PB 8 IRQ_TYPE_LEVEL_LOW>; |
---|
| 390 | + status = "okay"; |
---|
| 391 | + wakeup-source; |
---|
| 392 | + }; |
---|
412 | 393 | }; |
---|
413 | 394 | |
---|
414 | 395 | twi6: s_twi@0x07081400{ |
---|
.. | .. |
---|
559 | 540 | regulator-ramp-delay = <250>; |
---|
560 | 541 | regulator-enable-ramp-delay = <1000>; |
---|
561 | 542 | regulator-boot-on; |
---|
| 543 | + regulator-always-on; |
---|
562 | 544 | }; |
---|
563 | 545 | reg_dcdc2: dcdc2 { |
---|
564 | 546 | regulator-name = "axp803-dcdc2"; |
---|
.. | .. |
---|
642 | 624 | }; |
---|
643 | 625 | reg_dldo1: dldo1 { |
---|
644 | 626 | regulator-name = "axp803-dldo1"; |
---|
645 | | - regulator-min-microvolt = <700000>; |
---|
646 | | - regulator-max-microvolt = <3300000>; |
---|
| 627 | + regulator-min-microvolt = <1800000>; |
---|
| 628 | + regulator-max-microvolt = <1900000>; |
---|
647 | 629 | regulator-enable-ramp-delay = <1000>; |
---|
| 630 | + regulator-always-on; |
---|
| 631 | + regulator-boot-on; |
---|
648 | 632 | }; |
---|
649 | 633 | reg_dldo2: dldo2 { |
---|
650 | 634 | regulator-name = "axp803-dldo2"; |
---|
651 | 635 | regulator-min-microvolt = <700000>; |
---|
652 | 636 | regulator-max-microvolt = <4200000>; |
---|
653 | 637 | regulator-enable-ramp-delay = <1000>; |
---|
| 638 | + regulator-always-on; |
---|
| 639 | + regulator-boot-on; |
---|
| 640 | + // kickpi |
---|
654 | 641 | }; |
---|
655 | 642 | reg_dldo3: dldo3 { |
---|
656 | 643 | regulator-name = "axp803-dldo3"; |
---|
.. | .. |
---|
681 | 668 | regulator-min-microvolt = <700000>; |
---|
682 | 669 | regulator-max-microvolt = <1900000>; |
---|
683 | 670 | regulator-enable-ramp-delay = <1000>; |
---|
| 671 | + regulator-always-on; |
---|
| 672 | + regulator-boot-on; |
---|
| 673 | + // kickpi |
---|
684 | 674 | }; |
---|
685 | 675 | reg_fldo1: fldo1 { |
---|
686 | 676 | regulator-name = "axp803-fldo1"; |
---|
.. | .. |
---|
832 | 822 | |
---|
833 | 823 | osc24m-on = <0x1>; |
---|
834 | 824 | }; |
---|
835 | | - |
---|
| 825 | +/* |
---|
836 | 826 | pwm0: pwm0@0300a000 { |
---|
837 | 827 | pinctrl-names = "active", "sleep"; |
---|
838 | 828 | pinctrl-0 = <&pwm0_pin_a>; |
---|
.. | .. |
---|
852 | 842 | spi_slave_mode = <0>; |
---|
853 | 843 | status = "disabled"; |
---|
854 | 844 | }; |
---|
855 | | - |
---|
| 845 | +*/ |
---|
856 | 846 | gpadc:gpadc{ |
---|
857 | 847 | channel_num = <1>; |
---|
858 | 848 | channel_select = <0x01>; |
---|
.. | .. |
---|
923 | 913 | device_type = "usbc0"; |
---|
924 | 914 | usb_port_type = <0x0>; |
---|
925 | 915 | usb_detect_type = <0x1>; |
---|
926 | | - //usb_id_gpio = <&pio PH 8 0 0 0xffffffff 0xffffffff>; |
---|
927 | | - usb_id_gpio = <&r_pio PL 10 0 0 0xffffffff 0xffffffff>; |
---|
| 916 | + usb_id_gpio = <&r_pio PL 9 0 0 0xffffffff 0xffffffff>; |
---|
928 | 917 | usb_det_vbus_gpio = "axp_ctrl"; |
---|
929 | 918 | usb_regulator_io = "nocare"; |
---|
930 | 919 | det_vbus_supply = <&usb_power_supply>; |
---|
.. | .. |
---|
963 | 952 | }; |
---|
964 | 953 | |
---|
965 | 954 | sdc1: sdmmc@04021000 { |
---|
966 | | - bus-width = <4>; |
---|
967 | | - no-mmc; |
---|
968 | | - no-sd; |
---|
969 | | - cap-sd-highspeed; |
---|
970 | | - /*sd-uhs-sdr12*/ |
---|
971 | | - /*sd-uhs-sdr25*/ |
---|
972 | | - /*sd-uhs-sdr50;*/ |
---|
973 | | - /*sd-uhs-ddr50;*/ |
---|
974 | | - /*sd-uhs-sdr104*/ |
---|
975 | | - /*sunxi-power-save-mode;*/ |
---|
976 | | - /*sunxi-dis-signal-vol-sw;*/ |
---|
977 | | - cap-sdio-irq; |
---|
978 | | - keep-power-in-suspend; |
---|
979 | | - ignore-pm-notify; |
---|
980 | | - max-frequency = <50000000>; |
---|
981 | | - ctl-spec-caps = <0x8>; |
---|
982 | | - status = "okay"; |
---|
| 955 | + bus-width = <4>; |
---|
| 956 | + no-mmc; |
---|
| 957 | + no-sd; |
---|
| 958 | + cap-sd-highspeed; |
---|
| 959 | + /*sd-uhs-sdr12*/ |
---|
| 960 | + /*sd-uhs-sdr25*/ |
---|
| 961 | + sd-uhs-sdr50; |
---|
| 962 | + sd-uhs-ddr50; |
---|
| 963 | + sd-uhs-sdr104; |
---|
| 964 | + // kickpi |
---|
| 965 | + //sunxi-power-save-mode; |
---|
| 966 | + /*sunxi-dis-signal-vol-sw;*/ |
---|
| 967 | + sdio-used-1v8; |
---|
| 968 | + cap-sdio-irq; |
---|
| 969 | + keep-power-in-suspend; |
---|
| 970 | + ignore-pm-notify; |
---|
| 971 | + max-frequency = <50000000>; |
---|
| 972 | + ctl-spec-caps = <0x8>; |
---|
| 973 | + status = "okay"; |
---|
| 974 | + |
---|
983 | 975 | }; |
---|
984 | 976 | |
---|
985 | 977 | /* gpio-spk will output 0x00 when playing audio */ |
---|
.. | .. |
---|
1001 | 993 | /* Pa enabled about */ |
---|
1002 | 994 | pa_level = <0x00>; |
---|
1003 | 995 | pa_msleep_time = <0x78>; |
---|
1004 | | - gpio-spk = <&pio PH 17 1 1 1 1>; |
---|
| 996 | + //gpio-spk = <&pio PB 7 1 1 1 1>; |
---|
1005 | 997 | /* regulator about */ |
---|
1006 | 998 | avcc-supply = <®_aldo1>; |
---|
1007 | 999 | cpvin-supply = <®_eldo1>; |
---|
.. | .. |
---|
1009 | 1001 | }; |
---|
1010 | 1002 | |
---|
1011 | 1003 | sndcodec:sound@0 { |
---|
| 1004 | + noheadphonemic = <1>; |
---|
1012 | 1005 | status = "okay"; |
---|
1013 | 1006 | }; |
---|
1014 | 1007 | |
---|
.. | .. |
---|
1021 | 1014 | }; |
---|
1022 | 1015 | |
---|
1023 | 1016 | dmic:dmic-controller@0x05095000{ |
---|
1024 | | - status = "okay"; |
---|
| 1017 | + status = "disabled"; |
---|
1025 | 1018 | }; |
---|
1026 | 1019 | |
---|
1027 | 1020 | snddmic:sound@2{ |
---|
.. | .. |
---|
1041 | 1034 | daudio_master = <0x04>; |
---|
1042 | 1035 | signal_inversion = <0x01>; |
---|
1043 | 1036 | slot_width_select = <0x20>; |
---|
1044 | | - status = "disabled"; |
---|
| 1037 | + status = "okay"; |
---|
1045 | 1038 | }; |
---|
1046 | 1039 | |
---|
1047 | 1040 | snddaudio0:sound@3 { |
---|
.. | .. |
---|
1050 | 1043 | |
---|
1051 | 1044 | /* sunxi,snddaudio-codec = "ac107.1-0036"; |
---|
1052 | 1045 | sunxi,snddaudio-codec-dai = "ac107-pcm0"; */ |
---|
1053 | | - status = "disabled"; |
---|
| 1046 | + status = "okay"; |
---|
1054 | 1047 | }; |
---|
1055 | 1048 | |
---|
1056 | 1049 | daudio1:daudio@0x05091000 { |
---|
.. | .. |
---|
1116 | 1109 | vind0:vind@0 { |
---|
1117 | 1110 | vind0_clk = <336000000>; |
---|
1118 | 1111 | vind0_isp = <300000000>; |
---|
1119 | | - status = "okay"; |
---|
| 1112 | + status = "disabled"; |
---|
1120 | 1113 | |
---|
1121 | 1114 | actuator0:actuator@0 { |
---|
1122 | 1115 | device_type = "actuator0"; |
---|
.. | .. |
---|
1231 | 1224 | status = "okay"; |
---|
1232 | 1225 | }; |
---|
1233 | 1226 | }; |
---|
1234 | | -/*---------------------------------------------------------------------------------- |
---|
1235 | | -disp init configuration |
---|
1236 | 1227 | |
---|
1237 | | -disp_mode (0:screen0<screen0,fb0>) |
---|
1238 | | -screenx_output_type (0:none; 1:lcd; 2:tv; 3:hdmi;5:vdpo) |
---|
1239 | | -screenx_output_mode (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50) |
---|
1240 | | - (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60) |
---|
1241 | | -screenx_output_format (for hdmi, 0:RGB 1:yuv444 2:yuv422 3:yuv420) |
---|
1242 | | -screenx_output_bits (for hdmi, 0:8bit 1:10bit 2:12bit 2:16bit) |
---|
1243 | | -screenx_output_eotf (for hdmi, 0:reserve 4:SDR 16:HDR10 18:HLG) |
---|
1244 | | -screenx_output_cs (for hdmi, 0:undefined 257:BT709 260:BT601 263:BT2020) |
---|
1245 | | -screenx_output_dvi_hdmi (for hdmi, 0:undefined 1:dvi mode 2:hdmi mode) |
---|
1246 | | -screen0_output_range (for hdmi, 0:default 1:full 2:limited) |
---|
1247 | | -screen0_output_scan (for hdmi, 0:no data 1:overscan 2:underscan) |
---|
1248 | | -screen0_output_aspect_ratio (for hdmi, 8-same as original picture 9-4:3 10-16:9 11-14:9) |
---|
1249 | | -fbx format (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444) |
---|
1250 | | -fbx pixel sequence (0:ARGB 1:BGRA 2:ABGR 3:RGBA) |
---|
1251 | | -fb0_scaler_mode_enable(scaler mode enable, used FE) |
---|
1252 | | -fbx_width,fbx_height (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0) |
---|
1253 | | -lcdx_backlight (lcd init backlight,the range:[0,256],default:197 |
---|
1254 | | -lcdx_yy (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50) |
---|
1255 | | -lcd0_contrast (LCD contrast, 0~100) |
---|
1256 | | -lcd0_saturation (LCD saturation, 0~100) |
---|
1257 | | -lcd0_hue (LCD hue, 0~100) |
---|
1258 | | -framebuffer software rotation setting: |
---|
1259 | | -disp_rotation_used: (0:disable; 1:enable,you must set fbX_width to lcd_y, |
---|
1260 | | -set fbX_height to lcd_x) |
---|
1261 | | -degreeX: (X:screen index; 0:0 degree; 1:90 degree; 3:270 degree) |
---|
1262 | | -degreeX_Y: (X:screen index; Y:layer index 0~15; 0:0 degree; 1:90 degree; 3:270 degree) |
---|
1263 | | -devX_output_type : config output type in bootGUI framework in UBOOT-2018. |
---|
1264 | | - (0:none; 1:lcd; 2:tv; 4:hdmi;) |
---|
1265 | | -devX_output_mode : config output resolution(see include/video/sunxi_display2.h) of bootGUI framework in UBOOT-2018 |
---|
1266 | | -devX_screen_id : config display index of bootGUI framework in UBOOT-2018 |
---|
1267 | | -devX_do_hpd : whether do hpd detectation or not in UBOOT-2018 |
---|
1268 | | -chn_cfg_mode : Hardware DE channel allocation config. 0:single display with 6 |
---|
1269 | | - channel, 1:dual display with 4 channel in main display and 2 channel in second |
---|
1270 | | - display, 2:dual display with 3 channel in main display and 3 channel in second |
---|
1271 | | - in display. |
---|
1272 | | -----------------------------------------------------------------------------------*/ |
---|
1273 | | - disp: disp@06000000 { |
---|
1274 | | - disp_init_enable = <1>; |
---|
1275 | | - disp_mode = <0>; |
---|
1276 | | - |
---|
1277 | | - screen0_output_type = <1>; |
---|
1278 | | - screen0_output_mode = <4>; |
---|
1279 | | - |
---|
1280 | | - screen1_output_type = <1>; |
---|
1281 | | - screen1_output_mode = <4>; |
---|
1282 | | - |
---|
1283 | | - screen1_output_format = <0>; |
---|
1284 | | - screen1_output_bits = <0>; |
---|
1285 | | - screen1_output_eotf = <4>; |
---|
1286 | | - screen1_output_cs = <257>; |
---|
1287 | | - screen1_output_dvi_hdmi = <2>; |
---|
1288 | | - screen1_output_range = <2>; |
---|
1289 | | - screen1_output_scan = <0>; |
---|
1290 | | - screen1_output_aspect_ratio = <8>; |
---|
1291 | | - |
---|
1292 | | - dev0_output_type = <1>; |
---|
1293 | | - dev0_output_mode = <4>; |
---|
1294 | | - dev0_screen_id = <0>; |
---|
1295 | | - dev0_do_hpd = <0>; |
---|
1296 | | - |
---|
1297 | | - dev1_output_type = <4>; |
---|
1298 | | - dev1_output_mode = <10>; |
---|
1299 | | - dev1_screen_id = <1>; |
---|
1300 | | - dev1_do_hpd = <1>; |
---|
1301 | | - |
---|
1302 | | - def_output_dev = <0>; |
---|
1303 | | - hdmi_mode_check = <1>; |
---|
1304 | | - |
---|
1305 | | - fb0_format = <0>; |
---|
1306 | | - fb0_width = <1024>; |
---|
1307 | | - fb0_height = <600>; |
---|
1308 | | - |
---|
1309 | | - fb1_format = <0>; |
---|
1310 | | - fb1_width = <0>; |
---|
1311 | | - fb1_height = <0>; |
---|
1312 | | - chn_cfg_mode = <1>; |
---|
1313 | | - |
---|
1314 | | - disp_para_zone = <1>; |
---|
1315 | | - dc1sw-supply = <®_dc1sw>; |
---|
1316 | | - eldo3-supply = <®_eldo3>; |
---|
1317 | | - dcdc1-supply = <®_dcdc1>; |
---|
1318 | | - }; |
---|
1319 | | -/*---------------------------------------------------------------------------------- |
---|
1320 | | -;lcd0 configuration |
---|
1321 | | - |
---|
1322 | | -;lcd_if: 0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi |
---|
1323 | | -;lcd_hv_if 0:Parallel RGB; 8:Serial RGB; 10:Dummy RGB; 11: RGB Dummy;12:CCIR656 |
---|
1324 | | -;lcd_hv_clk_phase 0:0 degree;1:90 degree;2:180 degree;3:270 degree |
---|
1325 | | -;lcd_hv_sync_polarity 0:vs low,hs low; 1:vs high,hslow; 2:vs low,hs high; 3:vs high,hs high |
---|
1326 | | -;lcd_hv_syuv_seq 0:YUYV; 1:YVYU; 2:UYVY; 3:VYUY |
---|
1327 | | -;lcd_cpu_if 0:18bit/1 cycle parallel(RGB666); 4:16bit/1cycle parallel (RGB565) |
---|
1328 | | -; 6:18bit/3 cycle parallel(RGB666); 7:16bit/2cycle parallel (RGB565) |
---|
1329 | | -;lcd_cpu_te 0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge; |
---|
1330 | | -;lcd_dsi_if 0:video mode; 1: Command mode; 2:video burst mode |
---|
1331 | | -;lcd_dsi_te 0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge; |
---|
1332 | | -;lcd_x: lcd horizontal resolution |
---|
1333 | | -;lcd_y: lcd vertical resolution |
---|
1334 | | -;lcd_width: width of lcd in mm |
---|
1335 | | -;lcd_height: height of lcd in mm |
---|
1336 | | -;lcd_dclk_freq: in MHZ unit |
---|
1337 | | -;lcd_pwm_freq: in HZ unit |
---|
1338 | | -;lcd_pwm_pol: lcd backlight PWM polarity |
---|
1339 | | -;lcd_pwm_max_limit lcd backlight PWM max limit(<=255) |
---|
1340 | | -;lcd_hbp: hsync back porch(pixel) + hsync plus width(pixel); |
---|
1341 | | -;lcd_ht: hsync total cycle(pixel) |
---|
1342 | | -;lcd_vbp: vsync back porch(line) + vysnc plus width(line) |
---|
1343 | | -;lcd_vt: vysnc total cycle(line) |
---|
1344 | | -;lcd_hspw: hsync plus width(pixel) |
---|
1345 | | -;lcd_vspw: vysnc plus width(pixel) |
---|
1346 | | -;lcd_lvds_if: 0:single link; 1:dual link |
---|
1347 | | -;lcd_lvds_colordepth: 0:8bit; 1:6bit |
---|
1348 | | -;lcd_lvds_mode: 0:NS mode; 1:JEIDA mode |
---|
1349 | | -;lcd_frm: 0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither |
---|
1350 | | -;lcd_io_phase: 0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase; |
---|
1351 | | -; 8~11bit:dclk phase; 12~15bit:de phase) |
---|
1352 | | -;lcd_gamma_en lcd gamma correction enable |
---|
1353 | | -;lcd_bright_curve_en lcd bright curve correction enable |
---|
1354 | | -;lcd_cmap_en lcd color map function enable |
---|
1355 | | -;deu_mode 0:smoll lcd screen; 1:large lcd screen(larger than 10inch) |
---|
1356 | | -;lcdgamma4iep: Smart Backlight parameter, lcd gamma vale * 10; |
---|
1357 | | -; decrease it while lcd is not bright enough; increase while lcd is too bright |
---|
1358 | | -;smart_color 90:normal lcd screen 65:retina lcd screen(9.7inch) |
---|
1359 | | -;Pin setting for special function ie.LVDS, RGB data or vsync |
---|
1360 | | -; name(donot care) = port:PD12<pin function><pull up or pull down><drive ability><output level> |
---|
1361 | | -;Pin setting for gpio: |
---|
1362 | | -; lcd_gpio_X = port:PD12<pin function><pull up or pull down><drive ability><output level> |
---|
1363 | | -;Pin setting for backlight enable pin |
---|
1364 | | -; lcd_bl_en = port:PD12<pin function><pull up or pull down><drive ability><output level> |
---|
1365 | | -;fsync setting, pulse to csi |
---|
1366 | | -;lcd_fsync_en (0:disable fsync,1:enable) |
---|
1367 | | -;lcd_fsync_act_time (active time of fsync, unit:pixel) |
---|
1368 | | -;lcd_fsync_dis_time (disactive time of fsync, unit:pixel) |
---|
1369 | | -;lcd_fsync_pol (0:positive;1:negative) |
---|
1370 | | -;gpio config: <&pio for cpu or &r_pio for cpus, port, port num, pio function, |
---|
1371 | | -pull up or pull down(default 0), driver level(default 1), data> |
---|
1372 | | -;For dual link lvds: use lvds2link_pins_a and lvds2link_pins_b instead |
---|
1373 | | -;For rgb24: use rgb24_pins_a and rgb24_pins_b instead |
---|
1374 | | -;For lvds1: use lvds1_pins_a and lvds1_pins_b instead |
---|
1375 | | -;For lvds0: use lvds0_pins_a and lvds0_pins_b instead |
---|
1376 | | -;----------------------------------------------------------------------------------*/ |
---|
1377 | | - lcd0: lcd0@01c0c000 { |
---|
1378 | | - lcd_used = <1>; |
---|
1379 | | - |
---|
1380 | | - lcd_driver_name = "default_lcd"; |
---|
1381 | | - lcd_backlight = <100>; |
---|
1382 | | - lcd_if = <3>; |
---|
1383 | | - |
---|
1384 | | - lcd_x = <1024>; |
---|
1385 | | - lcd_y = <600>; |
---|
1386 | | - lcd_width = <217>; |
---|
1387 | | - lcd_height = <136>; |
---|
1388 | | - lcd_dclk_freq = <49>; |
---|
1389 | | - |
---|
1390 | | - lcd_pwm_used = <1>; |
---|
1391 | | - lcd_pwm_ch = <3>; |
---|
1392 | | - lcd_pwm_freq = <50000>; |
---|
1393 | | - lcd_pwm_pol = <1>; |
---|
1394 | | - lcd_pwm_max_limit = <255>; |
---|
1395 | | - |
---|
1396 | | - lcd_hbp = <124>; |
---|
1397 | | - lcd_ht = <1264>; |
---|
1398 | | - lcd_hspw = <24>; |
---|
1399 | | - lcd_vbp = <24>; |
---|
1400 | | - lcd_vt = <648>; |
---|
1401 | | - lcd_vspw = <4>; |
---|
1402 | | - |
---|
1403 | | - lcd_frm = <0>; |
---|
1404 | | - lcd_gamma_en = <0>; |
---|
1405 | | - lcd_bright_curve_en = <0>; |
---|
1406 | | - lcd_cmap_en = <0>; |
---|
1407 | | - |
---|
1408 | | - deu_mode = <0>; |
---|
1409 | | - lcdgamma4iep = <22>; |
---|
1410 | | - smart_color = <90>; |
---|
1411 | | - |
---|
1412 | | - lcd_lvds_if = <0>; |
---|
1413 | | - lcd_lvds_colordepth = <0>; |
---|
1414 | | - lcd_lvds_mode = <0>; |
---|
1415 | | - |
---|
1416 | | - lcd_pin_power = "dcdc1"; |
---|
1417 | | - lcd_pin_power1 = "eldo3"; |
---|
1418 | | - |
---|
1419 | | - lcd_power = "dc1sw"; |
---|
1420 | | - lcd_gpio_0 = <&r_pio PL 11 1 0 3 1>; |
---|
1421 | | - pinctrl-0 = <&lvds0_pins_a>; |
---|
1422 | | - pinctrl-1 = <&lvds0_pins_b>; |
---|
1423 | | - }; |
---|
1424 | | - |
---|
| 1228 | +/* |
---|
1425 | 1229 | hall_para { |
---|
1426 | 1230 | hall_name = "MH248"; |
---|
1427 | 1231 | status = "disabled"; |
---|
1428 | 1232 | hall_int_port = <&r_pio PL 9 6 1 0xffffffff 0xffffffff>; |
---|
1429 | 1233 | }; |
---|
1430 | | - |
---|
| 1234 | +*/ |
---|
1431 | 1235 | keyboard { |
---|
1432 | 1236 | compatible = "allwinner,keyboard_1350mv"; |
---|
1433 | | - status = "disable"; |
---|
1434 | | - key_cnt = <3>; |
---|
1435 | | - key0 = <475 0x7372>; |
---|
1436 | | - key1 = <646 0x73>; |
---|
1437 | | - key2 = <900 0x72>; |
---|
| 1237 | + status = "okay"; |
---|
| 1238 | + key_cnt = <1>; |
---|
| 1239 | + key0 = <590 KEY_RESERVED>; |
---|
| 1240 | + //key0 = <475 0x7372>; |
---|
| 1241 | + //key1 = <646 0x73>; |
---|
| 1242 | + //key2 = <897 0x72>; |
---|
1438 | 1243 | }; |
---|
1439 | 1244 | |
---|
| 1245 | + wlan: wlan@0 { |
---|
| 1246 | + compatible = "allwinner,sunxi-wlan"; |
---|
| 1247 | + clocks; |
---|
| 1248 | + pinctrl-0; |
---|
| 1249 | + pinctrl-names; |
---|
| 1250 | + wlan_busnum = <0x1>; |
---|
| 1251 | + wlan_power = "axp803-dldo1"; |
---|
| 1252 | + wlan_io_regulator; |
---|
| 1253 | + wlan_regon = <&pio PG 10 1 0xffffffff 0xffffffff 1>; |
---|
| 1254 | + wlan_hostwake = <&pio PG 13 6 0xffffffff 0xffffffff 0>; |
---|
| 1255 | + //chip_en; |
---|
| 1256 | + //power_en = <&pio PG 10 1 0xffffffff 0xffffffff 0>; |
---|
| 1257 | + status = "okay"; |
---|
| 1258 | + }; |
---|
| 1259 | + |
---|
| 1260 | + bt: bt@0 { |
---|
| 1261 | + compatible = "allwinner,sunxi-bt"; |
---|
| 1262 | + clocks = <&clk_losc_out>, <&clk_dcxo_out>; |
---|
| 1263 | + bt_power = "axp803-dldo1"; |
---|
| 1264 | + bt_io_regulator; |
---|
| 1265 | + bt_rst_n = <&r_pio PH 11 1 0xffffffff 0xffffffff 0>; |
---|
| 1266 | + status = "okay"; |
---|
| 1267 | + }; |
---|
| 1268 | + |
---|
| 1269 | + btlpm: btlpm@0 { |
---|
| 1270 | + compatible = "allwinner,sunxi-btlpm"; |
---|
| 1271 | + uart_index = <0x1>; |
---|
| 1272 | + bt_wake = <&pio PG 12 1 0xffffffff 0xffffffff 1>; |
---|
| 1273 | + bt_hostwake = <&pio PG 11 6 0xffffffff 0xffffffff 1>; |
---|
| 1274 | + status = "okay"; |
---|
| 1275 | + }; |
---|
| 1276 | + |
---|
| 1277 | +/* |
---|
1440 | 1278 | wlan: wlan@0 { |
---|
1441 | 1279 | compatible = "allwinner,sunxi-wlan"; |
---|
1442 | 1280 | clocks = <&clk_losc_out>, <&clk_dcxo_out>; |
---|
.. | .. |
---|
1445 | 1283 | wlan_busnum = <0x1>; |
---|
1446 | 1284 | wlan_power = "axp803-dldo1"; |
---|
1447 | 1285 | wlan_io_regulator; |
---|
1448 | | - wlan_regon = <&r_pio PL 5 1 0xffffffff 0xffffffff 0>; |
---|
1449 | | - wlan_hostwake = <&r_pio PL 6 6 0xffffffff 0xffffffff 0>; |
---|
| 1286 | + wlan_regon = <&pio PG 10 1 0xffffffff 0xffffffff 0>; |
---|
| 1287 | + wlan_hostwake = <&pio PG 13 6 0xffffffff 0xffffffff 0>; |
---|
1450 | 1288 | chip_en; |
---|
1451 | 1289 | power_en; |
---|
1452 | 1290 | status = "okay"; |
---|
1453 | 1291 | }; |
---|
| 1292 | + |
---|
1454 | 1293 | bt: bt@0 { |
---|
1455 | 1294 | compatible = "allwinner,sunxi-bt"; |
---|
1456 | 1295 | clocks = <&clk_losc_out>, <&clk_dcxo_out>; |
---|
1457 | 1296 | bt_power = "axp803-dldo1"; |
---|
1458 | 1297 | //bt_power = "axp803-dldo1"; |
---|
1459 | 1298 | bt_io_regulator; |
---|
1460 | | - bt_rst_n = <&r_pio PL 2 1 0xffffffff 0xffffffff 0>; |
---|
| 1299 | + //bt_rst_n = <&r_pio PL 2 1 0xffffffff 0xffffffff 0>; |
---|
1461 | 1300 | status = "okay"; |
---|
1462 | 1301 | }; |
---|
1463 | 1302 | |
---|
1464 | 1303 | btlpm: btlpm@0 { |
---|
1465 | 1304 | compatible = "allwinner,sunxi-btlpm"; |
---|
1466 | 1305 | uart_index = <0x1>; |
---|
1467 | | - bt_wake = <&r_pio PL 4 1 0xffffffff 0xffffffff 1>; |
---|
1468 | | - bt_hostwake = <&r_pio PL 3 6 0xffffffff 0xffffffff 1>; |
---|
| 1306 | + bt_wake = <&pio PG 11 1 0xffffffff 0xffffffff 1>; |
---|
| 1307 | + bt_hostwake = <&pio PG 12 6 0xffffffff 0xffffffff 1>; |
---|
1469 | 1308 | status = "okay"; |
---|
1470 | 1309 | }; |
---|
1471 | | - |
---|
| 1310 | +*/ |
---|
1472 | 1311 | addr_mgt: addr_mgt@0 { |
---|
1473 | 1312 | compatible = "allwinner,sunxi-addr_mgt"; |
---|
1474 | 1313 | type_addr_wifi = <0x0>; |
---|
.. | .. |
---|
1512 | 1351 | }; |
---|
1513 | 1352 | |
---|
1514 | 1353 | leds { |
---|
1515 | | - compatible = "gpio-leds"; |
---|
1516 | | - pinctrl-names = "default"; |
---|
1517 | | - status = "okay"; |
---|
| 1354 | + compatible = "gpio-leds"; |
---|
| 1355 | + pinctrl-names = "default"; |
---|
| 1356 | + status = "okay"; |
---|
1518 | 1357 | |
---|
1519 | | - sys { |
---|
1520 | | - label = "sysled"; |
---|
1521 | | - gpios = <&pio PH 19 1 0 1 0>; |
---|
1522 | | - linux,default_trigger = "heartbeat"; |
---|
1523 | | - }; |
---|
1524 | | - |
---|
1525 | | - hubrst { |
---|
1526 | | - label = "hubrst"; |
---|
1527 | | - gpios = <&pio PC 7 1 0 1 1>; |
---|
1528 | | - default_state="on"; |
---|
1529 | | - }; |
---|
1530 | | - |
---|
1531 | | - usb1_pwr { |
---|
1532 | | - label = "usb1_pwr"; |
---|
1533 | | - gpios = <&r_pio PL 9 1 0 1 1>; |
---|
1534 | | - default_state="on"; |
---|
1535 | | - }; |
---|
| 1358 | + sysled { |
---|
| 1359 | + label = "sysled"; |
---|
| 1360 | + gpios = <&r_pio PL 10 1 0 1 1>; |
---|
| 1361 | + linux,default_trigger = "heartbeat"; |
---|
| 1362 | + }; |
---|
1536 | 1363 | |
---|
1537 | | - usb2_pwr { |
---|
1538 | | - label = "usb2_pwr"; |
---|
1539 | | - gpios = <&pio PH 15 1 0 1 1>; |
---|
1540 | | - default_state="on"; |
---|
1541 | | - }; |
---|
1542 | | - |
---|
1543 | | - usb3_pwr { |
---|
1544 | | - label = "usb3_pwr"; |
---|
1545 | | - gpios = <&pio PH 16 1 0 1 1>; |
---|
1546 | | - default_state="on"; |
---|
1547 | | - }; |
---|
| 1364 | + spk_en { |
---|
| 1365 | + label = "spk_en"; |
---|
| 1366 | + gpios = <&pio PB 7 1 0 1 0>; |
---|
| 1367 | + linux,default_trigger = "default-on"; |
---|
| 1368 | + }; |
---|
1548 | 1369 | |
---|
1549 | | - usb4_pwr { |
---|
1550 | | - label = "usb4_pwr"; |
---|
1551 | | - gpios = <&r_pio PL 8 1 0 1 1>; |
---|
1552 | | - default_state="on"; |
---|
1553 | | - }; |
---|
| 1370 | + fan_en { |
---|
| 1371 | + label = "fan_en"; |
---|
| 1372 | + gpios = <&r_pio PL 7 1 0 1 0>; |
---|
| 1373 | + linux,default_trigger = "default-on"; |
---|
| 1374 | + }; |
---|
1554 | 1375 | |
---|
1555 | | - usb5_pwr { |
---|
1556 | | - label = "usb5_pwr"; |
---|
1557 | | - gpios = <&pio PH 18 1 0 1 1>; |
---|
1558 | | - default_state="on"; |
---|
1559 | | - }; |
---|
| 1376 | + PH8 { |
---|
| 1377 | + label = "PH8"; |
---|
| 1378 | + gpios = <&pio PH 8 1 0 1 0>; |
---|
| 1379 | + linux,default_trigger = "default-on"; |
---|
| 1380 | + }; |
---|
1560 | 1381 | |
---|
1561 | | - usb6_pwr { |
---|
1562 | | - label = "usb6_pwr"; |
---|
1563 | | - gpios = <&pio PB 6 1 0 1 1>; |
---|
1564 | | - default_state="on"; |
---|
1565 | | - }; |
---|
| 1382 | + PC2 { |
---|
| 1383 | + label = "PC2"; |
---|
| 1384 | + gpios = <&pio PC 2 1 0 1 0>; |
---|
| 1385 | + linux,default_trigger = "default-on"; |
---|
| 1386 | + }; |
---|
1566 | 1387 | |
---|
1567 | | - usb7_pwr { |
---|
1568 | | - label = "usb7_pwr"; |
---|
1569 | | - gpios = <&pio PB 8 1 0 1 1>; |
---|
1570 | | - default_state="on"; |
---|
1571 | | - }; |
---|
| 1388 | + PC3 { |
---|
| 1389 | + label = "PC3"; |
---|
| 1390 | + gpios = <&pio PC 3 1 0 1 0>; |
---|
| 1391 | + linux,default_trigger = "default-on"; |
---|
| 1392 | + }; |
---|
1572 | 1393 | |
---|
1573 | | - spkmute { |
---|
1574 | | - label = "spkmute"; |
---|
1575 | | - gpios = <&pio PH 13 1 0 1 0>; |
---|
1576 | | - default_state="on"; |
---|
1577 | | - }; |
---|
| 1394 | + PC4 { |
---|
| 1395 | + label = "PC4"; |
---|
| 1396 | + gpios = <&pio PC 4 1 0 1 0>; |
---|
| 1397 | + linux,default_trigger = "default-on"; |
---|
| 1398 | + }; |
---|
| 1399 | + |
---|
| 1400 | + PC7 { |
---|
| 1401 | + label = "PC7"; |
---|
| 1402 | + gpios = <&pio PC 7 1 0 1 0>; |
---|
| 1403 | + linux,default_trigger = "default-on"; |
---|
| 1404 | + }; |
---|
| 1405 | + |
---|
| 1406 | + PC12 { |
---|
| 1407 | + label = "PC12"; |
---|
| 1408 | + gpios = <&pio PC 12 1 0 1 0>; |
---|
| 1409 | + linux,default_trigger = "default-on"; |
---|
| 1410 | + }; |
---|
| 1411 | + |
---|
1578 | 1412 | }; |
---|
1579 | | - |
---|
1580 | 1413 | }; |
---|
1581 | 1414 | |
---|
1582 | 1415 | &cpu0 { |
---|
1583 | 1416 | cpu-supply = <®_dcdc2>; |
---|
1584 | 1417 | }; |
---|
| 1418 | + |
---|
| 1419 | +&s_cir0 { |
---|
| 1420 | + status = "okay"; |
---|
| 1421 | + |
---|
| 1422 | + pinctrl-names = "default", "sleep"; |
---|
| 1423 | + pinctrl-0 = <&s_cir0_pins_a>; |
---|
| 1424 | + pinctrl-1 = <&s_cir0_pins_a>; |
---|
| 1425 | + |
---|
| 1426 | + s_cir0_used = <1>; |
---|
| 1427 | + ir_power_key_code0 = <0x4d>; |
---|
| 1428 | + ir_addr_code0 = <0x4040>; |
---|
| 1429 | + ir_power_key_code1 = <0x51>; |
---|
| 1430 | + ir_addr_code1 = <0x7f80>; |
---|
| 1431 | + ir_power_key_code2 = <0x1c>; |
---|
| 1432 | + ir_addr_code2 = <0xdf00>; |
---|
| 1433 | + wakeup-source; |
---|
| 1434 | +}; |
---|
| 1435 | + |
---|
| 1436 | + |
---|
| 1437 | +&gmac0 { |
---|
| 1438 | + /delete-property/ phy-rst; |
---|
| 1439 | + rx-delay = <7>; |
---|
| 1440 | +}; |
---|
| 1441 | + |
---|
| 1442 | + |
---|
| 1443 | +//#include "lcd-lvds-21-1920-1080.dtsi" |
---|
| 1444 | +#include "lcd-lvds-7-1024-600.dtsi" |
---|
| 1445 | +//#include "lcd-mipi-10-800-1280.dtsi" |
---|