blob: eec51d165f98def58c192c270e2e8fc778aef8f5 [file] [log] [blame]
Dzmitry Sankouski4e6df402021-10-17 13:44:32 +03001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Samsung S9 SM-G9600 (starqltechn) board device tree source
4 *
5 * (C) Copyright 2021 Dzmitry Sankouski <dsankouski@gmail.com>
6 *
7 */
8
9/dts-v1/;
10
11#include "sdm845.dtsi"
Dzmitry Sankouskiaaf13b92023-04-01 12:28:43 +030012#include <dt-bindings/gpio/gpio.h>
13#include <dt-bindings/input/input.h>
Dzmitry Sankouski4e6df402021-10-17 13:44:32 +030014
15/ {
16 model = "Samsung S9 (SM-G9600)";
17 compatible = "qcom,sdm845-mtp", "qcom,sdm845", "qcom,mtp";
18 #address-cells = <2>;
19 #size-cells = <2>;
20
21 chosen {
22 stdout-path = "serial0:921600n8";
23 };
24
25 aliases {
Vladimir Zapolskiy5c5e8d42023-04-21 20:50:41 +030026 serial0 = &uart9;
Dzmitry Sankouski4e6df402021-10-17 13:44:32 +030027 };
28
29 memory {
30 device_type = "memory";
31 reg = <0 0x80000000 0 0xfe1bffff>;
32 };
33
34 psci {
35 compatible = "arm,psci-1.0";
36 method = "smc";
37 };
38
Dzmitry Sankouski8e3bdd52022-02-22 21:49:53 +030039 framebuffer: framebuffer@9D400000 {
40 compatible = "simple-framebuffer";
41 reg = <0 0x9D400000 0 (2960 * 1440 * 4)>;//2400000
42 width = <1440>;
43 height = <2960>;
44 stride = <(1440 * 4)>;
45 format = "a8r8g8b8";
46 };
47
Dzmitry Sankouskiaaf13b92023-04-01 12:28:43 +030048 gpio-keys {
49 compatible = "gpio-keys";
50
51 key-pwr {
52 label = "Power";
53 linux,code = <KEY_ENTER>;
54 gpios = <&pm8998_pon 0 GPIO_ACTIVE_LOW>;
55 };
56
57 key-vol-down {
58 label = "Volume Down";
59 linux,code = <KEY_DOWN>;
60 gpios = <&pm8998_pon 1 GPIO_ACTIVE_LOW>;
61 };
62 };
63
Dzmitry Sankouski4e6df402021-10-17 13:44:32 +030064 soc: soc {
Dzmitry Sankouski8e3bdd52022-02-22 21:49:53 +030065 serial@a84000 {
66 status = "okay";
Dzmitry Sankouski4e6df402021-10-17 13:44:32 +030067 };
68
Sumit Garg3068b0d2022-07-12 12:42:04 +053069 pinctrl_north@3900000 {
Dzmitry Sankouski4e6df402021-10-17 13:44:32 +030070 muic_i2c: muic_i2c {
71 pins = "GPIO_33", "GPIO_34";
72 drive-strength = <0x2>;
73 function = "gpio";
74 bias-disable;
75 };
76 };
77 };
78};
79
80#include "starqltechn-uboot.dtsi"