Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
93 lines
1.5 KiB
Devicetree
93 lines
1.5 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
/dts-v1/;
|
|
|
|
#include "msm8916-samsung-a2015-common.dtsi"
|
|
|
|
/ {
|
|
model = "Samsung Galaxy A5U (EUR)";
|
|
compatible = "samsung,a5u-eur", "qcom,msm8916";
|
|
chassis-type = "handset";
|
|
|
|
reg_touch_key: regulator-touch-key {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "touch_key";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&tkey_en_default>;
|
|
};
|
|
};
|
|
|
|
&accelerometer {
|
|
mount-matrix = "-1", "0", "0",
|
|
"0", "1", "0",
|
|
"0", "0", "1";
|
|
};
|
|
|
|
&battery {
|
|
charge-term-current-microamp = <200000>;
|
|
constant-charge-current-max-microamp = <1500000>;
|
|
constant-charge-voltage-max-microvolt = <4350000>;
|
|
};
|
|
|
|
&blsp_i2c5 {
|
|
status = "okay";
|
|
|
|
touchscreen@48 {
|
|
compatible = "melfas,mms345l";
|
|
|
|
reg = <0x48>;
|
|
interrupt-parent = <&tlmm>;
|
|
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
touchscreen-size-x = <720>;
|
|
touchscreen-size-y = <1280>;
|
|
|
|
avdd-supply = <®_vdd_tsp_a>;
|
|
vdd-supply = <&pm8916_l6>;
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&ts_int_default>;
|
|
};
|
|
};
|
|
|
|
&clk_pwm {
|
|
status = "okay";
|
|
};
|
|
|
|
&touchkey {
|
|
vcc-supply = <®_touch_key>;
|
|
vdd-supply = <®_touch_key>;
|
|
};
|
|
|
|
&vibrator {
|
|
status = "okay";
|
|
};
|
|
|
|
&wcnss {
|
|
status = "okay";
|
|
};
|
|
|
|
&wcnss_iris {
|
|
compatible = "qcom,wcn3660b";
|
|
};
|
|
|
|
&wcnss_mem {
|
|
status = "okay";
|
|
};
|
|
|
|
&tlmm {
|
|
tkey_en_default: tkey-en-default-state {
|
|
pins = "gpio97";
|
|
function = "gpio";
|
|
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
};
|
|
};
|