diff mbox

[V5,2/2] ARM: dts: Add HS400 support for exynos5420 and exynos5800

Message ID 1422499318-13726-3-git-send-email-alim.akhtar@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alim Akhtar Jan. 29, 2015, 2:41 a.m. UTC
From: Seungwon Jeon <tgih.jun@samsung.com>

HS400 timing values are added for SMDK5420, exynos5420-peach-pit
and exynos5800-peach-pi boards.
This also adds RCLK GPIO line, this gpio should be in pull-down
state.
This also enables HS400 on peach-pi and this updates the clock frequency
to 800MHz to be set as input clock to controller.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
[Alim: addressed review comments]
---
 arch/arm/boot/dts/exynos5420-peach-pit.dts |    4 +++-
 arch/arm/boot/dts/exynos5420-pinctrl.dtsi  |    7 +++++++
 arch/arm/boot/dts/exynos5420-smdk5420.dts  |    4 +++-
 arch/arm/boot/dts/exynos5800-peach-pi.dts  |    7 +++++--
 4 files changed, 18 insertions(+), 4 deletions(-)

Comments

Jaehoon Chung Feb. 25, 2015, 6:35 a.m. UTC | #1
Hi, Alim.

Acked-by: Jaehoon Chung <jh80.chung@samsung.com>

Best Regards,
Jaehoon Chung

On 01/29/2015 11:41 AM, Alim Akhtar wrote:
> From: Seungwon Jeon <tgih.jun@samsung.com>
> 
> HS400 timing values are added for SMDK5420, exynos5420-peach-pit
> and exynos5800-peach-pi boards.
> This also adds RCLK GPIO line, this gpio should be in pull-down
> state.
> This also enables HS400 on peach-pi and this updates the clock frequency
> to 800MHz to be set as input clock to controller.
> 
> Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
> [Alim: addressed review comments]
> ---
>  arch/arm/boot/dts/exynos5420-peach-pit.dts |    4 +++-
>  arch/arm/boot/dts/exynos5420-pinctrl.dtsi  |    7 +++++++
>  arch/arm/boot/dts/exynos5420-smdk5420.dts  |    4 +++-
>  arch/arm/boot/dts/exynos5800-peach-pi.dts  |    7 +++++--
>  4 files changed, 18 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
> index 9a050e1..f7a44a4 100644
> --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
> +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
> @@ -569,8 +569,10 @@
>  	samsung,dw-mshc-ciu-div = <3>;
>  	samsung,dw-mshc-sdr-timing = <0 4>;
>  	samsung,dw-mshc-ddr-timing = <0 2>;
> +	samsung,dw-mshc-hs400-timing = <0 2>;
> +	samsung,read-strobe-delay = <90>;
>  	pinctrl-names = "default";
> -	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
> +	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
>  	bus-width = <8>;
>  };
>  
> diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
> index ba686e4..8b15316 100644
> --- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
> @@ -201,6 +201,13 @@
>  			samsung,pin-drv = <3>;
>  		};
>  
> +		sd0_rclk: sd0-rclk {
> +			samsung,pins = "gpc0-7";
> +			samsung,pin-function = <2>;
> +			samsung,pin-pud = <1>;
> +			samsung,pin-drv = <3>;
> +		};
> +
>  		sd1_cmd: sd1-cmd {
>  			samsung,pins = "gpc1-1";
>  			samsung,pin-function = <2>;
> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> index 8be3d7b..2078a1f 100644
> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> @@ -80,8 +80,10 @@
>  		samsung,dw-mshc-ciu-div = <3>;
>  		samsung,dw-mshc-sdr-timing = <0 4>;
>  		samsung,dw-mshc-ddr-timing = <0 2>;
> +		samsung,dw-mshc-hs400-timing = <0 2>;
> +		samsung,read-strobe-delay = <90>;
>  		pinctrl-names = "default";
> -		pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
> +		pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
>  		bus-width = <8>;
>  		cap-mmc-highspeed;
>  	};
> diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> index e8fdda8..96f0d61 100644
> --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
> +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> @@ -550,15 +550,18 @@
>  	num-slots = <1>;
>  	broken-cd;
>  	mmc-hs200-1_8v;
> +	mmc-hs400-1_8v;
>  	cap-mmc-highspeed;
>  	non-removable;
>  	card-detect-delay = <200>;
> -	clock-frequency = <400000000>;
> +	clock-frequency = <800000000>;
>  	samsung,dw-mshc-ciu-div = <3>;
>  	samsung,dw-mshc-sdr-timing = <0 4>;
>  	samsung,dw-mshc-ddr-timing = <0 2>;
> +	samsung,dw-mshc-hs400-timing = <0 2>;
> +	samsung,read-strobe-delay = <90>;
>  	pinctrl-names = "default";
> -	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
> +	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
>  	bus-width = <8>;
>  };
>  
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Alim Akhtar March 15, 2015, 11:28 a.m. UTC | #2
Ping?

On Wed, Feb 25, 2015 at 12:05 PM, Jaehoon Chung <jh80.chung@samsung.com> wrote:
> Hi, Alim.
>
> Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
>
> Best Regards,
> Jaehoon Chung
>
> On 01/29/2015 11:41 AM, Alim Akhtar wrote:
>> From: Seungwon Jeon <tgih.jun@samsung.com>
>>
>> HS400 timing values are added for SMDK5420, exynos5420-peach-pit
>> and exynos5800-peach-pi boards.
>> This also adds RCLK GPIO line, this gpio should be in pull-down
>> state.
>> This also enables HS400 on peach-pi and this updates the clock frequency
>> to 800MHz to be set as input clock to controller.
>>
>> Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
>> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
>> [Alim: addressed review comments]
>> ---
>>  arch/arm/boot/dts/exynos5420-peach-pit.dts |    4 +++-
>>  arch/arm/boot/dts/exynos5420-pinctrl.dtsi  |    7 +++++++
>>  arch/arm/boot/dts/exynos5420-smdk5420.dts  |    4 +++-
>>  arch/arm/boot/dts/exynos5800-peach-pi.dts  |    7 +++++--
>>  4 files changed, 18 insertions(+), 4 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
>> index 9a050e1..f7a44a4 100644
>> --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
>> +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
>> @@ -569,8 +569,10 @@
>>       samsung,dw-mshc-ciu-div = <3>;
>>       samsung,dw-mshc-sdr-timing = <0 4>;
>>       samsung,dw-mshc-ddr-timing = <0 2>;
>> +     samsung,dw-mshc-hs400-timing = <0 2>;
>> +     samsung,read-strobe-delay = <90>;
>>       pinctrl-names = "default";
>> -     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
>> +     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
>>       bus-width = <8>;
>>  };
>>
>> diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
>> index ba686e4..8b15316 100644
>> --- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
>> +++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
>> @@ -201,6 +201,13 @@
>>                       samsung,pin-drv = <3>;
>>               };
>>
>> +             sd0_rclk: sd0-rclk {
>> +                     samsung,pins = "gpc0-7";
>> +                     samsung,pin-function = <2>;
>> +                     samsung,pin-pud = <1>;
>> +                     samsung,pin-drv = <3>;
>> +             };
>> +
>>               sd1_cmd: sd1-cmd {
>>                       samsung,pins = "gpc1-1";
>>                       samsung,pin-function = <2>;
>> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> index 8be3d7b..2078a1f 100644
>> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> @@ -80,8 +80,10 @@
>>               samsung,dw-mshc-ciu-div = <3>;
>>               samsung,dw-mshc-sdr-timing = <0 4>;
>>               samsung,dw-mshc-ddr-timing = <0 2>;
>> +             samsung,dw-mshc-hs400-timing = <0 2>;
>> +             samsung,read-strobe-delay = <90>;
>>               pinctrl-names = "default";
>> -             pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
>> +             pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
>>               bus-width = <8>;
>>               cap-mmc-highspeed;
>>       };
>> diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
>> index e8fdda8..96f0d61 100644
>> --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
>> +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
>> @@ -550,15 +550,18 @@
>>       num-slots = <1>;
>>       broken-cd;
>>       mmc-hs200-1_8v;
>> +     mmc-hs400-1_8v;
>>       cap-mmc-highspeed;
>>       non-removable;
>>       card-detect-delay = <200>;
>> -     clock-frequency = <400000000>;
>> +     clock-frequency = <800000000>;
>>       samsung,dw-mshc-ciu-div = <3>;
>>       samsung,dw-mshc-sdr-timing = <0 4>;
>>       samsung,dw-mshc-ddr-timing = <0 2>;
>> +     samsung,dw-mshc-hs400-timing = <0 2>;
>> +     samsung,read-strobe-delay = <90>;
>>       pinctrl-names = "default";
>> -     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
>> +     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
>>       bus-width = <8>;
>>  };
>>
>>
>
kgene@kernel.org March 17, 2015, 2:12 a.m. UTC | #3
Alim Akhtar wrote:
> 
> Ping?
> 
Alim,

Can you please re-send it based on latest my tree?
It would be helpful for me ;)

Thanks,
Kukjin

> On Wed, Feb 25, 2015 at 12:05 PM, Jaehoon Chung <jh80.chung@samsung.com> wrote:
> > Hi, Alim.
> >
> > Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
> >
> > Best Regards,
> > Jaehoon Chung
> >
> > On 01/29/2015 11:41 AM, Alim Akhtar wrote:
> >> From: Seungwon Jeon <tgih.jun@samsung.com>
> >>
> >> HS400 timing values are added for SMDK5420, exynos5420-peach-pit
> >> and exynos5800-peach-pi boards.
> >> This also adds RCLK GPIO line, this gpio should be in pull-down
> >> state.
> >> This also enables HS400 on peach-pi and this updates the clock frequency
> >> to 800MHz to be set as input clock to controller.
> >>
> >> Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
> >> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
> >> [Alim: addressed review comments]
> >> ---
> >>  arch/arm/boot/dts/exynos5420-peach-pit.dts |    4 +++-
> >>  arch/arm/boot/dts/exynos5420-pinctrl.dtsi  |    7 +++++++
> >>  arch/arm/boot/dts/exynos5420-smdk5420.dts  |    4 +++-
> >>  arch/arm/boot/dts/exynos5800-peach-pi.dts  |    7 +++++--
> >>  4 files changed, 18 insertions(+), 4 deletions(-)
> >>
> >> diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-
> pit.dts
> >> index 9a050e1..f7a44a4 100644
> >> --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
> >> +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
> >> @@ -569,8 +569,10 @@
> >>       samsung,dw-mshc-ciu-div = <3>;
> >>       samsung,dw-mshc-sdr-timing = <0 4>;
> >>       samsung,dw-mshc-ddr-timing = <0 2>;
> >> +     samsung,dw-mshc-hs400-timing = <0 2>;
> >> +     samsung,read-strobe-delay = <90>;
> >>       pinctrl-names = "default";
> >> -     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
> >> +     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
> >>       bus-width = <8>;
> >>  };
> >>
> >> diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
> >> index ba686e4..8b15316 100644
> >> --- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
> >> +++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
> >> @@ -201,6 +201,13 @@
> >>                       samsung,pin-drv = <3>;
> >>               };
> >>
> >> +             sd0_rclk: sd0-rclk {
> >> +                     samsung,pins = "gpc0-7";
> >> +                     samsung,pin-function = <2>;
> >> +                     samsung,pin-pud = <1>;
> >> +                     samsung,pin-drv = <3>;
> >> +             };
> >> +
> >>               sd1_cmd: sd1-cmd {
> >>                       samsung,pins = "gpc1-1";
> >>                       samsung,pin-function = <2>;
> >> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> >> index 8be3d7b..2078a1f 100644
> >> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
> >> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> >> @@ -80,8 +80,10 @@
> >>               samsung,dw-mshc-ciu-div = <3>;
> >>               samsung,dw-mshc-sdr-timing = <0 4>;
> >>               samsung,dw-mshc-ddr-timing = <0 2>;
> >> +             samsung,dw-mshc-hs400-timing = <0 2>;
> >> +             samsung,read-strobe-delay = <90>;
> >>               pinctrl-names = "default";
> >> -             pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
> >> +             pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
> >>               bus-width = <8>;
> >>               cap-mmc-highspeed;
> >>       };
> >> diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> >> index e8fdda8..96f0d61 100644
> >> --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
> >> +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> >> @@ -550,15 +550,18 @@
> >>       num-slots = <1>;
> >>       broken-cd;
> >>       mmc-hs200-1_8v;
> >> +     mmc-hs400-1_8v;
> >>       cap-mmc-highspeed;
> >>       non-removable;
> >>       card-detect-delay = <200>;
> >> -     clock-frequency = <400000000>;
> >> +     clock-frequency = <800000000>;
> >>       samsung,dw-mshc-ciu-div = <3>;
> >>       samsung,dw-mshc-sdr-timing = <0 4>;
> >>       samsung,dw-mshc-ddr-timing = <0 2>;
> >> +     samsung,dw-mshc-hs400-timing = <0 2>;
> >> +     samsung,read-strobe-delay = <90>;
> >>       pinctrl-names = "default";
> >> -     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
> >> +     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
> >>       bus-width = <8>;
> >>  };

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Alim Akhtar March 17, 2015, 11:26 p.m. UTC | #4
Thanks Kukjin for looking into this.
I will rebase on top of your for-next and send again.

On Tue, Mar 17, 2015 at 7:42 AM, Kukjin Kim <kgene@kernel.org> wrote:
> Alim Akhtar wrote:
>>
>> Ping?
>>
> Alim,
>
> Can you please re-send it based on latest my tree?
> It would be helpful for me ;)
>
> Thanks,
> Kukjin
>
>> On Wed, Feb 25, 2015 at 12:05 PM, Jaehoon Chung <jh80.chung@samsung.com> wrote:
>> > Hi, Alim.
>> >
>> > Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
>> >
>> > Best Regards,
>> > Jaehoon Chung
>> >
>> > On 01/29/2015 11:41 AM, Alim Akhtar wrote:
>> >> From: Seungwon Jeon <tgih.jun@samsung.com>
>> >>
>> >> HS400 timing values are added for SMDK5420, exynos5420-peach-pit
>> >> and exynos5800-peach-pi boards.
>> >> This also adds RCLK GPIO line, this gpio should be in pull-down
>> >> state.
>> >> This also enables HS400 on peach-pi and this updates the clock frequency
>> >> to 800MHz to be set as input clock to controller.
>> >>
>> >> Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
>> >> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
>> >> [Alim: addressed review comments]
>> >> ---
>> >>  arch/arm/boot/dts/exynos5420-peach-pit.dts |    4 +++-
>> >>  arch/arm/boot/dts/exynos5420-pinctrl.dtsi  |    7 +++++++
>> >>  arch/arm/boot/dts/exynos5420-smdk5420.dts  |    4 +++-
>> >>  arch/arm/boot/dts/exynos5800-peach-pi.dts  |    7 +++++--
>> >>  4 files changed, 18 insertions(+), 4 deletions(-)
>> >>
>> >> diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-
>> pit.dts
>> >> index 9a050e1..f7a44a4 100644
>> >> --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
>> >> +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
>> >> @@ -569,8 +569,10 @@
>> >>       samsung,dw-mshc-ciu-div = <3>;
>> >>       samsung,dw-mshc-sdr-timing = <0 4>;
>> >>       samsung,dw-mshc-ddr-timing = <0 2>;
>> >> +     samsung,dw-mshc-hs400-timing = <0 2>;
>> >> +     samsung,read-strobe-delay = <90>;
>> >>       pinctrl-names = "default";
>> >> -     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
>> >> +     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
>> >>       bus-width = <8>;
>> >>  };
>> >>
>> >> diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
>> >> index ba686e4..8b15316 100644
>> >> --- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
>> >> +++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
>> >> @@ -201,6 +201,13 @@
>> >>                       samsung,pin-drv = <3>;
>> >>               };
>> >>
>> >> +             sd0_rclk: sd0-rclk {
>> >> +                     samsung,pins = "gpc0-7";
>> >> +                     samsung,pin-function = <2>;
>> >> +                     samsung,pin-pud = <1>;
>> >> +                     samsung,pin-drv = <3>;
>> >> +             };
>> >> +
>> >>               sd1_cmd: sd1-cmd {
>> >>                       samsung,pins = "gpc1-1";
>> >>                       samsung,pin-function = <2>;
>> >> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> >> index 8be3d7b..2078a1f 100644
>> >> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> >> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> >> @@ -80,8 +80,10 @@
>> >>               samsung,dw-mshc-ciu-div = <3>;
>> >>               samsung,dw-mshc-sdr-timing = <0 4>;
>> >>               samsung,dw-mshc-ddr-timing = <0 2>;
>> >> +             samsung,dw-mshc-hs400-timing = <0 2>;
>> >> +             samsung,read-strobe-delay = <90>;
>> >>               pinctrl-names = "default";
>> >> -             pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
>> >> +             pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
>> >>               bus-width = <8>;
>> >>               cap-mmc-highspeed;
>> >>       };
>> >> diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
>> >> index e8fdda8..96f0d61 100644
>> >> --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
>> >> +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
>> >> @@ -550,15 +550,18 @@
>> >>       num-slots = <1>;
>> >>       broken-cd;
>> >>       mmc-hs200-1_8v;
>> >> +     mmc-hs400-1_8v;
>> >>       cap-mmc-highspeed;
>> >>       non-removable;
>> >>       card-detect-delay = <200>;
>> >> -     clock-frequency = <400000000>;
>> >> +     clock-frequency = <800000000>;
>> >>       samsung,dw-mshc-ciu-div = <3>;
>> >>       samsung,dw-mshc-sdr-timing = <0 4>;
>> >>       samsung,dw-mshc-ddr-timing = <0 2>;
>> >> +     samsung,dw-mshc-hs400-timing = <0 2>;
>> >> +     samsung,read-strobe-delay = <90>;
>> >>       pinctrl-names = "default";
>> >> -     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
>> >> +     pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
>> >>       bus-width = <8>;
>> >>  };
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index 9a050e1..f7a44a4 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -569,8 +569,10 @@ 
 	samsung,dw-mshc-ciu-div = <3>;
 	samsung,dw-mshc-sdr-timing = <0 4>;
 	samsung,dw-mshc-ddr-timing = <0 2>;
+	samsung,dw-mshc-hs400-timing = <0 2>;
+	samsung,read-strobe-delay = <90>;
 	pinctrl-names = "default";
-	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
+	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
 	bus-width = <8>;
 };
 
diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
index ba686e4..8b15316 100644
--- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
@@ -201,6 +201,13 @@ 
 			samsung,pin-drv = <3>;
 		};
 
+		sd0_rclk: sd0-rclk {
+			samsung,pins = "gpc0-7";
+			samsung,pin-function = <2>;
+			samsung,pin-pud = <1>;
+			samsung,pin-drv = <3>;
+		};
+
 		sd1_cmd: sd1-cmd {
 			samsung,pins = "gpc1-1";
 			samsung,pin-function = <2>;
diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
index 8be3d7b..2078a1f 100644
--- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
+++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
@@ -80,8 +80,10 @@ 
 		samsung,dw-mshc-ciu-div = <3>;
 		samsung,dw-mshc-sdr-timing = <0 4>;
 		samsung,dw-mshc-ddr-timing = <0 2>;
+		samsung,dw-mshc-hs400-timing = <0 2>;
+		samsung,read-strobe-delay = <90>;
 		pinctrl-names = "default";
-		pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
+		pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
 		bus-width = <8>;
 		cap-mmc-highspeed;
 	};
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
index e8fdda8..96f0d61 100644
--- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
+++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
@@ -550,15 +550,18 @@ 
 	num-slots = <1>;
 	broken-cd;
 	mmc-hs200-1_8v;
+	mmc-hs400-1_8v;
 	cap-mmc-highspeed;
 	non-removable;
 	card-detect-delay = <200>;
-	clock-frequency = <400000000>;
+	clock-frequency = <800000000>;
 	samsung,dw-mshc-ciu-div = <3>;
 	samsung,dw-mshc-sdr-timing = <0 4>;
 	samsung,dw-mshc-ddr-timing = <0 2>;
+	samsung,dw-mshc-hs400-timing = <0 2>;
+	samsung,read-strobe-delay = <90>;
 	pinctrl-names = "default";
-	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
+	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &sd0_rclk>;
 	bus-width = <8>;
 };