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 "exynos4412-midas.dtsi"
19 compatible = "skyworks,aat1290";
20 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
21 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
23 pinctrl-names = "default", "host", "isp";
24 pinctrl-0 = <&camera_flash_host>;
25 pinctrl-1 = <&camera_flash_host>;
26 pinctrl-2 = <&camera_flash_isp>;
30 led-max-microamp = <520833>;
31 flash-max-microamp = <1012500>;
32 flash-max-timeout-us = <1940000>;
36 lcd_vdd3_reg: voltage-regulator-7 {
37 compatible = "regulator-fixed";
38 regulator-name = "LCD_VDD_2.2V";
39 regulator-min-microvolt = <2200000>;
40 regulator-max-microvolt = <2200000>;
41 gpio = <&gpc0 1 GPIO_ACTIVE_HIGH>;
45 ps_als_reg: voltage-regulator-8 {
46 compatible = "regulator-fixed";
47 regulator-name = "LED_A_3.0V";
48 regulator-min-microvolt = <3000000>;
49 regulator-max-microvolt = <3000000>;
50 gpio = <&gpj0 5 GPIO_ACTIVE_HIGH>;
54 i2c_ak8975: i2c-gpio-0 {
55 compatible = "i2c-gpio";
56 gpios = <&gpy2 4 GPIO_ACTIVE_HIGH>, <&gpy2 5 GPIO_ACTIVE_HIGH>;
57 i2c-gpio,delay-us = <2>;
63 compatible = "asahi-kasei,ak8975";
65 gpios = <&gpj0 7 GPIO_ACTIVE_HIGH>;
69 i2c_cm36651: i2c-gpio-2 {
70 compatible = "i2c-gpio";
71 gpios = <&gpf0 0 GPIO_ACTIVE_LOW>, <&gpf0 1 GPIO_ACTIVE_LOW>;
72 i2c-gpio,delay-us = <2>;
77 compatible = "capella,cm36651";
79 interrupt-parent = <&gpx0>;
80 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
81 vled-supply = <&ps_als_reg>;
87 maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
91 gpio = <&gpm0 4 GPIO_ACTIVE_HIGH>;
96 gpio = <&gpm0 2 GPIO_ACTIVE_HIGH>;
104 compatible = "samsung,s6e8aa0";
106 vdd3-supply = <&lcd_vdd3_reg>;
107 vci-supply = <&ldo25_reg>;
108 reset-gpios = <&gpf2 1 GPIO_ACTIVE_HIGH>;
109 power-on-delay= <50>;
114 panel-width-mm = <58>;
115 panel-height-mm = <103>;
119 clock-frequency = <57153600>;
134 mms114-touchscreen@48 {
135 compatible = "melfas,mms114";
137 interrupt-parent = <&gpm2>;
138 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
139 touchscreen-size-x = <720>;
140 touchscreen-size-y = <1280>;
141 avdd-supply = <&ldo23_reg>;
142 vdd-supply = <&ldo24_reg>;
147 regulator-name = "LCD_VCC_3.3V";
148 regulator-min-microvolt = <2800000>;
149 regulator-max-microvolt = <2800000>;
153 camera_flash_host: camera-flash-host {
154 samsung,pins = "gpj1-0";
155 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
156 samsung,pin-val = <0>;
159 camera_flash_isp: camera-flash-isp {
160 samsung,pins = "gpj1-0";
161 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
162 samsung,pin-val = <1>;
167 standby-gpios = <&gpm0 1 GPIO_ACTIVE_LOW>; /* ISP_STANDBY */
168 vdda-supply = <&ldo17_reg>;
173 gpio = <&gpm0 0 GPIO_ACTIVE_HIGH>;