Skip to content

Commit

Permalink
dts: msm8226: Add Samsung Galaxy Tab 4 10.1 (2014) (SM-T530)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlehtima authored and TravMurav committed May 27, 2022
1 parent 3d3e142 commit 2b3c332
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ page on the EFIDroid wiki for an exact mapping of LK targets to SoCs.
- Huawei Watch - sturgeon
- LG G Watch R - lenok
- Samsung Galaxy Grand 2 - SM-G7102
- Samsung Galaxy Tab 4 10.1 (2014) - SM-T530

## Installation
1. Download `lk2nd.img` (available in [Releases](https://github.com/msm8916-mainline/lk2nd/releases))
Expand Down
22 changes: 22 additions & 0 deletions dts/msm8226/apq8026-samsung-r03.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

#include <skeleton.dtsi>
#include <lk2nd.h>

/ {
// This is used by the bootloader to find the correct DTB
qcom,msm-id = <0xC708FF01 3 0x20000>;

matissewifi {
model = "Samsung Galaxy Tab 4 10.1 Rev 3 (SM-T530)";
compatible = "samsung,matissewifi", "qcom,apq8026", "lk2nd,device";
lk2nd,match-bootloader = "T530*";

lk2nd,keys =
<KEY_HOME 108 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
<KEY_VOLUMEDOWN 107 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
<KEY_VOLUMEUP 106 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
};
};
1 change: 1 addition & 0 deletions dts/msm8226/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ DTBS += \
$(LOCAL_DIR)/apq8026-asus-sparrow.dtb \
$(LOCAL_DIR)/apq8026-huawei-sturgeon.dtb \
$(LOCAL_DIR)/apq8026-lg-lenok.dtb \
$(LOCAL_DIR)/apq8026-samsung-r03.dtb \
$(LOCAL_DIR)/msm8226-samsung-ms013g.dtb \
$(LOCAL_DIR)/msm8926-huawei-g6-l11-vb.dtb

0 comments on commit 2b3c332

Please sign in to comment.