-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: msm8952: Add support for Motorola Moto G6 Play (XT1922-9, "jeter")
- Loading branch information
1 parent
0867892
commit 0f46ba0
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <QCOM_ID_MSM8920 0x00>; | ||
qcom,board-id = <0x43 0x8000>, | ||
<0x43 0x83a0>; | ||
|
||
/* | ||
* model is required by bootloader to pick dtb. | ||
* The bootloader also crashes if model isn't present in every dtb. (see lk2nd.dtsi for more info) | ||
* Build with: make TOOLCHAIN_PREFIX=arm-none-eabi- SIGN_BOOTIMG=1 LK2ND_ADTBS="msm8920-motorola-jeter.dtb" LK2ND_DTBS="" lk2nd-msm8952 | ||
*/ | ||
|
||
model = "jeter"; | ||
}; | ||
|
||
&lk2nd { | ||
model = "Motorola Moto G6 Play (jeter) (MSM8920)"; | ||
compatible = "motorola,jeter"; | ||
lk2nd,match-device = "jeter"; | ||
|
||
lk2nd,dtb-files = "msm8937-motorola-jeter"; | ||
|
||
gpio-keys { | ||
compatible = "gpio-keys"; | ||
|
||
up { | ||
lk2nd,code = <KEY_VOLUMEUP>; | ||
gpios = <&tlmm 91 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
|
||
down { | ||
lk2nd,code = <KEY_VOLUMEDOWN>; | ||
gpios = <&pmic_pon GPIO_PMIC_RESIN 1>; | ||
}; | ||
|
||
power { | ||
lk2nd,code = <KEY_POWER>; | ||
gpios = <&pmic_pon GPIO_PMIC_RESIN 0>; | ||
}; | ||
}; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters