1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2020, Konrad Dybcio
10 #include "pm660l.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/input/gpio-keys.h>
16 /* required for bootloader to select correct board */
17 qcom,msm-id = <318 0>;
18 qcom,board-id = <8 1>;
19 qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>;
21 /* This part enables graphical output via bootloader-enabled display */
23 bootargs = "earlycon=tty0 console=tty0";
29 stdout-path = "framebuffer0";
31 framebuffer0: framebuffer@9d400000 {
32 compatible = "simple-framebuffer";
33 reg = <0 0x9d400000 0 (1920 * 1080 * 4)>;
36 stride = <(1080 * 4)>;
44 compatible = "gpio-keys";
45 input-name = "gpio-keys";
51 label = "Camera Focus";
52 gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
53 linux,input-type = <1>;
54 linux,code = <KEY_CAMERA_FOCUS>;
55 debounce-interval = <15>;
59 label = "Camera Snapshot";
60 gpios = <&tlmm 113 GPIO_ACTIVE_LOW>;
61 linux,input-type = <1>;
62 linux,code = <KEY_CAMERA>;
63 debounce-interval = <15>;
67 label = "Volume Down";
68 gpios = <&pm660l_gpios 7 GPIO_ACTIVE_LOW>;
69 linux,input-type = <1>;
70 linux,code = <KEY_VOLUMEDOWN>;
72 debounce-interval = <15>;
82 compatible = "ramoops";
83 reg = <0x0 0xffc00000 0x0 0x100000>;
84 record-size = <0x10000>;
85 console-size = <0x60000>;
86 ftrace-size = <0x10000>;
87 pmsg-size = <0x20000>;
92 debug_region@ffb00000 {
93 reg = <0x00 0xffb00000 0x00 0x100000>;
97 removed_region@85800000 {
98 reg = <0x00 0x85800000 0x00 0x3700000>;
108 /* SoMC Nile platform's eMMC doesn't support HS200 mode */
115 /* Synaptics touchscreen */
121 /* SMB1351 charger */
128 /* I2C3, 4, 5, 7 and 8 are disabled on this board. */