forked from msm8916-mainline/lk2nd
-
Notifications
You must be signed in to change notification settings - Fork 0
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 HMD Global Nokia 6
Add support for HMD Global Nokia 6 (ple).
- Loading branch information
1 parent
e8947b3
commit 14e4c3c
Showing
3 changed files
with
30 additions
and
0 deletions.
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
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,28 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <QCOM_ID_MSM8937 0x2000>, | ||
<QCOM_ID_MSM8937 0x3000>; | ||
qcom,board-id = <0x9B 0>; | ||
}; | ||
|
||
&lk2nd { | ||
ple { | ||
model = "HMD Global Nokia 6 (ple)"; | ||
compatible = "nokia,ple"; | ||
lk2nd,match-device = "PLE"; | ||
|
||
lk2nd,dtb-files = "msm8937-nokia-ple"; | ||
|
||
gpio-keys { | ||
compatible = "gpio-keys"; | ||
up { | ||
lk2nd,code = <KEY_VOLUMEUP>; | ||
gpios = <&tlmm 91 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
}; | ||
}; | ||
}; |
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