Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Simon Shields and committed by
Krzysztof Kozlowski
8bd65bfb c769eaf7

+102
+3
arch/arm/boot/dts/Makefile
··· 163 163 exynos4210-smdkv310.dtb \ 164 164 exynos4210-trats.dtb \ 165 165 exynos4210-universal_c210.dtb \ 166 + exynos4412-i9300.dtb \ 167 + exynos4412-i9305.dtb \ 166 168 exynos4412-itop-elite.dtb \ 169 + exynos4412-n710x.dtb \ 167 170 exynos4412-odroidu3.dtb \ 168 171 exynos4412-odroidx.dtb \ 169 172 exynos4412-odroidx2.dtb \
+22
arch/arm/boot/dts/exynos4412-i9300.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Samsung's Exynos4412 based M0 (GT-I9300) board device tree source 4 + * 5 + * Copyright (c) 2013 Samsung Electronics Co., Ltd. 6 + * http://www.samsung.com 7 + */ 8 + 9 + /dts-v1/; 10 + #include "exynos4412-galaxy-s3.dtsi" 11 + 12 + / { 13 + model = "Samsung Galaxy S3 (GT-I9300) based on Exynos4412"; 14 + compatible = "samsung,i9300", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; 15 + 16 + /* bootargs are passed in by bootloader */ 17 + 18 + memory@40000000 { 19 + device_type = "memory"; 20 + reg = <0x40000000 0x40000000>; 21 + }; 22 + };
+20
arch/arm/boot/dts/exynos4412-i9305.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /dts-v1/; 3 + #include "exynos4412-galaxy-s3.dtsi" 4 + 5 + / { 6 + model = "Samsung Galaxy S3 (GT-I9305) based on Exynos4412"; 7 + compatible = "samsung,i9305", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; 8 + 9 + /* bootargs are passed in by bootloader */ 10 + 11 + memory@40000000 { 12 + device_type = "memory"; 13 + reg = <0x40000000 0x80000000>; 14 + }; 15 + }; 16 + 17 + &i2c0_bus { 18 + /* SCL and SDA pins are swapped */ 19 + samsung,pins = "gpd1-1", "gpd1-0"; 20 + };
+57
arch/arm/boot/dts/exynos4412-n710x.dts
··· 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 + 9 + memory@40000000 { 10 + device_type = "memory"; 11 + reg = <0x40000000 0x80000000>; 12 + }; 13 + 14 + /* bootargs are passed in by bootloader */ 15 + 16 + regulators { 17 + cam_vdda_reg: voltage-regulator-9 { 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 + 28 + &buck9_reg { 29 + maxim,ena-gpios = <&gpm1 0 GPIO_ACTIVE_HIGH>; 30 + }; 31 + 32 + &cam_af_reg { 33 + gpio = <&gpm1 1 GPIO_ACTIVE_HIGH>; 34 + status = "okay"; 35 + }; 36 + 37 + &cam_io_reg { 38 + gpio = <&gpm0 7 GPIO_ACTIVE_HIGH>; 39 + status = "okay"; 40 + }; 41 + 42 + &ldo13_reg { 43 + regulator-name = "VCC_1.8V_LCD"; 44 + regulator-always-on; 45 + }; 46 + 47 + &ldo25_reg { 48 + regulator-name = "VCI_3.0V_LCD"; 49 + regulator-min-microvolt = <3000000>; 50 + regulator-max-microvolt = <3000000>; 51 + }; 52 + 53 + &s5c73m3 { 54 + standby-gpios = <&gpm0 6 GPIO_ACTIVE_LOW>; /* ISP_STANDBY */ 55 + vdda-supply = <&cam_vdda_reg>; 56 + status = "okay"; 57 + };