130a7f99bSKonrad Dybcio// SPDX-License-Identifier: BSD-3-Clause 230a7f99bSKonrad Dybcio/* 330a7f99bSKonrad Dybcio * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org> 430a7f99bSKonrad Dybcio */ 530a7f99bSKonrad Dybcio 630a7f99bSKonrad Dybcio/dts-v1/; 730a7f99bSKonrad Dybcio 830a7f99bSKonrad Dybcio#include "sdm845-sony-xperia-tama.dtsi" 930a7f99bSKonrad Dybcio 10*3ab8216dSKonrad Dybcio/* XZ3 uses an Atmel touchscreen instead. */ 11*3ab8216dSKonrad Dybcio/delete-node/ &touchscreen; 12*3ab8216dSKonrad Dybcio 1330a7f99bSKonrad Dybcio/ { 1430a7f99bSKonrad Dybcio model = "Sony Xperia XZ3"; 1530a7f99bSKonrad Dybcio compatible = "sony,akatsuki-row", "qcom,sdm845"; 165dcc6587SKonrad Dybcio 175dcc6587SKonrad Dybcio /* Fixed DCDC for the OLED panel */ 185dcc6587SKonrad Dybcio ts_vddio_supply: ts-vddio-regulator { 195dcc6587SKonrad Dybcio compatible = "regulator-fixed"; 205dcc6587SKonrad Dybcio regulator-name = "ts_vddio"; 215dcc6587SKonrad Dybcio 225dcc6587SKonrad Dybcio regulator-min-microvolt = <1840000>; 235dcc6587SKonrad Dybcio regulator-max-microvolt = <1840000>; 245dcc6587SKonrad Dybcio 255dcc6587SKonrad Dybcio gpio = <&tlmm 133 GPIO_ACTIVE_HIGH>; 265dcc6587SKonrad Dybcio enable-active-high; 275dcc6587SKonrad Dybcio regulator-boot-on; 285dcc6587SKonrad Dybcio }; 2930a7f99bSKonrad Dybcio}; 3030a7f99bSKonrad Dybcio 315dcc6587SKonrad Dybcio&ibb { 325dcc6587SKonrad Dybcio status = "disabled"; 335dcc6587SKonrad Dybcio}; 345dcc6587SKonrad Dybcio 355dcc6587SKonrad Dybcio&lab { 365dcc6587SKonrad Dybcio status = "disabled"; 375dcc6587SKonrad Dybcio}; 385dcc6587SKonrad Dybcio 395dcc6587SKonrad Dybcio&panel { 405dcc6587SKonrad Dybcio /* Akatsuki uses an OLED panel. */ 415dcc6587SKonrad Dybcio /delete-property/ backlight; 425dcc6587SKonrad Dybcio /delete-property/ vsp-supply; 435dcc6587SKonrad Dybcio /delete-property/ vsn-supply; 445dcc6587SKonrad Dybcio /delete-property/ touch-reset-gpios; 455dcc6587SKonrad Dybcio}; 465dcc6587SKonrad Dybcio 475dcc6587SKonrad Dybcio&pmi8998_wled { 485dcc6587SKonrad Dybcio status = "disabled"; 495dcc6587SKonrad Dybcio}; 505dcc6587SKonrad Dybcio 515dcc6587SKonrad Dybcio&tlmm { 525dcc6587SKonrad Dybcio ts_vddio_en: ts-vddio-en-state { 535dcc6587SKonrad Dybcio pins = "gpio133"; 545dcc6587SKonrad Dybcio function = "gpio"; 555dcc6587SKonrad Dybcio drive-strength = <2>; 565dcc6587SKonrad Dybcio bias-disable; 575dcc6587SKonrad Dybcio output-high; 585dcc6587SKonrad Dybcio }; 595dcc6587SKonrad Dybcio}; 605dcc6587SKonrad Dybcio 6130a7f99bSKonrad Dybcio&vreg_l14a_1p8 { 6230a7f99bSKonrad Dybcio regulator-min-microvolt = <1840000>; 6330a7f99bSKonrad Dybcio regulator-max-microvolt = <1840000>; 6430a7f99bSKonrad Dybcio}; 6530a7f99bSKonrad Dybcio 6630a7f99bSKonrad Dybcio&vreg_l22a_2p8 { 674148a9eeSMarijn Suijten /* Note: Round-down from 2700000 to be a multiple of PLDO step-size 8000 */ 684148a9eeSMarijn Suijten regulator-min-microvolt = <2696000>; 694148a9eeSMarijn Suijten regulator-max-microvolt = <2696000>; 7030a7f99bSKonrad Dybcio}; 7130a7f99bSKonrad Dybcio 7230a7f99bSKonrad Dybcio&vreg_l28a_2p8 { 7330a7f99bSKonrad Dybcio regulator-min-microvolt = <3000000>; 7430a7f99bSKonrad Dybcio regulator-max-microvolt = <3000000>; 7530a7f99bSKonrad Dybcio}; 76