mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
arm64: dts: marvell: samsung,coreprimevelte: Enable eMMC
Commit a41fcca4b3 ("mmc: sdhci-pxav3: set NEED_RSP_BUSY capability")
fixed eMMC probing on this board. Enable the eMMC and add its pinctrl.
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
This commit is contained in:
@@ -355,6 +355,79 @@
|
||||
pinctrl-single,input-schmitt-enable = <0x40 0 0x40 0x40>;
|
||||
pinctrl-single,low-power-mode = <0x208 0x388>;
|
||||
};
|
||||
|
||||
sdh2_pins_0: sdh2-pins-0 {
|
||||
pinctrl-single,pins = <
|
||||
0x24 1
|
||||
0x28 1
|
||||
0x2c 1
|
||||
0x30 1
|
||||
0x34 1
|
||||
0x38 1
|
||||
0x3c 1
|
||||
0x40 1
|
||||
>;
|
||||
pinctrl-single,drive-strength = <0x1000 0x1800>;
|
||||
pinctrl-single,bias-pullup = <0 0xc000 0 0xc000>;
|
||||
pinctrl-single,bias-pulldown = <0 0xa000 0 0xa000>;
|
||||
pinctrl-single,input-schmitt = <0 0x30>;
|
||||
pinctrl-single,input-schmitt-enable = <0x40 0 0x40 0x40>;
|
||||
pinctrl-single,low-power-mode = <0 0x388>;
|
||||
};
|
||||
|
||||
sdh2_pins_1: sdh2-pins-1 {
|
||||
pinctrl-single,pins = <0x64 1>;
|
||||
pinctrl-single,drive-strength = <0x1000 0x1800>;
|
||||
pinctrl-single,bias-pullup = <0 0xc000 0 0xc000>;
|
||||
pinctrl-single,bias-pulldown = <0 0xa000 0 0xa000>;
|
||||
pinctrl-single,input-schmitt = <0 0x30>;
|
||||
pinctrl-single,input-schmitt-enable = <0x40 0 0x40 0x40>;
|
||||
pinctrl-single,low-power-mode = <0x208 0x388>;
|
||||
};
|
||||
|
||||
sdh2_pins_2: sdh2-pins-2 {
|
||||
pinctrl-single,pins = <0x5c 1>;
|
||||
pinctrl-single,bias-pullup = <0xc000 0xc000 0 0xc000>;
|
||||
pinctrl-single,bias-pulldown = <0x8000 0xa000 0x8000 0xa000>;
|
||||
pinctrl-single,low-power-mode = <0x288 0x388>;
|
||||
};
|
||||
|
||||
sdh2_fast_pins_0: sdh2-fast-pins-0 {
|
||||
pinctrl-single,pins = <
|
||||
0x24 1
|
||||
0x28 1
|
||||
0x2c 1
|
||||
0x30 1
|
||||
0x34 1
|
||||
0x38 1
|
||||
0x3c 1
|
||||
0x40 1
|
||||
>;
|
||||
pinctrl-single,drive-strength = <0x1800 0x1800>;
|
||||
pinctrl-single,bias-pullup = <0 0xc000 0 0xc000>;
|
||||
pinctrl-single,bias-pulldown = <0 0xa000 0 0xa000>;
|
||||
pinctrl-single,input-schmitt = <0 0x30>;
|
||||
pinctrl-single,input-schmitt-enable = <0x40 0 0x40 0x40>;
|
||||
pinctrl-single,low-power-mode = <0 0x388>;
|
||||
};
|
||||
|
||||
sdh2_fast_pins_1: sdh2-fast-pins-1 {
|
||||
pinctrl-single,pins = <0x64 1>;
|
||||
pinctrl-single,drive-strength = <0x1800 0x1800>;
|
||||
pinctrl-single,bias-pullup = <0 0xc000 0 0xc000>;
|
||||
pinctrl-single,bias-pulldown = <0 0xa000 0 0xa000>;
|
||||
pinctrl-single,input-schmitt = <0 0x30>;
|
||||
pinctrl-single,input-schmitt-enable = <0x40 0 0x40 0x40>;
|
||||
pinctrl-single,low-power-mode = <0x208 0x388>;
|
||||
};
|
||||
|
||||
sdh2_fast_pins_2: sdh2-fast-pins-2 {
|
||||
pinctrl-single,pins = <0x5c 1>;
|
||||
pinctrl-single,drive-strength = <0x1800 0x1800>;
|
||||
pinctrl-single,bias-pullup = <0xc000 0xc000 0 0xc000>;
|
||||
pinctrl-single,bias-pulldown = <0x8000 0xa000 0x8000 0xa000>;
|
||||
pinctrl-single,low-power-mode = <0x288 0x388>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
@@ -419,11 +492,13 @@
|
||||
};
|
||||
|
||||
&sdh2 {
|
||||
/* Disabled for now because initialization fails with -ETIMEDOUT. */
|
||||
status = "disabled";
|
||||
pinctrl-names = "default", "state_uhs";
|
||||
pinctrl-0 = <&sdh2_pins_0 &sdh2_pins_1 &sdh2_pins_2>;
|
||||
pinctrl-1 = <&sdh2_fast_pins_0 &sdh2_fast_pins_1 &sdh2_fast_pins_2>;
|
||||
bus-width = <8>;
|
||||
non-removable;
|
||||
mmc-ddr-1_8v;
|
||||
mmc-hs200-1_8v;
|
||||
};
|
||||
|
||||
&sdh0 {
|
||||
|
||||
Reference in New Issue
Block a user