2 * SAMSUNG EXYNOS9610 board device tree source
4 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
15 #include "exynos9610_battery_data.dtsi"
16 #include <dt-bindings/clock/exynos9610.h>
17 #include "modem-ss360ap-sit-pdata.dtsi"
18 #include "exynos9610-display-lcd.dtsi"
19 #include "novatek-nt36xxx-i2c.dtsi"
20 #include "wing-sensor.dtsi"
23 compatible = "samsung,exynos9610", "samsung,WING";
32 model = "Samsung Wing board based on EXYNOS9610";
35 parameter_address = <0x90000000>;
36 parameter_size = <0x19000>;
40 bootargs = "console=ttySAC0,115200 skip_initramfs rootwait ro init=/init clk_ignore_unused bcm_setup=0xffffff80f8e00000 androidboot.hardware=exynos9610 androidboot.selinux=permissive androidboot.debug_level=0x4948 firmware_class.path=/vendor/firmware ecd_setup=disable reserve-fimc=0xffffff80fa000000 pmic_info=0x3 ccic_info=0x1 epx_activate=true ";
41 linux,initrd-start = <0x84000000>;
42 linux,initrd-end = <0x841FFFFF>;
47 compatible = "samsung,exynos9610-oscclk";
48 clock-frequency = <26000000>;
54 compatible = "android,firmware";
56 compatible = "android,vbmeta";
57 parts = "vbmeta,boot,system,vendor";
60 compatible = "android,fstab";
62 compatible = "android,vendor";
63 dev = "/dev/block/platform/13520000.ufs/by-name/vendor";
66 fsmgr_flags = "wait,slotselect";
74 compatible = "samsung,ifconn";
75 ifconn,usbpd = "s2mm005";
76 ifconn,muic = "s2mu106-muic";
81 compatible = "egistec,et320";
84 clocks = <&clock GATE_SPI_1_QCH>, <&clock SPI1>;
85 clock-names = "spi", "spi_busclk0";
86 pinctrl-names = "default";
87 pinctrl-0 = <&spi7_bus &spi7_cs_func>;
88 egistec,gpio_irq = <&gpa0 5 0>;
89 egistec,gpio_rst = <&gpa1 1 0>;
98 compatible = "samsung,s2mpu09mfd";
99 acpm-ipc-channel = <2>;
101 s2mpu09,wakeup = "enabled";
102 s2mpu09,irq-gpio = <&gpa2 0 0>;
104 interrupts = <2 0 0>;
105 interrupt-parent = <&gpa2>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&pmic_irq &pm_wrsti>;
109 wtsr_en = "enabled"; /* enable */
110 smpl_en = "enabled"; /* enable */
111 wtsr_timer_val = <3>; /* 1000ms */
112 smpl_timer_val = <4>; /* 500ms */
113 check_jigon = <0>; /* do not check jigon */
114 /* RTC: If it's first boot, reset rtc to 1/1/2017 12:00:00(Sun) */
117 init_time,hour = <12>;
118 init_time,mday = <1>;
120 init_time,year = <117>;
121 init_time,wday = <0>;
125 regulator-name = "vdd_mif";
126 regulator-min-microvolt = <500000>;
127 regulator-max-microvolt = <1100000>;
129 regulator-ramp-delay = <12000>;
130 regulator-initial-mode = <2>;
134 regulator-name = "vdd_cpucl1";
135 regulator-min-microvolt = <500000>;
136 regulator-max-microvolt = <1300000>;
138 regulator-ramp-delay = <12000>;
139 regulator-initial-mode = <1>;
143 regulator-name = "vdd_cpucl0";
144 regulator-min-microvolt = <500000>;
145 regulator-max-microvolt = <1300000>;
147 regulator-ramp-delay = <12000>;
148 regulator-initial-mode = <1>;
152 regulator-name = "vdd_int";
153 regulator-min-microvolt = <500000>;
154 regulator-max-microvolt = <1100000>;
156 regulator-ramp-delay = <12000>;
157 regulator-initial-mode = <2>;
161 regulator-name = "vdd_g3d";
162 regulator-min-microvolt = <500000>;
163 regulator-max-microvolt = <1200000>;
165 regulator-ramp-delay = <12000>;
166 regulator-initial-mode = <2>;
170 regulator-name = "vdd_cam_vipx";
171 regulator-min-microvolt = <500000>;
172 regulator-max-microvolt = <1300000>;
174 regulator-ramp-delay = <12000>;
175 regulator-initial-mode = <2>;
179 regulator-name = "vdd2_mem";
180 regulator-min-microvolt = <500000>;
181 regulator-max-microvolt = <1300000>;
183 regulator-ramp-delay = <12000>;
184 regulator-initial-mode = <3>;
188 regulator-name = "vdd_lldo";
189 regulator-min-microvolt = <1200000>;
190 regulator-max-microvolt = <1500000>;
192 regulator-ramp-delay = <12000>;
193 regulator-initial-mode = <3>;
197 regulator-name = "vdd_mldo";
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <2100000>;
201 regulator-ramp-delay = <12000>;
202 regulator-initial-mode = <3>;
206 regulator-name = "vdd_ldo1";
207 regulator-min-microvolt = <700000>;
208 regulator-max-microvolt = <1300000>;
210 regulator-ramp-delay = <12000>;
211 regulator-initial-mode = <3>;
215 regulator-name = "vqmmc";
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <3375000>;
218 regulator-ramp-delay = <12000>;
222 regulator-name = "vdd_ldo3";
223 regulator-min-microvolt = <800000>;
224 regulator-max-microvolt = <1950000>;
226 regulator-ramp-delay = <12000>;
227 regulator-initial-mode = <3>;
231 regulator-name = "vdd_ldo4";
232 regulator-min-microvolt = <500000>;
233 regulator-max-microvolt = <1100000>;
235 regulator-ramp-delay = <12000>;
236 regulator-initial-mode = <1>;
240 regulator-name = "vdd_ldo5";
241 regulator-min-microvolt = <800000>;
242 regulator-max-microvolt = <1300000>;
244 regulator-ramp-delay = <12000>;
245 regulator-initial-mode = <1>;
249 regulator-name = "vdd_ldo6";
250 regulator-min-microvolt = <800000>;
251 regulator-max-microvolt = <1300000>;
253 regulator-ramp-delay = <12000>;
254 regulator-initial-mode = <1>;
258 regulator-name = "vdd_ldo7";
259 regulator-min-microvolt = <800000>;
260 regulator-max-microvolt = <1950000>;
262 regulator-ramp-delay = <12000>;
263 regulator-initial-mode = <1>;
267 regulator-name = "vdd_ldo8";
268 regulator-min-microvolt = <500000>;
269 regulator-max-microvolt = <1300000>;
271 regulator-ramp-delay = <12000>;
272 regulator-initial-mode = <1>;
276 regulator-name = "vdd_ldo9";
277 regulator-min-microvolt = <500000>;
278 regulator-max-microvolt = <1300000>;
280 regulator-ramp-delay = <12000>;
281 regulator-initial-mode = <1>;
285 regulator-name = "vdd_ldo10";
286 regulator-min-microvolt = <500000>;
287 regulator-max-microvolt = <1300000>;
289 regulator-ramp-delay = <12000>;
290 regulator-initial-mode = <1>;
294 regulator-name = "vdd_ldo11";
295 regulator-min-microvolt = <500000>;
296 regulator-max-microvolt = <1300000>;
298 regulator-ramp-delay = <12000>;
299 regulator-initial-mode = <1>;
303 regulator-name = "vdd_ldo12";
304 regulator-min-microvolt = <800000>;
305 regulator-max-microvolt = <1300000>;
307 regulator-ramp-delay = <12000>;
308 regulator-initial-mode = <1>;
312 regulator-name = "vdd_ldo13";
313 regulator-min-microvolt = <800000>;
314 regulator-max-microvolt = <1950000>;
316 regulator-ramp-delay = <12000>;
317 regulator-initial-mode = <1>;
321 regulator-name = "vdd_ldo14";
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <3375000>;
325 regulator-ramp-delay = <12000>;
326 regulator-initial-mode = <1>;
330 regulator-name = "vdd_ldo33";
331 regulator-min-microvolt = <800000>;
332 regulator-max-microvolt = <1950000>;
333 regulator-ramp-delay = <12000>;
337 regulator-name = "vdd_ldo34";
338 regulator-min-microvolt = <1800000>;
339 regulator-max-microvolt = <3375000>;
340 regulator-ramp-delay = <12000>;
344 regulator-name = "vmmc";
345 regulator-min-microvolt = <1800000>;
346 regulator-max-microvolt = <3375000>;
347 regulator-ramp-delay = <12000>;
351 regulator-name = "vdd_ldo36";
352 regulator-min-microvolt = <500000>;
353 regulator-max-microvolt = <1300000>;
355 regulator-ramp-delay = <12000>;
356 regulator-initial-mode = <1>;
360 regulator-name = "vdd_ldo37";
361 regulator-min-microvolt = <3300000>;
362 regulator-max-microvolt = <3300000>;
363 regulator-ramp-delay = <12000>;
368 regulator-name = "vdd_ldo38";
369 regulator-min-microvolt = <1800000>;
370 regulator-max-microvolt = <3375000>;
371 regulator-ramp-delay = <12000>;
376 regulator-name = "vdd_ldo39";
377 regulator-min-microvolt = <800000>;
378 regulator-max-microvolt = <1950000>;
379 regulator-ramp-delay = <12000>;
384 regulator-name = "vdd_ldo40";
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <3375000>;
387 regulator-ramp-delay = <12000>;
388 regulator-initial-mode = <3>;
393 regulator-name = "vdd_ldo41";
394 regulator-min-microvolt = <1800000>;
395 regulator-max-microvolt = <3375000>;
396 regulator-ramp-delay = <12000>;
400 regulator-name = "vdd_ldo42";
401 regulator-min-microvolt = <800000>;
402 regulator-max-microvolt = <1950000>;
403 regulator-ramp-delay = <12000>;
408 regulator-name = "vdd_ldo43";
409 regulator-min-microvolt = <500000>;
410 regulator-max-microvolt = <1300000>;
412 regulator-ramp-delay = <12000>;
413 regulator-initial-mode = <1>;
417 regulator-name = "vdd_ldo44";
418 regulator-min-microvolt = <800000>;
419 regulator-max-microvolt = <1300000>;
420 regulator-ramp-delay = <12000>;
429 compatible = "samsung,exynos-rgt";
432 mailbox_cp: mcu_ipc@11920000 {
433 compatible = "samsung,exynos-shd-ipc-mailbox";
434 reg = <0x0 0x11920000 0x180>;
435 mcu,name = "mcu_ipc_cp";
437 interrupts = <0 40 0 >;
440 mailbox_gnss: mcu_ipc@11A00000 {
441 compatible = "samsung,exynos-shd-ipc-mailbox";
442 reg = <0x0 0x11A00000 0x180>;
443 mcu,name = "mcu_ipc_gnss";
445 interrupts = <0 43 0>; /* INTREQ__MAILBOX_GNSS2AP */
451 compatible = "samsung,gnss_shdmem_if";
452 shmem,name = "KEPLER";
453 shmem,device_node_name = "gnss_ipc";
455 /* INTREQ__ALIVE_GNSS_ACTIVE, INTREQ__GNSS2AP_WDOG_RESET, INTREQ__GNSS2AP_WAKEUP, INTREQ__GNSS2AP */
456 interrupts = <0 27 0>, <0 81 0>, <0 80 0>, <0 79 0>;
457 interrupt-names = "ACTIVE", "WATCHDOG", "WAKEUP", "REQ_INIT";
459 memory-region = <&gnss_reserved>;
460 mbox_info = <&mailbox_gnss>;
462 mbx,int_ap2gnss_bcmd = <0>;
463 mbx,int_ap2gnss_req_fault_info = <1>;
464 mbx,int_ap2gnss_ipc_msg = <2>;
465 mbx,int_ap2gnss_ack_wake_set = <3>;
466 mbx,int_ap2gnss_ack_wake_clr = <4>;
468 mbx,irq_gnss2ap_bcmd = <0>;
469 mbx,irq_gnss2ap_rsp_fault_info = <1>;
470 mbx,irq_gnss2ap_ipc_msg = <2>;
471 mbx,irq_gnss2ap_req_wake_clr = <4>;
473 mbx,reg_bcmd_ctrl = <0>, <1>, <2>, <3>;
475 reg_rx_ipc_msg = <1 5>;
476 reg_tx_ipc_msg = <1 4>;
481 fault_info = <1 0x200000 0x180000>;
483 shmem,ipc_offset = <0x380000>;
484 shmem,ipc_size = <0x80000>;
485 shmem,ipc_reg_cnt = <32>;
490 compatible = "gpio-keys";
491 #address-cells = <1>;
493 pinctrl-names = "default";
494 pinctrl-0 = <&key_voldown &key_volup &key_power>;
496 label = "gpio-keys: KEY_VOLUMEDOWN";
498 gpios = <&gpa1 6 0xf>;
501 label = "gpio-keys: KEY_VOLUMEUP";
503 gpios = <&gpa1 5 0xf>;
506 label = "gpio-keys: KEY_POWER";
508 gpios = <&gpa1 7 0xf>;
509 gpio-key,wakeup = <1>;
525 card-init-hwacg-ctrl;
527 qos-dvfs-level = <100000>;
530 card-detect-delay = <200>;
531 data-timeout = <200>;
533 samsung,dw-mshc-ciu-div = <3>;
534 clock-frequency = <800000000>;
535 samsung,dw-mshc-sdr-timing = <3 0 2 0>;
536 samsung,dw-mshc-ddr-timing = <3 0 2 1>;
537 samsung,dw-mshc-sdr50-timing = <3 0 4 2>;
538 samsung,dw-mshc-sdr104-timing = <3 0 3 0>;
541 ciu_clkin = <25 50 50 25 50 100 200 50 50>;
543 /* Swapping clock drive strength */
544 clk-drive-number = <4>;
545 pinctrl-names = "default",
550 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus1 &sd2_bus4 &dwmmc2_cd_ext_irq>;
551 pinctrl-1 = <&sd2_clk_fast_slew_rate_1x>;
552 pinctrl-2 = <&sd2_clk_fast_slew_rate_2x>;
553 pinctrl-3 = <&sd2_clk_fast_slew_rate_3x>;
554 pinctrl-4 = <&sd2_clk_fast_slew_rate_4x>;
556 card-detect = <&gpa0 7 0xf>;
557 #address-cells = <1>;
567 compatible = "samsung,usb-notifier";
571 usb_hs_tune:usb_hs_tune {
574 /* value = <device host> */
576 tune_name = "tx_vref";
577 tune_value = <0xf 0xf>;
581 tune_name = "tx_pre_emp";
582 tune_value = <0x3 0x3>;
586 tune_name = "tx_pre_emp_plus";
587 tune_value = <0x0 0x0>;
591 tune_name = "tx_res";
592 tune_value = <0x3 0x3>;
596 tune_name = "tx_rise";
597 tune_value = <0x3 0x3>;
601 tune_name = "tx_hsxv";
602 tune_value = <0x3 0x3>;
606 tune_name = "tx_fsls";
607 tune_value = <0x3 0x3>;
611 tune_name = "rx_sqrx";
612 tune_value = <0x7 0x7>;
616 tune_name = "compdis";
617 tune_value = <0x7 0x7>;
622 tune_value = <0x2 0x2>;
626 /* true : 1, false: 0 */
627 /* <enable_user_imp user_imp_value> */
628 tune_name = "enable_user_imp";
629 tune_value = <0x0 0x0>;
633 /* PHY clk : 1 , FREE clk : 0 */
634 tune_name = "is_phyclock";
635 tune_value = <0x1 0x1>;
639 usb3_ss_tune:ss_tune {
642 /* value = <device host> */
644 tune_name = "tx0_term_offset";
645 tune_value = <0x0 0x0>;
649 tune_name = "pcs_tx_swing_full";
650 tune_value = <0x7f 0x7f>;
654 tune_name = "pcs_tx_deemph_6db";
655 tune_value = <0x1c 0x1c>;
659 tune_name = "pcs_tx_deemph_3p5db";
660 tune_value = <0x1c 0x1c>;
664 tune_name = "tx_vboost_lvl_sstx";
665 tune_value = <0x7 0x7>;
669 tune_name = "tx_vboost_lvl";
670 tune_value = <0x4 0x4>;
674 tune_name = "los_level";
675 tune_value = <0x9 0x9>;
679 tune_name = "los_bias";
680 tune_value = <0x5 0x5>;
684 tune_name = "pcs_rx_los_mask_val";
685 tune_value = <0x104 0x104>;
689 tune_name = "tx_eye_height_cntl_en";
690 tune_value = <0x1 0x1>;
694 tune_name = "pipe_tx_deemph_update_delay";
695 tune_value = <0x2 0x2>;
699 tune_name = "pcs_tx_swing_full_sstx";
700 tune_value = <0x7f 0x7f>;
703 tune_name = "rx_eq_fix_val";
704 tune_value = <0x2 0x2>;
708 tune_name = "rx_decode_mode";
709 tune_value = <0x1 0x1>;
713 tune_name = "decrese_ss_tx_imp";
714 tune_value = <0x1 0x1>;
718 usb3_hs_tune:usb3_hs_tune {
721 /* value = <device host> */
723 tune_name = "tx_pre_emp";
724 tune_value = <0x3 0x3>;
728 tune_name = "tx_pre_emp_plus";
729 tune_value = <0x0 0x0>;
733 tune_name = "tx_vref";
734 tune_value = <0x7 0x7>;
738 tune_name = "rx_sqrx";
739 tune_value = <0x7 0x7>;
743 tune_name = "tx_rise";
744 tune_value = <0x3 0x3>;
748 tune_name = "compdis";
749 tune_value = <0x7 0x7>;
753 tune_name = "tx_hsxv";
754 tune_value = <0x3 0x3>;
758 tune_name = "tx_fsls";
759 tune_value = <0x3 0x3>;
763 tune_name = "tx_res";
764 tune_value = <0x3 0x3>;
768 tune_name = "utim_clk";
769 tune_value = <0x1 0x1>;
775 compatible = "samsung,ufs-srpmb";
776 interrupts = <0 460 0>;
779 V_SYS: fixedregulator@0 {
780 compatible = "regulator-fixed";
781 regulator-name = "V_SYS";
782 regulator-min-microvolt = <4200000>;
783 regulator-max-microvolt = <4200000>;
789 dummy_audio_codec: audio_codec_dummy {
791 compatible = "snd-soc-dummy";
794 dummy_audio_cpu: audio_cpu_dummy {
795 compatible = "samsung,dummy-cpu";
801 compatible = "samsung,exynos9610-madera";
803 clock-names = "xclkout";
804 clocks = <&clock OSC_AUD>;
805 pinctrl-names = "default";
806 pinctrl-0 = <&xclkout0>;
808 cirrus,sysclk = <1 4 98304000>;
809 cirrus,dspclk = <8 4 147456000>;
810 cirrus,fll1-refclk = <1 0 26000000 98304000>;
812 cirrus,opclk = <3 0 12288000>;
815 "HEADSETMIC", "MICBIAS1B",
816 "IN1BR", "HEADSETMIC",
817 "DMIC1", "MICBIAS2A",
819 "DMIC2", "MICBIAS2A",
821 "DMIC3", "MICBIAS2B",
823 "RECEIVER", "EPOUTN",
824 "RECEIVER", "EPOUTP",
825 "HEADPHONE", "HPOUTL",
826 "HEADPHONE", "HPOUTR",
827 "AIF2 Playback", "OPCLK",
828 "AIF2 Capture", "OPCLK",
829 "VOUTPUT", "ABOX UAIF0 Playback",
830 "SPEAKER", "Left SPK",
831 "VOUTPUTCALL", "ABOX SIFS0 Playback",
832 "ABOX SIFS0 Capture", "VINPUTCALL";
834 samsung,codec = <&abox &abox_uaif_0 &abox_uaif_1 &abox_uaif_2
835 &abox_uaif_4 &abox_dsif &abox_spdy>; /*&cs35l41_left*/
836 samsung,prefix = "ABOX", "ABOX", "ABOX", "ABOX",
837 "ABOX", "ABOX", "ABOX", "Left";
838 samsung,aux = <&abox_effect &abox_bt>;
842 sound-dai = <&abox 0>;
845 sound-dai = <&abox_rdma_0>;
848 sound-dai = <&dummy_audio_codec>;
853 sound-dai = <&abox 1>;
856 sound-dai = <&abox_rdma_1>;
859 sound-dai = <&dummy_audio_codec>;
864 sound-dai = <&abox 2>;
867 sound-dai = <&abox_rdma_2>;
870 sound-dai = <&dummy_audio_codec>;
875 sound-dai = <&abox 3>;
878 sound-dai = <&abox_rdma_3>;
881 sound-dai = <&dummy_audio_codec>;
886 sound-dai = <&abox 4>;
889 sound-dai = <&abox_rdma_4>;
892 sound-dai = <&dummy_audio_codec>;
897 sound-dai = <&abox 5>;
900 sound-dai = <&abox_rdma_5>;
903 sound-dai = <&dummy_audio_codec>;
908 sound-dai = <&abox 6>;
911 sound-dai = <&abox_rdma_6>;
914 sound-dai = <&dummy_audio_codec>;
919 sound-dai = <&abox 7>;
922 sound-dai = <&abox_rdma_7>;
925 sound-dai = <&dummy_audio_codec>;
930 sound-dai = <&abox 8>;
933 sound-dai = <&abox_wdma_0>;
936 sound-dai = <&dummy_audio_codec>;
941 sound-dai = <&abox 9>;
944 sound-dai = <&abox_wdma_1>;
947 sound-dai = <&dummy_audio_codec>;
952 sound-dai = <&abox 10>;
955 sound-dai = <&abox_wdma_2>;
958 sound-dai = <&dummy_audio_codec>;
963 sound-dai = <&abox 11>;
966 sound-dai = <&abox_wdma_3>;
969 sound-dai = <&dummy_audio_codec>;
974 sound-dai = <&abox 12>;
977 sound-dai = <&abox_wdma_4>;
980 sound-dai = <&dummy_audio_codec>;
983 /** ToDo: enable dp_audio link after enabling DP Audio
986 * sound-dai = <&dummy_audio_cpu>;
989 * sound-dai = <&dummy_audio_codec>;
996 sound-dai = <&abox_uaif_0>;
999 sound-dai = <&cs47l35 0>;
1005 sound-dai = <&abox_uaif_1>;
1008 sound-dai = <&dummy_audio_codec>;
1014 sound-dai = <&abox_uaif_2>;
1017 sound-dai = <&cs47l35 2>;
1025 sound-dai = <&abox_uaif_4>;
1028 sound-dai = <&dummy_audio_codec>;
1034 sound-dai = <&abox_dsif>;
1037 sound-dai = <&dummy_audio_codec>;
1042 sound-dai = <&abox_spdy>;
1045 sound-dai = <&dummy_audio_codec>;
1050 sound-dai = <&abox 13>;
1053 sound-dai = <&dummy_audio_codec>;
1058 sound-dai = <&abox 14>;
1061 sound-dai = <&dummy_audio_codec>;
1066 sound-dai = <&abox 15>;
1069 sound-dai = <&dummy_audio_codec>;
1073 #if 0 /*ToDo: enable speaker amp on EVB board*/
1078 sound-dai = <&cs47l35 1>;
1081 sound-dai = <&cs35l41_left 0>;
1091 rear_sensor_id = <47>; /* 46: RPB, 20: 2P8, 47: 2P7SQ */
1092 front_sensor_id = <7>; /* 6B2 */
1093 rear_second_sensor_id = <48>; /* 48: 2T7SX */
1094 secure_sensor_id = <22>; /* 5E2 */
1098 #define DVFS_INT_CAM_L0 690000
1099 #define DVFS_INT_CAM_L1 680000
1100 #define DVFS_INT_CAM_L2 670000
1101 #define DVFS_INT_CAM_L3 660000
1102 #define DVFS_INT_CAM_L4 650000
1104 #define DVFS_INT_L0 667000
1105 #define DVFS_INT_L1 533000
1106 #define DVFS_INT_L2 400000
1107 #define DVFS_INT_L3 200000
1108 #define DVFS_INT_L4 100000
1110 #define DVFS_CAM_L0 690000
1111 #define DVFS_CAM_L1 680000
1112 #define DVFS_CAM_L2 670000
1113 #define DVFS_CAM_L3 660000
1114 #define DVFS_CAM_L4 650000
1115 #define DVFS_CAM_L5 640000
1117 #define DVFS_MIF_L0 2093000
1118 #define DVFS_MIF_L1 2002000
1119 #define DVFS_MIF_L2 1794000
1120 #define DVFS_MIF_L3 1539000
1121 #define DVFS_MIF_L4 1352000
1122 #define DVFS_MIF_L5 1014000
1123 #define DVFS_MIF_L6 845000
1124 #define DVFS_MIF_L7 676000
1125 #define DVFS_MIF_L8 546000
1126 #define DVFS_MIF_L9 419000
1129 desc = "dvfs table v0.0 for 16M/2M";
1131 default_int_cam = <DVFS_INT_CAM_L0>;
1132 default_cam = <DVFS_CAM_L0>;
1133 default_mif = <DVFS_MIF_L0>;
1134 default_int = <DVFS_INT_L0>;
1137 front_preview_int_cam = <DVFS_INT_CAM_L0>;
1138 front_preview_cam = <DVFS_CAM_L0>;
1139 front_preview_mif = <DVFS_MIF_L0>;
1140 front_preview_int = <DVFS_INT_L0>;
1141 front_preview_hpg = <1>;
1143 front_preview_full_int_cam = <DVFS_INT_CAM_L0>;
1144 front_preview_full_cam = <DVFS_CAM_L0>;
1145 front_preview_full_mif = <DVFS_MIF_L0>;
1146 front_preview_full_int = <DVFS_INT_L0>;
1147 front_preview_full_hpg = <1>;
1149 front_capture_int_cam = <DVFS_INT_CAM_L0>;
1150 front_capture_cam = <DVFS_CAM_L0>;
1151 front_capture_mif = <DVFS_MIF_L0>;
1152 front_capture_int = <DVFS_INT_L0>;
1153 front_capture_hpg = <1>;
1155 front_video_int_cam = <DVFS_INT_CAM_L0>;
1156 front_video_cam = <DVFS_CAM_L0>;
1157 front_video_mif = <DVFS_MIF_L0>;
1158 front_video_int = <DVFS_INT_L0>;
1159 front_video_hpg = <1>;
1161 front_video_capture_int_cam = <DVFS_INT_CAM_L0>;
1162 front_video_capture_cam = <DVFS_CAM_L0>;
1163 front_video_capture_mif = <DVFS_MIF_L0>;
1164 front_video_capture_int = <DVFS_INT_L0>;
1165 front_video_capture_hpg = <1>;
1167 front_wide_selfie_int_cam = <DVFS_INT_CAM_L0>;
1168 front_wide_selfie_cam = <DVFS_CAM_L0>;
1169 front_wide_selfie_mif = <DVFS_MIF_L0>;
1170 front_wide_selfie_int = <DVFS_INT_L0>;
1171 front_wide_selfie_hpg = <1>;
1173 front_vt1_int_cam = <DVFS_INT_CAM_L0>;
1174 front_vt1_cam = <DVFS_CAM_L0>;
1175 front_vt1_mif = <DVFS_MIF_L0>;
1176 front_vt1_int = <DVFS_INT_L0>;
1177 front_vt1_hpg = <1>;
1179 front_vt2_int_cam = <DVFS_INT_CAM_L0>;
1180 front_vt2_cam = <DVFS_CAM_L0>;
1181 front_vt2_mif = <DVFS_MIF_L0>;
1182 front_vt2_int = <DVFS_INT_L0>;
1183 front_vt2_hpg = <1>;
1185 front_vt4_int_cam = <DVFS_INT_CAM_L0>;
1186 front_vt4_cam = <DVFS_CAM_L0>;
1187 front_vt4_mif = <DVFS_MIF_L0>;
1188 front_vt4_int = <DVFS_INT_L0>;
1189 front_vt4_hpg = <1>;
1191 rear_preview_fhd_int_cam = <DVFS_INT_CAM_L0>;
1192 rear_preview_fhd_cam = <DVFS_CAM_L0>;
1193 rear_preview_fhd_mif = <DVFS_MIF_L0>;
1194 rear_preview_fhd_int = <DVFS_INT_L0>;
1195 rear_preview_fhd_hpg = <1>;
1197 rear_preview_hd_int_cam = <DVFS_INT_CAM_L0>;
1198 rear_preview_hd_cam = <DVFS_CAM_L0>;
1199 rear_preview_hd_mif = <DVFS_MIF_L0>;
1200 rear_preview_hd_int = <DVFS_INT_L0>;
1201 rear_preview_hd_hpg = <1>;
1203 rear_preview_uhd_int_cam = <DVFS_INT_CAM_L0>;
1204 rear_preview_uhd_cam = <DVFS_CAM_L0>;
1205 rear_preview_uhd_mif = <DVFS_MIF_L0>;
1206 rear_preview_uhd_int = <DVFS_INT_L0>;
1207 rear_preview_uhd_hpg = <1>;
1209 rear_preview_full_int_cam = <DVFS_INT_CAM_L0>;
1210 rear_preview_full_cam = <DVFS_CAM_L0>;
1211 rear_preview_full_mif = <DVFS_MIF_L0>;
1212 rear_preview_full_int = <DVFS_INT_L0>;
1213 rear_preview_full_hpg = <1>;
1215 rear_capture_int_cam = <DVFS_INT_CAM_L0>;
1216 rear_capture_cam = <DVFS_CAM_L0>;
1217 rear_capture_mif = <DVFS_MIF_L0>;
1218 rear_capture_int = <DVFS_INT_L0>;
1219 rear_capture_hpg = <1>;
1221 rear_video_fhd_int_cam = <DVFS_INT_CAM_L0>;
1222 rear_video_fhd_cam = <DVFS_CAM_L0>;
1223 rear_video_fhd_mif = <DVFS_MIF_L0>;
1224 rear_video_fhd_int = <DVFS_INT_L0>;
1225 rear_video_fhd_hpg = <1>;
1227 rear_video_hd_int_cam = <DVFS_INT_CAM_L0>;
1228 rear_video_hd_cam = <DVFS_CAM_L0>;
1229 rear_video_hd_mif = <DVFS_MIF_L0>;
1230 rear_video_hd_int = <DVFS_INT_L0>;
1231 rear_video_hd_hpg = <1>;
1233 rear_video_uhd_int_cam = <DVFS_INT_CAM_L0>;
1234 rear_video_uhd_cam = <DVFS_CAM_L0>;
1235 rear_video_uhd_mif = <DVFS_MIF_L0>;
1236 rear_video_uhd_int = <DVFS_INT_L0>;
1237 rear_video_uhd_hpg = <1>;
1239 rear_video_fhd_capture_int_cam = <DVFS_INT_CAM_L0>;
1240 rear_video_fhd_capture_cam = <DVFS_CAM_L0>;
1241 rear_video_fhd_capture_mif = <DVFS_MIF_L0>;
1242 rear_video_fhd_capture_int = <DVFS_INT_L0>;
1243 rear_video_fhd_capture_hpg = <1>;
1245 rear_video_hd_capture_int_cam = <DVFS_INT_CAM_L0>;
1246 rear_video_hd_capture_cam = <DVFS_CAM_L0>;
1247 rear_video_hd_capture_mif = <DVFS_MIF_L0>;
1248 rear_video_hd_capture_int = <DVFS_INT_L0>;
1249 rear_video_hd_capture_hpg = <1>;
1251 rear_video_uhd_capture_int_cam = <DVFS_INT_CAM_L0>;
1252 rear_video_uhd_capture_cam = <DVFS_CAM_L0>;
1253 rear_video_uhd_capture_mif = <DVFS_MIF_L0>;
1254 rear_video_uhd_capture_int = <DVFS_INT_L0>;
1255 rear_video_uhd_capture_hpg = <1>;
1257 secure_front_int_cam = <DVFS_INT_CAM_L0>;
1258 secure_front_cam = <DVFS_CAM_L0>;
1259 secure_front_mif = <DVFS_MIF_L0>;
1260 secure_front_int = <DVFS_INT_L0>;
1261 secure_front_hpg = <1>;
1263 pip_preview_int_cam = <DVFS_INT_CAM_L0>;
1264 pip_preview_cam = <DVFS_CAM_L0>;
1265 pip_preview_mif = <DVFS_MIF_L0>;
1266 pip_preview_int = <DVFS_INT_L0>;
1267 pip_preview_hpg = <1>;
1269 pip_capture_int_cam = <DVFS_INT_CAM_L0>;
1270 pip_capture_cam = <DVFS_CAM_L0>;
1271 pip_capture_mif = <DVFS_MIF_L0>;
1272 pip_capture_int = <DVFS_INT_L0>;
1273 pip_capture_hpg = <1>;
1275 pip_video_int_cam = <DVFS_INT_CAM_L0>;
1276 pip_video_cam = <DVFS_CAM_L0>;
1277 pip_video_mif = <DVFS_MIF_L0>;
1278 pip_video_int = <DVFS_INT_L0>;
1279 pip_video_hpg = <1>;
1281 pip_video_capture_int_cam = <DVFS_INT_CAM_L0>;
1282 pip_video_capture_cam = <DVFS_CAM_L0>;
1283 pip_video_capture_mif = <DVFS_MIF_L0>;
1284 pip_video_capture_int = <DVFS_INT_L0>;
1285 pip_video_capture_hpg = <1>;
1287 preview_high_speed_fps_int_cam = <DVFS_INT_CAM_L1>;
1288 preview_high_speed_fps_cam = <DVFS_CAM_L3>;
1289 preview_high_speed_fps_mif = <DVFS_MIF_L5>;
1290 preview_high_speed_fps_int = <DVFS_INT_L0>;
1291 preview_high_speed_fps_hpg = <1>;
1293 video_high_speed_60fps_int_cam = <DVFS_INT_CAM_L0>;
1294 video_high_speed_60fps_cam = <DVFS_CAM_L0>;
1295 video_high_speed_60fps_mif = <DVFS_MIF_L0>;
1296 video_high_speed_60fps_int = <DVFS_INT_L0>;
1297 video_high_speed_60fps_hpg = <1>;
1299 video_high_speed_480fps_int_cam = <DVFS_INT_CAM_L0>;
1300 video_high_speed_480fps_cam = <DVFS_CAM_L0>;
1301 video_high_speed_480fps_mif = <DVFS_MIF_L0>;
1302 video_high_speed_480fps_int = <DVFS_INT_L0>;
1303 video_high_speed_480fps_hpg = <1>;
1305 video_high_speed_60fps_capture_int_cam = <DVFS_INT_CAM_L0>;
1306 video_high_speed_60fps_capture_cam = <DVFS_CAM_L0>;
1307 video_high_speed_60fps_capture_mif = <DVFS_MIF_L0>;
1308 video_high_speed_60fps_capture_int = <DVFS_INT_L0>;
1309 video_high_speed_60fps_capture_hpg = <1>;
1311 ext_front_int_cam = <DVFS_INT_CAM_L0>;
1312 ext_front_cam = <DVFS_CAM_L0>;
1313 ext_front_mif = <DVFS_MIF_L0>;
1314 ext_front_int = <DVFS_INT_L0>;
1315 ext_front_hpg = <1>;
1317 ext_secure_int_cam = <DVFS_INT_CAM_L3>;
1318 ext_secure_cam = <DVFS_CAM_L4>;
1319 ext_secure_mif = <DVFS_MIF_L7>;
1320 ext_secure_int = <DVFS_INT_L4>;
1321 ext_secure_hpg = <1>;
1323 max_int_cam = <DVFS_INT_CAM_L0>;
1324 max_cam = <DVFS_CAM_L0>;
1325 max_mif = <DVFS_MIF_L0>;
1326 max_int = <DVFS_INT_L0>;
1332 fimc_is_flash_gpio: fimc-is-flash-gpio@0 {
1333 compatible = "samsung,sensor-flash-gpio";
1337 torch-gpio = <&gpg3 1 0x1>;
1338 flash-gpio = <&gpg3 0 0x1>;
1341 fimc_is_sensor_2p7sq: fimc-is_sensor_2p7sq@47 {
1342 compatible = "samsung,sensor-module-2p7sq";
1344 pinctrl-names = "pin0", "pin1", "pin2", "release";
1346 pinctrl-1 = <&fimc_is_mclk0_out>;
1347 pinctrl-2 = <&fimc_is_mclk0_fn>;
1350 position = <0>; /* Rear:0. Front:1. Rear_sub:2. Secure:3. */
1351 id = <0>; /* fimc_is_sensor id */
1353 sensor_i2c_ch = <0>; /* SENSOR_CONTROL_I2C0 */
1355 gpio_mclk = <&gpc2 0 0x1>;
1356 gpio_reset = <&gpc1 0 0x1>; /* sensor reset */
1358 power_seq_id = <1>; /* Rumba S6 Compatible */
1363 product_name = <20>; /* ACTUATOR_NAME_LC898217 */
1364 i2c_ch = <0>; /* SENSOR_CONTROL_I2C0 */
1368 product_name = <11>; /* FLASH_GPIO */
1372 fimc_is_sensor_2t7sx: fimc-is_sensor_2t7sx@48 {
1373 compatible = "samsung,sensor-module-2t7sx";
1375 pinctrl-names = "pin0", "pin1", "pin2", "release";
1377 pinctrl-1 = <&fimc_is_mclk2_out>;
1378 pinctrl-2 = <&fimc_is_mclk2_fn>;
1381 position = <2>; /* Rear:0. Front:1. Rear_sub:2. Secure:3. */
1382 id = <2>; /* fimc_is_sensor id */
1384 sensor_i2c_ch = <1>; /* SENSOR_CONTROL_I2C1 */
1386 gpio_mclk = <&gpc2 2 0x1>;
1387 gpio_reset = <&gpc0 6 0x1>; /* sensor reset */
1389 power_seq_id = <1>; /* Rumba S6 Compatible */
1394 product_name = <20>; /* ACTUATOR_NAME_LC898217 */
1395 i2c_ch = <1>; /* SENSOR_CONTROL_I2C1 */
1399 product_name = <11>; /* FLASH_GPIO */
1404 fimc_is_sensor_6b2: fimc-is_sensor_6b2@7 {
1405 compatible = "samsung,sensor-module-6b2";
1407 pinctrl-names = "pin0", "pin1", "pin2", "release";
1409 pinctrl-1 = <&fimc_is_mclk1_out>;
1410 pinctrl-2 = <&fimc_is_mclk1_fn>;
1413 position = <1>; /* Rear:0. Front:1. Rear_sub:2. Secure:3. */
1414 id = <1>; /* fimc_is_sensor id */
1416 sensor_i2c_ch = <2>; /* SENSOR_CONTROL_I2C4 */
1418 gpio_mclk = <&gpc2 1 0x1>;
1419 gpio_reset = <&gpc1 2 0x1>; /* sensor reset */
1423 product_name = <100>; /* NOTHING */
1424 i2c_ch = <2>; /* SENSOR_CONTROL_I2C2 */
1428 product_name = <100>; /* NOTHING */
1432 product_name = <100>; /* NOTHING */
1440 /* I2C_CAM0 */ /* SENSOR_CONTROL_I2C0 */
1441 hsi2c_12: hsi2c@138A0000 {
1442 gpios = <&gpc0 0 0 &gpc0 1 0>;
1444 clock-frequency = <400000>;
1445 samsung,reset-before-trans;
1446 samsung,polling-mode;
1449 compatible = "samsung,exynos5-fimc-is-cis-2p7sq";
1450 reg = <0x2d>; /* 1 bit right shift */
1451 id = <0>; /* matching fimc_is_sensor id */
1455 fimc-is-actuator@72 {
1456 compatible = "samsung,exynos5-fimc-is-actuator-lc898217";
1457 reg = <0x72>; /* 1 bit right shift */
1458 id = <0>; /* matching fimc_is_sensor id */
1463 /* I2C_CAM1 */ /* SENSOR_CONTROL_I2C1 */
1464 hsi2c_13: hsi2c@138B0000 {
1465 gpios = <&gpc0 2 0 &gpc0 3 0>;
1467 clock-frequency = <400000>;
1468 samsung,reset-before-trans;
1469 samsung,polling-mode;
1472 compatible = "samsung,exynos5-fimc-is-cis-2t7sx";
1473 reg = <0x10>; /* 1 bit right shift */
1474 id = <2>; /* matching fimc_is_sensor id */
1478 fimc-is-actuator@74 {
1479 compatible = "samsung,exynos5-fimc-is-actuator-lc898217";
1480 reg = <0x74>; /* 1 bit right shift */
1481 id = <2>; /* matching fimc_is_sensor id */
1482 place = <1>; /* HACK */
1486 /* I2C_CAM2 */ /* SENSOR_CONTROL_I2C2 */
1487 hsi2c_14: hsi2c@138C0000 {
1488 gpios = <&gpc0 4 0 &gpc0 5 0>;
1490 clock-frequency = <400000>;
1491 samsung,reset-before-trans;
1494 compatible = "samsung,exynos5-fimc-is-cis-6b2";
1495 reg = <0x35>; /* 1 bit right shift */
1496 id = <1>; /* matching fimc_is_sensor id */
1501 /* I2C_CAM3 */ /* SENSOR_CONTROL_I2C3 */
1502 hsi2c_15: hsi2c@138D0000 {
1503 gpios = <&gpc0 6 0 &gpc0 7 0>;
1505 clock-frequency = <400000>;
1506 samsung,reset-before-trans;
1508 fimc-is-actuator@72 {
1509 compatible = "samsung,exynos5-fimc-is-actuator-dw9780";
1510 reg = <0x72>; /* 1 bit right shift */
1511 id = <0>; /* matching fimc_is_sensor id */
1512 place = <1>; /* HACK */
1516 fimc_is_sensor0: fimc_is_sensor@14400000 {
1517 scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */
1520 dma_ch = <0 0 0 0 0 1 1 1>;
1521 vc_ch = <0 1 2 3 0 1 2 3>;
1522 flite_ch = <FLITE_ID_NOTHING>;
1524 /* use_ssvc1_internal; */
1525 /* use_ssvc2_internal; */
1529 fimc_is_sensor1: fimc_is_sensor@14410000 {
1530 scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */
1533 dma_ch = <1 1 1 1 1 1 1 1>;
1534 vc_ch = <0 1 2 3 0 1 2 3>;
1535 flite_ch = <FLITE_ID_NOTHING>;
1540 fimc_is_sensor2: fimc_is_sensor@14420000 {
1541 scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */
1546 flite_ch = <FLITE_ID_NOTHING>;
1551 fimc_is_sensor3: fimc_is_sensor@14430000 {
1552 scenario = <SENSOR_SCENARIO_SECURE>; /* Normal, Vision, OIS etc */
1557 flite_ch = <FLITE_ID_NOTHING>;
1562 }; /* end of __overlay__ */
1563 }; /* end of fragment */
1564 }; /* end of root */
1567 #address-cells = <1>;
1570 s2mu106-fuelgauge@3B {
1571 compatible = "samsung,s2mu106-fuelgauge";
1573 pinctrl-names = "default";
1574 pinctrl-0 = <&fuel_irq>;
1575 fuelgauge,fuel_int = <&gpa2 3 0>;
1576 fuelgauge,fuel_alert_vol = <3400>;
1577 fuelgauge,fuel_alert_soc = <1>;
1578 fuelgauge,type_str = "SDI";
1579 fuelgauge,model_type = <1>;
1583 compatible = "sec-usbpd,i2c";
1585 pinctrl-names = "default";
1586 pinctrl-0 = <&usbpd_irq>;
1587 usbpd,usbpd_int = <&gpa2 2 0>;
1591 pdic,max_power = <5000>;
1592 pdic,op_power = <2500>;
1593 pdic,max_voltage = <6000>;
1594 pdic,max_current = <2000>;
1595 pdic,min_current = <500>;
1597 pdic,giveback = <0>;
1598 pdic,usb_com_capable = <1>;
1599 pdic,no_usb_suspend = <1>;
1602 source,max_voltage = <5000>;
1603 source,min_voltage = <4000>;
1604 source,max_power = <2500>;
1607 sink,capable_max_voltage = <9000>;
1613 #address-cells = <1>;
1617 compatible = "samsung,s2mu106mfd";
1619 pinctrl-names = "default";
1620 pinctrl-0 = <&if_pmic_irq>;
1621 s2mu106,irq-gpio = <&gpa2 1 0>;
1626 muic,uart_addr = "11850000.pinctrl";
1627 muic,uart_rxd = "gpq0-3";
1628 muic,uart_txd = "gpq0-4";
1634 haptic,pwm_id = <1>;
1635 haptic,operation_mode = <2>; /* 0 : ERM_I2C, 1 : ERM_GPIO, 2 : LRA */
1637 haptic,hbst_automode;
1638 haptic,boost_level = <5000>;
1641 s2mcs02-charger@41 {
1642 compatible = "samsung,s2mcs02-charger";
1644 default-clk = <100000000>;
1648 /* Change here if you want to use FLED_EN pin
1649 fled-en1-gpio = <&gpg1 2 0>;
1650 fled-en2-gpio = <&gpg1 2 0>;
1651 fled-en3-gpio = <&gpg1 2 0>;
1652 fled-en4-gpio = <&gpg1 2 0>;
1655 default_current = <50>;
1656 max_current = <200>;
1657 default_timer = <0>;
1686 battery,charger_name = "s2mu106-charger";
1687 battery,chg_gpio_en = <0>;
1688 battery,chg_polarity_en = <0>;
1689 battery,chg_gpio_status = <0>;
1690 battery,chg_polarity_status = <0>;
1691 battery,chg_float_voltage = <4350>;
1692 battery,chg_recharge_vcell = <4250>;
1693 battery,chg_full_vcell = <4300>;
1694 battery,full_check_type = <2>;
1695 battery,full_check_type_2nd = <2>;
1696 battery,input_current_limit = <
1697 500 450 500 1200 500 1200 1200 1000 1000 1000
1698 1000 500 500 1200 1000 500 450>;
1699 battery,fast_charging_current = <
1700 500 450 500 1200 500 1200 1200 1000 1000 1000
1701 1000 500 500 1200 1000 500 450>;
1702 battery,full_check_current_1st = <
1703 300 0 300 300 300 300 300 300 300 300
1704 300 300 300 300 300 300 0>;
1705 battery,full_check_current_2nd = <
1706 100 0 100 100 100 100 100 100 100 100
1707 100 100 100 100 100 100 0>;
1712 #address-cells = <1>;
1717 compatible = "sec-nfc";
1720 sec-nfc,ven-gpio = <&gpg0 0 0>;
1721 sec-nfc,firm-gpio = <&gpg0 2 0>;
1723 sec-nfc,irq-gpio = <&gpa1 2 0>;
1724 sec-nfc,clk_req-gpio = <&gpg0 1 0>;
1725 sec-nfc,ldo_en = <&gpm22 0 0>;
1727 clock-names = "OSC_NFC";
1728 clocks = <&clock OSC_NFC>;
1729 pinctrl-names = "default";
1730 pinctrl-0 = <&xclkout1>;
1736 pinctrl-names = "default";
1737 pinctrl-0 = <&motor_pwm>;
1742 exynos,block-type = "sda";
1743 exynos,fips-block_offset = <5>;
1747 /* chub irq pin lists */
1748 chub-irq-pin = <162>;
1751 <&clock UMUX_CLKCMU_SHUB_BUS>,
1752 /* MAG. SENSOR : AK09918C */
1753 <&clock CMGP01_USI>,
1754 /* PROX. SENSOR : TMD3702 */
1755 <&clock CMGP03_USI>,
1756 /* ALS SENSOR : BH1726 */
1766 pmic_irq: pmic-irq {
1767 samsung,pins = "gpa2-0";
1768 samsung,pin-pud = <3>;
1769 samsung,pin-drv = <3>;
1772 sub_pmic_irq: sub-pmic-irq {
1773 samsung,pins = "gpa1-3";
1774 samsung,pin-function = <0>;
1775 samsung,pin-pud = <0>;
1776 samsung,pin-drv = <0>;
1780 key_voldown: key-voldown {
1781 samsung,pins = "gpa1-6";
1782 samsung,pin-function = <0xf>;
1783 samsung,pin-pud = <0>;
1784 samsung,pin-drv = <0>;
1787 key_volup: key-volup {
1788 samsung,pins = "gpa1-5";
1789 samsung,pin-function = <0xf>;
1790 samsung,pin-pud = <0>;
1791 samsung,pin-drv = <0>;
1794 key_power: key-power {
1795 samsung,pins = "gpa1-7";
1796 samsung,pin-function = <0xf>;
1797 samsung,pin-pud = <0>;
1798 samsung,pin-drv = <0>;
1801 dwmmc2_cd_ext_irq: dwmmc2_cd_ext_irq {
1802 samsung,pins = "gpa0-7";
1803 samsung,pin-function = <0xf>;
1804 samsung,pin-pud = <0>;
1805 samsung,pin-drv = <3>;
1808 attn_irq: attn-irq {
1809 samsung,pins = "gpa2-4";
1810 samsung,pin-function = <0xf>;
1811 samsung,pin-pud = <0>;
1812 samsung,pin-drv = <0>;
1815 attn_input: attn-input {
1816 samsung,pins = "gpa2-4";
1817 samsung,pin-function = <0>;
1818 samsung,pin-pud = <1>;
1821 if_pmic_irq: if-pmic-irq {
1822 samsung,pins = "gpa2-1";
1823 samsung,pin-function = <0>;
1824 samsung,pin-pud = <0>;
1825 samsung,pin-drv = <0>;
1828 fuel_irq: fuel-irq {
1829 samsung,pins = "gpa2-3";
1830 samsung,pin-function = <0>;
1831 samsung,pin-pud = <0>;
1832 samsung,pin-drv = <0>;
1835 usbpd_irq: usbpd-irq {
1836 samsung,pins = "gpa2-2";
1837 samsung,pin-function = <0xf>;
1838 samsung,pin-pud = <3>;
1839 samsung,pin-drv = <3>;
1841 /* TODO: Need to check pin number
1842 small_charger_irq: small-charger-irq {
1843 samsung,pins = "gpa2-5";
1844 samsung,pin-function = <0>;
1845 samsung,pin-pud = <0>;
1846 samsung,pin-drv = <0>;
1849 cap_int_status: cap_int_status {
1850 samsung,pins = "gpa2-6";
1851 samsung,pin-function = <0>;
1852 samsung,pin-val = <1>;
1853 samsung,pin-pud = <1>;
1858 /* Warm reset information from AP */
1859 pm_wrsti: pm-wrsti {
1860 samsung,pins = "gpg0-7";
1861 samsung,pin-con-pdn = <3>;
1864 motor_pwm: motor_pwm {
1865 samsung,pins = "gpg4-2";
1866 samsung,pin-function = <2>;
1867 samsung,pin-pud = <1>;
1868 samsung,pin-drv = <0>;
1872 samsung,pins ="gpg3-4";
1873 samsung,pin-function = <1>;
1874 samsung,pin-val = <1>;
1875 samsung,pin-pud = <3>;
1879 samsung,pins ="gpg3-4";
1880 samsung,pin-function = <0>;
1881 samsung,pin-val = <0>;
1882 samsung,pin-pud = <1>;
1885 codec_reset: codec-reset {
1886 samsung,pins ="gpg3-2";
1887 samsung,pin-pud = <0>;
1888 samsung,pin-con-pdn =<3>;
1889 samsung,pin-pud-pdn = <0>;
1892 codec_en: codec_en {
1893 samsung,pins = "gpg1-1";
1894 samsung,pin-function = <1>;
1895 samsung,pin-pud = <3>;
1896 samsung,pin-val = <1>;
1898 #if 0 /*Should be removed: enable speaker amp on EVB board*/
1900 samsung,pins = "gpp2-2";
1901 samsung,pin-function = <3>;
1902 samsung,pin-pud = <3>;
1903 samsung,pin-drv = <0>;
1906 samsung,pins = "gpp2-1";
1907 samsung,pin-function = <3>;
1908 samsung,pin-pud = <3>;
1909 samsung,pin-drv = <0>;
1912 samsung,pins = "gpp2-0";
1913 samsung,pin-function = <1>;
1914 samsung,pin-val = <0>;
1915 samsung,pin-pud = <1>;
1918 samsung,pins = "gpp2-3";
1919 samsung,pin-function = <1>;
1920 samsung,pin-val = <0>;
1921 samsung,pin-pud = <1>;
1932 maximum-speed = "high-speed";
1937 usb3phy-isolation = <1>;
1939 hs_tune_param = <&usb_hs_tune>;
1944 usb3phy-isolation = <1>;
1946 hs_tune_param = <&usb3_hs_tune>;
1947 ss_tune_param = <&usb3_ss_tune>;
1955 lcd_info = <&nt36672a>;
1956 /* reset, lcd_bias_enp, lcd_bias_enn, lcd_bl_en*/
1957 gpios = <&gpg1 4 0x1>, <&gpg3 1 0x1>, <&gpg3 0 0x1>, <&gpg2 1 0x1>;
1962 usi_v2_mode = "spi";
1966 /* USI_SHUB_0_I2C */
1968 /* usi_v2_mode = "i2c" or "spi" or "uart" */
1969 status = "disabled";
1974 /* usi_v2_mode = "i2c" or "spi" or "uart" */
1975 usi_v2_mode = "i2c";
1979 /* USI_0_CMGP_I2C */
1981 usi_v2_mode = "i2c";
1987 usi_v2_mode = "i2c";
1991 /* USI_1_CMGP_I2C */
1993 usi_v2_mode = "i2c";
1999 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2000 usi_v2_mode = "i2c";
2004 /* USI_2_CMGP_I2C */
2006 usi_v2_mode = "i2c";
2012 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2013 status = "disabled";
2016 /* USI_3_CMGP_I2C */
2018 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2019 status = "disabled";
2024 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2025 status = "disabled";
2028 /* USI_4_CMGP_I2C */
2030 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2031 status = "disabled";
2036 usi_v2_mode = "uart";
2040 /* USI_PERI_CAMI2C_0 */
2041 &usi_peri_cami2c_0 {
2042 usi_v2_mode = "i2c";
2046 /* USI_PERI_CAMI2C_1 */
2047 &usi_peri_cami2c_1 {
2048 usi_v2_mode = "i2c";
2052 /* USI_PERI_CAMI2C_2 */
2053 &usi_peri_cami2c_2 {
2054 usi_v2_mode = "i2c";
2058 /* USI_PERI_CAMI2C_3 */
2059 &usi_peri_cami2c_3 {
2060 usi_v2_mode = "i2c";
2064 /* USI_PERI_SPI_0 */
2066 usi_v2_mode = "spi";
2070 /* USI_PERI_SPI_1 */
2072 usi_v2_mode = "spi";
2076 /* USI_PERI_USI_0 */
2078 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2079 status = "disabled";
2082 /* USI_PERI_USI_0_I2C */
2083 &usi_peri_usi_0_i2c {
2084 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2085 status = "disabled";
2088 /* USI_PERI_SPI_2 */
2090 usi_v2_mode = "spi";
2096 pinctrl-names = "default";
2097 pinctrl-0 = <&spi6_bus &spi6_cs_func>;
2098 /*cs-gpios = <&gpp2 3 0>;*/
2101 #address-cells = <1>;
2103 cs35l41_left: cs35l41@0 {
2104 compatible = "cirrus,cs35l41";
2107 spi-max-frequency = <9600000>;
2109 interrupts = <2 0 0>;
2110 interrupt-controller;
2111 interrupt-parent = <&gpa0>;
2112 reset-gpios = <&gpg3 3 0>;
2113 #sound-dai-cells = <1>;
2115 VA-supply = <&l42_reg>;
2116 VP-supply = <&V_SYS>;
2118 cirrus,boost-peak-milliamp = <4500>;
2119 cirrus,boost-ind-nanohenry = <1000>;
2120 cirrus,boost-cap-microfarad = <15>;
2121 cirrus,asp-sdout-hiz = <0x1>;
2122 cirrus,gpio-config2 {
2123 cirrus,gpio-src-select = <0x4>;
2124 cirrus,gpio-output-enable;
2128 /*cs-gpio = <gpm8 0 0>*/
2129 /*cs-gpios = <&gpp2 3 0>;*/
2130 samsung,spi-feedback-delay = <1>;
2131 samsung,spi-chip-select-mode = <0>;
2139 compatible = "i2c-gpio";
2141 pinctrl-names = "default";
2142 pinctrl-0 = <&_sda &_scl &_ad0 &_ad1>;
2144 gpios = <&gpp2 2 0 /* sda */
2148 #address-cells = <1>;
2151 cs35l41_left: cs35l41@40 {
2152 compatible = "cirrus,cs35l41";
2155 interrupts = <2 0 0>;
2156 interrupt-controller;
2157 interrupt-parent = <&gpa0>;
2158 reset-gpios = <&gpg3 3 0>;
2159 #sound-dai-cells = <1>;
2161 VA-supply = <&l42_reg>;
2162 VP-supply = <&V_SYS>;
2164 cirrus,boost-peak-milliamp = <4500>;
2165 cirrus,boost-ind-nanohenry = <1000>;
2166 cirrus,boost-cap-microfarad = <15>;
2167 cirrus,asp-sdout-hiz = <0x1>;
2168 cirrus,gpio-config2 {
2169 cirrus,gpio-src-select = <0x4>;
2170 cirrus,gpio-output-enable;
2177 pinctrl-names = "default";
2178 pinctrl-0 = <&spi9_bus &spi9_cs_func &codec_en>;
2180 #address-cells = <1>;
2182 cs47l35: cs47l35@0 {
2183 compatible = "cirrus,cs47l35";
2186 spi-max-frequency = <11000000>;
2188 interrupts = <6 0 0>;
2189 interrupt-controller;
2190 #interrupt-cells = <2>;
2191 interrupt-parent = <&gpa0>;
2194 #sound-dai-cells = <1>;
2196 /*l42_reg shoulde be change after board fixed*/
2197 AVDD-supply = <&l42_reg>;
2198 DBVDD1-supply = <&l42_reg>;
2199 DBVDD2-supply = <&l42_reg>;
2200 CPVDD1-supply = <&l42_reg>;
2201 CPVDD2-supply = <&l44_reg>;
2202 DCVDD-supply = <&l44_reg>;
2203 SPKVDD-supply = <&V_SYS>;
2205 reset-gpios = <&gpg3 2 0>;
2207 cirrus,dmic-ref = <0 0 0>;
2213 cirrus,gpsw = <1 0>;
2215 pinctrl-names = "probe", "active";
2216 pinctrl-0 = <&codec_reset>;
2217 pinctrl-1 = <&codec_reset &cs47l35_defaults>;
2219 madera_pinctrl: madera-pinctrl {
2220 compatible = "cirrus,madera-pinctrl";
2221 cs47l35_defaults: cs47l35-gpio-defaults {
2240 gpio6 { /* Amp Clock */
2247 gpio5 { /* Mic Polarity Flip */
2256 regulator-min-microvolt = <3000000>;
2257 regulator-max-microvolt = <3000000>;
2261 regulator-min-microvolt = <2800000>;
2262 regulator-max-microvolt = <2800000>;
2263 cirrus,ext-cap = <1>;
2266 regulator-active-discharge = <1>;
2269 regulator-active-discharge = <1>;
2273 regulator-min-microvolt = <2800000>;
2274 regulator-max-microvolt = <2800000>;
2275 cirrus,ext-cap = <1>;
2279 regulator-active-discharge = <1>;
2282 regulator-active-discharge = <1>;
2286 #address-cells = <1>;
2292 cirrus,micd-configs = <
2295 cirrus,micd-bias-start-time = <8>;
2296 cirrus,micd-rate = <6>;
2297 /*cirrus,micd-pol-gpios = <&cs47l35 4 0>;*/
2298 cirrus,micd-detect-debounce-ms = <500>;
2299 /*cirrus,jd-use-jd2;*/
2300 /*cirrus,micd-clamp-mode = <0x8>;*/
2305 samsung,spi-feedback-delay = <1>;
2306 samsung,spi-chip-select-mode = <0>;