xref: /freebsd/sys/contrib/device-tree/src/arm/samsung/exynos4412-n710x.dts (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
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	samsung,audio-routing =
80		"HP", "HPOUT1L",
81		"HP", "HPOUT1R",
82
83		"SPK", "SPKOUTLN",
84		"SPK", "SPKOUTLP",
85
86		"RCV", "HPOUT2N",
87		"RCV", "HPOUT2P",
88
89		"HDMI", "LINEOUT1N",
90		"HDMI", "LINEOUT1P",
91
92		"LINE", "LINEOUT2N",
93		"LINE", "LINEOUT2P",
94
95		"IN1LP", "MICBIAS2",
96		"IN1LN", "MICBIAS2",
97		"Headset Mic", "MICBIAS2",
98
99		"IN1RP", "Sub Mic",
100		"IN1RN", "Sub Mic",
101
102		"IN2LP:VXRN", "Main Mic",
103		"IN2LN", "Main Mic",
104
105		"IN2RN", "FM In",
106		"IN2RP:VXRP", "FM In";
107};
108
109&submic_bias_reg {
110	regulator-always-on;
111};
112
113&touchkey_reg {
114	gpio = <&gpm0 5 GPIO_ACTIVE_HIGH>;
115	status = "okay";
116};
117