Dzmitry Sankouski | 4e6df40 | 2021-10-17 13:44:32 +0300 | [diff] [blame] | 1 | // 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 Sankouski | aaf13b9 | 2023-04-01 12:28:43 +0300 | [diff] [blame] | 12 | #include <dt-bindings/gpio/gpio.h> |
| 13 | #include <dt-bindings/input/input.h> |
Dzmitry Sankouski | 4e6df40 | 2021-10-17 13:44:32 +0300 | [diff] [blame] | 14 | |
| 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 Zapolskiy | 5c5e8d4 | 2023-04-21 20:50:41 +0300 | [diff] [blame] | 26 | serial0 = &uart9; |
Dzmitry Sankouski | 4e6df40 | 2021-10-17 13:44:32 +0300 | [diff] [blame] | 27 | }; |
| 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 Sankouski | 8e3bdd5 | 2022-02-22 21:49:53 +0300 | [diff] [blame] | 39 | 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 Sankouski | 4e6df40 | 2021-10-17 13:44:32 +0300 | [diff] [blame] | 48 | soc: soc { |
Dzmitry Sankouski | 8e3bdd5 | 2022-02-22 21:49:53 +0300 | [diff] [blame] | 49 | serial@a84000 { |
| 50 | status = "okay"; |
Dzmitry Sankouski | 4e6df40 | 2021-10-17 13:44:32 +0300 | [diff] [blame] | 51 | }; |
Caleb Connolly | fabb897 | 2023-11-14 12:55:42 +0000 | [diff] [blame] | 52 | }; |
| 53 | }; |
Dzmitry Sankouski | 4e6df40 | 2021-10-17 13:44:32 +0300 | [diff] [blame] | 54 | |
Caleb Connolly | 89a90d0 | 2023-12-05 13:46:48 +0000 | [diff] [blame^] | 55 | &pm8998_resin { |
| 56 | status = "okay"; |
| 57 | }; |
| 58 | |
Caleb Connolly | fabb897 | 2023-11-14 12:55:42 +0000 | [diff] [blame] | 59 | &tlmm { |
| 60 | muic_i2c: muic-i2c-n { |
| 61 | pins = "GPIO_33", "GPIO_34"; |
| 62 | drive-strength = <0x2>; |
| 63 | function = "gpio"; |
| 64 | bias-disable; |
Dzmitry Sankouski | 4e6df40 | 2021-10-17 13:44:32 +0300 | [diff] [blame] | 65 | }; |
| 66 | }; |
| 67 | |
| 68 | #include "starqltechn-uboot.dtsi" |