* [PATCH 1/2] dt-bindings: arm: samsung: Document greatlte board binding
2026-11-16 14:50 [PATCH 0/2] Add support for Samsung Galaxy Note8 (SM-N950N) nhansp
@ 2026-11-16 14:50 ` nhansp
2026-11-16 14:50 ` [PATCH 2/2] arm64: dts: exynos: Add initial support for Samsung Galaxy Note8 nhansp
1 sibling, 0 replies; 3+ messages in thread
From: nhansp @ 2026-11-16 14:50 UTC (permalink / raw)
To: Krzysztof Kozlowski, Peter Griffin, Alim Akhtar, Rob Herring,
Conor Dooley
Cc: linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel,
Kees Cook, Tony Luck, Guilherme G. Piccoli, nhansp
Add a compatible for the Samsung Galaxy Note8 (SM-N950N), codenamed
greatlte, which is based on the Exynos 8895 SoC.
Signed-off-by: nhansp <nhan.094.vn@gmail.com>
---
Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml
index 6ac7f895351e..088995a32a03 100644
--- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml
+++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml
@@ -247,6 +247,7 @@ properties:
items:
- enum:
- samsung,dreamlte # Samsung Galaxy S8 (SM-G950F)
+ - samsung,greatlte # Samsung Galaxy Note8 (SM-N950N)
- const: samsung,exynos8895
- description: Exynos9810 based boards
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 2/2] arm64: dts: exynos: Add initial support for Samsung Galaxy Note8
2026-11-16 14:50 [PATCH 0/2] Add support for Samsung Galaxy Note8 (SM-N950N) nhansp
2026-11-16 14:50 ` [PATCH 1/2] dt-bindings: arm: samsung: Document greatlte board binding nhansp
@ 2026-11-16 14:50 ` nhansp
1 sibling, 0 replies; 3+ messages in thread
From: nhansp @ 2026-11-16 14:50 UTC (permalink / raw)
To: Krzysztof Kozlowski, Peter Griffin, Alim Akhtar, Rob Herring,
Conor Dooley
Cc: linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel,
Kees Cook, Tony Luck, Guilherme G. Piccoli, nhansp
Samsung Galaxy Note8 (SM-N950N), codenamed greatlte, is a mobile phone
from 2017. It features 6GB RAM, 64GB, 128GB or 256GB UFS 2.1, Exynos
8895 SoC and a 1440x2960 Super AMOLED display.
This initial device tree enables SimpleFB, PSTORE and GPIO keys.
Signed-off-by: nhansp <nhan.094.vn@gmail.com>
---
arch/arm64/boot/dts/exynos/Makefile | 1 +
arch/arm64/boot/dts/exynos/exynos8895-greatlte.dts | 124 +++++++++++++++++++++
2 files changed, 125 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile
index f1946a95cb42..1faf01dab180 100644
--- a/arch/arm64/boot/dts/exynos/Makefile
+++ b/arch/arm64/boot/dts/exynos/Makefile
@@ -18,6 +18,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \
exynos850-e850-96.dtb \
exynos8855-smdk.dtb \
exynos8895-dreamlte.dtb \
+ exynos8895-greatlte.dtb \
exynos9810-starlte.dtb \
exynos990-c1s.dtb \
exynos990-r8s.dtb \
diff --git a/arch/arm64/boot/dts/exynos/exynos8895-greatlte.dts b/arch/arm64/boot/dts/exynos/exynos8895-greatlte.dts
new file mode 100644
index 000000000000..a7cfccd59bf7
--- /dev/null
+++ b/arch/arm64/boot/dts/exynos/exynos8895-greatlte.dts
@@ -0,0 +1,124 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
+/*
+ * Samsung Galaxy Note8 (greatlte/SM-N950N) device tree source
+ */
+
+/dts-v1/;
+#include "exynos8895.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
+/ {
+ model = "Samsung Galaxy Note8 (SM-N950N)";
+ compatible = "samsung,greatlte", "samsung,exynos8895";
+ chassis-type = "handset";
+
+ chosen {
+ ranges;
+ #address-cells = <2>;
+ #size-cells = <1>;
+
+ framebuffer@cc000000 {
+ compatible = "simple-framebuffer";
+ reg = <0 0xcc000000 (1440 * 2960 * 4)>;
+ width = <1440>;
+ height = <2960>;
+ stride = <(1440 * 4)>;
+ format = "a8r8g8b8";
+ };
+ };
+
+ gpio-keys {
+ compatible = "gpio-keys";
+
+ pinctrl-0 = <&key_power &key_voldown &key_volup &key_wink>;
+ pinctrl-names = "default";
+
+ power-key {
+ gpios = <&gpa2 4 GPIO_ACTIVE_LOW>;
+ label = "Power";
+ wakeup-source;
+ linux,code = <KEY_POWER>;
+ };
+
+ voldown-key {
+ gpios = <&gpa0 4 GPIO_ACTIVE_LOW>;
+ label = "Volume Down";
+ linux,code = <KEY_VOLUMEDOWN>;
+ };
+
+ volup-key {
+ gpios = <&gpa0 3 GPIO_ACTIVE_LOW>;
+ label = "Volume Up";
+ linux,code = <KEY_VOLUMEUP>;
+ };
+
+ /* Bixby key, mapped as a camera button for now */
+ wink-key {
+ gpios = <&gpa0 6 GPIO_ACTIVE_LOW>;
+ label = "Camera";
+ wakeup-source;
+ linux,code = <KEY_CAMERA>;
+ };
+ };
+
+ memory@80000000 {
+ device_type = "memory";
+ reg = <0x0 0x80000000 0x3c800000>,
+ <0x0 0xc0000000 0x40000000>,
+ <0x8 0x80000000 0x80000000>,
+ <0x9 0x00000000 0x80000000>;
+ };
+
+ reserved-memory {
+ ranges;
+ #address-cells = <2>;
+ #size-cells = <1>;
+
+ ramoops@92000000 {
+ compatible = "ramoops";
+ reg = <0 0x92000000 0x8000>;
+ record-size = <0x4000>;
+ console-size = <0x4000>;
+ };
+
+ framebuffer@cc000000 {
+ reg = <0 0xcc000000 (1440 * 2960 * 4)>;
+ no-map;
+ };
+ };
+};
+
+&oscclk {
+ clock-frequency = <26000000>;
+};
+
+&pinctrl_alive {
+ key_power: key-power-pins {
+ samsung,pins = "gpa2-4";
+ samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
+ };
+
+ key_voldown: key-voldown-pins {
+ samsung,pins = "gpa0-4";
+ samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
+ };
+
+ key_volup: key-volup-pins {
+ samsung,pins = "gpa0-3";
+ samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
+ };
+
+ key_wink: key-wink-pins {
+ samsung,pins = "gpa0-6";
+ samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
+ };
+};
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread