lkml.org 
[lkml]   [2015]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board
Hi, Boris

On 2/9/2015 5:24 PM, Boris Brezillon wrote:
> Hi Josh,
>
> On Mon, 9 Feb 2015 17:17:03 +0800
> Josh Wu <josh.wu@atmel.com> wrote:
>
>> Add at91 sama5d4 xplained board support.
>>
>> Signed-off-by: Josh Wu <josh.wu@atmel.com>
>> ---
>>
>> Changes in v2:
>> - to be sorted by memory address, put the adc dt node after usart4.
>>
>> arch/arm/boot/dts/Makefile | 1 +
>> arch/arm/boot/dts/at91-sama5d4_xplained.dts | 232 ++++++++++++++++++++++++++++
>> 2 files changed, 233 insertions(+)
>> create mode 100644 arch/arm/boot/dts/at91-sama5d4_xplained.dts
>>
>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>> index 91bd5bd..bbfbad6 100644
>> --- a/arch/arm/boot/dts/Makefile
>> +++ b/arch/arm/boot/dts/Makefile
>> @@ -49,6 +49,7 @@ dtb-$(CONFIG_ARCH_AT91) += sama5d34ek.dtb
>> dtb-$(CONFIG_ARCH_AT91) += sama5d35ek.dtb
>> dtb-$(CONFIG_ARCH_AT91) += sama5d36ek.dtb
>> # sama5d4
>> +dtb-$(CONFIG_ARCH_AT91) += at91-sama5d4_xplained.dtb
>> dtb-$(CONFIG_ARCH_AT91) += at91-sama5d4ek.dtb
>>
>> dtb-$(CONFIG_ARCH_ATLAS6) += atlas6-evb.dtb
>> diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
>> new file mode 100644
>> index 0000000..a04c3c8
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
>> @@ -0,0 +1,232 @@
>> +/*
>> + * at91-sama5d4_xplained.dts - Device Tree file for SAMA5D4 Xplained board
>> + *
>> + * Copyright (C) 2015 Atmel,
>> + * 2015 Josh Wu <josh.wu@atmel.com>
>> + *
> [...]
>
>> + ahb {
>> + apb {
>> + spi0: spi@f8010000 {
>> + cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
>> + status = "okay";
>> + m25p80@0 {
>> + compatible = "atmel,at25df321a";
>> + spi-max-frequency = <50000000>;
>> + reg = <0>;
>> + };
>> + };
>> +
>> + macb0: ethernet@f8020000 {
>> + phy-mode = "rmii";
>> + status = "okay";
> Could you define the PHY device attached to this ethernet MAC IP ?
>
>
> ethernet-phy@1 {
> reg = <0x1>;
> /*
> * interrupt-parent = <&pioB>;
> * interrupts = <25
> * IRQ_TYPE_EDGE_FALLING>;
> */
> /* ... */
> };
Ok, I will add this in next version. Thanks.

Best Regards,
Josh Wu

>
>
> Best Regards,
>
> Boris
>



\
 
 \ /
  Last update: 2015-02-09 11:01    [W:0.051 / U:3.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site