
Dear Tom Rini,
In message 50C9D41B.7010800@ti.com you wrote:
Where would the device addresses come from - out of the device tree?
Board specific knowledge. I'd be tempted to add UART3 (iirc) into the am335x_evm default build so that we can support the Industrial DevKit variant out of the box, rather than needing one of the other _uartN builds. We can tell which board we're on at run-time already.
I'm afraid this doesn't scale. You are opening a can of worms here. The UART port may seem simple enough, but you set a precedent. Next comes some netowrk interface configuration, then if we have a RTC, followed by LCD properties, and so on.
We have two ways to configure hardware properties: - static configuration in the board config file - dynamic configuration through the device tree
Please do not start adding other methods.
Best regards,
Wolfgang Denk