-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Artur Weber
authored and
Krzysztof Kozlowski
committed
Jul 19, 2023
1 parent
982655c
commit ee37a45
Showing
5 changed files
with
1,412 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>; | ||
}; | ||
}; |
Oops, something went wrong.