[U-Boot] [U-Boot PATCH v2 13/17] dts: zynq: Enable spi1 for zc770_xm010 board

Michal Simek michal.simek at xilinx.com
Tue Jun 16 15:34:49 CEST 2015


On 06/16/2015 01:28 PM, Jagan Teki wrote:
> Hi Michal,
> 
> On 10 May 2015 at 20:45, Jagan Teki <jteki at openedev.com> wrote:
>> This patch enables spi1 for zynq zc770_xm010 board dts.
>>
>> Signed-off-by: Jagan Teki <jteki at openedev.com>
>> Acked-by: Simon Glass <sjg at chromium.org>
>> Cc: Michal Simek <michal.simek at xilinx.com>
>> Cc: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
>> ---
>>  arch/arm/dts/zynq-zc770-xm010.dts | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/arm/dts/zynq-zc770-xm010.dts b/arch/arm/dts/zynq-zc770-xm010.dts
>> index 5e66174..e793a61 100644
>> --- a/arch/arm/dts/zynq-zc770-xm010.dts
>> +++ b/arch/arm/dts/zynq-zc770-xm010.dts
>> @@ -21,3 +21,7 @@
>>                 reg = <0 0x40000000>;
>>         };
>>  };
>> +
>> +&spi1 {
>> +       status = "okay";
>> +};
> 
> Did you find this, its not working with this type enabling in board
> dts instead it works only with
> aliases {
>                 serial0 = &uart1;
>                 spi1 = "/spi at e0007000";
>         };

Sorry I haven't had any time to test this but if you want to use aliases
please use &spi1 which does better job.

Thanks,
Michal




More information about the U-Boot mailing list