-
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.
arm64: dts: exynos: Add initial device tree support for Exynos7885 SoC
Add initial Exynos7885 device tree nodes with dts for the Samsung Galaxy A8 (2018), a.k.a. "jackpotlte", with model number "SM-A530F". Currently this includes some clock support, UART support, and I2C nodes. Signed-off-by: David Virag <virag.david003@gmail.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Link: https://lore.kernel.org/r/20220221194958.117361-2-virag.david003@gmail.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
- Loading branch information
David Virag
authored and
Krzysztof Kozlowski
committed
Feb 23, 2022
1 parent
f377d4d
commit 0687401
Showing
4 changed files
with
1,375 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
dtb-$(CONFIG_ARCH_EXYNOS) += \ | ||
exynos5433-tm2.dtb \ | ||
exynos5433-tm2e.dtb \ | ||
exynos7-espresso.dtb \ | ||
exynos850-e850-96.dtb \ | ||
exynos5433-tm2.dtb \ | ||
exynos5433-tm2e.dtb \ | ||
exynos7-espresso.dtb \ | ||
exynos7885-jackpotlte.dtb \ | ||
exynos850-e850-96.dtb \ | ||
exynosautov9-sadk.dtb |
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,92 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Samsung Galaxy A8 2018 (jackpotlte/SM-A530F) device tree source | ||
* | ||
* Copyright (c) 2021 Samsung Electronics Co., Ltd. | ||
* Copyright (c) 2021 Dávid Virág | ||
*/ | ||
|
||
/dts-v1/; | ||
#include "exynos7885.dtsi" | ||
#include <dt-bindings/gpio/gpio.h> | ||
#include <dt-bindings/input/input.h> | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
|
||
/ { | ||
model = "Samsung Galaxy A8 (2018)"; | ||
compatible = "samsung,jackpotlte", "samsung,exynos7885"; | ||
chassis-type = "handset"; | ||
|
||
aliases { | ||
serial0 = &serial_0; | ||
serial1 = &serial_1; | ||
serial2 = &serial_2; | ||
}; | ||
|
||
chosen { | ||
stdout-path = &serial_2; | ||
}; | ||
|
||
memory@80000000 { | ||
device_type = "memory"; | ||
reg = <0x0 0x80000000 0x3da00000>, | ||
<0x0 0xc0000000 0x40000000>, | ||
<0x8 0x80000000 0x40000000>; | ||
}; | ||
|
||
gpio-keys { | ||
compatible = "gpio-keys"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&key_volup &key_voldown &key_power>; | ||
|
||
volup-key { | ||
label = "Volume Up"; | ||
linux,code = <KEY_VOLUMEUP>; | ||
gpios = <&gpa1 5 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
voldown-key { | ||
label = "Volume Down"; | ||
linux,code = <KEY_VOLUMEDOWN>; | ||
gpios = <&gpa1 6 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
power-key { | ||
label = "Power"; | ||
linux,code = <KEY_POWER>; | ||
gpios = <&gpa1 7 GPIO_ACTIVE_LOW>; | ||
wakeup-source; | ||
}; | ||
}; | ||
}; | ||
|
||
&oscclk { | ||
clock-frequency = <26000000>; | ||
}; | ||
|
||
&pinctrl_alive { | ||
key_volup: key-volup-pins { | ||
samsung,pins = "gpa1-5"; | ||
samsung,pin-function = <EXYNOS_PIN_FUNC_F>; | ||
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | ||
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | ||
}; | ||
|
||
key_voldown: key-voldown-pins { | ||
samsung,pins = "gpa1-6"; | ||
samsung,pin-function = <EXYNOS_PIN_FUNC_F>; | ||
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | ||
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | ||
}; | ||
|
||
key_power: key-power-pins { | ||
samsung,pins = "gpa1-7"; | ||
samsung,pin-function = <EXYNOS_PIN_FUNC_F>; | ||
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | ||
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | ||
}; | ||
}; | ||
|
||
&serial_2 { | ||
status = "okay"; | ||
}; |
Oops, something went wrong.