| /* |
| * SAMSUNG UNIVERSAL7885 board device tree source |
| * |
| * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
| * http://www.samsung.com |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| */ |
| |
| /dts-v1/; |
| |
| #include "exynos7883-rmem.dtsi" |
| #include "exynos7885.dtsi" |
| #include "exynos7885-display-lcd.dtsi" |
| #include "modem-s327ap-sipc-pdata.dtsi" |
| #include "exynos7885-ifpmic.dtsi" |
| #include "exynos7883-mali.dtsi" |
| |
| / { |
| model = "Samsung Universal7883 board based on EXYNOS7883"; |
| compatible = "samsung,exynos7883", "samsung,Universal7883"; |
| |
| ect { |
| parameter_address = <0x90000000>; |
| parameter_size = <0x19000>; |
| }; |
| |
| memory@80000000 { |
| device_type = "memory"; |
| |
| reg = <0x0 0x80000000 0x80000000>; |
| }; |
| memory@880000000 { |
| device_type = "memory"; |
| reg = <0x00000008 0x80000000 0x40000000>; |
| }; |
| |
| chosen { |
| bootargs = "console=ram root=/dev/ram0 clk_ignore_unused bcm_setup=0xffffff80f8e00000 androidboot.hardware=samsungexynos7885 androidboot.selinux=permissive ess_setup=0x86000000 ecd_setup=disable androidboot.debug_level=0x4948 firmware_class.path=/vendor/firmware reserve-fimc=0xffffff80fa000000 pmic_info=0x3 androidboot.cp_reserved_mem=ON ccic_info=0x1 epx_activate=true"; |
| linux,initrd-start = <0x84000000>; |
| linux,initrd-end = <0x840FFFFF>; |
| }; |
| |
| fixed-rate-clocks { |
| oscclk { |
| compatible = "samsung,exynos7885-oscclk"; |
| clock-frequency = <26000000>; |
| }; |
| }; |
| |
| firmware { |
| android { |
| compatible = "android,firmware"; |
| fstab { |
| compatible = "android,fstab"; |
| system { |
| compatible = "android,system"; |
| dev = "/dev/block/platform/13500000.dwmmc0/by-name/system"; |
| type = "ext4"; |
| mnt_flags = "ro"; |
| fsmgr_flags = "wait"; |
| }; |
| vendor { |
| compatible = "android,vendor"; |
| dev = "/dev/block/platform/13500000.dwmmc0/by-name/vendor"; |
| type = "ext4"; |
| mnt_flags = "ro"; |
| fsmgr_flags = "wait"; |
| }; |
| }; |
| }; |
| }; |
| |
| /* USI MODE SETTINGS |
| |
| usi_mode = "hsi2c0" or "hsi2c1" or "spi" or "uart" |
| or "hsi2c0_hsi2c1" or "uart_hsi2c1" |
| */ |
| usi_0: usi@10032000 { |
| usi_mode = "spi"; |
| status = "okay"; |
| }; |
| |
| usi_1: usi@10032004 { |
| usi_mode = "spi"; |
| status = "okay"; |
| }; |
| |
| usi_2: usi@10032008 { |
| usi_mode = "spi"; |
| status = "okay"; |
| }; |
| |
| serial_1: uart@13810000 { |
| status = "okay"; |
| }; |
| |
| pinctrl@11CB0000 { |
| pmic_irq: pmic-irq { |
| samsung,pins = "gpa2-0"; |
| samsung,pin-pud = <3>; |
| samsung,pin-drv = <3>; |
| }; |
| }; |
| |
| pinctrl@139B0000 { |
| /* Warm reset information from AP */ |
| pm_wrsti: pm-wrsti { |
| samsung,pins = "gpg1-1"; |
| samsung,pin-con-pdn = <3>; |
| }; |
| }; |
| |
| but_zones: but_zones { |
| #list-but-cells = <3>; |
| }; |
| |
| speedy@11CE0000 { |
| status = "okay"; |
| audio_codec_cod3035x: cod3035x@03 { |
| compatible = "codec,cod3035x"; |
| reg = <0x03>; |
| i2c-speedy-address; |
| vdd-supply = <&l36_reg>; |
| pinctrl-names = "default"; |
| mic-bias1-voltage = <3>; |
| mic-bias2-voltage = <3>; |
| mic-bias-ldo-voltage = <3>; |
| use-btn-adc-mode; |
| use-det-gdet-adc-mode = <1>; |
| jack-imp-tuning = <0>; |
| io-channels = <&exynos_adc 3>,<&exynos_adc 7>; |
| io-channel-names = "adc-ear","adc-gdet"; |
| #io-channel-cells = <1>; |
| io-channel-ranges; |
| but-zones-list = <&but_zones 226 0 376>, /* send/end */ |
| <&but_zones 582 377 447>, /* google */ |
| <&but_zones 115 448 627>, /* vol up */ |
| <&but_zones 114 628 1200>; /* vol down */ |
| mic-adc-range = <1404>; |
| }; |
| |
| s2mpu08mfd@00 { |
| compatible = "samsung,s2mpu08mfd"; |
| acpm-ipc-channel = <2>; |
| i2c-speedy-address; |
| s2mpu08,wakeup = "enabled"; |
| s2mpu08,irq-gpio = <&gpa2 0 0>; |
| reg = <0x00>; |
| interrupts = <2 0 0>; |
| interrupt-parent = <&gpa2>; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&pmic_irq &pm_wrsti>; |
| /* RTC: wtsr/smpl */ |
| wtsr_en = "enabled"; /* enable */ |
| smpl_en = "enabled"; /* enable */ |
| wtsr_timer_val = <3>; /* 1000ms */ |
| smpl_timer_val = <4>; /* 500ms */ |
| check_jigon = <0>; /* do not check jigon */ |
| /* RTC: If it's first boot, reset rtc to 1/1/2017 12:00:00(Sun) */ |
| init_time,sec = <0>; |
| init_time,min = <0>; |
| init_time,hour = <12>; |
| init_time,mday = <1>; |
| init_time,mon = <0>; |
| init_time,year = <117>; |
| init_time,wday = <0>; |
| |
| samsung,codec-interrupt = <&audio_codec_cod3035x>; |
| |
| regulators { |
| b1_reg: BUCK1 { |
| regulator-name = "vdd_mif"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1100000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <2>; |
| }; |
| |
| b2_reg: BUCK2 { |
| regulator-name = "vdd_cpucl0"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1300000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| b3_reg: BUCK3 { |
| regulator-name = "vdd_cpucl1_2"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1300000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| b4_reg: BUCK4 { |
| regulator-name = "vdd_int"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1200000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <2>; |
| }; |
| |
| b5_reg: BUCK5 { |
| regulator-name = "vdd_g3d"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1300000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| b6_reg: BUCK6 { |
| regulator-name = "vdd2_mem"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1300000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <3>; |
| }; |
| |
| b7_reg: BUCK7 { |
| regulator-name = "vdd_lldo"; |
| regulator-min-microvolt = <1200000>; |
| regulator-max-microvolt = <1500000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <3>; |
| }; |
| |
| b8_reg: BUCK8 { |
| regulator-name = "vdd_mldo"; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <2100000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <3>; |
| }; |
| |
| l1_reg: LDO1 { |
| regulator-name = "vdd_ldo1"; |
| regulator-min-microvolt = <700000>; |
| regulator-max-microvolt = <1300000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <3>; |
| }; |
| |
| l2_reg: LDO2 { |
| regulator-name = "vqmmc"; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <3375000>; |
| regulator-ramp-delay = <12000>; |
| }; |
| |
| l3_reg: LDO3 { |
| regulator-name = "vdd_ldo3"; |
| regulator-min-microvolt = <800000>; |
| regulator-max-microvolt = <1950000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <3>; |
| }; |
| |
| l4_reg: LDO4 { |
| regulator-name = "vdd_ldo4"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1300000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l5_reg: LDO5 { |
| regulator-name = "vdd_ldo5"; |
| regulator-min-microvolt = <800000>; |
| regulator-max-microvolt = <1350000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l6_reg: LDO6 { |
| regulator-name = "vdd_ldo6"; |
| regulator-min-microvolt = <800000>; |
| regulator-max-microvolt = <1350000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l7_reg: LDO7 { |
| regulator-name = "vdd_ldo7"; |
| regulator-min-microvolt = <800000>; |
| regulator-max-microvolt = <1950000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l8_reg: LDO8 { |
| regulator-name = "vdd_ldo8"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1300000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l9_reg: LDO9 { |
| regulator-name = "vdd_ldo9"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1300000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l10_reg: LDO10 { |
| regulator-name = "vdd_ldo10"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1300000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l11_reg: LDO11 { |
| regulator-name = "vdd_ldo11"; |
| regulator-min-microvolt = <500000>; |
| regulator-max-microvolt = <1300000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l12_reg: LDO12 { |
| regulator-name = "vdd_ldo12"; |
| regulator-min-microvolt = <800000>; |
| regulator-max-microvolt = <1350000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l13_reg: LDO13 { |
| regulator-name = "vdd_ldo13"; |
| regulator-min-microvolt = <800000>; |
| regulator-max-microvolt = <1950000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l14_reg: LDO14 { |
| regulator-name = "vdd_ldo14"; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <3375000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l33_reg: LDO33 { |
| regulator-name = "vdd_ldo33"; |
| regulator-min-microvolt = <800000>; |
| regulator-max-microvolt = <1950000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l34_reg: LDO34 { |
| regulator-name = "vdd_ldo34"; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <3375000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <1>; |
| }; |
| |
| l35_reg: LDO35 { |
| regulator-name = "vmmc"; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <3375000>; |
| regulator-ramp-delay = <12000>; |
| }; |
| |
| l36_reg: LDO36 { |
| regulator-name = "vdd_ldo36"; |
| regulator-min-microvolt = <800000>; |
| regulator-max-microvolt = <1950000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <3>; |
| }; |
| |
| l37_reg: LDO37 { |
| regulator-name = "vdd_ldo37"; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <3375000>; |
| regulator-always-on; |
| regulator-ramp-delay = <12000>; |
| regulator-initial-mode = <3>; |
| }; |
| }; |
| }; |
| }; |
| |
| exynos_rgt { |
| compatible = "samsung,exynos-rgt"; |
| }; |
| |
| serial_2: uart@13820000 { |
| status = "okay"; |
| }; |
| |
| pinctrl@11CB0000 { |
| dwmmc2_cd_ext_irq: dwmmc2_cd_ext_irq { |
| samsung,pins = "gpa0-7"; |
| samsung,pin-function = <0xf>; |
| samsung,pin-pud = <3>; |
| samsung,pin-drv = <3>; |
| }; |
| }; |
| |
| dwmmc0@13500000 { |
| status = "okay"; |
| num-slots = <1>; |
| broken-cd; |
| fixed_voltage; |
| supports-highspeed; |
| mmc-ddr-1_8v; |
| mmc-hs200-1_8v; |
| mmc-hs400-1_8v; |
| supports-8bit; |
| supports-cmd23; |
| supports-erase; |
| supports-hs400-enhanced-strobe; |
| card-init-hwacg-ctrl; |
| support-cmdq; |
| qos-dvfs-level = <100000>; |
| qos-sd3-dvfs-level = <267000>; |
| fifo-depth = <0x40>; |
| non-removable; |
| desc-size = <4>; |
| card-detect-delay = <200>; |
| samsung,dw-mshc-ciu-div = <3>; |
| samsung,dw-mshc-txdt-crc-timer-fastlimit = <0x13>; |
| samsung,dw-mshc-txdt-crc-timer-initval = <0x15>; |
| samsung,dw-mshc-hs400-delay-line = <0x60>; |
| samsung,dw-mshc-sdr-timing = <3 0 4 0>; |
| samsung,dw-mshc-ddr-timing = <3 0 4 2>; |
| samsung,dw-mshc-hs200-timing = <3 0 3 0>; |
| samsung,dw-mshc-hs400-timing = <1 0 2 0>; |
| samsung,dw-mshc-hs400-ulp-timing = <3 0 2 0>; |
| |
| num-ref-clks = <12>; |
| ciu_clkin = <25 50 50 25 50 100 200 50 50 200 200 200>; |
| |
| /* Swapping clock drive strength */ |
| clk-drive-number = <4>; |
| pinctrl-names = "default", |
| "fast-slew-rate-1x", |
| "fast-slew-rate-2x", |
| "fast-slew-rate-3x", |
| "fast-slew-rate-4x"; |
| pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_rdqs &sd0_bus1 &sd0_bus4 &sd0_bus8>; |
| pinctrl-1 = <&sd0_clk_fast_slew_rate_1x>; |
| pinctrl-2 = <&sd0_clk_fast_slew_rate_2x>; |
| pinctrl-3 = <&sd0_clk_fast_slew_rate_3x>; |
| pinctrl-4 = <&sd0_clk_fast_slew_rate_4x>; |
| slot@0 { |
| reg = <0>; |
| bus-width = <8>; |
| }; |
| |
| }; |
| |
| dwmmc1@13510000 { |
| status = "disabled"; |
| num-slots = <1>; |
| channel = <1>; |
| fixed_voltage; |
| enable-cclk-on-suspend; |
| caps-control; |
| supports-highspeed; |
| supports-4bit; |
| keep-power-in-suspend; |
| pm-ignore-notify; |
| card-detect-type-external; |
| use-broken-voltage; |
| ignore-phase = <(1 << 7)>; |
| fifo-depth = <0x40>; |
| card-detect-delay = <200>; |
| qos-dvfs-level = <100000>; |
| data-timeout = <200>; |
| hto-timeout = <80>; |
| samsung,dw-mshc-ciu-div = <3>; |
| samsung,dw-mshc-sdr-timing = <3 0 2 0>; |
| samsung,dw-mshc-ddr-timing = <3 0 2 1>; |
| samsung,dw-mshc-sdr50-timing = <3 0 4 2>; |
| samsung,dw-mshc-sdr104-timing = <3 0 3 0>; |
| |
| num-ref-clks = <9>; |
| ciu_clkin = <25 50 50 25 50 100 200 50 50>; |
| |
| clk-drive-number = <4>; |
| pinctrl-names = "default", |
| "fast-slew-rate-1x", |
| "fast-slew-rate-2x", |
| "fast-slew-rate-3x", |
| "fast-slew-rate-4x"; |
| pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus1 &sd1_bus4>; |
| pinctrl-1 = <&sd1_clk_fast_slew_rate_1x>; |
| pinctrl-2 = <&sd1_clk_fast_slew_rate_2x>; |
| pinctrl-3 = <&sd1_clk_fast_slew_rate_3x>; |
| pinctrl-4 = <&sd1_clk_fast_slew_rate_4x>; |
| slot@0 { |
| reg = <0>; |
| bus-width = <4>; |
| }; |
| }; |
| |
| i2c_4:i2c@13870000 { |
| status = "okay"; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| samsung,i2c-sda-delay = <100>; |
| samsung,i2c-max-bus-freq = <400000>; |
| touchscreen@48 { |
| compatible = "sec,sec_ts"; |
| reg = <0x48>; |
| pinctrl-names = "on_state", "off_state"; |
| pinctrl-0 = <&attn_irq &vdd_on>; |
| pinctrl-1 = <&attn_input &vdd_off>; |
| sec,irq_gpio = <&gpa0 0 0>; |
| sec,irq_type = <8200>; |
| sec,num_lines = <28 16>; /* rx tx */ |
| sec,max_coords = <3840 2160>; /* x y */ |
| sec,use_ic_info = <1>; |
| sec,grip_area = <512>; |
| //sec,regulator_dvdd = "vdd3"; |
| //sec,regulator_avdd = "vdd5"; |
| sec,project_name = "lassen", "universal7885"; |
| status = "okay"; |
| }; |
| }; |
| |
| pinctrl@11CB0000 { |
| attn_irq: attn-irq { |
| samsung,pins = "gpa0-0"; |
| samsung,pin-function = <0xf>; |
| samsung,pin-pud = <0>; |
| samsung,pin-drv = <0>; |
| }; |
| attn_input: attn-input { |
| samsung,pins = "gpa0-0"; |
| samsung,pin-function = <0>; |
| samsung,pin-pud = <1>; |
| }; |
| }; |
| pinctrl@139B0000 { |
| vdd_on: vdd-on { |
| samsung,pins = "gpg3-0"; |
| samsung,pin-function = <1>; |
| samsung,pin-val = <1>; |
| samsung,pin-pud = <0>; |
| }; |
| |
| vdd_off: vdd-off { |
| samsung,pins = "gpg3-0"; |
| samsung,pin-function = <0>; |
| samsung,pin-val = <0>; |
| samsung,pin-pud = <1>; |
| }; |
| }; |
| |
| dwmmc2@13550000 { |
| status = "okay"; |
| num-slots = <1>; |
| supports-4bit; |
| supports-cmd23; |
| supports-erase; |
| supports-highspeed; |
| sd-uhs-sdr50; |
| sd-uhs-sdr104; |
| card-detect-gpio; |
| bypass-for-allpass; |
| card-init-hwacg-ctrl; |
| skip-init-mmc-scan; |
| qos-dvfs-level = <100000>; |
| qos-sd3-dvfs-level = <267000>; |
| fifo-depth = <0x40>; |
| desc-size = <4>; |
| card-detect-delay = <200>; |
| data-timeout = <200>; |
| hto-timeout = <80>; |
| samsung,dw-mshc-ciu-div = <3>; |
| clock-frequency = <800000000>; |
| samsung,dw-mshc-sdr-timing = <3 0 2 0>; |
| samsung,dw-mshc-ddr-timing = <3 0 2 1>; |
| samsung,dw-mshc-sdr50-timing = <3 0 4 2>; |
| samsung,dw-mshc-sdr104-timing = <3 0 3 0>; |
| |
| num-ref-clks = <9>; |
| ciu_clkin = <25 50 50 25 50 100 200 50 50>; |
| |
| /* Swapping clock drive strength */ |
| clk-drive-number = <4>; |
| pinctrl-names = "default", |
| "fast-slew-rate-1x", |
| "fast-slew-rate-2x", |
| "fast-slew-rate-3x", |
| "fast-slew-rate-4x"; |
| pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus1 &sd2_bus4 &dwmmc2_cd_ext_irq>; |
| pinctrl-1 = <&sd2_clk_fast_slew_rate_1x>; |
| pinctrl-2 = <&sd2_clk_fast_slew_rate_2x>; |
| pinctrl-3 = <&sd2_clk_fast_slew_rate_3x>; |
| pinctrl-4 = <&sd2_clk_fast_slew_rate_4x>; |
| |
| card-detect = <&gpa0 7 0xf>; |
| slot@0 { |
| reg = <0>; |
| bus-width = <4>; |
| disable-wp; |
| }; |
| |
| }; |
| |
| pinctrl@11CB0000 { |
| key_power: key-power { |
| samsung,pins = "gpa1-7"; |
| samsung,pin-function = <0xf>; |
| samsung,pin-pud = <0>; |
| samsung,pin-drv = <0>; |
| }; |
| |
| key_home: key-home { |
| samsung,pins = "gpa1-4"; |
| samsung,pin-function = <0xf>; |
| samsung,pin-pud = <0>; |
| samsung,pin-drv = <0>; |
| }; |
| |
| key_voldown: key-voldown { |
| samsung,pins = "gpa1-6"; |
| samsung,pin-function = <0xf>; |
| samsung,pin-pud = <0>; |
| samsung,pin-drv = <0>; |
| }; |
| |
| key_volup: key-volup { |
| samsung,pins = "gpa1-5"; |
| samsung,pin-function = <0xf>; |
| samsung,pin-pud = <0>; |
| samsung,pin-drv = <0>; |
| }; |
| |
| }; |
| |
| gpio_keys { |
| status = "okay"; |
| compatible = "gpio-keys"; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&key_home &key_voldown &key_volup &key_power>; |
| button@1 { |
| label = "gpio-keys: KEY_HOME"; |
| interrupts = <4 0 0>; |
| interrupt-parent = <&gpa1>; |
| linux,code = <172>; |
| gpios = <&gpa1 4 0xf>; |
| gpio-key,wakeup = <1>; |
| }; |
| button@2 { |
| label = "gpio-keys: KEY_VOLUMEDOWN"; |
| interrupts = <6 0 0>; |
| interrupt-parent = <&gpa1>; |
| linux,code = <114>; |
| gpios = <&gpa1 6 0xf>; |
| }; |
| button@3 { |
| label = "gpio-keys: KEY_VOLUMEUP"; |
| interrupts = <5 0 0>; |
| interrupt-parent = <&gpa1>; |
| linux,code = <115>; |
| gpios = <&gpa1 5 0xf>; |
| }; |
| button@4 { |
| label = "gpio-keys: KEY_POWER"; |
| interrupts = <7 0 0>; |
| interrupt-parent = <&gpa1>; |
| linux,code = <116>; |
| gpios = <&gpa1 7 0xf>; |
| gpio-key,wakeup = <1>; |
| }; |
| |
| }; |
| |
| dsim_0: dsim@0x14870000 { |
| lcd_info = <&s6e3fa7>; |
| gpios = <&gpg1 7 1>, <&gpg2 6 1>, <&gpg2 7 1>; |
| }; |
| |
| decon_f: decon_f@0x14860000 { |
| psr_mode = <2>; /* 0: video mode, 1: DP command mode, 2: MIPI command mode */ |
| trig_mode = <0>; /* 0: hw trigger, 1: sw trigger */ |
| dsi_mode = <0>; /* 0: single dsi, 1: dual dsi */ |
| }; |
| |
| usb@13600000 { |
| status = "okay"; |
| dwc3 { |
| dr_mode = "otg"; |
| maximum-speed = "high-speed"; |
| snps,quirk-frame-length-adjustment = <0x20>; |
| }; |
| }; |
| |
| phy@135D0000 { |
| status = "okay"; |
| |
| hs_tune_param = <&usb_hs_tune>; |
| }; |
| |
| usb_hs_tune:hs_tune { |
| hs_tune_cnt = <12>; |
| |
| /* value = <device host> */ |
| hs_tune1 { |
| tune_name = "tx_vref"; |
| tune_value = <0xf 0xf>; |
| }; |
| |
| hs_tune2 { |
| tune_name = "tx_pre_emp"; |
| tune_value = <0x3 0x3>; |
| }; |
| |
| hs_tune3 { |
| tune_name = "tx_pre_emp_plus"; |
| tune_value = <0x0 0x0>; |
| }; |
| |
| hs_tune4 { |
| tune_name = "tx_res"; |
| tune_value = <0x3 0x3>; |
| }; |
| |
| hs_tune5 { |
| tune_name = "tx_rise"; |
| tune_value = <0x3 0x3>; |
| }; |
| |
| hs_tune6 { |
| tune_name = "tx_hsxv"; |
| tune_value = <0x3 0x3>; |
| }; |
| |
| hs_tune7 { |
| tune_name = "tx_fsls"; |
| tune_value = <0x3 0x3>; |
| }; |
| |
| hs_tune8 { |
| tune_name = "rx_sqrx"; |
| tune_value = <0x7 0x7>; |
| }; |
| |
| hs_tune9 { |
| tune_name = "compdis"; |
| tune_value = <0x7 0x7>; |
| }; |
| |
| hs_tune10 { |
| tune_name = "otg"; |
| tune_value = <0x2 0x2>; |
| }; |
| |
| hs_tune11 { |
| /* true : 1, false: 0 */ |
| /* <enable_user_imp user_imp_value> */ |
| tune_name = "enable_user_imp"; |
| tune_value = <0x0 0x0>; |
| }; |
| |
| hs_tune12 { |
| /* PHY clk : 1 , FREE clk : 0 */ |
| tune_name = "is_phyclock"; |
| tune_value = <0x1 0x1>; |
| }; |
| }; |
| |
| mailbox_cp: mcu_ipc@12080000 { |
| compatible = "samsung,exynos-shd-ipc-mailbox"; |
| reg = <0x0 0x12080000 0x180>; |
| mcu,name = "mcu_ipc_cp"; |
| mcu,id = <0>; |
| interrupts = <0 55 0 >; /* MAILBOX_CP_TO_AP SPI Number */ |
| }; |
| |
| /* USIM DETECTION FOR CP */ |
| usim_det { |
| pinctrl-names = "default"; |
| pinctrl-0 = <&sim0_det_gpio &sim1_det_gpio>; |
| |
| mif,num_of_usim_det = <2>; |
| mif,usim-det0-gpio = <&gpa2 6 0>; |
| mif,usim-det1-gpio = <&gpa2 5 0>; |
| |
| }; |
| |
| mailbox_gnss: mcu_ipc@120D0000 { |
| compatible = "samsung,exynos-shd-ipc-mailbox"; |
| reg = <0x0 0x120D0000 180>; |
| mcu,name = "mcu_ipc_gnss"; |
| mcu,id = <1>; |
| interrupts = <GIC_SPI 56 IRQ_TYPE_NONE>; |
| }; |
| |
| gnss_pdata { |
| status = "okay"; |
| |
| compatible = "samsung,gnss_shdmem_if"; |
| shmem,name = "KEPLER"; |
| shmem,device_node_name = "gnss_ipc"; |
| |
| /* ACTIVE WATCHDOG WAKEUP */ |
| interrupts = <GIC_SPI 20 IRQ_TYPE_NONE>, |
| <GIC_SPI 165 IRQ_TYPE_NONE>, |
| <GIC_SPI 164 IRQ_TYPE_NONE>; |
| interrupt-names = "ACTIVE", "WATCHDOG", "WAKEUP"; |
| |
| memory-region = <&gnss_reserved>; |
| mbox_info = <&mailbox_gnss>; |
| |
| mbx,int_ap2gnss_bcmd = <0>; |
| mbx,int_ap2gnss_req_fault_info = <1>; |
| mbx,int_ap2gnss_ipc_msg = <2>; |
| mbx,int_ap2gnss_ack_wake_set = <3>; |
| mbx,int_ap2gnss_ack_wake_clr = <4>; |
| |
| mbx,irq_gnss2ap_bcmd = <0>; |
| mbx,irq_gnss2ap_rsp_fault_info = <1>; |
| mbx,irq_gnss2ap_ipc_msg = <2>; |
| mbx,irq_gnss2ap_req_wake_clr = <4>; |
| |
| mbx,reg_bcmd_ctrl = <0>, <1>, <2>, <3>; |
| |
| reg_rx_ipc_msg = <1 5>; |
| reg_tx_ipc_msg = <1 4>; |
| reg_rx_head = <1 3>; |
| reg_rx_tail = <1 2>; |
| reg_tx_head = <1 1>; |
| reg_tx_tail = <1 0>; |
| fault_info = <1 0x200000 0x180000>; |
| |
| shmem,ipc_offset = <0x380000>; |
| shmem,ipc_size = <0x80000>; |
| shmem,ipc_reg_cnt = <32>; |
| |
| /* Use the following value when can't boot with mailbox */ |
| shmem,boot_without_mbox = <1>; /* Default : 0 */ |
| }; |
| |
| usb_notifier { |
| compatible = "samsung,usb-notifier"; |
| udc = <&udc>; |
| }; |
| |
| i2c@13840000{ |
| status = "okay"; |
| s2mu004@3D { |
| status = "okay"; |
| compatible = "samsung,s2mu004mfd"; |
| reg = <0x3D>; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&if_pmic_irq>; |
| s2mu004,irq-gpio = <&gpa2 2 1>; |
| s2mu004,wakeup; |
| }; |
| }; |
| |
| fimc_is@14440000 { |
| pinctrl-names = "default","release"; |
| pinctrl-0 = <>; |
| pinctrl-1 = <>; |
| |
| rear_sensor_id = <58>; /* 2P6 */ |
| front_sensor_id = <44>; /* 3P8SP */ |
| use_module_check; |
| skip_cal_loading; |
| fimc_is_dvfs { |
| /* TODO: DVFS level set */ |
| #define DVFS_INT_L0 533000 |
| #define DVFS_INT_L1 333000 |
| #define DVFS_INT_L2 267000 |
| #define DVFS_INT_L3 133000 |
| #define DVFS_INT_L4 107000 |
| |
| #define DVFS_CAM_L0 690000 |
| #define DVFS_CAM_L1 680000 |
| #define DVFS_CAM_L2 670000 |
| #define DVFS_CAM_L3 660000 |
| #define DVFS_CAM_L4 650000 |
| |
| #define DVFS_MIF_L0 2093000 |
| #define DVFS_MIF_L1 2002000 |
| #define DVFS_MIF_L2 1794000 |
| #define DVFS_MIF_L3 1539000 |
| #define DVFS_MIF_L4 1352000 |
| #define DVFS_MIF_L5 1014000 |
| #define DVFS_MIF_L6 845000 |
| #define DVFS_MIF_L7 676000 |
| #define DVFS_MIF_L8 546000 |
| #define DVFS_MIF_L9 420000 |
| |
| table0 { |
| desc = "default"; |
| |
| default_int = <DVFS_INT_L0>; |
| default_cam = <DVFS_CAM_L0>; |
| default_mif = <DVFS_MIF_L5>; |
| default_i2c = <0>; |
| |
| front_preview_int = <DVFS_INT_L4>; |
| front_preview_cam = <DVFS_CAM_L2>; |
| front_preview_mif = <DVFS_MIF_L5>; |
| front_preview_i2c = <0>; |
| |
| front_capture_int = <DVFS_INT_L4>; |
| front_capture_cam = <DVFS_CAM_L2>; |
| front_capture_mif = <DVFS_MIF_L5>; |
| front_capture_i2c = <0>; |
| |
| front_video_int = <DVFS_INT_L4>; |
| front_video_cam = <DVFS_CAM_L2>; |
| front_video_mif = <DVFS_MIF_L5>; |
| front_video_i2c = <0>; |
| |
| front_vt1_int = <DVFS_INT_L4>; |
| front_vt1_cam = <DVFS_CAM_L3>; |
| front_vt1_mif = <DVFS_MIF_L7>; |
| front_vt1_i2c = <0>; |
| |
| front_vt2_int = <DVFS_INT_L4>; |
| front_vt2_cam = <DVFS_CAM_L3>; |
| front_vt2_mif = <DVFS_MIF_L7>; |
| front_vt2_i2c = <0>; |
| |
| front_vt4_int = <DVFS_INT_L4>; |
| front_vt4_cam = <DVFS_CAM_L3>; |
| front_vt4_mif = <DVFS_MIF_L7>; |
| front_vt4_i2c = <0>; |
| |
| rear_preview_fhd_int = <DVFS_INT_L4>; |
| rear_preview_fhd_cam = <DVFS_CAM_L2>; |
| rear_preview_fhd_mif = <DVFS_MIF_L4>; |
| rear_preview_fhd_i2c = <0>; |
| |
| rear_capture_int = <DVFS_INT_L4>; |
| rear_capture_cam = <DVFS_CAM_L1>; |
| rear_capture_mif = <DVFS_MIF_L3>; |
| rear_capture_i2c = <0>; |
| |
| rear_video_fhd_int = <DVFS_INT_L4>; |
| rear_video_fhd_cam = <DVFS_CAM_L2>; |
| rear_video_fhd_mif = <DVFS_MIF_L4>; |
| rear_video_fhd_i2c = <0>; |
| |
| rear_video_uhd_int = <DVFS_INT_L4>; |
| rear_video_uhd_cam = <DVFS_CAM_L2>; |
| rear_video_uhd_mif = <DVFS_MIF_L1>; |
| rear_video_uhd_i2c = <0>; |
| |
| rear_video_fhd_capture_int = <DVFS_INT_L4>; |
| rear_video_fhd_capture_cam = <DVFS_CAM_L1>; |
| rear_video_fhd_capture_mif = <DVFS_MIF_L3>; |
| rear_video_fhd_capture_i2c = <0>; |
| |
| rear_video_uhd_capture_int = <DVFS_INT_L4>; |
| rear_video_uhd_capture_cam = <DVFS_CAM_L0>; |
| rear_video_uhd_capture_mif = <DVFS_MIF_L0>; |
| rear_video_uhd_capture_i2c = <0>; |
| |
| dual_preview_int = <DVFS_INT_L4>; |
| dual_preview_cam = <DVFS_CAM_L0>; |
| dual_preview_mif = <DVFS_MIF_L4>; |
| dual_preview_i2c = <0>; |
| |
| dual_capture_int = <DVFS_INT_L4>; |
| dual_capture_cam = <DVFS_CAM_L0>; |
| dual_capture_mif = <DVFS_MIF_L4>; |
| dual_capture_i2c = <0>; |
| |
| dual_video_int = <DVFS_INT_L4>; |
| dual_video_cam = <DVFS_CAM_L0>; |
| dual_video_mif = <DVFS_MIF_L4>; |
| dual_video_i2c = <0>; |
| |
| preview_high_speed_fps_int = <DVFS_INT_L4>; |
| preview_high_speed_fps_cam = <DVFS_CAM_L2>; |
| preview_high_speed_fps_mif = <DVFS_MIF_L5>; |
| preview_high_speed_fps_i2c = <0>; |
| |
| video_high_speed_60fps_int = <DVFS_INT_L4>; |
| video_high_speed_60fps_cam = <DVFS_CAM_L2>; |
| video_high_speed_60fps_mif = <DVFS_MIF_L5>; |
| video_high_speed_60fps_i2c = <0>; |
| |
| video_high_speed_120fps_int = <DVFS_INT_L4>; |
| video_high_speed_120fps_cam = <DVFS_CAM_L2>; |
| video_high_speed_120fps_mif = <DVFS_MIF_L5>; |
| video_high_speed_120fps_i2c = <0>; |
| |
| max_int = <DVFS_INT_L0>; |
| max_cam = <DVFS_CAM_L0>; |
| max_mif = <DVFS_MIF_L5>; |
| max_i2c = <0>; |
| }; |
| |
| table1 { |
| desc = "DVFS table for HAL3"; |
| |
| default_int = <DVFS_INT_L0>; |
| default_cam = <DVFS_CAM_L0>; |
| default_mif = <DVFS_MIF_L5>; |
| default_i2c = <0>; |
| |
| front_preview_int = <DVFS_INT_L4>; |
| front_preview_cam = <DVFS_CAM_L2>; |
| front_preview_mif = <DVFS_MIF_L5>; |
| front_preview_i2c = <0>; |
| |
| front_capture_int = <DVFS_INT_L4>; |
| front_capture_cam = <DVFS_CAM_L2>; |
| front_capture_mif = <DVFS_MIF_L5>; |
| front_capture_i2c = <0>; |
| |
| front_video_int = <DVFS_INT_L4>; |
| front_video_cam = <DVFS_CAM_L2>; |
| front_video_mif = <DVFS_MIF_L5>; |
| front_video_i2c = <0>; |
| |
| front_vt1_int = <DVFS_INT_L4>; |
| front_vt1_cam = <DVFS_CAM_L3>; |
| front_vt1_mif = <DVFS_MIF_L5>; |
| front_vt1_i2c = <0>; |
| |
| front_vt2_int = <DVFS_INT_L4>; |
| front_vt2_cam = <DVFS_CAM_L3>; |
| front_vt2_mif = <DVFS_MIF_L5>; |
| front_vt2_i2c = <0>; |
| |
| front_vt4_int = <DVFS_INT_L4>; |
| front_vt4_cam = <DVFS_CAM_L3>; |
| front_vt4_mif = <DVFS_MIF_L5>; |
| front_vt4_i2c = <0>; |
| |
| rear_preview_fhd_int = <DVFS_INT_L4>; |
| rear_preview_fhd_cam = <DVFS_CAM_L0>; |
| rear_preview_fhd_mif = <DVFS_MIF_L2>; |
| rear_preview_fhd_i2c = <0>; |
| |
| rear_capture_int = <DVFS_INT_L4>; |
| rear_capture_cam = <DVFS_CAM_L0>; |
| rear_capture_mif = <DVFS_MIF_L2>; |
| rear_capture_i2c = <0>; |
| |
| rear_video_fhd_int = <DVFS_INT_L4>; |
| rear_video_fhd_cam = <DVFS_CAM_L0>; |
| rear_video_fhd_mif = <DVFS_MIF_L2>; |
| rear_video_fhd_i2c = <0>; |
| |
| rear_video_uhd_int = <DVFS_INT_L4>; |
| rear_video_uhd_cam = <DVFS_CAM_L2>; |
| rear_video_uhd_mif = <DVFS_MIF_L1>; |
| rear_video_uhd_i2c = <0>; |
| |
| rear_video_fhd_capture_int = <DVFS_INT_L4>; |
| rear_video_fhd_capture_cam = <DVFS_CAM_L1>; |
| rear_video_fhd_capture_mif = <DVFS_MIF_L3>; |
| rear_video_fhd_capture_i2c = <0>; |
| |
| rear_video_uhd_capture_int = <DVFS_INT_L4>; |
| rear_video_uhd_capture_cam = <DVFS_CAM_L0>; |
| rear_video_uhd_capture_mif = <DVFS_MIF_L0>; |
| rear_video_uhd_capture_i2c = <0>; |
| |
| dual_preview_int = <DVFS_INT_L4>; |
| dual_preview_cam = <DVFS_CAM_L0>; |
| dual_preview_mif = <DVFS_MIF_L4>; |
| dual_preview_i2c = <0>; |
| |
| dual_capture_int = <DVFS_INT_L4>; |
| dual_capture_cam = <DVFS_CAM_L0>; |
| dual_capture_mif = <DVFS_MIF_L4>; |
| dual_capture_i2c = <0>; |
| |
| dual_video_int = <DVFS_INT_L4>; |
| dual_video_cam = <DVFS_CAM_L0>; |
| dual_video_mif = <DVFS_MIF_L4>; |
| dual_video_i2c = <0>; |
| |
| preview_high_speed_fps_int = <DVFS_INT_L4>; |
| preview_high_speed_fps_cam = <DVFS_CAM_L2>; |
| preview_high_speed_fps_mif = <DVFS_MIF_L5>; |
| preview_high_speed_fps_i2c = <0>; |
| |
| video_high_speed_60fps_int = <DVFS_INT_L4>; |
| video_high_speed_60fps_cam = <DVFS_CAM_L3>; |
| video_high_speed_60fps_mif = <DVFS_MIF_L5>; |
| video_high_speed_60fps_i2c = <0>; |
| |
| video_high_speed_120fps_int = <DVFS_INT_L4>; |
| video_high_speed_120fps_cam = <DVFS_CAM_L2>; |
| video_high_speed_120fps_mif = <DVFS_MIF_L5>; |
| video_high_speed_120fps_i2c = <0>; |
| |
| max_int = <DVFS_INT_L0>; |
| max_cam = <DVFS_CAM_L0>; |
| max_mif = <DVFS_MIF_L5>; |
| max_i2c = <0>; |
| }; |
| }; |
| }; |
| |
| fimc_is_sensor_2p6: fimc-is_sensor_2p6@5A { |
| compatible = "samsung,sensor-module-2p6"; |
| |
| pinctrl-names = "pin0", "pin1", "pin2", "release"; |
| pinctrl-0 = <>; |
| pinctrl-1 = <&fimc_is_mclk0_out>; |
| pinctrl-2 = <&fimc_is_mclk0_fn>; |
| pinctrl-3 = <>; |
| |
| position = <0>; /* Rear:0. Front:1 */ |
| id = <0>; /* bns_id */ |
| mclk_ch = <0>; |
| |
| gpio_mclk = <&gpc0 0 0x1>; |
| gpio_reset = <&gpq0 1 0x1>; /* sensor reset */ |
| gpio_core_en = <&gpp0 2 0x1>; /* RCAM_LDO_EN */ |
| gpio_cam_io_en = <&gpg2 0 0x1>; /* RCAM_IO_LDO_EN */ |
| gpio_cam_af_en = <&gpp0 3 0x1>; /* RCAM_AF_2P8_EN */ |
| status = "okay"; |
| |
| af { |
| product_name = <16>; /* AK7372 */ |
| i2c_addr = <0x18>; |
| i2c_ch = <3>; |
| }; |
| |
| flash { |
| product_name = <11>; /* FLASH_GPIO */ |
| flash_first_gpio = <1>; /* DICO not use first, second gpio value */ |
| flash_second_gpio = <0>; |
| }; |
| |
| internal_vc { |
| vc_list = <1 1 0>; |
| }; |
| }; |
| |
| fimc_is_sensor_3p8sp: fimc-is_sensor_3p8sp@5A { |
| compatible = "samsung,sensor-module-3p8sp"; |
| |
| pinctrl-names = "pin0", "pin1", "pin2", "release"; |
| pinctrl-0 = <>; |
| pinctrl-1 = <&fimc_is_mclk1_out>; |
| pinctrl-2 = <&fimc_is_mclk1_fn>; |
| pinctrl-3 = <>; |
| |
| position = <1>; /* Rear:0. Front:1 */ |
| id = <1>; /* bns_id */ |
| mclk_ch = <1>; |
| |
| gpio_mclk = <&gpc0 1 0x1>; |
| gpio_reset = <&gpf3 0 0x1>; /* sensor reset */ |
| gpio_ldos_en = <&gpp0 0 0x1>; /* all LDOs */ |
| status = "okay"; |
| }; |
| |
| fimc_is_sensor_sr846: fimc-is_sensor_sr846@5A { |
| compatible = "samsung,sensor-module-sr846"; |
| |
| pinctrl-names = "pin0", "pin1", "pin2", "release"; |
| pinctrl-0 = <>; |
| pinctrl-1 = <&fimc_is_mclk2_out>; |
| pinctrl-2 = <&fimc_is_mclk2_fn>; |
| pinctrl-3 = <>; |
| |
| position = <2>; /* Rear:0. Front:1 */ |
| id = <2>; /* bns_id */ |
| mclk_ch = <2>; |
| |
| gpio_mclk = <&gpc0 2 0x1>; |
| gpio_reset = <&gpf3 1 0x1>; /* sensor reset */ |
| gpio_ldos_en = <&gpp0 1 0x1>; /* all LDOs */ |
| status = "okay"; |
| }; |
| |
| #define SENSOR_SCENARIO_NORMAL 0 |
| #define SENSOR_SCENARIO_VISION 1 |
| #define SENSOR_SCENARIO_EXTERNAL 2 |
| #define SENSOR_SCENARIO_OIS_FACTORY 3 |
| #define SENSOR_SCENARIO_VIRTUAL 9 |
| #define FLITE_ID_NOTHING 100 |
| |
| fimc_is_sensor0: fimc_is_sensor@14410000 { |
| scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */ |
| id = <0>; |
| csi_ch = <1>; |
| flite_ch = <FLITE_ID_NOTHING>; |
| is_bns = <0>; |
| is_flite = <0>; |
| status = "okay"; |
| |
| use_ssvc1_internal; |
| }; |
| |
| fimc_is_sensor1: fimc_is_sensor@14400000 { |
| scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */ |
| id = <1>; |
| csi_ch = <0>; |
| flite_ch = <FLITE_ID_NOTHING>; |
| is_bns = <0>; |
| is_flite = <0>; |
| status = "okay"; |
| }; |
| |
| fimc_is_sensor2: fimc_is_sensor@14420000 { |
| scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */ |
| id = <2>; |
| csi_ch = <2>; |
| flite_ch = <FLITE_ID_NOTHING>; |
| is_bns = <0>; |
| is_flite = <0>; |
| status = "okay"; |
| }; |
| |
| hsi2c_1: hsi2c@138B0000 { |
| gpios = <&gpc1 2 0 &gpc1 3 0>; |
| status = "okay"; |
| clock-frequency = <400000>; |
| |
| pinctrl-names = "on_i2c"; |
| pinctrl-0 = <&hs_i2c1_bus>; |
| |
| fimc-is-2p6@10 { |
| compatible = "samsung,exynos5-fimc-is-cis-2p6"; |
| reg = <0x2d>; /* 1 bit right shift */ |
| id = <0>; /* matching sensor id */ |
| setfile = "default"; |
| }; |
| }; |
| |
| hsi2c_2: hsi2c@138C0000 { |
| gpios = <&gpc1 4 0 &gpc1 5 0>; |
| status = "okay"; |
| clock-frequency = <400000>; |
| |
| pinctrl-names = "on_i2c"; |
| pinctrl-0 = <&hs_i2c2_bus>; |
| |
| fimc-is-actuator@0C { |
| compatible = "samsung,exynos5-fimc-is-actuator-ak7372"; |
| reg = <0x0C>; |
| id = <0>; |
| place = <0>; |
| }; |
| }; |
| |
| hsi2c_0: hsi2c@138A0000 { |
| gpios = <&gpc1 0 0 &gpc1 1 0>; |
| status = "okay"; |
| clock-frequency = <400000>; |
| |
| pinctrl-names = "on_i2c"; |
| pinctrl-0 = <&hs_i2c0_bus>; |
| |
| fimc-is-3p8sp@2D { |
| compatible = "samsung,exynos5-fimc-is-cis-3p8sp"; |
| reg = <0x10>; /* 1 bit right shift */ |
| id = <1>; /* matching sensor id */ |
| setfile = "setB"; |
| }; |
| }; |
| |
| hsi2c_3: hsi2c@138D0000 { |
| gpios = <&gpc1 6 0 &gpc1 7 0>; |
| status = "okay"; |
| clock-frequency = <400000>; |
| |
| pinctrl-names = "on_i2c"; |
| pinctrl-0 = <&hs_i2c3_bus>; |
| |
| fimc-is-sr846@21 { |
| compatible = "samsung,exynos5-fimc-is-cis-sr846"; |
| reg = <0x21>; /* 1 bit right shift */ |
| id = <2>; /* matching sensor id */ |
| setfile = "default"; |
| }; |
| }; |
| |
| fimc_is_flash_gpio: fimc-is-flash_gpio@0 { |
| compatible = "samsung,sensor-flash-gpio"; |
| id = <0>; /* matching sensor id */ |
| status = "okay"; |
| |
| flash-gpio = <&gpg1 2 0x1>; |
| }; |
| |
| abox_gic: abox_gic@0x14AF0000 { |
| status = "okay"; |
| }; |
| |
| pinctrl@11CB0000 { /*gpio alive*/ |
| max98506_ctrl: max98506-ctl { |
| samsung,pins ="gpa2-1"; |
| samsung,pin-function = <0>; |
| samsung,pin-pud = <0>; |
| samsung,pin-con-pdn =<2>; |
| samsung,pin-pud-pdn = <0>; |
| }; |
| }; |
| |
| pinctrl@139B0000 { /*gpio top*/ |
| max98506_i2c: max98506-i2c { |
| samsung,pins = "gpp3-0", "gpp3-1"; |
| samsung,pin-pud = <0>; |
| status = "okay"; |
| }; |
| }; |
| |
| i2c_3: i2c@13860000 { |
| status = "okay"; |
| tfa98xx: tfa98xx@34 { |
| compatible = "nxp,tfa98xx"; |
| #sound-dai-cells = <1>; |
| reg = <0x34>; |
| }; |
| }; |
| |
| abox: abox@0x14A50000 { |
| status = "okay"; |
| /* CAUTION: |
| * "try to asrc off" quirk must be in dts. |
| * It shouldn't be applied already audio tuned device, |
| * because it changes delay and causes re-tune. |
| */ |
| /* |
| * TODO: enable later |
| */ |
| /* quirks = "try to asrc off"; */ |
| |
| abox_synchronized_ipc: abox_synchronized_ipc { |
| compatible = "samsung,abox-synchronized-ipc"; |
| #sound-dai-cells = <1>; |
| abox = <&abox>; |
| }; |
| }; |
| |
| dummy_audio_codec: audio_codec_dummy { |
| status = "okay"; |
| compatible = "snd-soc-dummy"; |
| }; |
| |
| sound { |
| status = "okay"; |
| compatible = "samsung,exynos7885-cod3035"; |
| mic-bias-mode = <1 1 0 0>; |
| clock-names = "xclkout"; |
| samsung,codec = <&abox>; |
| |
| samsung,routing = "VOUTPUT", "ABOX UAIF0 Playback", |
| "VOUTPUTCALL", "ABOX UAIF2 Playback", |
| "ABOX UAIF2 Capture", "VINPUTCALL", |
| "ABOX SPEEDY Capture", "VINPUTFM", |
| // "SPK", "ABOX UAIF3 Playback", |
| // "ABOX UAIF3 Capture", "VI"; |
| "AIF Playback-7-34", "ABOX UAIF3 Playback", |
| "ABOX UAIF3 Capture", "AIF Capture-7-34"; |
| |
| rdma@0 { |
| cpu { |
| sound-dai = <&abox 0>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| rdma@1 { |
| cpu { |
| sound-dai = <&abox 1>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| rdma@2 { |
| cpu { |
| sound-dai = <&abox 2>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| rdma@3 { |
| cpu { |
| sound-dai = <&abox 3>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| rdma@4 { |
| cpu { |
| sound-dai = <&abox 4>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| rdma@5 { |
| cpu { |
| sound-dai = <&abox 5>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| rdma@6 { |
| cpu { |
| sound-dai = <&abox 6>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| rdma@7 { |
| cpu { |
| sound-dai = <&abox 7>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| wdma@0 { |
| cpu { |
| sound-dai = <&abox 8>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| wdma@1 { |
| cpu { |
| sound-dai = <&abox 9>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| wdma@2 { |
| cpu { |
| sound-dai = <&abox 10>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| wdma@3 { |
| cpu { |
| sound-dai = <&abox 11>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| wdma@4 { |
| cpu { |
| sound-dai = <&abox 12>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| uaif@0 { |
| cpu { |
| sound-dai = <&abox 13>; |
| }; |
| codec { |
| sound-dai = <&audio_codec_cod3035x>; |
| }; |
| }; |
| uaif@1 { |
| cpu { |
| sound-dai = <&abox 14>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| uaif@2 { |
| cpu { |
| sound-dai = <&abox 15>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| uaif@3 { |
| cpu { |
| sound-dai = <&abox 16>; |
| }; |
| platform { |
| sound-dai = <&abox_synchronized_ipc 0>; |
| }; |
| codec { |
| sound-dai = <&tfa98xx>; |
| }; |
| }; |
| internal@0 { |
| cpu { |
| sound-dai = <&abox 17>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| speedy@0 { |
| cpu { |
| sound-dai = <&abox 18>; |
| }; |
| codec { |
| sound-dai = <&dummy_audio_codec>; |
| }; |
| }; |
| }; |
| |
| cpus { |
| /delete-node/ hmp; |
| cpu-map { |
| /delete-node/ cluster1; |
| cluster0 { |
| core0 { |
| cpu = <&cpu0>; |
| }; |
| core1 { |
| cpu = <&cpu1>; |
| }; |
| core2 { |
| cpu = <&cpu2>; |
| }; |
| core3 { |
| cpu = <&cpu3>; |
| }; |
| }; |
| }; |
| /delete-node/ cpu@200; |
| /delete-node/ cpu@201; |
| /delete-node/ cpu@0; |
| /delete-node/ cpu@1; |
| }; |
| |
| cpufreq { |
| domain@0 { |
| sibling-cpus = "0-3"; |
| }; |
| /delete-node/ domain@1; |
| }; |
| |
| exynos-powermode { |
| cpd_enabled = <0>; |
| }; |
| |
| /delete-node/ BIG@10070000; |
| |
| tmuctrl_1: LITTLE@10070000 { |
| id = <0>; |
| }; |
| |
| thermal-zones { |
| /delete-node/ BIG; |
| }; |
| }; |
| |
| #include "exynos7885-ecd.dtsi" |