mirror of https://gitee.com/openkylin/linux.git
arm64: dts: r8a7795: salvator-x: enable UHS for SDHI 0 & 3
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
1001354ca3
commit
2a927eeaf6
|
@ -237,11 +237,25 @@ du_pins: du {
|
||||||
sdhi0_pins: sd0 {
|
sdhi0_pins: sd0 {
|
||||||
groups = "sdhi0_data4", "sdhi0_ctrl";
|
groups = "sdhi0_data4", "sdhi0_ctrl";
|
||||||
function = "sdhi0";
|
function = "sdhi0";
|
||||||
|
power-source = <3300>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sdhi0_pins_uhs: sd0_uhs {
|
||||||
|
groups = "sdhi0_data4", "sdhi0_ctrl";
|
||||||
|
function = "sdhi0";
|
||||||
|
power-source = <1800>;
|
||||||
};
|
};
|
||||||
|
|
||||||
sdhi3_pins: sd3 {
|
sdhi3_pins: sd3 {
|
||||||
groups = "sdhi3_data4", "sdhi3_ctrl";
|
groups = "sdhi3_data4", "sdhi3_ctrl";
|
||||||
function = "sdhi3";
|
function = "sdhi3";
|
||||||
|
power-source = <3300>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sdhi3_pins_uhs: sd3_uhs {
|
||||||
|
groups = "sdhi3_data4", "sdhi3_ctrl";
|
||||||
|
function = "sdhi3";
|
||||||
|
power-source = <1800>;
|
||||||
};
|
};
|
||||||
|
|
||||||
sound_pins: sound {
|
sound_pins: sound {
|
||||||
|
@ -371,25 +385,29 @@ &sata {
|
||||||
|
|
||||||
&sdhi0 {
|
&sdhi0 {
|
||||||
pinctrl-0 = <&sdhi0_pins>;
|
pinctrl-0 = <&sdhi0_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-1 = <&sdhi0_pins_uhs>;
|
||||||
|
pinctrl-names = "default", "state_uhs";
|
||||||
|
|
||||||
vmmc-supply = <&vcc_sdhi0>;
|
vmmc-supply = <&vcc_sdhi0>;
|
||||||
vqmmc-supply = <&vccq_sdhi0>;
|
vqmmc-supply = <&vccq_sdhi0>;
|
||||||
cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
|
cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
|
||||||
wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
|
wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
sd-uhs-sdr50;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&sdhi3 {
|
&sdhi3 {
|
||||||
pinctrl-0 = <&sdhi3_pins>;
|
pinctrl-0 = <&sdhi3_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-1 = <&sdhi3_pins_uhs>;
|
||||||
|
pinctrl-names = "default", "state_uhs";
|
||||||
|
|
||||||
vmmc-supply = <&vcc_sdhi3>;
|
vmmc-supply = <&vcc_sdhi3>;
|
||||||
vqmmc-supply = <&vccq_sdhi3>;
|
vqmmc-supply = <&vccq_sdhi3>;
|
||||||
cd-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
|
cd-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
|
||||||
wp-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
|
wp-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
sd-uhs-sdr50;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue