Ravelin target doesn't support IO coherency. So, remove the coherent property from storage nodes. Don't vote for voltage for regulators shared between eMMC and UFS to be in consistent with UFS design where regulator-min-microvolt and regulator-max-microvolt properties are removed from regulator device tree files for UFS regulators and to avoid below regulator API failures. [3.198613] pm6450_l24: unsupportable voltage range: 2960000-0uV [4.236846] sdhci_msm_vreg_set_voltage: regulator_set_voltage(vdd)failed. min_uV=2960000,max_uV=2960000,ret=-22. Change-Id: I780218b0903887e36589704af3e790a710932dd7 Signed-off-by: kamasali Satyanarayan <quic_kamasali@quicinc.com>
193 lines
4.7 KiB
Plaintext
193 lines
4.7 KiB
Plaintext
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#include "ravelin-pmic-overlay.dtsi"
|
|
#include "ravelin-pm7250b.dtsi"
|
|
#include "ravelin-thermal-overlay.dtsi"
|
|
|
|
&soc {
|
|
};
|
|
|
|
&qupv3_se8_i2c {
|
|
awinic@64 {
|
|
reg = <0x64>;
|
|
|
|
awinic,red {
|
|
awinic,name = "red";
|
|
awinic,id = <0>;
|
|
awinic,imax = <2>;
|
|
awinic,led-current = <3>;
|
|
awinic,max-brightness = <255>;
|
|
awinic,rise-time-ms = <6>;
|
|
awinic,hold-time-ms = <0>;
|
|
awinic,fall-time-ms = <6>;
|
|
awinic,off-time-ms = <4>;
|
|
};
|
|
|
|
awinic,green {
|
|
awinic,name = "green";
|
|
awinic,id = <1>;
|
|
awinic,imax = <2>;
|
|
awinic,led-current = <3>;
|
|
awinic,max-brightness = <255>;
|
|
awinic,rise-time-ms = <6>;
|
|
awinic,hold-time-ms = <0>;
|
|
awinic,fall-time-ms = <6>;
|
|
awinic,off-time-ms = <4>;
|
|
};
|
|
|
|
awinic,blue {
|
|
awinic,name = "blue";
|
|
awinic,id = <2>;
|
|
awinic,imax = <2>;
|
|
awinic,led-current = <3>;
|
|
awinic,max-brightness = <255>;
|
|
awinic,rise-time-ms = <6>;
|
|
awinic,hold-time-ms = <0>;
|
|
awinic,fall-time-ms = <6>;
|
|
awinic,off-time-ms = <4>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&qupv3_se1_i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
status = "ok";
|
|
qcom,i2c-touch-active = "focaltech,fts_ts";
|
|
|
|
focaltech@38 {
|
|
reg = <0x38>;
|
|
|
|
interrupt-parent = <&tlmm>;
|
|
interrupts = <13 0x2008>;
|
|
focaltech,reset-gpio = <&tlmm 12 0x00>;
|
|
focaltech,irq-gpio = <&tlmm 13 0x2008>;
|
|
focaltech,display-coords = <0 0 1080 2408>;
|
|
focaltech,max-touch-number = <10>;
|
|
focaltech,ic-type = <0x8726081C>;
|
|
focaltech,touch-type = "primary";
|
|
|
|
pinctrl-names = "pmx_ts_active","pmx_ts_suspend","pmx_ts_release";
|
|
pinctrl-0 = <&ts_active>;
|
|
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
|
|
pinctrl-2 = <&ts_release>;
|
|
|
|
focaltech,trusted-touch-mode = "vm_mode";
|
|
focaltech,touch-environment = "pvm";
|
|
focaltech,trusted-touch-type = "primary";
|
|
focaltech,trusted-touch-spi-irq = <566>;
|
|
focaltech,trusted-touch-io-bases = <0x984000 0x910000>;
|
|
focaltech,trusted-touch-io-sizes = <0x1000 0x4000>;
|
|
focaltech,trusted-touch-vm-gpio-list = <&tlmm 10 0 &tlmm 11 0
|
|
&tlmm 12 0 &tlmm 13 0x2008>;
|
|
};
|
|
};
|
|
|
|
&sdhc_1 {
|
|
status = "ok";
|
|
vdd-supply = <&L5E>;
|
|
qcom,vdd-current-level = <0 570000>;
|
|
|
|
vdd-io-supply = <&L19B>;
|
|
qcom,vdd-io-always-on;
|
|
qcom,vdd-io-lpm-sup;
|
|
qcom,vdd-io-current-level = <0 325000>;
|
|
|
|
pinctrl-names = "default", "sleep";
|
|
pinctrl-0 = <&sdc1_on>;
|
|
pinctrl-1 = <&sdc1_off>;
|
|
};
|
|
|
|
&sdhc_2 {
|
|
status = "ok";
|
|
vdd-supply = <&L24B>;
|
|
qcom,vdd-current-level = <0 800000>;
|
|
|
|
/*
|
|
* min/max voltages are voted on L24B/L28B and L24B/L28B_PBS
|
|
* regulators will only be voted for enabling/disabling conditions
|
|
* to support FR84471 for chipsets where PMIC doesn't support
|
|
* PBS ram sequence to turn OFF regulators automatically on
|
|
* multicard tray removal and these new regulator resources are
|
|
* exposed by PMIC team as part of this FR.
|
|
*/
|
|
vdd-en-dis-supply = <&L24B_PBS>;
|
|
|
|
vdd-io-supply = <&L28B>;
|
|
qcom,vdd-io-voltage-level = <1800000 2960000>;
|
|
qcom,vdd-io-current-level = <0 22000>;
|
|
|
|
vdd-io-en-dis-supply = <&L28B_PBS>;
|
|
|
|
pinctrl-names = "default", "sleep";
|
|
pinctrl-0 = <&sdc2_on>;
|
|
pinctrl-1 = <&sdc2_off>;
|
|
|
|
cd-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
&ufsphy_mem {
|
|
/*
|
|
* Here parrot phy is used for ravelin as it
|
|
* do not have its own list for module load and
|
|
* hence compatible is using parrot.
|
|
* We have plan to improve this by making phy binary
|
|
* target independent.
|
|
*/
|
|
compatible = "qcom,ufs-phy-qmp-v4-waipio";
|
|
|
|
vdda-phy-supply = <&L5B>;
|
|
vdda-pll-supply = <&L16B>;
|
|
vdda-phy-max-microamp = <88530>;
|
|
vdda-pll-max-microamp = <18310>;
|
|
|
|
status = "ok";
|
|
};
|
|
|
|
&ufshc_mem {
|
|
vdd-hba-supply = <&gcc_ufs_phy_gdsc>;
|
|
|
|
vcc-supply = <&L5E>;
|
|
vcc-max-microamp = <1056000>;
|
|
|
|
vccq-supply = <&L13B>;
|
|
vccq-max-microamp = <750000>;
|
|
|
|
vccq2-supply = <&L19B>;
|
|
vccq2-max-microamp = <750000>;
|
|
|
|
qcom,vddp-ref-clk-supply = <&L13B>;
|
|
qcom,vddp-ref-clk-max-microamp = <100>;
|
|
|
|
/*
|
|
* ufs-dev-types and nvmem entries are for ufs device
|
|
* identification using nvmem interface. Use number of
|
|
* ufs devices supported for ufs-dev-types, and nvmem handle
|
|
* added by pmic for sdam register.
|
|
*
|
|
* Default value taken by driver is bit[0] = 0 for 3.x and
|
|
* bit[0] = 1 for 2.x driver code takes this as default case.
|
|
*
|
|
* But Bit value to identify ufs device is not consistent
|
|
* across the targets it could be bit[0] = 0/1 for UFS2.x/3x
|
|
* and vice versa. If the bit[0] value is not same as default
|
|
* value used in driver and if its reverted then use flag
|
|
* qcom,ufs-dev-revert to identify ufs device.
|
|
*/
|
|
ufs-dev-types = <2>;
|
|
qcom,ufs-dev-revert;
|
|
nvmem-cells = <&ufs_dev>, <&boot_config>;
|
|
nvmem-cell-names = "ufs_dev", "boot_conf";
|
|
|
|
status = "ok";
|
|
};
|
|
|
|
&battery_charger {
|
|
qcom,thermal-mitigation-step = <500000>;
|
|
qcom,wireless-charging-not-supported;
|
|
};
|