Commit ee37a457 authored by Artur Weber's avatar Artur Weber Committed by Krzysztof Kozlowski
Browse files

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: default avatarArtur Weber <aweber.kernel@gmail.com>
Link: https://lore.kernel.org/r/20230714101229.30641-1-aweber.kernel@gmail.com


Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 982655cb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 \
+29 −0
Original line number Diff line number Diff line
// 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);
};
+44 −0
Original line number Diff line number Diff line
// 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);
};
+26 −0
Original line number Diff line number Diff line
// 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>;
	};
};
+1310 −0

File added.

Preview size limit exceeded, changes collapsed.