1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2021, Martin Botka <martin.botka@somainline.org>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/input/gpio-keys.h>
14 /* required for bootloader to select correct board */
15 qcom,msm-id = <394 0x10000>; /* sm6125 v1 */
16 qcom,board-id = <34 0>;
18 model = "Sony Xperia 10 II";
19 compatible = "sony,pdx201", "qcom,sm6125";
26 framebuffer0: framebuffer@5c000000 {
27 compatible = "simple-framebuffer";
28 reg = <0 0x5c000000 0 (2520 * 1080 * 4)>;
31 stride = <(1080 * 4)>;
36 extcon_usb: extcon-usb {
37 compatible = "linux,extcon-usb-gpio";
38 id-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-keys";
44 input-name = "gpio-keys";
50 label = "Volume Down";
51 gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
52 linux,input-type = <1>;
53 linux,code = <KEY_VOLUMEDOWN>;
55 debounce-interval = <15>;
62 debug_mem: memory@ffb00000 {
63 reg = <0x0 0xffb00000 0x0 0xc0000>;
67 last_log_mem: memory@ffbc0000 {
68 reg = <0x0 0xffbc0000 0x0 0x80000>;
72 pstore_mem: ramoops@ffc00000 {
73 compatible = "ramoops";
74 reg = <0x0 0xffc40000 0x0 0xc0000>;
75 record-size = <0x1000>;
76 console-size = <0x40000>;
77 msg-size = <0x20000 0x20000>;
80 cmdline_mem: memory@ffd00000 {
81 reg = <0x0 0xffd40000 0x0 0x1000>;
104 gpio-reserved-ranges = <22 2>, <28 6>;
106 sdc2_state_on: sdc2-on {
110 drive-strength = <16>;
116 drive-strength = <10>;
122 drive-strength = <10>;
128 drive-strength = <2>;
138 extcon = <&extcon_usb>;