xref: /linux/scripts/dtc/include-prefixes/arm/samsung/exynos4412-n710x.dts (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/dts-v1/;
3724ba675SRob Herring#include "exynos4412-midas.dtsi"
4724ba675SRob Herring
5724ba675SRob Herring/ {
6724ba675SRob Herring	compatible = "samsung,n710x", "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
7724ba675SRob Herring	model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412";
8724ba675SRob Herring	chassis-type = "handset";
9724ba675SRob Herring
10724ba675SRob Herring	memory@40000000 {
11724ba675SRob Herring		device_type = "memory";
12*784c93e3SArtur Weber		reg = <0x40000000 0x7fc00000>;
13724ba675SRob Herring	};
14724ba675SRob Herring
15724ba675SRob Herring	/* bootargs are passed in by bootloader */
16724ba675SRob Herring
17724ba675SRob Herring	cam_vdda_reg: voltage-regulator-10 {
18724ba675SRob Herring		compatible = "regulator-fixed";
19724ba675SRob Herring		regulator-name = "CAM_SENSOR_CORE_1.2V";
20724ba675SRob Herring		regulator-min-microvolt = <1200000>;
21724ba675SRob Herring		regulator-max-microvolt = <1200000>;
22724ba675SRob Herring		gpio = <&gpm4 1 GPIO_ACTIVE_HIGH>;
23724ba675SRob Herring		enable-active-high;
24724ba675SRob Herring	};
25724ba675SRob Herring};
26724ba675SRob Herring
27724ba675SRob Herring&buck9_reg {
28724ba675SRob Herring	maxim,ena-gpios = <&gpm1 0 GPIO_ACTIVE_HIGH>;
29724ba675SRob Herring};
30724ba675SRob Herring
31724ba675SRob Herring&cam_af_reg {
32724ba675SRob Herring	gpio = <&gpm1 1 GPIO_ACTIVE_HIGH>;
33724ba675SRob Herring	status = "okay";
34724ba675SRob Herring};
35724ba675SRob Herring
36724ba675SRob Herring&cam_io_reg {
37724ba675SRob Herring	gpio = <&gpm0 7 GPIO_ACTIVE_HIGH>;
38724ba675SRob Herring	status = "okay";
39724ba675SRob Herring};
40724ba675SRob Herring
41724ba675SRob Herring&i2c_3 {
42724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
43724ba675SRob Herring	samsung,i2c-slave-addr = <0x10>;
44724ba675SRob Herring	samsung,i2c-max-bus-freq = <400000>;
45724ba675SRob Herring	pinctrl-0 = <&i2c3_bus>;
46724ba675SRob Herring	pinctrl-names = "default";
47724ba675SRob Herring	status = "okay";
48724ba675SRob Herring
49724ba675SRob Herring	touchscreen@48 {
50724ba675SRob Herring		compatible = "melfas,mms152";
51724ba675SRob Herring		reg = <0x48>;
52724ba675SRob Herring		interrupt-parent = <&gpm2>;
53724ba675SRob Herring		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
54724ba675SRob Herring		touchscreen-size-x = <720>;
55724ba675SRob Herring		touchscreen-size-y = <1280>;
56724ba675SRob Herring		avdd-supply = <&ldo23_reg>;
57724ba675SRob Herring		vdd-supply = <&ldo24_reg>;
58724ba675SRob Herring	};
59724ba675SRob Herring};
60724ba675SRob Herring
61724ba675SRob Herring&ldo13_reg {
62724ba675SRob Herring	regulator-name = "VCC_1.8V_LCD";
63724ba675SRob Herring	regulator-always-on;
64724ba675SRob Herring};
65724ba675SRob Herring
66724ba675SRob Herring&ldo25_reg {
67724ba675SRob Herring	regulator-name = "VCI_3.0V_LCD";
68724ba675SRob Herring	regulator-min-microvolt = <3000000>;
69724ba675SRob Herring	regulator-max-microvolt = <3000000>;
70724ba675SRob Herring};
71724ba675SRob Herring
72724ba675SRob Herring&s5c73m3 {
73724ba675SRob Herring	standby-gpios = <&gpm0 6 GPIO_ACTIVE_LOW>;   /* ISP_STANDBY */
74724ba675SRob Herring	vdda-supply = <&cam_vdda_reg>;
75724ba675SRob Herring	status = "okay";
76724ba675SRob Herring};
77724ba675SRob Herring
78724ba675SRob Herring&sound {
791222d604SKrzysztof Kozlowski	audio-routing = "HP", "HPOUT1L",
80724ba675SRob Herring			"HP", "HPOUT1R",
81724ba675SRob Herring
82724ba675SRob Herring			"SPK", "SPKOUTLN",
83724ba675SRob Herring			"SPK", "SPKOUTLP",
84724ba675SRob Herring
85724ba675SRob Herring			"RCV", "HPOUT2N",
86724ba675SRob Herring			"RCV", "HPOUT2P",
87724ba675SRob Herring
88724ba675SRob Herring			"HDMI", "LINEOUT1N",
89724ba675SRob Herring			"HDMI", "LINEOUT1P",
90724ba675SRob Herring
91724ba675SRob Herring			"LINE", "LINEOUT2N",
92724ba675SRob Herring			"LINE", "LINEOUT2P",
93724ba675SRob Herring
94724ba675SRob Herring			"IN1LP", "MICBIAS2",
95724ba675SRob Herring			"IN1LN", "MICBIAS2",
96724ba675SRob Herring			"Headset Mic", "MICBIAS2",
97724ba675SRob Herring
98724ba675SRob Herring			"IN1RP", "Sub Mic",
99724ba675SRob Herring			"IN1RN", "Sub Mic",
100724ba675SRob Herring
101724ba675SRob Herring			"IN2LP:VXRN", "Main Mic",
102724ba675SRob Herring			"IN2LN", "Main Mic",
103724ba675SRob Herring
104724ba675SRob Herring			"IN2RN", "FM In",
105724ba675SRob Herring			"IN2RP:VXRP", "FM In";
106724ba675SRob Herring};
107724ba675SRob Herring
108724ba675SRob Herring&submic_bias_reg {
109724ba675SRob Herring	regulator-always-on;
110724ba675SRob Herring};
111724ba675SRob Herring
112724ba675SRob Herring&touchkey_reg {
113724ba675SRob Herring	gpio = <&gpm0 5 GPIO_ACTIVE_HIGH>;
114724ba675SRob Herring	status = "okay";
115724ba675SRob Herring};
116