ARM: dts: exynos: Add Samsung's Exynos4412-based Midas boards

"Midas" is the codename for a family of smartphones released by Samsung
Mobile. It includes the Galaxy S3 (GT-I9300/I9305) and the Galaxy
Note 2 (GT-N7100/N7105). The boards largely have the same peripherals:
the main differences are touchscreen, display panel and cellular modem.

Signed-off-by: Simon Shields <simon@lineageos.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
Simon Shields 2018-02-19 00:41:23 +11:00 committed by Krzysztof Kozlowski
parent c769eaf7a8
commit 8bd65bfbf8
4 changed files with 102 additions and 0 deletions

View File

@ -163,7 +163,10 @@ dtb-$(CONFIG_ARCH_EXYNOS4) += \
exynos4210-smdkv310.dtb \
exynos4210-trats.dtb \
exynos4210-universal_c210.dtb \
exynos4412-i9300.dtb \
exynos4412-i9305.dtb \
exynos4412-itop-elite.dtb \
exynos4412-n710x.dtb \
exynos4412-odroidu3.dtb \
exynos4412-odroidx.dtb \
exynos4412-odroidx2.dtb \

View File

@ -0,0 +1,22 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Samsung's Exynos4412 based M0 (GT-I9300) board device tree source
*
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*/
/dts-v1/;
#include "exynos4412-galaxy-s3.dtsi"
/ {
model = "Samsung Galaxy S3 (GT-I9300) based on Exynos4412";
compatible = "samsung,i9300", "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
/* bootargs are passed in by bootloader */
memory@40000000 {
device_type = "memory";
reg = <0x40000000 0x40000000>;
};
};

View File

@ -0,0 +1,20 @@
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
#include "exynos4412-galaxy-s3.dtsi"
/ {
model = "Samsung Galaxy S3 (GT-I9305) based on Exynos4412";
compatible = "samsung,i9305", "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
/* bootargs are passed in by bootloader */
memory@40000000 {
device_type = "memory";
reg = <0x40000000 0x80000000>;
};
};
&i2c0_bus {
/* SCL and SDA pins are swapped */
samsung,pins = "gpd1-1", "gpd1-0";
};

View File

@ -0,0 +1,57 @@
// 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 */
regulators {
cam_vdda_reg: voltage-regulator-9 {
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;
};
};
};
&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";
};
&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";
};