Commit b43033b1 authored by Jerome Brunet's avatar Jerome Brunet Committed by Kevin Hilman

arm64: dts: meson: fix mmc pin bias

Clk pin does not require bias, data strobe should be pulled low.
The rest of the pin (data and cmd) are pulled up.
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent ffab3fd6
...@@ -482,8 +482,8 @@ brcmf: wifi@1 { ...@@ -482,8 +482,8 @@ brcmf: wifi@1 {
/* emmc storage */ /* emmc storage */
&sd_emmc_c { &sd_emmc_c {
status = "disabled"; status = "okay";
pinctrl-0 = <&emmc_pins>; pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
pinctrl-1 = <&emmc_clk_gate_pins>; pinctrl-1 = <&emmc_clk_gate_pins>;
pinctrl-names = "default", "clk-gate"; pinctrl-names = "default", "clk-gate";
......
...@@ -299,7 +299,7 @@ mux { ...@@ -299,7 +299,7 @@ mux {
}; };
emmc_pins: emmc { emmc_pins: emmc {
mux { mux-0 {
groups = "emmc_nand_d0", groups = "emmc_nand_d0",
"emmc_nand_d1", "emmc_nand_d1",
"emmc_nand_d2", "emmc_nand_d2",
...@@ -308,14 +308,26 @@ mux { ...@@ -308,14 +308,26 @@ mux {
"emmc_nand_d5", "emmc_nand_d5",
"emmc_nand_d6", "emmc_nand_d6",
"emmc_nand_d7", "emmc_nand_d7",
"emmc_clk", "emmc_cmd";
"emmc_cmd", function = "emmc";
"emmc_ds"; bias-pull-up;
};
mux-1 {
groups = "emmc_clk";
function = "emmc"; function = "emmc";
bias-disable; bias-disable;
}; };
}; };
emmc_ds_pins: emmc_ds {
mux {
groups = "emmc_ds";
function = "emmc";
bias-pull-down;
};
};
emmc_clk_gate_pins: emmc_clk_gate { emmc_clk_gate_pins: emmc_clk_gate {
mux { mux {
groups = "BOOT_8"; groups = "BOOT_8";
...@@ -559,13 +571,18 @@ mux { ...@@ -559,13 +571,18 @@ mux {
}; };
sdio_pins: sdio { sdio_pins: sdio {
mux { mux-0 {
groups = "sdio_d0", groups = "sdio_d0",
"sdio_d1", "sdio_d1",
"sdio_d2", "sdio_d2",
"sdio_d3", "sdio_d3",
"sdio_cmd", "sdio_cmd";
"sdio_clk"; function = "sdio";
bias-pull-up;
};
mux-1 {
groups = "sdio_clk";
function = "sdio"; function = "sdio";
bias-disable; bias-disable;
}; };
......
...@@ -381,10 +381,15 @@ gpio: bank@4b0 { ...@@ -381,10 +381,15 @@ gpio: bank@4b0 {
}; };
emmc_pins: emmc { emmc_pins: emmc {
mux { mux-0 {
groups = "emmc_nand_d07", groups = "emmc_nand_d07",
"emmc_cmd", "emmc_cmd";
"emmc_clk"; function = "emmc";
bias-pull-up;
};
mux-1 {
groups = "emmc_clk";
function = "emmc"; function = "emmc";
bias-disable; bias-disable;
}; };
...@@ -394,7 +399,7 @@ emmc_ds_pins: emmc-ds { ...@@ -394,7 +399,7 @@ emmc_ds_pins: emmc-ds {
mux { mux {
groups = "emmc_ds"; groups = "emmc_ds";
function = "emmc"; function = "emmc";
bias-disable; bias-pull-down;
}; };
}; };
...@@ -436,13 +441,18 @@ mux { ...@@ -436,13 +441,18 @@ mux {
}; };
sdcard_pins: sdcard { sdcard_pins: sdcard {
mux { mux-0 {
groups = "sdcard_d0", groups = "sdcard_d0",
"sdcard_d1", "sdcard_d1",
"sdcard_d2", "sdcard_d2",
"sdcard_d3", "sdcard_d3",
"sdcard_cmd", "sdcard_cmd";
"sdcard_clk"; function = "sdcard";
bias-pull-up;
};
mux-1 {
groups = "sdcard_clk";
function = "sdcard"; function = "sdcard";
bias-disable; bias-disable;
}; };
...@@ -457,13 +467,18 @@ mux { ...@@ -457,13 +467,18 @@ mux {
}; };
sdio_pins: sdio { sdio_pins: sdio {
mux { mux-0 {
groups = "sdio_d0", groups = "sdio_d0",
"sdio_d1", "sdio_d1",
"sdio_d2", "sdio_d2",
"sdio_d3", "sdio_d3",
"sdio_cmd", "sdio_cmd";
"sdio_clk"; function = "sdio";
bias-pull-up;
};
mux-1 {
groups = "sdio_clk";
function = "sdio"; function = "sdio";
bias-disable; bias-disable;
}; };
......
...@@ -326,10 +326,15 @@ gpio: bank@4b0 { ...@@ -326,10 +326,15 @@ gpio: bank@4b0 {
}; };
emmc_pins: emmc { emmc_pins: emmc {
mux { mux-0 {
groups = "emmc_nand_d07", groups = "emmc_nand_d07",
"emmc_cmd", "emmc_cmd";
"emmc_clk"; function = "emmc";
bias-pull-up;
};
mux-1 {
groups = "emmc_clk";
function = "emmc"; function = "emmc";
bias-disable; bias-disable;
}; };
...@@ -339,7 +344,7 @@ emmc_ds_pins: emmc-ds { ...@@ -339,7 +344,7 @@ emmc_ds_pins: emmc-ds {
mux { mux {
groups = "emmc_ds"; groups = "emmc_ds";
function = "emmc"; function = "emmc";
bias-disable; bias-pull-down;
}; };
}; };
...@@ -381,13 +386,18 @@ mux { ...@@ -381,13 +386,18 @@ mux {
}; };
sdcard_pins: sdcard { sdcard_pins: sdcard {
mux { mux-0 {
groups = "sdcard_d0", groups = "sdcard_d0",
"sdcard_d1", "sdcard_d1",
"sdcard_d2", "sdcard_d2",
"sdcard_d3", "sdcard_d3",
"sdcard_cmd", "sdcard_cmd";
"sdcard_clk"; function = "sdcard";
bias-pull-up;
};
mux-1 {
groups = "sdcard_clk";
function = "sdcard"; function = "sdcard";
bias-disable; bias-disable;
}; };
...@@ -402,13 +412,18 @@ mux { ...@@ -402,13 +412,18 @@ mux {
}; };
sdio_pins: sdio { sdio_pins: sdio {
mux { mux-0 {
groups = "sdio_d0", groups = "sdio_d0",
"sdio_d1", "sdio_d1",
"sdio_d2", "sdio_d2",
"sdio_d3", "sdio_d3",
"sdio_cmd", "sdio_cmd";
"sdio_clk"; function = "sdio";
bias-pull-up;
};
mux-1 {
groups = "sdio_clk";
function = "sdio"; function = "sdio";
bias-disable; bias-disable;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment