arm64: dts: r8a7795: salvator-x: enable UHS for SDHI 0 & 3
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 13 Sep 2016 10:56:59 +0000 (12:56 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 17 Oct 2016 06:18:40 +0000 (08:18 +0200)
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>
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts

index b1eab6876f8c6769d66f8b65fdd384f4b16f005f..ff4e4fe843ed4d05d76bbd4c47681b150abbf68f 100644 (file)
        sdhi0_pins: sd0 {
                groups = "sdhi0_data4", "sdhi0_ctrl";
                function = "sdhi0";
+               power-source = <3300>;
+       };
+
+       sdhi0_pins_uhs: sd0_uhs {
+               groups = "sdhi0_data4", "sdhi0_ctrl";
+               function = "sdhi0";
+               power-source = <1800>;
        };
 
        sdhi3_pins: sd3 {
                groups = "sdhi3_data4", "sdhi3_ctrl";
                function = "sdhi3";
+               power-source = <3300>;
+       };
+
+       sdhi3_pins_uhs: sd3_uhs {
+               groups = "sdhi3_data4", "sdhi3_ctrl";
+               function = "sdhi3";
+               power-source = <1800>;
        };
 
        sound_pins: sound {
 
 &sdhi0 {
        pinctrl-0 = <&sdhi0_pins>;
-       pinctrl-names = "default";
+       pinctrl-1 = <&sdhi0_pins_uhs>;
+       pinctrl-names = "default", "state_uhs";
 
        vmmc-supply = <&vcc_sdhi0>;
        vqmmc-supply = <&vccq_sdhi0>;
        cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
        wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
        bus-width = <4>;
+       sd-uhs-sdr50;
        status = "okay";
 };
 
 &sdhi3 {
        pinctrl-0 = <&sdhi3_pins>;
-       pinctrl-names = "default";
+       pinctrl-1 = <&sdhi3_pins_uhs>;
+       pinctrl-names = "default", "state_uhs";
 
        vmmc-supply = <&vcc_sdhi3>;
        vqmmc-supply = <&vccq_sdhi3>;
        cd-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
        wp-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
        bus-width = <4>;
+       sd-uhs-sdr50;
        status = "okay";
 };