0001 // SPDX-License-Identifier: BSD-3-Clause
0002 /*
0003 * Copyright (c) 2021, AngeloGioacchino Del Regno
0004 * <angelogioacchino.delregno@somainline.org>
0005 */
0006
0007 /dts-v1/;
0008
0009 #include "msm8998-sony-xperia-yoshino.dtsi"
0010
0011 / {
0012 model = "Sony Xperia XZ Premium";
0013 compatible = "sony,xperia-maple", "qcom,msm8998";
0014 chassis-type = "handset";
0015
0016 disp_dvdd_vreg: disp-dvdd-vreg {
0017 compatible = "regulator-fixed";
0018 regulator-name = "disp_dvdd_en";
0019 regulator-min-microvolt = <1350000>;
0020 regulator-max-microvolt = <1350000>;
0021 startup-delay-us = <0>;
0022 enable-active-high;
0023 gpio = <&pmi8998_gpio 10 GPIO_ACTIVE_HIGH>;
0024 pinctrl-names = "default";
0025 pinctrl-0 = <&disp_dvdd_en>;
0026 };
0027 };
0028
0029 &ibb {
0030 regulator-min-microvolt = <5600000>;
0031 regulator-max-microvolt = <5600000>;
0032 };
0033
0034 &lab {
0035 regulator-min-microvolt = <5800000>;
0036 regulator-max-microvolt = <5800000>;
0037 qcom,soft-start-us = <200>;
0038 };
0039
0040 &pmi8998_gpio {
0041 disp_dvdd_en: disp-dvdd-en-active-state {
0042 pins = "gpio10";
0043 function = "normal";
0044 bias-disable;
0045 drive-push-pull;
0046 output-high;
0047 power-source = <0>;
0048 qcom,drive-strength = <1>;
0049 };
0050 };
0051
0052 &vreg_l22a_2p85 {
0053 regulator-min-microvolt = <2704000>;
0054 regulator-max-microvolt = <2704000>;
0055 };