-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: Import apq8026-{asus,huawei,lg}
Co-authored-by: Luca Weiss <[email protected]> Co-authored-by: Timon Baetz <[email protected]>
- Loading branch information
1 parent
24df179
commit 1dbeb18
Showing
4 changed files
with
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <QCOM_ID_APQ8026 0x20000>; | ||
qcom,board-id = <QCOM_BOARD_ID_MTP 3005>; | ||
}; | ||
|
||
&lk2nd { | ||
model = "ASUS ZenWatch 2"; | ||
compatible = "asus,sparrow"; | ||
|
||
lk2nd,dtb-files = "apq8026-asus-sparrow"; | ||
}; |
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,25 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <QCOM_ID_APQ8026 0x20000>; | ||
qcom,board-id = <QCOM_BOARD_ID_MTP 4>; | ||
}; | ||
|
||
&lk2nd { | ||
model = "Huawei Watch"; | ||
compatible = "huawei,sturgeon"; | ||
|
||
lk2nd,dtb-files = "apq8026-huawei-sturgeon"; | ||
|
||
gpio-keys { | ||
compatible = "gpio-keys"; | ||
|
||
power { | ||
lk2nd,code = <KEY_HOME>; | ||
gpios = <&pmic_pon GPIO_PMIC_PWRKEY 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <QCOM_ID_APQ8026 0x20000>; | ||
qcom,board-id = <132 0x0a>; | ||
|
||
/* The bootloader checks the compatible too... */ | ||
compatible = "qcom,apq8026"; | ||
}; | ||
|
||
&lk2nd { | ||
model = "LG G Watch R"; | ||
compatible = "lg,lenok"; | ||
|
||
lk2nd,dtb-files = "apq8026-lg-lenok"; | ||
}; | ||
|
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 |
---|---|---|
@@ -1,5 +1,14 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
LOCAL_DIR := $(GET_LOCAL_DIR) | ||
|
||
# NOTE: lenok wants to be first to be able to boot. | ||
ADTBS += \ | ||
$(LOCAL_DIR)/apq8026-lg-lenok.dtb \ | ||
|
||
QCDTBS += \ | ||
$(LOCAL_DIR)/apq8026-asus-sparrow.dtb \ | ||
$(LOCAL_DIR)/apq8026-huawei-sturgeon.dtb \ | ||
|
||
|
||
DTBS += \ | ||
$(LOCAL_DIR)/lumia.dtb \ |