| 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_zap_shader { |
| 51 |
firmware-name = "qcom/sdm845/judyln/a630_zap.mbn"; |
| 52 |
}; |
| 53 |
|
| 54 |
&mss_pil { |
| 55 |
firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn"; |
| 56 |
}; |
| 57 |
|
| 58 |
&tlmm { |
| 59 |
thinq_key_default: thinq-key-default-state { |
| 60 |
pins = "gpio89"; |
| 61 |
function = "gpio"; |
| 62 |
|
| 63 |
drive-strength = <2>; |
| 64 |
bias-pull-up; |
| 65 |
}; |
| 66 |
}; |