blob: 0842e19adb604bdd7980de9c0d600a384254dcbd [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 Sankouski4e6df402021-10-17 13:44:32 +030048 soc: soc {
Dzmitry Sankouski8e3bdd52022-02-22 21:49:53 +030049 serial@a84000 {
50 status = "okay";
Dzmitry Sankouski4e6df402021-10-17 13:44:32 +030051 };
Caleb Connollyfabb8972023-11-14 12:55:42 +000052 };
53};
Dzmitry Sankouski4e6df402021-10-17 13:44:32 +030054
Caleb Connolly89a90d02023-12-05 13:46:48 +000055&pm8998_resin {
56 status = "okay";
57};
58
Caleb Connollyfabb8972023-11-14 12:55:42 +000059&tlmm {
60 muic_i2c: muic-i2c-n {
61 pins = "GPIO_33", "GPIO_34";
62 drive-strength = <0x2>;
63 function = "gpio";
64 bias-disable;
Dzmitry Sankouski4e6df402021-10-17 13:44:32 +030065 };
66};
67
68#include "starqltechn-uboot.dtsi"