Commit 6ea8d6f
lopper: assists: gen_domain_dts: Generate rtc-counter wrapper for xlnx,zynqmp-rtc
Create a zephyr,rtc-counter child node under the generated
xlnx,zynqmp-rtc node and update the rtc alias to point to the
wrapper node used by the Zephyr RTC framework.
Also correct the fallback RTC clock frequency from 32767 Hz to
32768 Hz.
This enables RTC samples and tests to access the Xilinx RTC
through the upstream rtc-counter based architecture.
Signed-off-by: Vivek Nagamalla <vivek.nagamalla@amd.com>1 parent 4b1ac26 commit 6ea8d6f
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
851 | 851 | | |
852 | 852 | | |
853 | 853 | | |
854 | | - | |
| 854 | + | |
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
| |||
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
| 913 | + | |
| 914 | + | |
913 | 915 | | |
914 | 916 | | |
915 | | - | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
916 | 924 | | |
917 | 925 | | |
918 | 926 | | |
| |||
0 commit comments