I am trying to build AOSP Gingerbread for my Samsung Galaxy Y S5360. So I need the device tree for S5230. I have found it here. But it is for Cyagenmod.
Is it correct to use it in pure AOSP?
I do not see any reasons why you cannot do this. If the drivers in device tree are for the same version of Android, I guess you can download them. The only thing is you should be careful with overlay folder. There are some packages and resource values that can override (or add) unnecessary packages that can cause build fault.