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=ram 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,avb,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>;
1077 sound-dai = <&cs47l35 1>;
1080 sound-dai = <&cs35l41_left 0>;
1089 rear_sensor_id = <47>; /* 46: RPB, 20: 2P8, 47: 2P7SQ */
1090 front_sensor_id = <7>; /* 6B2 */
1091 rear_second_sensor_id = <48>; /* 48: 2T7SX */
1092 secure_sensor_id = <22>; /* 5E2 */
1096 #define DVFS_INT_CAM_L0 690000
1097 #define DVFS_INT_CAM_L1 680000
1098 #define DVFS_INT_CAM_L2 670000
1099 #define DVFS_INT_CAM_L3 660000
1100 #define DVFS_INT_CAM_L4 650000
1102 #define DVFS_INT_L0 667000
1103 #define DVFS_INT_L1 533000
1104 #define DVFS_INT_L2 400000
1105 #define DVFS_INT_L3 200000
1106 #define DVFS_INT_L4 100000
1108 #define DVFS_CAM_L0 690000
1109 #define DVFS_CAM_L1 680000
1110 #define DVFS_CAM_L2 670000
1111 #define DVFS_CAM_L3 660000
1112 #define DVFS_CAM_L4 650000
1113 #define DVFS_CAM_L5 640000
1115 #define DVFS_MIF_L0 2093000
1116 #define DVFS_MIF_L1 2002000
1117 #define DVFS_MIF_L2 1794000
1118 #define DVFS_MIF_L3 1539000
1119 #define DVFS_MIF_L4 1352000
1120 #define DVFS_MIF_L5 1014000
1121 #define DVFS_MIF_L6 845000
1122 #define DVFS_MIF_L7 676000
1123 #define DVFS_MIF_L8 546000
1124 #define DVFS_MIF_L9 419000
1127 desc = "dvfs table v0.0 for 16M/2M";
1129 default_int_cam = <DVFS_INT_CAM_L0>;
1130 default_cam = <DVFS_CAM_L0>;
1131 default_mif = <DVFS_MIF_L0>;
1132 default_int = <DVFS_INT_L0>;
1135 front_preview_int_cam = <DVFS_INT_CAM_L0>;
1136 front_preview_cam = <DVFS_CAM_L0>;
1137 front_preview_mif = <DVFS_MIF_L0>;
1138 front_preview_int = <DVFS_INT_L0>;
1139 front_preview_hpg = <1>;
1141 front_preview_full_int_cam = <DVFS_INT_CAM_L0>;
1142 front_preview_full_cam = <DVFS_CAM_L0>;
1143 front_preview_full_mif = <DVFS_MIF_L0>;
1144 front_preview_full_int = <DVFS_INT_L0>;
1145 front_preview_full_hpg = <1>;
1147 front_capture_int_cam = <DVFS_INT_CAM_L0>;
1148 front_capture_cam = <DVFS_CAM_L0>;
1149 front_capture_mif = <DVFS_MIF_L0>;
1150 front_capture_int = <DVFS_INT_L0>;
1151 front_capture_hpg = <1>;
1153 front_video_int_cam = <DVFS_INT_CAM_L0>;
1154 front_video_cam = <DVFS_CAM_L0>;
1155 front_video_mif = <DVFS_MIF_L0>;
1156 front_video_int = <DVFS_INT_L0>;
1157 front_video_hpg = <1>;
1159 front_video_capture_int_cam = <DVFS_INT_CAM_L0>;
1160 front_video_capture_cam = <DVFS_CAM_L0>;
1161 front_video_capture_mif = <DVFS_MIF_L0>;
1162 front_video_capture_int = <DVFS_INT_L0>;
1163 front_video_capture_hpg = <1>;
1165 front_wide_selfie_int_cam = <DVFS_INT_CAM_L0>;
1166 front_wide_selfie_cam = <DVFS_CAM_L0>;
1167 front_wide_selfie_mif = <DVFS_MIF_L0>;
1168 front_wide_selfie_int = <DVFS_INT_L0>;
1169 front_wide_selfie_hpg = <1>;
1171 front_vt1_int_cam = <DVFS_INT_CAM_L0>;
1172 front_vt1_cam = <DVFS_CAM_L0>;
1173 front_vt1_mif = <DVFS_MIF_L0>;
1174 front_vt1_int = <DVFS_INT_L0>;
1175 front_vt1_hpg = <1>;
1177 front_vt2_int_cam = <DVFS_INT_CAM_L0>;
1178 front_vt2_cam = <DVFS_CAM_L0>;
1179 front_vt2_mif = <DVFS_MIF_L0>;
1180 front_vt2_int = <DVFS_INT_L0>;
1181 front_vt2_hpg = <1>;
1183 front_vt4_int_cam = <DVFS_INT_CAM_L0>;
1184 front_vt4_cam = <DVFS_CAM_L0>;
1185 front_vt4_mif = <DVFS_MIF_L0>;
1186 front_vt4_int = <DVFS_INT_L0>;
1187 front_vt4_hpg = <1>;
1189 rear_preview_fhd_int_cam = <DVFS_INT_CAM_L0>;
1190 rear_preview_fhd_cam = <DVFS_CAM_L0>;
1191 rear_preview_fhd_mif = <DVFS_MIF_L0>;
1192 rear_preview_fhd_int = <DVFS_INT_L0>;
1193 rear_preview_fhd_hpg = <1>;
1195 rear_preview_hd_int_cam = <DVFS_INT_CAM_L0>;
1196 rear_preview_hd_cam = <DVFS_CAM_L0>;
1197 rear_preview_hd_mif = <DVFS_MIF_L0>;
1198 rear_preview_hd_int = <DVFS_INT_L0>;
1199 rear_preview_hd_hpg = <1>;
1201 rear_preview_uhd_int_cam = <DVFS_INT_CAM_L0>;
1202 rear_preview_uhd_cam = <DVFS_CAM_L0>;
1203 rear_preview_uhd_mif = <DVFS_MIF_L0>;
1204 rear_preview_uhd_int = <DVFS_INT_L0>;
1205 rear_preview_uhd_hpg = <1>;
1207 rear_preview_full_int_cam = <DVFS_INT_CAM_L0>;
1208 rear_preview_full_cam = <DVFS_CAM_L0>;
1209 rear_preview_full_mif = <DVFS_MIF_L0>;
1210 rear_preview_full_int = <DVFS_INT_L0>;
1211 rear_preview_full_hpg = <1>;
1213 rear_capture_int_cam = <DVFS_INT_CAM_L0>;
1214 rear_capture_cam = <DVFS_CAM_L0>;
1215 rear_capture_mif = <DVFS_MIF_L0>;
1216 rear_capture_int = <DVFS_INT_L0>;
1217 rear_capture_hpg = <1>;
1219 rear_video_fhd_int_cam = <DVFS_INT_CAM_L0>;
1220 rear_video_fhd_cam = <DVFS_CAM_L0>;
1221 rear_video_fhd_mif = <DVFS_MIF_L0>;
1222 rear_video_fhd_int = <DVFS_INT_L0>;
1223 rear_video_fhd_hpg = <1>;
1225 rear_video_hd_int_cam = <DVFS_INT_CAM_L0>;
1226 rear_video_hd_cam = <DVFS_CAM_L0>;
1227 rear_video_hd_mif = <DVFS_MIF_L0>;
1228 rear_video_hd_int = <DVFS_INT_L0>;
1229 rear_video_hd_hpg = <1>;
1231 rear_video_uhd_int_cam = <DVFS_INT_CAM_L0>;
1232 rear_video_uhd_cam = <DVFS_CAM_L0>;
1233 rear_video_uhd_mif = <DVFS_MIF_L0>;
1234 rear_video_uhd_int = <DVFS_INT_L0>;
1235 rear_video_uhd_hpg = <1>;
1237 rear_video_fhd_capture_int_cam = <DVFS_INT_CAM_L0>;
1238 rear_video_fhd_capture_cam = <DVFS_CAM_L0>;
1239 rear_video_fhd_capture_mif = <DVFS_MIF_L0>;
1240 rear_video_fhd_capture_int = <DVFS_INT_L0>;
1241 rear_video_fhd_capture_hpg = <1>;
1243 rear_video_hd_capture_int_cam = <DVFS_INT_CAM_L0>;
1244 rear_video_hd_capture_cam = <DVFS_CAM_L0>;
1245 rear_video_hd_capture_mif = <DVFS_MIF_L0>;
1246 rear_video_hd_capture_int = <DVFS_INT_L0>;
1247 rear_video_hd_capture_hpg = <1>;
1249 rear_video_uhd_capture_int_cam = <DVFS_INT_CAM_L0>;
1250 rear_video_uhd_capture_cam = <DVFS_CAM_L0>;
1251 rear_video_uhd_capture_mif = <DVFS_MIF_L0>;
1252 rear_video_uhd_capture_int = <DVFS_INT_L0>;
1253 rear_video_uhd_capture_hpg = <1>;
1255 secure_front_int_cam = <DVFS_INT_CAM_L0>;
1256 secure_front_cam = <DVFS_CAM_L0>;
1257 secure_front_mif = <DVFS_MIF_L0>;
1258 secure_front_int = <DVFS_INT_L0>;
1259 secure_front_hpg = <1>;
1261 pip_preview_int_cam = <DVFS_INT_CAM_L0>;
1262 pip_preview_cam = <DVFS_CAM_L0>;
1263 pip_preview_mif = <DVFS_MIF_L0>;
1264 pip_preview_int = <DVFS_INT_L0>;
1265 pip_preview_hpg = <1>;
1267 pip_capture_int_cam = <DVFS_INT_CAM_L0>;
1268 pip_capture_cam = <DVFS_CAM_L0>;
1269 pip_capture_mif = <DVFS_MIF_L0>;
1270 pip_capture_int = <DVFS_INT_L0>;
1271 pip_capture_hpg = <1>;
1273 pip_video_int_cam = <DVFS_INT_CAM_L0>;
1274 pip_video_cam = <DVFS_CAM_L0>;
1275 pip_video_mif = <DVFS_MIF_L0>;
1276 pip_video_int = <DVFS_INT_L0>;
1277 pip_video_hpg = <1>;
1279 pip_video_capture_int_cam = <DVFS_INT_CAM_L0>;
1280 pip_video_capture_cam = <DVFS_CAM_L0>;
1281 pip_video_capture_mif = <DVFS_MIF_L0>;
1282 pip_video_capture_int = <DVFS_INT_L0>;
1283 pip_video_capture_hpg = <1>;
1285 preview_high_speed_fps_int_cam = <DVFS_INT_CAM_L1>;
1286 preview_high_speed_fps_cam = <DVFS_CAM_L3>;
1287 preview_high_speed_fps_mif = <DVFS_MIF_L5>;
1288 preview_high_speed_fps_int = <DVFS_INT_L0>;
1289 preview_high_speed_fps_hpg = <1>;
1291 video_high_speed_60fps_int_cam = <DVFS_INT_CAM_L0>;
1292 video_high_speed_60fps_cam = <DVFS_CAM_L0>;
1293 video_high_speed_60fps_mif = <DVFS_MIF_L0>;
1294 video_high_speed_60fps_int = <DVFS_INT_L0>;
1295 video_high_speed_60fps_hpg = <1>;
1297 video_high_speed_480fps_int_cam = <DVFS_INT_CAM_L0>;
1298 video_high_speed_480fps_cam = <DVFS_CAM_L0>;
1299 video_high_speed_480fps_mif = <DVFS_MIF_L0>;
1300 video_high_speed_480fps_int = <DVFS_INT_L0>;
1301 video_high_speed_480fps_hpg = <1>;
1303 video_high_speed_60fps_capture_int_cam = <DVFS_INT_CAM_L0>;
1304 video_high_speed_60fps_capture_cam = <DVFS_CAM_L0>;
1305 video_high_speed_60fps_capture_mif = <DVFS_MIF_L0>;
1306 video_high_speed_60fps_capture_int = <DVFS_INT_L0>;
1307 video_high_speed_60fps_capture_hpg = <1>;
1309 ext_front_int_cam = <DVFS_INT_CAM_L0>;
1310 ext_front_cam = <DVFS_CAM_L0>;
1311 ext_front_mif = <DVFS_MIF_L0>;
1312 ext_front_int = <DVFS_INT_L0>;
1313 ext_front_hpg = <1>;
1315 ext_secure_int_cam = <DVFS_INT_CAM_L3>;
1316 ext_secure_cam = <DVFS_CAM_L4>;
1317 ext_secure_mif = <DVFS_MIF_L7>;
1318 ext_secure_int = <DVFS_INT_L4>;
1319 ext_secure_hpg = <1>;
1321 max_int_cam = <DVFS_INT_CAM_L0>;
1322 max_cam = <DVFS_CAM_L0>;
1323 max_mif = <DVFS_MIF_L0>;
1324 max_int = <DVFS_INT_L0>;
1330 fimc_is_flash_gpio: fimc-is-flash-gpio@0 {
1331 compatible = "samsung,sensor-flash-gpio";
1335 torch-gpio = <&gpg3 1 0x1>;
1336 flash-gpio = <&gpg3 0 0x1>;
1339 fimc_is_sensor_2p7sq: fimc-is_sensor_2p7sq@47 {
1340 compatible = "samsung,sensor-module-2p7sq";
1342 pinctrl-names = "pin0", "pin1", "pin2", "release";
1344 pinctrl-1 = <&fimc_is_mclk0_out>;
1345 pinctrl-2 = <&fimc_is_mclk0_fn>;
1348 position = <0>; /* Rear:0. Front:1. Rear_sub:2. Secure:3. */
1349 id = <0>; /* fimc_is_sensor id */
1351 sensor_i2c_ch = <0>; /* SENSOR_CONTROL_I2C0 */
1353 gpio_mclk = <&gpc2 0 0x1>;
1354 gpio_reset = <&gpc1 0 0x1>; /* sensor reset */
1356 power_seq_id = <1>; /* Rumba S6 Compatible */
1361 product_name = <20>; /* ACTUATOR_NAME_LC898217 */
1362 i2c_ch = <0>; /* SENSOR_CONTROL_I2C0 */
1366 product_name = <11>; /* FLASH_GPIO */
1370 fimc_is_sensor_2t7sx: fimc-is_sensor_2t7sx@48 {
1371 compatible = "samsung,sensor-module-2t7sx";
1373 pinctrl-names = "pin0", "pin1", "pin2", "release";
1375 pinctrl-1 = <&fimc_is_mclk2_out>;
1376 pinctrl-2 = <&fimc_is_mclk2_fn>;
1379 position = <2>; /* Rear:0. Front:1. Rear_sub:2. Secure:3. */
1380 id = <2>; /* fimc_is_sensor id */
1382 sensor_i2c_ch = <1>; /* SENSOR_CONTROL_I2C1 */
1384 gpio_mclk = <&gpc2 2 0x1>;
1385 gpio_reset = <&gpc0 6 0x1>; /* sensor reset */
1387 power_seq_id = <1>; /* Rumba S6 Compatible */
1392 product_name = <20>; /* ACTUATOR_NAME_LC898217 */
1393 i2c_ch = <1>; /* SENSOR_CONTROL_I2C1 */
1397 product_name = <11>; /* FLASH_GPIO */
1402 fimc_is_sensor_6b2: fimc-is_sensor_6b2@7 {
1403 compatible = "samsung,sensor-module-6b2";
1405 pinctrl-names = "pin0", "pin1", "pin2", "release";
1407 pinctrl-1 = <&fimc_is_mclk1_out>;
1408 pinctrl-2 = <&fimc_is_mclk1_fn>;
1411 position = <1>; /* Rear:0. Front:1. Rear_sub:2. Secure:3. */
1412 id = <1>; /* fimc_is_sensor id */
1414 sensor_i2c_ch = <2>; /* SENSOR_CONTROL_I2C4 */
1416 gpio_mclk = <&gpc2 1 0x1>;
1417 gpio_reset = <&gpc1 2 0x1>; /* sensor reset */
1421 product_name = <100>; /* NOTHING */
1422 i2c_ch = <2>; /* SENSOR_CONTROL_I2C2 */
1426 product_name = <100>; /* NOTHING */
1430 product_name = <100>; /* NOTHING */
1438 /* I2C_CAM0 */ /* SENSOR_CONTROL_I2C0 */
1439 hsi2c_12: hsi2c@138A0000 {
1440 gpios = <&gpc0 0 0 &gpc0 1 0>;
1442 clock-frequency = <400000>;
1443 samsung,reset-before-trans;
1444 samsung,polling-mode;
1447 compatible = "samsung,exynos5-fimc-is-cis-2p7sq";
1448 reg = <0x2d>; /* 1 bit right shift */
1449 id = <0>; /* matching fimc_is_sensor id */
1453 fimc-is-actuator@72 {
1454 compatible = "samsung,exynos5-fimc-is-actuator-lc898217";
1455 reg = <0x72>; /* 1 bit right shift */
1456 id = <0>; /* matching fimc_is_sensor id */
1461 /* I2C_CAM1 */ /* SENSOR_CONTROL_I2C1 */
1462 hsi2c_13: hsi2c@138B0000 {
1463 gpios = <&gpc0 2 0 &gpc0 3 0>;
1465 clock-frequency = <400000>;
1466 samsung,reset-before-trans;
1467 samsung,polling-mode;
1470 compatible = "samsung,exynos5-fimc-is-cis-2t7sx";
1471 reg = <0x10>; /* 1 bit right shift */
1472 id = <2>; /* matching fimc_is_sensor id */
1476 fimc-is-actuator@74 {
1477 compatible = "samsung,exynos5-fimc-is-actuator-lc898217";
1478 reg = <0x74>; /* 1 bit right shift */
1479 id = <2>; /* matching fimc_is_sensor id */
1480 place = <1>; /* HACK */
1484 /* I2C_CAM2 */ /* SENSOR_CONTROL_I2C2 */
1485 hsi2c_14: hsi2c@138C0000 {
1486 gpios = <&gpc0 4 0 &gpc0 5 0>;
1488 clock-frequency = <400000>;
1489 samsung,reset-before-trans;
1492 compatible = "samsung,exynos5-fimc-is-cis-6b2";
1493 reg = <0x35>; /* 1 bit right shift */
1494 id = <1>; /* matching fimc_is_sensor id */
1499 /* I2C_CAM3 */ /* SENSOR_CONTROL_I2C3 */
1500 hsi2c_15: hsi2c@138D0000 {
1501 gpios = <&gpc0 6 0 &gpc0 7 0>;
1503 clock-frequency = <400000>;
1504 samsung,reset-before-trans;
1506 fimc-is-actuator@72 {
1507 compatible = "samsung,exynos5-fimc-is-actuator-dw9780";
1508 reg = <0x72>; /* 1 bit right shift */
1509 id = <0>; /* matching fimc_is_sensor id */
1510 place = <1>; /* HACK */
1514 fimc_is_sensor0: fimc_is_sensor@14400000 {
1515 scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */
1518 dma_ch = <0 0 0 0 0 1 1 1>;
1519 vc_ch = <0 1 2 3 0 1 2 3>;
1520 flite_ch = <FLITE_ID_NOTHING>;
1522 /* use_ssvc1_internal; */
1523 /* use_ssvc2_internal; */
1527 fimc_is_sensor1: fimc_is_sensor@14410000 {
1528 scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */
1531 dma_ch = <1 1 1 1 1 1 1 1>;
1532 vc_ch = <0 1 2 3 0 1 2 3>;
1533 flite_ch = <FLITE_ID_NOTHING>;
1538 fimc_is_sensor2: fimc_is_sensor@14420000 {
1539 scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */
1544 flite_ch = <FLITE_ID_NOTHING>;
1549 fimc_is_sensor3: fimc_is_sensor@14430000 {
1550 scenario = <SENSOR_SCENARIO_SECURE>; /* Normal, Vision, OIS etc */
1555 flite_ch = <FLITE_ID_NOTHING>;
1560 }; /* end of __overlay__ */
1561 }; /* end of fragment */
1562 }; /* end of root */
1565 #address-cells = <1>;
1568 s2mu106-fuelgauge@3B {
1569 compatible = "samsung,s2mu106-fuelgauge";
1571 pinctrl-names = "default";
1572 pinctrl-0 = <&fuel_irq>;
1573 fuelgauge,fuel_int = <&gpa2 3 0>;
1574 fuelgauge,fuel_alert_vol = <3400>;
1575 fuelgauge,fuel_alert_soc = <1>;
1576 fuelgauge,type_str = "SDI";
1577 fuelgauge,model_type = <1>;
1581 compatible = "sec-usbpd,i2c";
1583 pinctrl-names = "default";
1584 pinctrl-0 = <&usbpd_irq>;
1585 usbpd,usbpd_int = <&gpa2 2 0>;
1589 pdic,max_power = <5000>;
1590 pdic,op_power = <2500>;
1591 pdic,max_voltage = <6000>;
1592 pdic,max_current = <2000>;
1593 pdic,min_current = <500>;
1595 pdic,giveback = <0>;
1596 pdic,usb_com_capable = <1>;
1597 pdic,no_usb_suspend = <1>;
1600 source,max_voltage = <5000>;
1601 source,min_voltage = <4000>;
1602 source,max_power = <2500>;
1605 sink,capable_max_voltage = <9000>;
1611 #address-cells = <1>;
1615 compatible = "samsung,s2mu106mfd";
1617 pinctrl-names = "default";
1618 pinctrl-0 = <&if_pmic_irq>;
1619 s2mu106,irq-gpio = <&gpa2 1 0>;
1624 muic,uart_addr = "11850000.pinctrl";
1625 muic,uart_rxd = "gpq0-3";
1626 muic,uart_txd = "gpq0-4";
1632 haptic,pwm_id = <1>;
1633 haptic,operation_mode = <2>; /* 0 : ERM_I2C, 1 : ERM_GPIO, 2 : LRA */
1635 haptic,hbst_automode;
1636 haptic,boost_level = <5000>;
1639 s2mcs02-charger@41 {
1640 compatible = "samsung,s2mcs02-charger";
1642 default-clk = <100000000>;
1646 /* Change here if you want to use FLED_EN pin
1647 fled-en1-gpio = <&gpg1 2 0>;
1648 fled-en2-gpio = <&gpg1 2 0>;
1649 fled-en3-gpio = <&gpg1 2 0>;
1650 fled-en4-gpio = <&gpg1 2 0>;
1653 default_current = <50>;
1654 max_current = <200>;
1655 default_timer = <0>;
1684 battery,charger_name = "s2mu106-charger";
1685 battery,chg_gpio_en = <0>;
1686 battery,chg_polarity_en = <0>;
1687 battery,chg_gpio_status = <0>;
1688 battery,chg_polarity_status = <0>;
1689 battery,chg_float_voltage = <4350>;
1690 battery,chg_recharge_vcell = <4250>;
1691 battery,chg_full_vcell = <4300>;
1692 battery,full_check_type = <2>;
1693 battery,full_check_type_2nd = <2>;
1694 battery,input_current_limit = <
1695 500 450 500 1200 500 1200 1200 1000 1000 1000
1696 1000 500 500 1200 1000 500 450>;
1697 battery,fast_charging_current = <
1698 500 450 500 1200 500 1200 1200 1000 1000 1000
1699 1000 500 500 1200 1000 500 450>;
1700 battery,full_check_current_1st = <
1701 300 0 300 300 300 300 300 300 300 300
1702 300 300 300 300 300 300 0>;
1703 battery,full_check_current_2nd = <
1704 100 0 100 100 100 100 100 100 100 100
1705 100 100 100 100 100 100 0>;
1710 #address-cells = <1>;
1715 compatible = "sec-nfc";
1718 sec-nfc,ven-gpio = <&gpg0 0 0>;
1719 sec-nfc,firm-gpio = <&gpg0 2 0>;
1721 sec-nfc,irq-gpio = <&gpa1 2 0>;
1722 sec-nfc,clk_req-gpio = <&gpg0 1 0>;
1723 sec-nfc,ldo_en = <&gpm22 0 0>;
1725 clock-names = "OSC_NFC";
1726 clocks = <&clock OSC_NFC>;
1727 pinctrl-names = "default";
1728 pinctrl-0 = <&xclkout1>;
1734 pinctrl-names = "default";
1735 pinctrl-0 = <&motor_pwm>;
1740 exynos,block-type = "sda";
1741 exynos,fips-block_offset = <5>;
1745 /* chub irq pin lists */
1746 chub-irq-pin = <162>;
1749 <&clock UMUX_CLKCMU_SHUB_BUS>,
1750 /* MAG. SENSOR : AK09918C */
1751 <&clock CMGP01_USI>,
1752 /* PROX. SENSOR : TMD3702 */
1753 <&clock CMGP03_USI>,
1754 /* ALS SENSOR : BH1726 */
1764 pmic_irq: pmic-irq {
1765 samsung,pins = "gpa2-0";
1766 samsung,pin-pud = <3>;
1767 samsung,pin-drv = <3>;
1770 sub_pmic_irq: sub-pmic-irq {
1771 samsung,pins = "gpa1-3";
1772 samsung,pin-function = <0>;
1773 samsung,pin-pud = <0>;
1774 samsung,pin-drv = <0>;
1778 key_voldown: key-voldown {
1779 samsung,pins = "gpa1-6";
1780 samsung,pin-function = <0xf>;
1781 samsung,pin-pud = <0>;
1782 samsung,pin-drv = <0>;
1785 key_volup: key-volup {
1786 samsung,pins = "gpa1-5";
1787 samsung,pin-function = <0xf>;
1788 samsung,pin-pud = <0>;
1789 samsung,pin-drv = <0>;
1792 key_power: key-power {
1793 samsung,pins = "gpa1-7";
1794 samsung,pin-function = <0xf>;
1795 samsung,pin-pud = <0>;
1796 samsung,pin-drv = <0>;
1799 dwmmc2_cd_ext_irq: dwmmc2_cd_ext_irq {
1800 samsung,pins = "gpa0-7";
1801 samsung,pin-function = <0xf>;
1802 samsung,pin-pud = <0>;
1803 samsung,pin-drv = <3>;
1806 attn_irq: attn-irq {
1807 samsung,pins = "gpa2-4";
1808 samsung,pin-function = <0xf>;
1809 samsung,pin-pud = <0>;
1810 samsung,pin-drv = <0>;
1813 attn_input: attn-input {
1814 samsung,pins = "gpa2-4";
1815 samsung,pin-function = <0>;
1816 samsung,pin-pud = <1>;
1819 if_pmic_irq: if-pmic-irq {
1820 samsung,pins = "gpa2-1";
1821 samsung,pin-function = <0>;
1822 samsung,pin-pud = <0>;
1823 samsung,pin-drv = <0>;
1826 fuel_irq: fuel-irq {
1827 samsung,pins = "gpa2-3";
1828 samsung,pin-function = <0>;
1829 samsung,pin-pud = <0>;
1830 samsung,pin-drv = <0>;
1833 usbpd_irq: usbpd-irq {
1834 samsung,pins = "gpa2-2";
1835 samsung,pin-function = <0xf>;
1836 samsung,pin-pud = <3>;
1837 samsung,pin-drv = <3>;
1839 /* TODO: Need to check pin number
1840 small_charger_irq: small-charger-irq {
1841 samsung,pins = "gpa2-5";
1842 samsung,pin-function = <0>;
1843 samsung,pin-pud = <0>;
1844 samsung,pin-drv = <0>;
1847 cap_int_status: cap_int_status {
1848 samsung,pins = "gpa2-6";
1849 samsung,pin-function = <0>;
1850 samsung,pin-val = <1>;
1851 samsung,pin-pud = <1>;
1856 /* Warm reset information from AP */
1857 pm_wrsti: pm-wrsti {
1858 samsung,pins = "gpg0-7";
1859 samsung,pin-con-pdn = <3>;
1862 motor_pwm: motor_pwm {
1863 samsung,pins = "gpg4-2";
1864 samsung,pin-function = <2>;
1865 samsung,pin-pud = <1>;
1866 samsung,pin-drv = <0>;
1870 samsung,pins ="gpg3-4";
1871 samsung,pin-function = <1>;
1872 samsung,pin-val = <1>;
1873 samsung,pin-pud = <3>;
1877 samsung,pins ="gpg3-4";
1878 samsung,pin-function = <0>;
1879 samsung,pin-val = <0>;
1880 samsung,pin-pud = <1>;
1883 codec_reset: codec-reset {
1884 samsung,pins ="gpg3-2";
1885 samsung,pin-pud = <0>;
1886 samsung,pin-con-pdn =<3>;
1887 samsung,pin-pud-pdn = <0>;
1890 codec_en: codec_en {
1891 samsung,pins = "gpg1-1";
1892 samsung,pin-function = <1>;
1893 samsung,pin-pud = <3>;
1894 samsung,pin-val = <1>;
1896 #if 0 /*Should be removed: enable speaker amp on EVB board*/
1898 samsung,pins = "gpp2-2";
1899 samsung,pin-function = <3>;
1900 samsung,pin-pud = <3>;
1901 samsung,pin-drv = <0>;
1904 samsung,pins = "gpp2-1";
1905 samsung,pin-function = <3>;
1906 samsung,pin-pud = <3>;
1907 samsung,pin-drv = <0>;
1910 samsung,pins = "gpp2-0";
1911 samsung,pin-function = <1>;
1912 samsung,pin-val = <0>;
1913 samsung,pin-pud = <1>;
1916 samsung,pins = "gpp2-3";
1917 samsung,pin-function = <1>;
1918 samsung,pin-val = <0>;
1919 samsung,pin-pud = <1>;
1930 maximum-speed = "high-speed";
1935 usb3phy-isolation = <1>;
1937 hs_tune_param = <&usb_hs_tune>;
1942 usb3phy-isolation = <1>;
1944 hs_tune_param = <&usb3_hs_tune>;
1945 ss_tune_param = <&usb3_ss_tune>;
1953 lcd_info = <&nt36672a>;
1954 /* reset, lcd_bias_enp, lcd_bias_enn, lcd_bl_en*/
1955 gpios = <&gpg1 4 0x1>, <&gpg3 1 0x1>, <&gpg3 0 0x1>, <&gpg2 1 0x1>;
1960 usi_v2_mode = "spi";
1964 /* USI_SHUB_0_I2C */
1966 /* usi_v2_mode = "i2c" or "spi" or "uart" */
1967 status = "disabled";
1972 /* usi_v2_mode = "i2c" or "spi" or "uart" */
1973 usi_v2_mode = "i2c";
1977 /* USI_0_CMGP_I2C */
1979 usi_v2_mode = "i2c";
1985 usi_v2_mode = "i2c";
1989 /* USI_1_CMGP_I2C */
1991 usi_v2_mode = "i2c";
1997 /* usi_v2_mode = "i2c" or "spi" or "uart" */
1998 usi_v2_mode = "i2c";
2002 /* USI_2_CMGP_I2C */
2004 usi_v2_mode = "i2c";
2010 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2011 status = "disabled";
2014 /* USI_3_CMGP_I2C */
2016 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2017 status = "disabled";
2022 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2023 status = "disabled";
2026 /* USI_4_CMGP_I2C */
2028 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2029 status = "disabled";
2034 usi_v2_mode = "uart";
2038 /* USI_PERI_CAMI2C_0 */
2039 &usi_peri_cami2c_0 {
2040 usi_v2_mode = "i2c";
2044 /* USI_PERI_CAMI2C_1 */
2045 &usi_peri_cami2c_1 {
2046 usi_v2_mode = "i2c";
2050 /* USI_PERI_CAMI2C_2 */
2051 &usi_peri_cami2c_2 {
2052 usi_v2_mode = "i2c";
2056 /* USI_PERI_CAMI2C_3 */
2057 &usi_peri_cami2c_3 {
2058 usi_v2_mode = "i2c";
2062 /* USI_PERI_SPI_0 */
2064 usi_v2_mode = "spi";
2068 /* USI_PERI_SPI_1 */
2070 usi_v2_mode = "spi";
2074 /* USI_PERI_USI_0 */
2076 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2077 status = "disabled";
2080 /* USI_PERI_USI_0_I2C */
2081 &usi_peri_usi_0_i2c {
2082 /* usi_v2_mode = "i2c" or "spi" or "uart" */
2083 status = "disabled";
2086 /* USI_PERI_SPI_2 */
2088 usi_v2_mode = "spi";
2094 pinctrl-names = "default";
2095 pinctrl-0 = <&spi6_bus &spi6_cs_func>;
2096 /*cs-gpios = <&gpp2 3 0>;*/
2099 #address-cells = <1>;
2101 cs35l41_left: cs35l41@0 {
2102 compatible = "cirrus,cs35l41";
2105 spi-max-frequency = <9600000>;
2107 interrupts = <2 0 0>;
2108 interrupt-controller;
2109 interrupt-parent = <&gpa0>;
2110 reset-gpios = <&gpg3 3 0>;
2111 #sound-dai-cells = <1>;
2113 VA-supply = <&l42_reg>;
2114 VP-supply = <&V_SYS>;
2116 cirrus,boost-peak-milliamp = <4500>;
2117 cirrus,boost-ind-nanohenry = <1000>;
2118 cirrus,boost-cap-microfarad = <15>;
2119 cirrus,asp-sdout-hiz = <0x1>;
2120 cirrus,gpio-config2 {
2121 cirrus,gpio-src-select = <0x4>;
2122 cirrus,gpio-output-enable;
2126 /*cs-gpio = <gpm8 0 0>*/
2127 /*cs-gpios = <&gpp2 3 0>;*/
2128 samsung,spi-feedback-delay = <1>;
2129 samsung,spi-chip-select-mode = <0>;
2137 compatible = "i2c-gpio";
2139 pinctrl-names = "default";
2140 pinctrl-0 = <&_sda &_scl &_ad0 &_ad1>;
2142 gpios = <&gpp2 2 0 /* sda */
2146 #address-cells = <1>;
2149 cs35l41_left: cs35l41@40 {
2150 compatible = "cirrus,cs35l41";
2153 interrupts = <2 0 0>;
2154 interrupt-controller;
2155 interrupt-parent = <&gpa0>;
2156 reset-gpios = <&gpg3 3 0>;
2157 #sound-dai-cells = <1>;
2159 VA-supply = <&l42_reg>;
2160 VP-supply = <&V_SYS>;
2162 cirrus,boost-peak-milliamp = <4500>;
2163 cirrus,boost-ind-nanohenry = <1000>;
2164 cirrus,boost-cap-microfarad = <15>;
2165 cirrus,asp-sdout-hiz = <0x1>;
2166 cirrus,gpio-config2 {
2167 cirrus,gpio-src-select = <0x4>;
2168 cirrus,gpio-output-enable;
2175 pinctrl-names = "default";
2176 pinctrl-0 = <&spi9_bus &spi9_cs_func &codec_en>;
2178 #address-cells = <1>;
2180 cs47l35: cs47l35@0 {
2181 compatible = "cirrus,cs47l35";
2184 spi-max-frequency = <11000000>;
2186 interrupts = <6 0 0>;
2187 interrupt-controller;
2188 #interrupt-cells = <2>;
2189 interrupt-parent = <&gpa0>;
2192 #sound-dai-cells = <1>;
2194 /*l42_reg shoulde be change after board fixed*/
2195 AVDD-supply = <&l42_reg>;
2196 DBVDD1-supply = <&l42_reg>;
2197 DBVDD2-supply = <&l42_reg>;
2198 CPVDD1-supply = <&l42_reg>;
2199 CPVDD2-supply = <&l44_reg>;
2200 DCVDD-supply = <&l44_reg>;
2201 SPKVDD-supply = <&V_SYS>;
2203 reset-gpios = <&gpg3 2 0>;
2205 cirrus,dmic-ref = <0 0 0>;
2211 cirrus,gpsw = <1 0>;
2213 pinctrl-names = "probe", "active";
2214 pinctrl-0 = <&codec_reset>;
2215 pinctrl-1 = <&codec_reset &cs47l35_defaults>;
2217 madera_pinctrl: madera-pinctrl {
2218 compatible = "cirrus,madera-pinctrl";
2219 cs47l35_defaults: cs47l35-gpio-defaults {
2238 gpio6 { /* Amp Clock */
2245 gpio5 { /* Mic Polarity Flip */
2254 regulator-min-microvolt = <3000000>;
2255 regulator-max-microvolt = <3000000>;
2259 regulator-min-microvolt = <2800000>;
2260 regulator-max-microvolt = <2800000>;
2261 cirrus,ext-cap = <1>;
2264 regulator-active-discharge = <1>;
2267 regulator-active-discharge = <1>;
2271 regulator-min-microvolt = <2800000>;
2272 regulator-max-microvolt = <2800000>;
2273 cirrus,ext-cap = <1>;
2277 regulator-active-discharge = <1>;
2280 regulator-active-discharge = <1>;
2284 #address-cells = <1>;
2290 cirrus,micd-configs = <
2293 cirrus,micd-bias-start-time = <8>;
2294 cirrus,micd-rate = <6>;
2295 /*cirrus,micd-pol-gpios = <&cs47l35 4 0>;*/
2296 cirrus,micd-detect-debounce-ms = <500>;
2297 /*cirrus,jd-use-jd2;*/
2298 /*cirrus,micd-clamp-mode = <0x8>;*/
2303 samsung,spi-feedback-delay = <1>;
2304 samsung,spi-chip-select-mode = <0>;