xref: /freebsd/sys/contrib/device-tree/src/arm/samsung/exynos4412-n710x.dts (revision 5b56413d04e608379c9a306373554a8e4d321bc0)
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	chassis-type = "handset";
9
10	memory@40000000 {
11		device_type = "memory";
12		reg = <0x40000000 0x80000000>;
13	};
14
15	/* bootargs are passed in by bootloader */
16
17	cam_vdda_reg: voltage-regulator-10 {
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&buck9_reg {
28	maxim,ena-gpios = <&gpm1 0 GPIO_ACTIVE_HIGH>;
29};
30
31&cam_af_reg {
32	gpio = <&gpm1 1 GPIO_ACTIVE_HIGH>;
33	status = "okay";
34};
35
36&cam_io_reg {
37	gpio = <&gpm0 7 GPIO_ACTIVE_HIGH>;
38	status = "okay";
39};
40
41&i2c_3 {
42	samsung,i2c-sda-delay = <100>;
43	samsung,i2c-slave-addr = <0x10>;
44	samsung,i2c-max-bus-freq = <400000>;
45	pinctrl-0 = <&i2c3_bus>;
46	pinctrl-names = "default";
47	status = "okay";
48
49	touchscreen@48 {
50		compatible = "melfas,mms152";
51		reg = <0x48>;
52		interrupt-parent = <&gpm2>;
53		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
54		touchscreen-size-x = <720>;
55		touchscreen-size-y = <1280>;
56		avdd-supply = <&ldo23_reg>;
57		vdd-supply = <&ldo24_reg>;
58	};
59};
60
61&ldo13_reg {
62	regulator-name = "VCC_1.8V_LCD";
63	regulator-always-on;
64};
65
66&ldo25_reg {
67	regulator-name = "VCI_3.0V_LCD";
68	regulator-min-microvolt = <3000000>;
69	regulator-max-microvolt = <3000000>;
70};
71
72&s5c73m3 {
73	standby-gpios = <&gpm0 6 GPIO_ACTIVE_LOW>;   /* ISP_STANDBY */
74	vdda-supply = <&cam_vdda_reg>;
75	status = "okay";
76};
77
78&sound {
79	audio-routing = "HP", "HPOUT1L",
80			"HP", "HPOUT1R",
81
82			"SPK", "SPKOUTLN",
83			"SPK", "SPKOUTLP",
84
85			"RCV", "HPOUT2N",
86			"RCV", "HPOUT2P",
87
88			"HDMI", "LINEOUT1N",
89			"HDMI", "LINEOUT1P",
90
91			"LINE", "LINEOUT2N",
92			"LINE", "LINEOUT2P",
93
94			"IN1LP", "MICBIAS2",
95			"IN1LN", "MICBIAS2",
96			"Headset Mic", "MICBIAS2",
97
98			"IN1RP", "Sub Mic",
99			"IN1RN", "Sub Mic",
100
101			"IN2LP:VXRN", "Main Mic",
102			"IN2LN", "Main Mic",
103
104			"IN2RN", "FM In",
105			"IN2RP:VXRP", "FM In";
106};
107
108&submic_bias_reg {
109	regulator-always-on;
110};
111
112&touchkey_reg {
113	gpio = <&gpm0 5 GPIO_ACTIVE_HIGH>;
114	status = "okay";
115};
116