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";
20 chassis-type = "handset";
27 framebuffer0: framebuffer@5c000000 {
28 compatible = "simple-framebuffer";
29 reg = <0 0x5c000000 0 (2520 * 1080 * 4)>;
32 stride = <(1080 * 4)>;
37 extcon_usb: extcon-usb {
38 compatible = "linux,extcon-usb-gpio";
39 id-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-keys";
45 pinctrl-0 = <&vol_down_n>;
46 pinctrl-names = "default";
49 label = "Volume Down";
50 gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_VOLUMEDOWN>;
52 debounce-interval = <15>;
61 debug_mem: memory@ffb00000 {
62 reg = <0x0 0xffb00000 0x0 0xc0000>;
66 last_log_mem: memory@ffbc0000 {
67 reg = <0x0 0xffbc0000 0x0 0x80000>;
71 pstore_mem: ramoops@ffc00000 {
72 compatible = "ramoops";
73 reg = <0x0 0xffc40000 0x0 0xc0000>;
74 record-size = <0x1000>;
75 console-size = <0x40000>;
76 pmsg-size = <0x20000>;
79 cmdline_mem: memory@ffd00000 {
80 reg = <0x0 0xffd40000 0x0 0x1000>;
101 drive-strength = <2>;
111 gpio-reserved-ranges = <22 2>, <28 6>;
113 vol_down_n: vol-down-n-state {
116 drive-strength = <2>;
127 extcon = <&extcon_usb>;