Commit 5f65328d authored by Marek Vasut's avatar Marek Vasut Committed by Simon Horman

arm64: dts: renesas: Switch eMMC bus to 1V8 on Salvator-X and ULCB

The eMMC card has two supplies, VCC and VCCQ. The VCC supplies the NAND
array and the VCCQ supplies the bus. On Salvator-X and ULCB, the VCC is
connected to 3.3V rail, while the VCCQ is connected to 1.8V rail. Adjust
the pinmux to match the bus, which is always operating in 1.8V mode.

While at it, deduplicate the pinmux entries, which are now the same for
both default and UHS modes. We still need the two pinctrl entries to
match the bindings though.
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
Reviewed-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent b7a1da21
...@@ -605,12 +605,6 @@ sdhi0_pins_uhs: sd0_uhs { ...@@ -605,12 +605,6 @@ sdhi0_pins_uhs: sd0_uhs {
}; };
sdhi2_pins: sd2 { sdhi2_pins: sd2 {
groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds";
function = "sdhi2";
power-source = <3300>;
};
sdhi2_pins_uhs: sd2_uhs {
groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds"; groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds";
function = "sdhi2"; function = "sdhi2";
power-source = <1800>; power-source = <1800>;
...@@ -763,7 +757,7 @@ &sdhi0 { ...@@ -763,7 +757,7 @@ &sdhi0 {
&sdhi2 { &sdhi2 {
/* used for on-board 8bit eMMC */ /* used for on-board 8bit eMMC */
pinctrl-0 = <&sdhi2_pins>; pinctrl-0 = <&sdhi2_pins>;
pinctrl-1 = <&sdhi2_pins_uhs>; pinctrl-1 = <&sdhi2_pins>;
pinctrl-names = "default", "state_uhs"; pinctrl-names = "default", "state_uhs";
vmmc-supply = <&reg_3p3v>; vmmc-supply = <&reg_3p3v>;
......
...@@ -330,12 +330,6 @@ sdhi0_pins_uhs: sd0_uhs { ...@@ -330,12 +330,6 @@ sdhi0_pins_uhs: sd0_uhs {
}; };
sdhi2_pins: sd2 { sdhi2_pins: sd2 {
groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds";
function = "sdhi2";
power-source = <3300>;
};
sdhi2_pins_uhs: sd2_uhs {
groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds"; groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds";
function = "sdhi2"; function = "sdhi2";
power-source = <1800>; power-source = <1800>;
...@@ -426,7 +420,7 @@ &sdhi0 { ...@@ -426,7 +420,7 @@ &sdhi0 {
&sdhi2 { &sdhi2 {
/* used for on-board 8bit eMMC */ /* used for on-board 8bit eMMC */
pinctrl-0 = <&sdhi2_pins>; pinctrl-0 = <&sdhi2_pins>;
pinctrl-1 = <&sdhi2_pins_uhs>; pinctrl-1 = <&sdhi2_pins>;
pinctrl-names = "default", "state_uhs"; pinctrl-names = "default", "state_uhs";
vmmc-supply = <&reg_3p3v>; vmmc-supply = <&reg_3p3v>;
......
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