Lines Matching refs:DT_NODELABEL

17 #define GET_CLK_SOURCE_ORD(N)  DT_DEP_ORD(DT_CLOCKS_CTLR_BY_IDX(DT_NODELABEL(N), 0))
21 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_imo))
25 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_iho))
29 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux0))
33 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux1))
37 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux2))
41 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux3))
45 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux4))
49 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf0))
53 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf1))
57 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf2))
61 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf3))
65 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf4))
69 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf5))
73 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf6))
77 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf7))
81 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf8))
85 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf9))
89 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf10))
93 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf11))
97 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf12))
101 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf13))
105 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_fast))
109 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_slow))
113 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_peri))
117 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(pll0))
121 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(pll1))
125 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(fll0))
145 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_imo))
146 [INFINEON_CAT1_CLOCK_IMO] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_imo)) },
149 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_iho))
150 [INFINEON_CAT1_CLOCK_IHO] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_iho)) },
153 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux0))
154 [INFINEON_CAT1_CLOCK_PATHMUX0] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(path_mux0)) },
157 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux1))
158 [INFINEON_CAT1_CLOCK_PATHMUX1] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(path_mux1)) },
161 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux2))
162 [INFINEON_CAT1_CLOCK_PATHMUX2] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(path_mux2)) },
165 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux3))
166 [INFINEON_CAT1_CLOCK_PATHMUX3] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(path_mux3)) },
169 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux4))
170 [INFINEON_CAT1_CLOCK_PATHMUX4] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(path_mux4)) },
173 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf0))
174 [INFINEON_CAT1_CLOCK_HF0] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf0)) },
177 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf1))
178 [INFINEON_CAT1_CLOCK_HF1] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf1)) },
181 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf2))
182 [INFINEON_CAT1_CLOCK_HF2] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf2)) },
185 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf3))
186 [INFINEON_CAT1_CLOCK_HF3] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf3)) },
189 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf4))
190 [INFINEON_CAT1_CLOCK_HF4] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf4)) },
193 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf5))
194 [INFINEON_CAT1_CLOCK_HF5] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf5)) },
197 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf6))
198 [INFINEON_CAT1_CLOCK_HF6] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf6)) },
201 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf7))
202 [INFINEON_CAT1_CLOCK_HF7] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf7)) },
205 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf8))
206 [INFINEON_CAT1_CLOCK_HF8] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf8)) },
209 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf9))
210 [INFINEON_CAT1_CLOCK_HF9] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf9)) },
213 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf10))
214 [INFINEON_CAT1_CLOCK_HF10] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf10)) },
217 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf11))
218 [INFINEON_CAT1_CLOCK_HF11] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf11)) },
221 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf12))
222 [INFINEON_CAT1_CLOCK_HF12] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf12)) },
225 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf13))
226 [INFINEON_CAT1_CLOCK_HF13] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_hf13)) },
229 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_fast))
230 [INFINEON_CAT1_CLOCK_FAST] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_fast)) },
233 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_slow))
234 [INFINEON_CAT1_CLOCK_SLOW] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_slow)) },
237 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_peri))
238 [INFINEON_CAT1_CLOCK_PERI] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(clk_peri)) },
241 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(pll0))
242 [INFINEON_CAT1_CLOCK_PLL0] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(pll0)) },
245 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(pll1))
246 [INFINEON_CAT1_CLOCK_PLL1] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(pll1)) },
249 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(fll0))
250 [INFINEON_CAT1_CLOCK_FLL0] = { .dt_ord = DT_DEP_ORD(DT_NODELABEL(fll0)) },
329 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(dpll_hp))
393 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_imo)) in clock_control_infineon_cat1_init()
399 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_iho)) in clock_control_infineon_cat1_init()
405 #if !DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_imo)) && \ in clock_control_infineon_cat1_init()
406 !DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_iho)) in clock_control_infineon_cat1_init()
411 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux0)) in clock_control_infineon_cat1_init()
421 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux1)) in clock_control_infineon_cat1_init()
431 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux2)) in clock_control_infineon_cat1_init()
441 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux3)) in clock_control_infineon_cat1_init()
451 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(path_mux4)) in clock_control_infineon_cat1_init()
461 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(fll0)) in clock_control_infineon_cat1_init()
463 frequency = DT_PROP(DT_NODELABEL(fll0), clock_frequency); in clock_control_infineon_cat1_init()
473 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(pll0)) in clock_control_infineon_cat1_init()
475 frequency = DT_PROP(DT_NODELABEL(pll0), clock_frequency); in clock_control_infineon_cat1_init()
486 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(pll1)) in clock_control_infineon_cat1_init()
488 frequency = DT_PROP(DT_NODELABEL(pll1), clock_frequency); in clock_control_infineon_cat1_init()
498 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf0)) in clock_control_infineon_cat1_init()
501 clock_div = DT_PROP(DT_NODELABEL(clk_hf0), clock_div); in clock_control_infineon_cat1_init()
509 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf1)) in clock_control_infineon_cat1_init()
512 clock_div = DT_PROP(DT_NODELABEL(clk_hf1), clock_div); in clock_control_infineon_cat1_init()
520 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf2)) in clock_control_infineon_cat1_init()
523 clock_div = DT_PROP(DT_NODELABEL(clk_hf2), clock_div); in clock_control_infineon_cat1_init()
531 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf3)) in clock_control_infineon_cat1_init()
534 clock_div = DT_PROP(DT_NODELABEL(clk_hf3), clock_div); in clock_control_infineon_cat1_init()
542 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf4)) in clock_control_infineon_cat1_init()
545 clock_div = DT_PROP(DT_NODELABEL(clk_hf4), clock_div); in clock_control_infineon_cat1_init()
553 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf5)) in clock_control_infineon_cat1_init()
556 clock_div = DT_PROP(DT_NODELABEL(clk_hf5), clock_div); in clock_control_infineon_cat1_init()
564 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf6)) in clock_control_infineon_cat1_init()
567 clock_div = DT_PROP(DT_NODELABEL(clk_hf6), clock_div); in clock_control_infineon_cat1_init()
575 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf7)) in clock_control_infineon_cat1_init()
578 clock_div = DT_PROP(DT_NODELABEL(clk_hf7), clock_div); in clock_control_infineon_cat1_init()
586 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf8)) in clock_control_infineon_cat1_init()
589 clock_div = DT_PROP(DT_NODELABEL(clk_hf8), clock_div); in clock_control_infineon_cat1_init()
597 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf9)) in clock_control_infineon_cat1_init()
600 clock_div = DT_PROP(DT_NODELABEL(clk_hf9), clock_div); in clock_control_infineon_cat1_init()
608 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf10)) in clock_control_infineon_cat1_init()
611 clock_div = DT_PROP(DT_NODELABEL(clk_hf10), clock_div); in clock_control_infineon_cat1_init()
619 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf11)) in clock_control_infineon_cat1_init()
622 clock_div = DT_PROP(DT_NODELABEL(clk_hf11), clock_div); in clock_control_infineon_cat1_init()
630 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf12)) in clock_control_infineon_cat1_init()
633 clock_div = DT_PROP(DT_NODELABEL(clk_hf12), clock_div); in clock_control_infineon_cat1_init()
641 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_hf13)) in clock_control_infineon_cat1_init()
644 clock_div = DT_PROP(DT_NODELABEL(clk_hf13), clock_div); in clock_control_infineon_cat1_init()
652 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_fast)) in clock_control_infineon_cat1_init()
654 clock_div = DT_PROP(DT_NODELABEL(clk_fast), clock_div); in clock_control_infineon_cat1_init()
666 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_peri)) in clock_control_infineon_cat1_init()
668 clock_div = DT_PROP(DT_NODELABEL(clk_peri), clock_div); in clock_control_infineon_cat1_init()
680 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_slow)) in clock_control_infineon_cat1_init()
682 clock_div = DT_PROP(DT_NODELABEL(clk_slow), clock_div); in clock_control_infineon_cat1_init()
693 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(dpll_hp)) in clock_control_infineon_cat1_init()
716 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_imo))
717 DEVICE_DT_DEFINE(DT_NODELABEL(clk_imo),
726 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(clk_iho))
727 DEVICE_DT_DEFINE(DT_NODELABEL(clk_iho),