On Sun, Apr 03, 2016 at 12:09:33PM -0400, Tom Rini wrote: > > Add a node for the Synopsys Designware Ethernet adapter available on > > Meson SoCs to the Meson GXBaby DTS files. The node is not present in > > DTS files used in Linux kernel. > > ... but why is this not yet in the kernel device tree? Has it just not > made it up from the SoC tree?
Because kernel doesn't have yet an Ethernet driver for Meson GXBaby to set the platform-specific registers needed to program the MII mode, clocks and other things (the settings that are in patch 9/9 of this submission). And without documentation it's hard to write one and get it right. So this patch adds a new uboot-only node to the DTS for Ethernet. This doesn't seem problematic to me WRT synchronization with kernel DTS because no new bindings or driver changes are needed; and whenever the same node will be added to kernel we'll only have to update it in u-boot. If it is not acceptable to have a DTS different to kernel one, I'll have to find a different solution, any suggestions? Should I use U_BOOT_DEVICE and platform_data inside the board file instead? Maybe I will submit v3 of the series without Ethernet while I figure out this. Beniamino _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot