2018-02-18 21:41:23 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/dts-v1/;
|
|
|
|
#include "exynos4412-midas.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "samsung,n710x", "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
|
|
|
|
model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412";
|
|
|
|
|
|
|
|
memory@40000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x40000000 0x80000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* bootargs are passed in by bootloader */
|
|
|
|
|
2018-04-25 01:46:01 +08:00
|
|
|
cam_vdda_reg: voltage-regulator-6 {
|
2018-04-25 01:46:00 +08:00
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "CAM_SENSOR_CORE_1.2V";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
gpio = <&gpm4 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
enable-active-high;
|
2018-02-18 21:41:23 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&buck9_reg {
|
|
|
|
maxim,ena-gpios = <&gpm1 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&cam_af_reg {
|
|
|
|
gpio = <&gpm1 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&cam_io_reg {
|
|
|
|
gpio = <&gpm0 7 GPIO_ACTIVE_HIGH>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-02-20 16:12:33 +08:00
|
|
|
&i2c_3 {
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-slave-addr = <0x10>;
|
|
|
|
samsung,i2c-max-bus-freq = <400000>;
|
|
|
|
pinctrl-0 = <&i2c3_bus>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
mms152-touchscreen@48 {
|
|
|
|
compatible = "melfas,mms152";
|
|
|
|
reg = <0x48>;
|
|
|
|
interrupt-parent = <&gpm2>;
|
|
|
|
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
x-size = <720>;
|
|
|
|
y-size = <1280>;
|
|
|
|
avdd-supply = <&ldo23_reg>;
|
|
|
|
vdd-supply = <&ldo24_reg>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-18 21:41:23 +08:00
|
|
|
&ldo13_reg {
|
|
|
|
regulator-name = "VCC_1.8V_LCD";
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
&ldo25_reg {
|
|
|
|
regulator-name = "VCI_3.0V_LCD";
|
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&s5c73m3 {
|
|
|
|
standby-gpios = <&gpm0 6 GPIO_ACTIVE_LOW>; /* ISP_STANDBY */
|
|
|
|
vdda-supply = <&cam_vdda_reg>;
|
|
|
|
status = "okay";
|
|
|
|
};
|