Merge "ARM: dts: msm: Add eMMC support for neo"

This commit is contained in:
qctecmdr
2021-11-28 23:28:02 -08:00
committed by Gerrit - the friendly Code Review server
3 changed files with 113 additions and 1 deletions

View File

@@ -7,5 +7,55 @@
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
sdc1_on: sdc1_on {
clk {
pins = "sdc1_clk";
bias-disable;
drive-strength = <16>;
};
cmd {
pins = "sdc1_cmd";
bias-pull-up;
drive-strength = <10>;
};
data {
pins = "sdc1_data";
bias-pull-up;
drive-strength = <10>;
};
rclk {
pins = "sdc1_rclk";
bias-pull-down;
};
};
sdc1_off: sdc1_off {
clk {
pins = "sdc1_clk";
bias-disable;
drive-strength = <2>;
};
cmd {
pins = "sdc1_cmd";
bias-pull-up;
drive-strength = <2>;
};
data {
pins = "sdc1_data";
bias-pull-up;
drive-strength = <2>;
};
rclk {
pins = "sdc1_rclk";
bias-pull-down;
};
};
};
};

View File

@@ -32,6 +32,30 @@
};
};
&sdhc_1 {
status = "ok";
vdd-supply = <&L10A>;
qcom,vdd-voltage-level = <2960000 2960000>;
qcom,vdd-current-level = <0 570000>;
vdd-io-supply = <&L7A>;
qcom,vdd-io-always-on;
qcom,vdd-io-lpm-sup;
qcom,vdd-io-voltage-level = <1800000 1800000>;
qcom,vdd-io-current-level = <0 325000>;
max-frequency = <100000000>;
/delete-property/ mmc-ddr-1_8v;
/delete-property/ mmc-hs200-1_8v;
/delete-property/ mmc-hs400-1_8v;
/delete-property/ mmc-hs400-enhanced-strobe;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc1_on>;
pinctrl-1 = <&sdc1_off>;
};
&usb0 {
dwc3@a600000 {
usb-phy = <&usb_emuphy>, <&usb_nop_phy>;

View File

@@ -20,7 +20,9 @@
reserved_memory: reserved-memory { };
aliases { };
aliases {
mmc0 = &sdhc_1; /*SDC1 eMMC slot*/
};
chosen {
bootargs = " console=ttyMSM0,115200n8 loglevel=8";
@@ -334,6 +336,42 @@
#reset-cells = <1>;
};
sdhc_1: sdhci@7C4000 {
status = "disabled";
compatible = "qcom,sdhci-msm-v5";
reg = <0x007C4000 0x1000>, <0x007C5000 0x1000>;
reg-names = "hc", "cqhci";
interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "hc_irq", "pwr_irq";
bus-width = <8>;
non-removable;
supports-cqe;
no-sd;
no-sdio;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;
clocks = <&gcc GCC_SDCC1_AHB_CLK>,
<&gcc GCC_SDCC1_APPS_CLK>,
<&gcc GCC_SDCC1_ICE_CORE_CLK>;
clock-names = "iface", "core", "ice_core";
qcom,ice-clk-rates = <300000000 100000000>;
qos0 {
mask = <0x0f>;
vote = <44>;
};
};
clk_virt: interconnect@0 {
compatible = "qcom,neo-clk_virt";
#interconnect-cells = <1>;