Home
last modified time | relevance | path

Searched refs:edt (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/
Dtest_edtlib.py62 edt = edtlib.EDT("test.dts", ["test-bindings"])
66 assert str(edt.get_node("/interrupt-parent-test/node").interrupts) == \
69 assert str(edt.get_node("/interrupts-extended-test/node").interrupts) == \
72 assert str(edt.get_node("/interrupt-map-test/node@0").interrupts) == \
75 assert str(edt.get_node("/interrupt-map-test/node@1").interrupts) == \
78 assert str(edt.get_node("/interrupt-map-bitops-test/node@70000000E").interrupts) == \
84 edt = edtlib.EDT("test.dts", ["test-bindings"])
86 assert str(edt.get_node("/reg-zero-address-cells/node").regs) == \
89 assert str(edt.get_node("/reg-zero-size-cells/node").regs) == \
92 assert str(edt.get_node("/reg-ranges/parent/node").regs) == \
[all …]
/Zephyr-Core-2.7.6/scripts/kconfig/
Dkconfigfunctions.py27 edt = pickle.load(f) variable
29 edt = None
54 if doc_mode or edt is None:
57 node = edt.chosen_node(chosen)
72 if doc_mode or edt is None:
75 node = edt.chosen_node(chosen)
84 if doc_mode or edt is None:
87 node = edt.chosen_node(chosen)
104 if doc_mode or edt is None:
117 node = edt.get_node(node)
[all …]
/Zephyr-Core-2.7.6/scripts/pylib/twister/
Dexpr_parser.py202 def ast_expr(ast, env, edt): argument
204 return not ast_expr(ast[1], env, edt)
206 return ast_expr(ast[1], env, edt) or ast_expr(ast[2], env, edt)
208 return ast_expr(ast[1], env, edt) and ast_expr(ast[2], env, edt)
229 for node in edt.nodes:
235 for node in edt.nodes:
253 return ast_handle_dt_enabled_alias_with_parent_compat(edt, alias,
265 return ast_handle_dt_enabled_alias_with_parent_compat(edt, alias,
270 node = edt.label2node.get(label)
278 node = edt.chosen_node(chosen)
[all …]
Dtwisterlib.py2172 edt = pickle.load(f)
2174 edt = None
2175 res = expr_parser.parse(self.testcase.tc_filter, filter_data, edt)
/Zephyr-Core-2.7.6/scripts/dts/
Dgen_defines.py65 edt = edtlib.EDT(args.dts, args.bindings_dirs,
80 print(edt.dts_source, file=f)
97 for compat, nodes in edt.compat2nodes.items():
98 edt.compat2nodes[compat] = sorted(
103 write_top_comment(edt)
107 for node in sorted(edt.nodes, key=lambda node: node.dep_ordinal):
110 for node in sorted(edt.nodes, key=lambda node: node.dep_ordinal):
133 write_chosen(edt)
134 write_global_compat_info(edt)
136 write_device_extern_header(args.device_header_out, edt)
[all …]
Dgen_dts_cmake.py67 edt = pickle.load(f)
86 for node in edt.chosen_nodes:
87 path = edt.chosen_nodes[node].path
90 for node in edt.nodes:
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py413 node.edt = self
708 return self.edt._node2enode.get(self._node.parent)
716 return OrderedDict((name, self.edt._node2enode[node])
722 return self.edt._graph.required_by(self)
727 return self.edt._graph.depends_on(self)
828 if self.path in self.edt._infer_binding_for_paths:
841 if (compat, on_bus) in self.edt._compat2binding:
842 binding = self.edt._compat2binding[compat, on_bus]
843 elif (compat, None) in self.edt._compat2binding:
844 binding = self.edt._compat2binding[compat, None]
[all …]
/Zephyr-Core-2.7.6/scripts/
Dgen_handles.py175 edt = pickle.load(f)
205 node = edt.dep_ord2node[hdls[0]] if (hdls and hdls[0] != 0) else None
258 n = edt
264 root = edt.dep_ord2node[0]
/Zephyr-Core-2.7.6/scripts/west_commands/runners/
Dbossac.py113 edt = pickle.load(f)
115 return edt.chosen_node('zephyr,code-partition')
/Zephyr-Core-2.7.6/cmake/
Ddts.cmake22 set(EDT_PICKLE ${PROJECT_BINARY_DIR}/edt.pickle)
230 # Run gen_defines.py to create a header file, zephyr.dts, and edt.pickle.
241 --edt-pickle-out ${EDT_PICKLE}
260 --edt-pickle ${EDT_PICKLE}
/Zephyr-Core-2.7.6/scripts/west_commands/
Dsign.py329 edt = pickle.load(f)
333 flash = edt.chosen_node('zephyr,flash')
/Zephyr-Core-2.7.6/dts/bindings/
Dvendor-prefixes.txt171 edt Emerging Display Technologies