2015-05-22 12:07 GMT+02:00 Philipp Zabel [off-list ref]:
The STM32F427xx/STM32F429xx manual, Table 13. "STM32F427xx and
STM32F429xx register boundary addresses" contains this entry:
Bus Boundary address Peripheral
AHB1 0x40023800-0x400238bf RCC
And that's how I'd expect it to be described by the device tree:
rcc: rcc@40023800 {
compatible = "st,stm32-rcc";
reg = <0x40023800 0xc0>;
};
Doing that, since this register bank contains both reset and clock
registers, the reset device cannot get the IO resource at probe time
because the clock driver has already reserved it.
Daniel, who has started to work on the clock driver is facing this issue.
This is why I proposed this binding for "reg" property.
We could think of creating a MFD driver, but the problem is that clock
need to be intialized before a MFD device can be probed.
Maybe there is a way to have you binding working properly, but I
haven't found one for now.
Regards,
Maxime