Lines Matching refs:node

65     node = edt.get_node("/interrupt-parent-test/node")
67 assert node.interrupts == [
68 …edtlib.ControllerAndData(node=node, controller=controller, data={'one': 1, 'two': 2, 'three': 3}, …
69 …edtlib.ControllerAndData(node=node, controller=controller, data={'one': 4, 'two': 5, 'three': 6}, …
72 node = edt.get_node("/interrupts-extended-test/node")
76 assert node.interrupts == [
77 …edtlib.ControllerAndData(node=node, controller=controller_0, data={'one': 1}, name=None, basename=…
78 …edtlib.ControllerAndData(node=node, controller=controller_1, data={'one': 2, 'two': 3}, name=None,…
79 …edtlib.ControllerAndData(node=node, controller=controller_2, data={'one': 4, 'two': 5, 'three': 6}…
82 node = edt.get_node("/interrupt-map-test/node@0")
87 assert node.interrupts == [
88 …edtlib.ControllerAndData(node=node, controller=controller_0, data={'one': 0}, name=None, basename=…
89 …edtlib.ControllerAndData(node=node, controller=controller_1, data={'one': 0, 'two': 1}, name=None,…
90 …edtlib.ControllerAndData(node=node, controller=controller_2, data={'one': 0, 'two': 0, 'three': 2}…
93 node = edt.get_node("/interrupt-map-test/node@1")
94 assert node.interrupts == [
95 …edtlib.ControllerAndData(node=node, controller=controller_0, data={'one': 3}, name=None, basename=…
96 …edtlib.ControllerAndData(node=node, controller=controller_1, data={'one': 0, 'two': 4}, name=None,…
97 …edtlib.ControllerAndData(node=node, controller=controller_2, data={'one': 0, 'two': 0, 'three': 5}…
100 node = edt.get_node("/interrupt-map-bitops-test/node@70000000E")
101 assert node.interrupts == [
102 …edtlib.ControllerAndData(node=node, controller=edt.get_node('/interrupt-map-bitops-test/controller…
110 node = edt.get_node("/reg-ranges/parent")
111 assert node.ranges == [
112 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0x1, parent_bus_cells=0x2, parent_bus_…
113 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0x2, parent_bus_cells=0x2, parent_bus_…
114 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0x4, parent_bus_cells=0x2, parent_bus_…
117 node = edt.get_node("/reg-nested-ranges/grandparent")
118 assert node.ranges == [
119 …edtlib.Range(node=node, child_bus_cells=0x2, child_bus_addr=0x0, parent_bus_cells=0x3, parent_bus_…
122 node = edt.get_node("/reg-nested-ranges/grandparent/parent")
123 assert node.ranges == [
124 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0x0, parent_bus_cells=0x2, parent_bus_…
129 node = edt.get_node("/ranges-zero-parent-cells/node")
130 assert node.ranges == [
131 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0xa, parent_bus_cells=0x0, parent_bus_…
132 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0x1a, parent_bus_cells=0x0, parent_bus…
133 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0x2a, parent_bus_cells=0x0, parent_bus…
136 node = edt.get_node("/ranges-one-address-cells/node")
137 assert node.ranges == [
138 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0xa, parent_bus_cells=0x0, parent_bus_…
139 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0x1a, parent_bus_cells=0x0, parent_bus…
140 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0x2a, parent_bus_cells=0x0, parent_bus…
143 node = edt.get_node("/ranges-one-address-two-size-cells/node")
144 assert node.ranges == [
145 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0xa, parent_bus_cells=0x0, parent_bus_…
146 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0x1a, parent_bus_cells=0x0, parent_bus…
147 …edtlib.Range(node=node, child_bus_cells=0x1, child_bus_addr=0x2a, parent_bus_cells=0x0, parent_bus…
150 node = edt.get_node("/ranges-two-address-cells/node@1")
151 assert node.ranges == [
152 …edtlib.Range(node=node, child_bus_cells=0x2, child_bus_addr=0xa0000000b, parent_bus_cells=0x1, par…
153 …edtlib.Range(node=node, child_bus_cells=0x2, child_bus_addr=0x1a0000001b, parent_bus_cells=0x1, pa…
154 …edtlib.Range(node=node, child_bus_cells=0x2, child_bus_addr=0x2a0000002b, parent_bus_cells=0x1, pa…
157 node = edt.get_node("/ranges-two-address-two-size-cells/node@1")
158 assert node.ranges == [
159 …edtlib.Range(node=node, child_bus_cells=0x2, child_bus_addr=0xa0000000b, parent_bus_cells=0x1, par…
160 …edtlib.Range(node=node, child_bus_cells=0x2, child_bus_addr=0x1a0000001b, parent_bus_cells=0x1, pa…
161 …edtlib.Range(node=node, child_bus_cells=0x2, child_bus_addr=0x2a0000002b, parent_bus_cells=0x1, pa…
164 node = edt.get_node("/ranges-three-address-cells/node@1")
165 assert node.ranges == [
166 …edtlib.Range(node=node, child_bus_cells=0x3, child_bus_addr=0xa0000000b0000000c, parent_bus_cells=…
167 …edtlib.Range(node=node, child_bus_cells=0x3, child_bus_addr=0x1a0000001b0000001c, parent_bus_cells…
168 …edtlib.Range(node=node, child_bus_cells=0x3, child_bus_addr=0x2a0000002b0000002c, parent_bus_cells…
171 node = edt.get_node("/ranges-three-address-two-size-cells/node@1")
172 assert node.ranges == [
173 …edtlib.Range(node=node, child_bus_cells=0x3, child_bus_addr=0xa0000000b0000000c, parent_bus_cells=…
174 …edtlib.Range(node=node, child_bus_cells=0x3, child_bus_addr=0x1a0000001b0000001c, parent_bus_cells…
175 …edtlib.Range(node=node, child_bus_cells=0x3, child_bus_addr=0x2a0000002b0000002c, parent_bus_cells…
183 def verify_regs(node, expected_tuples): argument
184 regs = node.regs
188 assert reg.node is node
217 node = edt.get_node("/pinctrl/dev")
220 assert node.pinctrls == [
221 edtlib.PinCtrl(node=node, name='zero', conf_nodes=[]),
222 edtlib.PinCtrl(node=node, name='one', conf_nodes=[state_1]),
223 edtlib.PinCtrl(node=node, name='two', conf_nodes=[state_1, state_2])
951 def verify_props(node, names, types, values): argument
956 prop = node.props[name]
960 assert prop.node is node
962 def verify_phandle_array_prop(node, name, values): argument
967 prop = node.props[name]