1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2025 Qualcomm Innovation Center, Inc. All rights reserved. 4 * Copyright (c) 2025 Aleksandrs Vinarskis <alex@vinarskis.com> 5 */ 6 7/dts-v1/; 8 9#include "x1p42100-asus-zenbook-a14.dtsi" 10 11/ { 12 model = "ASUS Zenbook A14 (UX3407QA, LCD)"; 13 compatible = "asus,zenbook-a14-ux3407qa-lcd", "asus,zenbook-a14-ux3407qa", "qcom,x1p42100"; 14 15 backlight: backlight { 16 compatible = "pwm-backlight"; 17 pwms = <&pmk8550_pwm 0 416667>; 18 enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>; 19 power-supply = <&vreg_edp_bl>; 20 21 pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>; 22 pinctrl-names = "default"; 23 }; 24 25 vreg_edp_bl: regulator-edp-bl { 26 compatible = "regulator-fixed"; 27 28 regulator-name = "VBL9"; 29 regulator-min-microvolt = <3600000>; 30 regulator-max-microvolt = <3600000>; 31 32 gpio = <&pmc8380_3_gpios 10 GPIO_ACTIVE_HIGH>; 33 enable-active-high; 34 35 pinctrl-0 = <&edp_bl_reg_en>; 36 pinctrl-names = "default"; 37 38 regulator-boot-on; 39 }; 40}; 41 42&panel { 43 backlight = <&backlight>; 44}; 45 46&pmc8380_3_gpios { 47 edp_bl_reg_en: edp-bl-reg-en-state { 48 pins = "gpio10"; 49 function = "normal"; 50 }; 51}; 52 53&pmk8550_gpios { 54 edp_bl_pwm: edp-bl-pwm-state { 55 pins = "gpio5"; 56 function = "func3"; 57 }; 58}; 59 60&pmk8550_pwm { 61 status = "okay"; 62}; 63