GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / exynos4412-n710x.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "exynos4412-midas.dtsi"
4
5 / {
6         compatible = "samsung,n710x", "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
7         model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412";
8
9         memory@40000000 {
10                 device_type = "memory";
11                 reg =  <0x40000000 0x80000000>;
12         };
13
14         /* bootargs are passed in by bootloader */
15
16         cam_vdda_reg: voltage-regulator-6 {
17                 compatible = "regulator-fixed";
18                 regulator-name = "CAM_SENSOR_CORE_1.2V";
19                 regulator-min-microvolt = <1200000>;
20                 regulator-max-microvolt = <1200000>;
21                 gpio = <&gpm4 1 GPIO_ACTIVE_HIGH>;
22                 enable-active-high;
23         };
24 };
25
26 &buck9_reg {
27         maxim,ena-gpios = <&gpm1 0 GPIO_ACTIVE_HIGH>;
28 };
29
30 &cam_af_reg {
31         gpio = <&gpm1 1 GPIO_ACTIVE_HIGH>;
32         status = "okay";
33 };
34
35 &cam_io_reg {
36         gpio = <&gpm0 7 GPIO_ACTIVE_HIGH>;
37         status = "okay";
38 };
39
40 &i2c_3 {
41         samsung,i2c-sda-delay = <100>;
42         samsung,i2c-slave-addr = <0x10>;
43         samsung,i2c-max-bus-freq = <400000>;
44         pinctrl-0 = <&i2c3_bus>;
45         pinctrl-names = "default";
46         status = "okay";
47
48         mms152-touchscreen@48 {
49                 compatible = "melfas,mms152";
50                 reg = <0x48>;
51                 interrupt-parent = <&gpm2>;
52                 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
53                 x-size = <720>;
54                 y-size = <1280>;
55                 avdd-supply = <&ldo23_reg>;
56                 vdd-supply = <&ldo24_reg>;
57         };
58 };
59
60 &ldo13_reg {
61         regulator-name = "VCC_1.8V_LCD";
62         regulator-always-on;
63 };
64
65 &ldo25_reg {
66         regulator-name = "VCI_3.0V_LCD";
67         regulator-min-microvolt = <3000000>;
68         regulator-max-microvolt = <3000000>;
69 };
70
71 &s5c73m3 {
72         standby-gpios = <&gpm0 6 GPIO_ACTIVE_LOW>;   /* ISP_STANDBY */
73         vdda-supply = <&cam_vdda_reg>;
74         status = "okay";
75 };