mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 10:37:53 +07:00
23bd4f785b
The externally accessible SD card slot on the MTP is driven by SDCC2. Wire it up for use. Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
260 lines
6.0 KiB
Plaintext
260 lines
6.0 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
|
|
|
|
#include "msm8998.dtsi"
|
|
#include "pm8998.dtsi"
|
|
#include "pmi8998.dtsi"
|
|
#include "pm8005.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
serial0 = &blsp2_uart1;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
thermal-zones {
|
|
battery-thermal {
|
|
polling-delay-passive = <250>;
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens0 0>;
|
|
|
|
trips {
|
|
battery_crit: trip0 {
|
|
temperature = <60000>;
|
|
hysteresis = <2000>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
};
|
|
|
|
skin-thermal {
|
|
polling-delay-passive = <250>;
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens1 5>;
|
|
|
|
trips {
|
|
skin_alert: trip0 {
|
|
temperature = <44000>;
|
|
hysteresis = <2000>;
|
|
type = "passive";
|
|
};
|
|
|
|
skip_crit: trip1 {
|
|
temperature = <70000>;
|
|
hysteresis = <2000>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
vph_pwr: vph-pwr-regulator {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vph_pwr";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
};
|
|
|
|
&blsp2_uart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&rpm_requests {
|
|
pm8998-regulators {
|
|
compatible = "qcom,rpm-pm8998-regulators";
|
|
|
|
vdd_s1-supply = <&vph_pwr>;
|
|
vdd_s2-supply = <&vph_pwr>;
|
|
vdd_s3-supply = <&vph_pwr>;
|
|
vdd_s4-supply = <&vph_pwr>;
|
|
vdd_s5-supply = <&vph_pwr>;
|
|
vdd_s6-supply = <&vph_pwr>;
|
|
vdd_s7-supply = <&vph_pwr>;
|
|
vdd_s8-supply = <&vph_pwr>;
|
|
vdd_s9-supply = <&vph_pwr>;
|
|
vdd_s10-supply = <&vph_pwr>;
|
|
vdd_s11-supply = <&vph_pwr>;
|
|
vdd_s12-supply = <&vph_pwr>;
|
|
vdd_s13-supply = <&vph_pwr>;
|
|
vdd_l1_l27-supply = <&vreg_s7a_1p025>;
|
|
vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
|
|
vdd_l3_l11-supply = <&vreg_s7a_1p025>;
|
|
vdd_l4_l5-supply = <&vreg_s7a_1p025>;
|
|
vdd_l6-supply = <&vreg_s5a_2p04>;
|
|
vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
|
|
vdd_l9-supply = <&vreg_bob>;
|
|
vdd_l10_l23_l25-supply = <&vreg_bob>;
|
|
vdd_l13_l19_l21-supply = <&vreg_bob>;
|
|
vdd_l16_l28-supply = <&vreg_bob>;
|
|
vdd_l18_l22-supply = <&vreg_bob>;
|
|
vdd_l20_l24-supply = <&vreg_bob>;
|
|
vdd_l26-supply = <&vreg_s3a_1p35>;
|
|
vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
|
|
|
|
vreg_s3a_1p35: s3 {
|
|
regulator-min-microvolt = <1352000>;
|
|
regulator-max-microvolt = <1352000>;
|
|
};
|
|
vreg_s4a_1p8: s4 {
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
vreg_s5a_2p04: s5 {
|
|
regulator-min-microvolt = <1904000>;
|
|
regulator-max-microvolt = <2040000>;
|
|
};
|
|
vreg_s7a_1p025: s7 {
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <1028000>;
|
|
};
|
|
vreg_l1a_0p875: l1 {
|
|
regulator-min-microvolt = <880000>;
|
|
regulator-max-microvolt = <880000>;
|
|
};
|
|
vreg_l2a_1p2: l2 {
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1200000>;
|
|
};
|
|
vreg_l3a_1p0: l3 {
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
};
|
|
vreg_l5a_0p8: l5 {
|
|
regulator-min-microvolt = <800000>;
|
|
regulator-max-microvolt = <800000>;
|
|
};
|
|
vreg_l6a_1p8: l6 {
|
|
regulator-min-microvolt = <1808000>;
|
|
regulator-max-microvolt = <1808000>;
|
|
};
|
|
vreg_l7a_1p8: l7 {
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
vreg_l8a_1p2: l8 {
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1200000>;
|
|
};
|
|
vreg_l9a_1p8: l9 {
|
|
regulator-min-microvolt = <1808000>;
|
|
regulator-max-microvolt = <2960000>;
|
|
};
|
|
vreg_l10a_1p8: l10 {
|
|
regulator-min-microvolt = <1808000>;
|
|
regulator-max-microvolt = <2960000>;
|
|
};
|
|
vreg_l11a_1p0: l11 {
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
};
|
|
vreg_l12a_1p8: l12 {
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
vreg_l13a_2p95: l13 {
|
|
regulator-min-microvolt = <1808000>;
|
|
regulator-max-microvolt = <2960000>;
|
|
};
|
|
vreg_l14a_1p88: l14 {
|
|
regulator-min-microvolt = <1880000>;
|
|
regulator-max-microvolt = <1880000>;
|
|
};
|
|
vreg_15a_1p8: l15 {
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
vreg_l16a_2p7: l16 {
|
|
regulator-min-microvolt = <2704000>;
|
|
regulator-max-microvolt = <2704000>;
|
|
};
|
|
vreg_l17a_1p3: l17 {
|
|
regulator-min-microvolt = <1304000>;
|
|
regulator-max-microvolt = <1304000>;
|
|
};
|
|
vreg_l18a_2p7: l18 {
|
|
regulator-min-microvolt = <2704000>;
|
|
regulator-max-microvolt = <2704000>;
|
|
};
|
|
vreg_l19a_3p0: l19 {
|
|
regulator-min-microvolt = <3008000>;
|
|
regulator-max-microvolt = <3008000>;
|
|
};
|
|
vreg_l20a_2p95: l20 {
|
|
regulator-min-microvolt = <2960000>;
|
|
regulator-max-microvolt = <2960000>;
|
|
};
|
|
vreg_l21a_2p95: l21 {
|
|
regulator-min-microvolt = <2960000>;
|
|
regulator-max-microvolt = <2960000>;
|
|
};
|
|
vreg_l22a_2p85: l22 {
|
|
regulator-min-microvolt = <2864000>;
|
|
regulator-max-microvolt = <2864000>;
|
|
};
|
|
vreg_l23a_3p3: l23 {
|
|
regulator-min-microvolt = <3312000>;
|
|
regulator-max-microvolt = <3312000>;
|
|
};
|
|
vreg_l24a_3p075: l24 {
|
|
regulator-min-microvolt = <3088000>;
|
|
regulator-max-microvolt = <3088000>;
|
|
};
|
|
vreg_l25a_3p3: l25 {
|
|
regulator-min-microvolt = <3104000>;
|
|
regulator-max-microvolt = <3312000>;
|
|
};
|
|
vreg_l26a_1p2: l26 {
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1200000>;
|
|
};
|
|
vreg_l28_3p0: l28 {
|
|
regulator-min-microvolt = <3008000>;
|
|
regulator-max-microvolt = <3008000>;
|
|
};
|
|
|
|
vreg_lvs1a_1p8: lvs1 {
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
|
|
vreg_lvs2a_1p8: lvs2 {
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
|
|
};
|
|
|
|
pmi8998-regulators {
|
|
compatible = "qcom,rpm-pmi8998-regulators";
|
|
|
|
vdd_bob-supply = <&vph_pwr>;
|
|
|
|
vreg_bob: bob {
|
|
regulator-min-microvolt = <3312000>;
|
|
regulator-max-microvolt = <3600000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&tlmm {
|
|
gpio-reserved-ranges = <0 4>, <81 4>;
|
|
};
|
|
|
|
&sdhc2 {
|
|
status = "okay";
|
|
cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>;
|
|
|
|
vmmc-supply = <&vreg_l21a_2p95>;
|
|
vqmmc-supply = <&vreg_l13a_2p95>;
|
|
|
|
pinctrl-names = "default", "sleep";
|
|
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
|
|
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
|
|
};
|