Skip to content

Commit

Permalink
dts: msm8226-samsung: millet3g: new device
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Travkin <nikitos.tr@gmail.com>
  • Loading branch information
NekoCWD and TravMurav committed Dec 8, 2024
1 parent 1b7174a commit 2d4c54b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
- Motorola Moto G 2014 LTE - thea
- Samsung Galaxy Grand 2 - SM-G7102
- Samsung Galaxy Tab 4 10.1 (2014) - SM-T530, SM-T535
- Samsung Galaxy Tab 4 8.0 (2014) - SM-T330, SM-T330NU
- Samsung Galaxy Tab 4 8.0 (2014) - SM-T330, SM-T330NU, SM-T331

### lk2nd-msm8994

Expand Down
24 changes: 24 additions & 0 deletions lk2nd/device/dts/msm8226/msm8226-samsung.dts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,29 @@
};
};
};

millet3g {
model = "Samsung Galaxy Tab 4 8.0 3G (SM-T331)";
compatible = "samsung,millet3g", "samsung,millet";
lk2nd,match-bootloader = "T331*";

lk2nd,dtb-files = "msm8226-samsung-millet3g", "msm8226-samsung-milletwifi";

gpio-keys {
compatible = "gpio-keys";
home {
lk2nd,code = <KEY_HOME>;
gpios = <&tlmm 108 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
down {
lk2nd,code = <KEY_VOLUMEDOWN>;
gpios = <&tlmm 107 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
up {
lk2nd,code = <KEY_VOLUMEUP>;
gpios = <&tlmm 106 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
};
};
};

0 comments on commit 2d4c54b

Please sign in to comment.