xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8998-sony-xperia-yoshino-maple.dts (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2021, AngeloGioacchino Del Regno
4 *                     <angelogioacchino.delregno@somainline.org>
5 */
6
7/dts-v1/;
8
9#include "msm8998-sony-xperia-yoshino.dtsi"
10
11/ {
12	model = "Sony Xperia XZ Premium";
13	compatible = "sony,xperia-maple", "qcom,msm8998";
14	chassis-type = "handset";
15
16	disp_dvdd_vreg: disp-dvdd-vreg {
17		compatible = "regulator-fixed";
18		regulator-name = "disp_dvdd_en";
19		regulator-min-microvolt = <1350000>;
20		regulator-max-microvolt = <1350000>;
21		startup-delay-us = <0>;
22		enable-active-high;
23		gpio = <&pmi8998_gpio 10 GPIO_ACTIVE_HIGH>;
24		pinctrl-names = "default";
25		pinctrl-0 = <&disp_dvdd_en>;
26	};
27};
28
29&ibb {
30	regulator-min-microvolt = <5600000>;
31	regulator-max-microvolt = <5600000>;
32};
33
34&lab {
35	regulator-min-microvolt = <5800000>;
36	regulator-max-microvolt = <5800000>;
37	qcom,soft-start-us = <200>;
38};
39
40&pmi8998_gpio {
41	disp_dvdd_en: disp-dvdd-en-active-state {
42		pins = "gpio10";
43		function = "normal";
44		bias-disable;
45		drive-push-pull;
46		output-high;
47		power-source = <0>;
48		qcom,drive-strength = <1>;
49	};
50};
51
52&vreg_l22a_2p85 {
53	regulator-min-microvolt = <2704000>;
54	regulator-max-microvolt = <2704000>;
55};
56