Lines Matching +full:dts +full:- +full:node
6 # SPDX-License-Identifier: GPL-2.0+
21 Value to convert (4-character string representing the cell value)
24 A native-endian integer value
28 val = val.decode('utf-8')
36 Value to convert (array of one or more 4-character strings)
39 A native-endian long value
49 """Compile an fdt .dts source file into a .dtb binary blob if needed.
52 fname: Filename (if .dts it will be compiled). It not it will be
59 if ext != '.dts':
62 dts_input = tools.GetOutputFilename('source.dts')
67 args = ['-E', '-P', '-x', 'assembler-with-cpp', '-D__ASSEMBLY__']
68 args += ['-Ulinux']
70 args.extend(['-I', path])
71 args += ['-o', dts_input, fname]
77 search_list.extend(['-i', path])
78 args = ['-I', 'dts', '-o', dtb_output, '-O', 'dtb']
84 def GetInt(node, propname, default=None): argument
85 prop = node.props.get(propname)
90 raise ValueError("Node '%s' property '%' has list value: expecting"
91 "a single integer" % (node.name, propname))
94 def GetString(node, propname, default=None): argument
95 prop = node.props.get(propname)
100 raise ValueError("Node '%s' property '%' has list value: expecting"
101 "a single string" % (node.name, propname))
104 def GetBool(node, propname, default=False): argument
105 if propname in node.props: