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.dts19
1 files changed, 9 insertions, 10 deletions
diff --git a/dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts b/dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts
index 66b9297588..fac8b3510c 100644
--- a/dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts
+++ b/dts/src/arm64/qcom/msm8998-oneplus-cheeseburger.dts
@@ -11,6 +11,7 @@
/ {
model = "OnePlus 5";
compatible = "oneplus,cheeseburger", "qcom,msm8998";
+ chassis-type = "handset";
/* Required for bootloader to select correct board */
qcom,board-id = <8 0 16859 23>;
@@ -21,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";
@@ -30,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>;
};
};