summaryrefslogtreecommitdiffstats
path: root/dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts
diff options
context:
space:
mode:
Diffstat (limited to 'dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts')
-rw-r--r--dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts18
1 files changed, 8 insertions, 10 deletions
diff --git a/dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts b/dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts
index 9563eb62db..fac8b3510c 100644
--- a/dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts
+++ b/dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts
@@ -22,8 +22,8 @@
pinctrl-names = "default";
pinctrl-0 = <&button_backlight_default>;
- button-backlight {
- gpios = <&pmi8998_gpio 5 GPIO_ACTIVE_HIGH>;
+ led-keypad-backlight {
+ gpios = <&pmi8998_gpios 5 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_WHITE>;
function = LED_FUNCTION_KBD_BACKLIGHT;
default-state = "off";
@@ -31,13 +31,11 @@
};
};
-&pmi8998_gpio {
- button_backlight_default: button-backlight-default {
- pinconf {
- pins = "gpio5";
- function = "normal";
- bias-pull-down;
- qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
- };
+&pmi8998_gpios {
+ button_backlight_default: button-backlight-state {
+ pins = "gpio5";
+ function = "normal";
+ bias-pull-down;
+ qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
};
};