Loading...
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 regulators {
17 cam_vdda_reg: voltage-regulator-9 {
18 compatible = "regulator-fixed";
19 regulator-name = "CAM_SENSOR_CORE_1.2V";
20 regulator-min-microvolt = <1200000>;
21 regulator-max-microvolt = <1200000>;
22 gpio = <&gpm4 1 GPIO_ACTIVE_HIGH>;
23 enable-active-high;
24 };
25 };
26};
27
28&buck9_reg {
29 maxim,ena-gpios = <&gpm1 0 GPIO_ACTIVE_HIGH>;
30};
31
32&cam_af_reg {
33 gpio = <&gpm1 1 GPIO_ACTIVE_HIGH>;
34 status = "okay";
35};
36
37&cam_io_reg {
38 gpio = <&gpm0 7 GPIO_ACTIVE_HIGH>;
39 status = "okay";
40};
41
42&i2c_3 {
43 samsung,i2c-sda-delay = <100>;
44 samsung,i2c-slave-addr = <0x10>;
45 samsung,i2c-max-bus-freq = <400000>;
46 pinctrl-0 = <&i2c3_bus>;
47 pinctrl-names = "default";
48 status = "okay";
49
50 mms152-touchscreen@48 {
51 compatible = "melfas,mms152";
52 reg = <0x48>;
53 interrupt-parent = <&gpm2>;
54 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
55 x-size = <720>;
56 y-size = <1280>;
57 avdd-supply = <&ldo23_reg>;
58 vdd-supply = <&ldo24_reg>;
59 };
60};
61
62&ldo13_reg {
63 regulator-name = "VCC_1.8V_LCD";
64 regulator-always-on;
65};
66
67&ldo25_reg {
68 regulator-name = "VCI_3.0V_LCD";
69 regulator-min-microvolt = <3000000>;
70 regulator-max-microvolt = <3000000>;
71};
72
73&s5c73m3 {
74 standby-gpios = <&gpm0 6 GPIO_ACTIVE_LOW>; /* ISP_STANDBY */
75 vdda-supply = <&cam_vdda_reg>;
76 status = "okay";
77};
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-7 {
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};
76
77&touchkey_reg {
78 gpio = <&gpm0 5 GPIO_ACTIVE_HIGH>;
79 status = "okay";
80};