linux/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts
Rong Zhang 01088e255a ARM: dts: qcom: msm8974: Add DTS for Samsung Galaxy S5 China (kltechn)
The only difference between Samsung Galaxy S5 China (kltechn) and klte
is the gpio pins of i2c_led_gpio. With pins corrected, the LEDs and WiFi
are able to work properly.

Signed-off-by: Rong Zhang <i@rong.moe>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Icenowy Zheng <uwu@icenowy.me>
Link: https://lore.kernel.org/r/20240213110137.122737-5-i@rong.moe
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-04-23 08:01:28 -05:00

16 lines
415 B
Text

// SPDX-License-Identifier: GPL-2.0
#include "qcom-msm8974pro-samsung-klte-common.dtsi"
/ {
model = "Samsung Galaxy S5 China";
compatible = "samsung,kltechn", "samsung,klte", "qcom,msm8974pro", "qcom,msm8974";
};
&i2c_led_gpio {
scl-gpios = <&tlmm 61 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&tlmm 60 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
};
&i2c_led_gpioex_pins {
pins = "gpio60", "gpio61";
};