blob: 0aad2e94e757518df7dead5a0e491b1d67698161 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2021, Martin Botka <martin.botka@somainline.org>
*/
/dts-v1/;
#include "sm6125.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/input/gpio-keys.h>
/ {
/* required for bootloader to select correct board */
qcom,msm-id = <394 0x10000>; /* sm6125 v1 */
qcom,board-id = <34 0>;
model = "Sony Xperia 10 II";
compatible = "sony,pdx201", "qcom,sm6125";
chassis-type = "handset";
chosen {
#address-cells = <2>;
#size-cells = <2>;
ranges;
framebuffer0: framebuffer@5c000000 {
compatible = "simple-framebuffer";
reg = <0 0x5c000000 0 (2520 * 1080 * 4)>;
width = <1080>;
height = <2520>;
stride = <(1080 * 4)>;
format = "a8r8g8b8";
};
};
extcon_usb: extcon-usb {
compatible = "linux,extcon-usb-gpio";
id-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>;
};
gpio-keys {
status = "okay";
compatible = "gpio-keys";
autorepeat;
key-vol-dn {
label = "Volume Down";
gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <KEY_VOLUMEDOWN>;
gpio-key,wakeup;
debounce-interval = <15>;
};
};
reserved_memory {
#address-cells = <2>;
#size-cells = <2>;
debug_mem: memory@ffb00000 {
reg = <0x0 0xffb00000 0x0 0xc0000>;
no-map;
};
last_log_mem: memory@ffbc0000 {
reg = <0x0 0xffbc0000 0x0 0x80000>;
no-map;
};
pstore_mem: ramoops@ffc00000 {
compatible = "ramoops";
reg = <0x0 0xffc40000 0x0 0xc0000>;
record-size = <0x1000>;
console-size = <0x40000>;
msg-size = <0x20000 0x20000>;
};
cmdline_mem: memory@ffd00000 {
reg = <0x0 0xffd40000 0x0 0x1000>;
no-map;
};
};
};
&hsusb_phy1 {
status = "okay";
};
&sdc2_off_state {
sd-cd {
pins = "gpio98";
drive-strength = <2>;
bias-disable;
};
};
&sdc2_on_state {
sd-cd {
pins = "gpio98";
drive-strength = <2>;
bias-pull-up;
};
};
&sdhc_1 {
status = "okay";
};
&tlmm {
gpio-reserved-ranges = <22 2>, <28 6>;
};
&usb3 {
status = "okay";
};
&usb3_dwc3 {
extcon = <&extcon_usb>;
};
|