[PATCH v2 1/2] arm/dts: AM33XX: Add D_CAN device tree data

Daniel Mack zonque at gmail.com
Thu Jul 26 04:36:55 EDT 2012


On 25.07.2012 14:43, Sergei Shtylyov wrote:
> Hello.
> 
> On 25-07-2012 16:23, AnilKumar Ch wrote:
> 
>> Add Bosch D_CAN controller device tree data to AM33XX dtsi file
>> by adding d_can device node with all the necessary parameters.
> 
>> Signed-off-by: AnilKumar Ch <anilkumar at ti.com>
>> ---
>>   arch/arm/boot/dts/am33xx.dtsi |    5 +++++
>>   1 file changed, 5 insertions(+)
> 
>> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
>> index 9b974dc..2db2ffb 100644
>> --- a/arch/arm/boot/dts/am33xx.dtsi
>> +++ b/arch/arm/boot/dts/am33xx.dtsi
>> @@ -163,5 +163,10 @@
>>   			#size-cells = <0>;
>>   			ti,hwmods = "i2c3";
>>   		};
>> +
>> +		dcan1: d_can at 481D0000 {
> 
>     Address postfix in the node name and no "reg" property?

This still works due to the hwmod mappings OMAP relies on. I would still
put it there, so the switch to real DT definitions will be less painful.


Daniel




More information about the linux-arm-kernel mailing list