Subject: Re: [RFC PATCH 4/4] ARM: dts: am33xx: adopt to cpsw-phy-sel driver to configure phy mode

From: Mugunthan V N <[email-masked]>
Date: Mon, 9 Sep 2013 12:12:47 +0530

On Sunday 08 September 2013 11:34 PM, Sergei Shtylyov wrote:
> Hello.
>
> On 09/08/2013 03:23 PM, Mugunthan V N wrote:
>
>> Add DT entries for the phy mode selection in AM33xx SoC using
>> cpsw-phy-sel
>> driver.
>
>> Signed-off-by: Mugunthan V N <[email-masked]>
>> ---
>>   arch/arm/boot/dts/am33xx.dtsi | 6 ++++++
>>   1 file changed, 6 insertions(+)
>
>> diff --git a/arch/arm/boot/dts/am33xx.dtsi
>> b/arch/arm/boot/dts/am33xx.dtsi
>> index f9c5da9..4359672 100644
>> --- a/arch/arm/boot/dts/am33xx.dtsi
>> +++ b/arch/arm/boot/dts/am33xx.dtsi
>> @@ -594,6 +594,12 @@
>>                   /* Filled in by U-Boot */
>>                   mac-address = [ 00 00 00 00 00 00 ];
>>               };
>> +
>> +            phy_sel: cpsw_phy_sel@44e10650 {
>
>    Dashes are preferred to uderscores in the device tree names. 
I tried with dashes but i get the below error.

$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm dtbs
  DTC     arch/arm/boot/dts/am335x-evm.dtb
Error: arch/arm/boot/dts/am33xx.dtsi:598.11-12 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-evm.dtb] Error 1
make: *** [dtbs] Error 2

Regards
Mugunthan V N