ARM: dts: exynos: Add Samsung Galaxy Tab 3 8.0 boards

Introduce support for the Galaxy Tab 3 8.0 series of boards:

 - Samsung Galaxy Tab 3 8.0 WiFi (SM-T310/lt01wifi)
 - Samsung Galaxy Tab 3 8.0 3G (SM-T311/lt013g)
 - Samsung Galaxy Tab 3 8.0 LTE (SM-T315/lt01lte)

What works:

 - Display and backlight
 - Touchscreen
 - GPIO buttons, hall sensor
 - WiFi and Bluetooth
 - USB, fuel gauge, charging
 - Accelerometer and magnetometer
 - Audio: speaker, microphone, headset
 - WiFi model only: light sensor

Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
Link: https://lore.kernel.org/r/20230714101229.30641-1-aweber.kernel@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
Artur Weber 2023-07-14 12:12:29 +02:00 committed by Krzysztof Kozlowski
parent 982655cb0e
commit ee37a457af
5 changed files with 1412 additions and 0 deletions

View File

@ -9,6 +9,9 @@ dtb-$(CONFIG_ARCH_EXYNOS4) += \
exynos4210-smdkv310.dtb \
exynos4210-trats.dtb \
exynos4210-universal_c210.dtb \
exynos4212-tab3-3g8.dts \
exynos4212-tab3-lte8.dts \
exynos4212-tab3-wifi8.dts \
exynos4412-i9300.dtb \
exynos4412-i9305.dtb \
exynos4412-itop-elite.dtb \

View File

@ -0,0 +1,29 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Samsung's Exynos4212 based Galaxy Tab 3 8.0 3G board device tree
* source
*
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*/
/dts-v1/;
#include "exynos4212-tab3.dtsi"
/ {
model = "Samsung Galaxy Tab 3 8.0 3G (SM-T311) based on Exynos4212";
compatible = "samsung,t311", "samsung,tab3", "samsung,exynos4212", "samsung,exynos4";
chassis-type = "tablet";
};
/* Pin control sleep state overrides */
&sleep0 {
PIN_SLP(gpb-5, INPUT, UP);
};
&sleep1 {
PIN_SLP(gpl0-0, OUT0, NONE);
PIN_SLP(gpl1-0, OUT0, NONE);
PIN_SLP(gpl2-4, OUT0, NONE);
PIN_SLP(gpm3-3, OUT1, NONE);
};

View File

@ -0,0 +1,44 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Samsung's Exynos4212 based Galaxy Tab 3 8.0 LTE board device tree
* source
*
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*/
/dts-v1/;
#include "exynos4212-tab3.dtsi"
/ {
model = "Samsung Galaxy Tab 3 8.0 LTE (SM-T315) based on Exynos4212";
compatible = "samsung,t315", "samsung,tab3", "samsung,exynos4212", "samsung,exynos4";
chassis-type = "tablet";
};
/* Pin control sleep state overrides */
&sleep0 {
PIN_SLP(gpa0-4, INPUT, UP);
PIN_SLP(gpa0-5, INPUT, UP);
PIN_SLP(gpb-5, INPUT, UP);
PIN_SLP(gpc0-0, PREV, NONE);
PIN_SLP(gpc1-3, INPUT, NONE);
PIN_SLP(gpf1-6, INPUT, NONE);
PIN_SLP(gpf2-2, PREV, NONE);
};
&sleep1 {
PIN_SLP(gpl0-0, PREV, NONE);
PIN_SLP(gpl1-0, PREV, NONE);
PIN_SLP(gpl2-1, INPUT, DOWN);
PIN_SLP(gpl2-2, INPUT, DOWN);
PIN_SLP(gpl2-4, OUT0, NONE);
PIN_SLP(gpl2-5, PREV, NONE);
PIN_SLP(gpm3-3, OUT1, NONE);
};

View File

@ -0,0 +1,26 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Samsung's Exynos4212 based Galaxy Tab 3 8.0 WiFi board device tree
* source
*
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*/
/dts-v1/;
#include "exynos4212-tab3.dtsi"
/ {
model = "Samsung Galaxy Tab 3 8.0 WiFi (SM-T310) based on Exynos4212";
compatible = "samsung,t310", "samsung,tab3", "samsung,exynos4212", "samsung,exynos4";
chassis-type = "tablet";
};
&i2c_lightsensor {
status = "okay";
lightsensor@10 {
compatible = "capella,cm3323";
reg = <0x10>;
};
};

File diff suppressed because it is too large Load Diff