Help about device tree

Hello!
I have built a simple cape for mi BBB (Rev A5C) that export some GPIO, an UART and I2C.
This cape have the eeprom, according to SRM.
How I can write DTS file without become crazy?
There is an IDE or so on?

Any help will be appreciated!

Actually , if you take a look about the dts file . you will find , its very simple .

http://lxr.free-electrons.com/source/arch/arm/boot/dts/am335x-bone-common.dtsi

http://lxr.free-electrons.com/source/arch/arm/boot/dts/am335x-evm.dts

This is the only what I can say, follow the sample , and modify to fit your own

how hard could it be

Hello!
I have built a simple cape for mi BBB (Rev A5C) that export some GPIO, an UART and I2C.
This cape have the eeprom, according to SRM.
How I can write DTS file without become crazy?
There is an IDE or so on?

Any help will be appreciated!

Which kernel version are you using? Devicetree uses overlays in V3.8 and there is also a cape manager in this kernel. However, in later kernels, you have to modify the am335x-boneblack.dts file directly to add the I/O definitions. The following docs will help you understand the device tree:

https://github.com/jadonk/validation-scripts/tree/master/test-capemgr
http://free-electrons.com/pub/conferences/2014/elc/petazzoni-device-tree-dummies/petazzoni-device-tree-dummies.pdf

Regards,
John