1 // SPDX-License-Identifier: BSD-3-Clause
3 * OnePlus 5 (cheeseburger) device tree
5 * Copyright (c) 2021, Jami Kettunen <jamipkettunen@gmail.com>
8 #include <dt-bindings/leds/common.h>
9 #include "msm8998-oneplus-common.dtsi"
13 compatible = "oneplus,cheeseburger", "qcom,msm8998";
14 /* Required for bootloader to select correct board */
15 qcom,board-id = <8 0 16859 23>;
17 /* Capacitive keypad button backlight */
19 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&button_backlight_default>;
25 gpios = <&pmi8998_gpio 5 GPIO_ACTIVE_HIGH>;
26 color = <LED_COLOR_ID_WHITE>;
27 function = LED_FUNCTION_KBD_BACKLIGHT;
28 default-state = "off";
34 button_backlight_default: button-backlight-default {
39 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;