1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4412 based Galaxy S3 board device tree source
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
10 #include <dt-bindings/leds/common.h>
11 #include "exynos4412-midas.dtsi"
20 compatible = "skyworks,aat1290";
21 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
22 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
24 pinctrl-names = "default", "host", "isp";
25 pinctrl-0 = <&camera_flash_host>;
26 pinctrl-1 = <&camera_flash_host>;
27 pinctrl-2 = <&camera_flash_isp>;
30 function = LED_FUNCTION_FLASH;
31 color = <LED_COLOR_ID_WHITE>;
32 led-max-microamp = <520833>;
33 flash-max-microamp = <1012500>;
34 flash-max-timeout-us = <1940000>;
38 lcd_vdd3_reg: voltage-regulator-10 {
39 compatible = "regulator-fixed";
40 regulator-name = "LCD_VDD_2.2V";
41 regulator-min-microvolt = <2200000>;
42 regulator-max-microvolt = <2200000>;
43 gpio = <&gpc0 1 GPIO_ACTIVE_HIGH>;
47 ps_als_reg: voltage-regulator-11 {
48 compatible = "regulator-fixed";
49 regulator-name = "LED_A_3.0V";
50 regulator-min-microvolt = <3000000>;
51 regulator-max-microvolt = <3000000>;
52 gpio = <&gpj0 5 GPIO_ACTIVE_HIGH>;
56 i2c_ak8975: i2c-gpio-0 {
57 compatible = "i2c-gpio";
58 sda-gpios = <&gpy2 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
59 scl-gpios = <&gpy2 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
60 i2c-gpio,delay-us = <2>;
65 compatible = "asahi-kasei,ak8975";
67 gpios = <&gpj0 7 GPIO_ACTIVE_HIGH>;
71 i2c_cm36651: i2c-gpio-2 {
72 compatible = "i2c-gpio";
73 sda-gpios = <&gpf0 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
74 scl-gpios = <&gpf0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
75 i2c-gpio,delay-us = <2>;
80 compatible = "capella,cm36651";
82 interrupt-parent = <&gpx0>;
83 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
84 vled-supply = <&ps_als_reg>;
90 maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
94 gpio = <&gpm0 4 GPIO_ACTIVE_HIGH>;
99 gpio = <&gpm0 2 GPIO_ACTIVE_HIGH>;
107 compatible = "samsung,s6e8aa0";
109 vdd3-supply = <&lcd_vdd3_reg>;
110 vci-supply = <&ldo25_reg>;
111 reset-gpios = <&gpf2 1 GPIO_ACTIVE_HIGH>;
112 power-on-delay = <50>;
117 panel-width-mm = <58>;
118 panel-height-mm = <103>;
122 clock-frequency = <57153600>;
138 compatible = "melfas,mms114";
140 interrupt-parent = <&gpm2>;
141 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
142 touchscreen-size-x = <720>;
143 touchscreen-size-y = <1280>;
144 avdd-supply = <&ldo23_reg>;
145 vdd-supply = <&ldo24_reg>;
150 regulator-name = "LCD_VCC_3.3V";
151 regulator-min-microvolt = <2800000>;
152 regulator-max-microvolt = <2800000>;
156 camera_flash_host: camera-flash-host-pins {
157 samsung,pins = "gpj1-0";
158 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
159 samsung,pin-val = <0>;
162 camera_flash_isp: camera-flash-isp-pins {
163 samsung,pins = "gpj1-0";
164 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
165 samsung,pin-val = <1>;
170 standby-gpios = <&gpm0 1 GPIO_ACTIVE_LOW>; /* ISP_STANDBY */
171 vdda-supply = <&ldo17_reg>;
176 samsung,audio-routing =
196 "Main Mic", "MICBIAS1",
201 "IN2LP:VXRN", "MICBIAS2",
202 "Headset Mic", "MICBIAS2",
205 "IN2RP:VXRP", "FM In";
209 gpio = <&gpf2 0 GPIO_ACTIVE_HIGH>;
214 gpio = <&gpm0 0 GPIO_ACTIVE_HIGH>;