mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-05 20:30:41 +00:00
arm64: dts: qcom: qcs404: Add sdcc1 node
Add the sdcc1 node and enable it for the QCS404-EVB. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
parent
75f6e6d967
commit
7241ab944d
@ -109,3 +109,67 @@ vreg_l13_3p3: l13 {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&sdcc1 {
|
||||||
|
status = "ok";
|
||||||
|
|
||||||
|
mmc-ddr-1_8v;
|
||||||
|
bus-width = <8>;
|
||||||
|
non-removable;
|
||||||
|
|
||||||
|
pinctrl-names = "default", "sleep";
|
||||||
|
pinctrl-0 = <&sdc1_on>;
|
||||||
|
pinctrl-1 = <&sdc1_off>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&tlmm {
|
||||||
|
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;
|
||||||
|
dreive-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;
|
||||||
|
dreive-strength = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rclk {
|
||||||
|
pins = "sdc1_rclk";
|
||||||
|
bias-pull-down;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
@ -181,6 +181,23 @@ tcsr_mutex_regs: syscon@1905000 {
|
|||||||
reg = <0x01905000 0x20000>;
|
reg = <0x01905000 0x20000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sdcc1: sdcc@7804000 {
|
||||||
|
compatible = "qcom,sdhci-msm-v5";
|
||||||
|
reg = <0x07804000 0x1000>, <0x7805000 0x1000>;
|
||||||
|
reg-names = "hc_mem", "cmdq_mem";
|
||||||
|
|
||||||
|
interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "hc_irq", "pwr_irq";
|
||||||
|
|
||||||
|
clocks = <&gcc GCC_SDCC1_APPS_CLK>,
|
||||||
|
<&gcc GCC_SDCC1_AHB_CLK>,
|
||||||
|
<&xo_board>;
|
||||||
|
clock-names = "core", "iface", "xo";
|
||||||
|
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
blsp1_uart2: serial@78b1000 {
|
blsp1_uart2: serial@78b1000 {
|
||||||
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
||||||
reg = <0x078b1000 0x200>;
|
reg = <0x078b1000 0x200>;
|
||||||
|
Loading…
Reference in New Issue
Block a user