1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (C) 2019 Vasily Khoruzhick <anarsoul@gmail.com>
7 #include "sunxi-u-boot.dtsi"
11 compatible = "regulator-fixed";
12 regulator-name = "bl-3v3";
13 regulator-min-microvolt = <3300000>;
14 regulator-max-microvolt = <3300000>;
15 gpio = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */
19 backlight: backlight {
20 compatible = "pwm-backlight";
21 pwms = <&pwm 0 50000 0>;
22 brightness-levels = <0 5 10 15 20 30 40 55 70 85 100>;
23 default-brightness-level = <2>;
24 enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* PD23 */
25 power-supply = <&vdd_bl>;
29 /* The ANX6345 eDP-bridge is on i2c */
31 anx6345: edp-bridge@38 {
32 compatible = "analogix,anx6345";
34 reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */