69 lines
1.2 KiB
Plaintext
69 lines
1.2 KiB
Plaintext
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
/*
|
||
|
* SDM845 LG G7 (judyln) device tree.
|
||
|
*
|
||
|
* Copyright (c) 2022, The Linux Foundation. All rights reserved.
|
||
|
*/
|
||
|
|
||
|
/dts-v1/;
|
||
|
|
||
|
#include "sdm845-lg-common.dtsi"
|
||
|
|
||
|
/ {
|
||
|
model = "LG G7 ThinQ";
|
||
|
compatible = "lg,judyln", "qcom,sdm845";
|
||
|
|
||
|
chosen {
|
||
|
framebuffer@9d400000 {
|
||
|
compatible = "simple-framebuffer";
|
||
|
reg = <0x0 0x9d400000 0x0 (1440 * 3120 * 4)>;
|
||
|
width = <1440>;
|
||
|
height = <3120>;
|
||
|
stride = <(1440 * 4)>;
|
||
|
format = "a8r8g8b8";
|
||
|
lab-supply = <&lab>;
|
||
|
ibb-supply = <&ibb>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
/* Additional ThinQ key */
|
||
|
gpio-keys {
|
||
|
pinctrl-0 = <&vol_up_pin_a &thinq_key_default>;
|
||
|
|
||
|
key-thinq {
|
||
|
label = "ThinQ";
|
||
|
linux,code = <KEY_ASSISTANT>;
|
||
|
interrupt-parent = <&tlmm>;
|
||
|
interrupts = <89 IRQ_TYPE_LEVEL_LOW>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&adsp_pas {
|
||
|
firmware-name = "qcom/sdm845/judyln/adsp.mbn";
|
||
|
};
|
||
|
|
||
|
&cdsp_pas {
|
||
|
firmware-name = "qcom/sdm845/judyln/cdsp.mbn";
|
||
|
};
|
||
|
|
||
|
&gpu {
|
||
|
zap-shader {
|
||
|
firmware-name = "qcom/sdm845/judyln/a630_zap.mbn";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&mss_pil {
|
||
|
firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
|
||
|
};
|
||
|
|
||
|
&tlmm {
|
||
|
thinq_key_default: thinq-key-default-state {
|
||
|
pins = "gpio89";
|
||
|
function = "gpio";
|
||
|
|
||
|
drive-strength = <2>;
|
||
|
bias-pull-up;
|
||
|
};
|
||
|
};
|