Patchwork [U-Boot,2/4] EXYNOS5 : FDT: Add Aliases for SPI device

login
register
mail settings
Submitter Rajeshwari Birje
Date Dec. 3, 2012, 10:40 a.m.
Message ID <1354531203-29789-3-git-send-email-rajeshwari.s@samsung.com>
Download mbox | patch
Permalink /patch/203312/
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Comments

Rajeshwari Birje - Dec. 3, 2012, 10:40 a.m.
This patch adds aliases for SPI.

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
 board/samsung/dts/exynos5250-smdk5250.dts |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Simon Glass - Dec. 4, 2012, 1:07 a.m.
Hi Rajeshwari,

On Mon, Dec 3, 2012 at 2:40 AM, Rajeshwari Shinde
<rajeshwari.s@samsung.com> wrote:
> This patch adds aliases for SPI.
>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
> ---
>  board/samsung/dts/exynos5250-smdk5250.dts |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
> index 1562721..4d51d98 100644
> --- a/board/samsung/dts/exynos5250-smdk5250.dts
> +++ b/board/samsung/dts/exynos5250-smdk5250.dts
> @@ -25,6 +25,9 @@
>                 i2c5 = "/i2c@12cb0000";
>                 i2c6 = "/i2c@12cc0000";
>                 i2c7 = "/i2c@12cd0000";
> +               spi0 = "/spi@12d20000";
> +               spi1 = "/spi@12d30000";
> +               spi2 = "/spi@12d40000";

Do you plan to support the other two SPI ports?

>         };
>
>         sromc@12250000 {
> --
> 1.7.4.4
>

Regards,
Simon
Rajeshwari Birje - Dec. 4, 2012, 9:03 a.m.
Hi Simon,

Will add the other two SPI ports and submit the patches.

Regards,
Rajeshwari Shinde.

On Tue, Dec 4, 2012 at 6:37 AM, Simon Glass <sjg@chromium.org> wrote:
> Hi Rajeshwari,
>
> On Mon, Dec 3, 2012 at 2:40 AM, Rajeshwari Shinde
> <rajeshwari.s@samsung.com> wrote:
>> This patch adds aliases for SPI.
>>
>> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
>> ---
>>  board/samsung/dts/exynos5250-smdk5250.dts |    3 +++
>>  1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
>> index 1562721..4d51d98 100644
>> --- a/board/samsung/dts/exynos5250-smdk5250.dts
>> +++ b/board/samsung/dts/exynos5250-smdk5250.dts
>> @@ -25,6 +25,9 @@
>>                 i2c5 = "/i2c@12cb0000";
>>                 i2c6 = "/i2c@12cc0000";
>>                 i2c7 = "/i2c@12cd0000";
>> +               spi0 = "/spi@12d20000";
>> +               spi1 = "/spi@12d30000";
>> +               spi2 = "/spi@12d40000";
>
> Do you plan to support the other two SPI ports?
>
>>         };
>>
>>         sromc@12250000 {
>> --
>> 1.7.4.4
>>
>
> Regards,
> Simon
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

Patch

diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
index 1562721..4d51d98 100644
--- a/board/samsung/dts/exynos5250-smdk5250.dts
+++ b/board/samsung/dts/exynos5250-smdk5250.dts
@@ -25,6 +25,9 @@ 
 		i2c5 = "/i2c@12cb0000";
 		i2c6 = "/i2c@12cc0000";
 		i2c7 = "/i2c@12cd0000";
+		spi0 = "/spi@12d20000";
+		spi1 = "/spi@12d30000";
+		spi2 = "/spi@12d40000";
 	};
 
 	sromc@12250000 {