mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-05 02:50:44 +09:00
1fbca0db5d
Add support for enabling the first watchdog pointed via aliases. DT fragment: aliases { ... watchdog0 = &watchdog0; watchdog1 = &watchdog_lpd; ... }; dm tree fragment for above configuration with patch applied: ZynqMP> dm tree Class index Probed Driver Name ----------------------------------------- ... watchdog 0 [ ] cdns_wdt | |-- watchdog@ff150000 watchdog 1 [ + ] cdns_wdt | `-- watchdog@fd4d0000 ... dm uclass fragment: ZynqMP> dm uclass ... uclass 75: watchdog 0 watchdog@ff150000 @ 7df02f40, seq -1, (req 1) 1 * watchdog@fd4d0000 @ 7df02ff0, seq 0, (req 0) ... It is visible that index 1 is IP with seq 0 which means that FPD watchdog (@fd4d0000) is in DT below LPD watchdog (@ff150000). Till this patch the first watchdog found in DT was used and started which is not enabling all possible configuration based on user request. Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
||
---|---|---|
.. | ||
zynqmp-zc1232-revA | ||
zynqmp-zc1254-revA | ||
zynqmp-zc1275-revB | ||
zynqmp-zc1751-xm015-dc1 | ||
zynqmp-zc1751-xm016-dc2 | ||
zynqmp-zc1751-xm017-dc3 | ||
zynqmp-zc1751-xm018-dc4 | ||
zynqmp-zc1751-xm019-dc5 | ||
zynqmp-zcu100-revC | ||
zynqmp-zcu102-rev1.0 | ||
zynqmp-zcu102-revA | ||
zynqmp-zcu104-revA | ||
zynqmp-zcu106-revA | ||
cmds.c | ||
Kconfig | ||
MAINTAINERS | ||
Makefile | ||
sleep.h | ||
tap_delays.c | ||
xil_io.h | ||
zynqmp-zc1275-revA | ||
zynqmp-zcu104-revC | ||
zynqmp.c |