1// SPDX-License-Identifier: GPL-2.0
2/*
3 * SDM845 LG G7 (judyln) device tree.
4 *
5 * Copyright (c) 2022, The Linux Foundation. All rights reserved.
6 */
7
8/dts-v1/;
9
10#include "sdm845-lg-common.dtsi"
11
12/ {
13	model = "LG G7 ThinQ";
14	compatible = "lg,judyln", "qcom,sdm845";
15
16	chosen {
17		framebuffer@9d400000 {
18			compatible = "simple-framebuffer";
19			reg = <0x0 0x9d400000 0x0 (1440 * 3120 * 4)>;
20			width = <1440>;
21			height = <3120>;
22			stride = <(1440 * 4)>;
23			format = "a8r8g8b8";
24			lab-supply = <&lab>;
25			ibb-supply = <&ibb>;
26		};
27	};
28
29	/* Additional ThinQ key */
30	gpio-keys {
31		pinctrl-0 = <&vol_up_pin_a &thinq_key_default>;
32
33		key-thinq {
34			label = "ThinQ";
35			linux,code = <KEY_ASSISTANT>;
36			interrupt-parent = <&tlmm>;
37			interrupts = <89 IRQ_TYPE_LEVEL_LOW>;
38		};
39	};
40};
41
42&adsp_pas {
43	firmware-name = "qcom/sdm845/judyln/adsp.mbn";
44};
45
46&cdsp_pas {
47	firmware-name = "qcom/sdm845/judyln/cdsp.mbn";
48};
49
50&gpu {
51	zap-shader {
52		firmware-name = "qcom/sdm845/judyln/a630_zap.mbn";
53	};
54};
55
56&mss_pil {
57	firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
58};
59
60&tlmm {
61	thinq_key_default: thinq-key-default {
62		pins = "gpio89";
63		function = "gpio";
64
65		drive-strength = <2>;
66		bias-pull-up;
67	};
68};
69