Home
last modified time | relevance | path

Searched refs:subnode (Results 1 – 25 of 70) sorted by relevance

123

/u-boot/test/dm/
A Dfdtdec.c70 int blob_sz, parent, subnode; in dm_test_fdtdec_add_reserved_memory() local
89 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region"); in dm_test_fdtdec_add_reserved_memory()
90 ut_assert(subnode > 0); in dm_test_fdtdec_add_reserved_memory()
93 addr = fdtdec_get_addr_size_auto_parent(blob, parent, subnode, in dm_test_fdtdec_add_reserved_memory()
99 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region1"); in dm_test_fdtdec_add_reserved_memory()
100 ut_assert(subnode < 0); in dm_test_fdtdec_add_reserved_memory()
106 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region1"); in dm_test_fdtdec_add_reserved_memory()
107 ut_assert(subnode > 0); in dm_test_fdtdec_add_reserved_memory()
110 ut_assert(fdt_getprop(blob, subnode, "no-map", NULL) > 0); in dm_test_fdtdec_add_reserved_memory()
123 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region2"); in dm_test_fdtdec_add_reserved_memory()
[all …]
/u-boot/tools/binman/etype/
A Dfiles.py54 subnode = self._node.FindNode(name)
55 if not subnode:
56 subnode = state.AddSubnode(self._node, name)
57 state.AddString(subnode, 'type', 'blob')
58 state.AddString(subnode, 'filename', fname)
59 state.AddString(subnode, 'compress', self._files_compress)
61 state.AddInt(subnode, 'align', self._files_align)
A Dfit.py186 for subnode in node.subnodes:
187 if has_images and not (subnode.name.startswith('hash') or
188 subnode.name.startswith('signature')):
193 elif subnode.name.startswith('@'):
197 node_name = subnode.name[1:].replace('SEQ',
201 for pname, prop in subnode.props.items():
220 with fsw.add_node(subnode.name):
221 _AddNode(base_node, depth + 1, subnode)
A Dfdtmap.py100 for subnode in node.subnodes:
101 with fsw.add_node(subnode.name):
102 _AddNode(subnode)
/u-boot/lib/efi_loader/
A Defi_dt_fixup.c56 int nodeoffset, subnode; in efi_carve_out_dt_rsv() local
70 subnode = fdt_first_subnode(fdt, nodeoffset); in efi_carve_out_dt_rsv()
71 while (subnode >= 0) { in efi_carve_out_dt_rsv()
77 fdt, nodeoffset, subnode, in efi_carve_out_dt_rsv()
84 fdtdec_get_is_enabled(fdt, subnode)) { in efi_carve_out_dt_rsv()
87 nomap = !!fdt_getprop(fdt, subnode, "no-map", in efi_carve_out_dt_rsv()
91 subnode = fdt_next_subnode(fdt, subnode); in efi_carve_out_dt_rsv()
/u-boot/test/optee/
A Dcmd_ut_optee.c54 int offs, subnode; in optee_fdt_protected_memory() local
68 subnode = fdt_first_subnode(fdt, offs); in optee_fdt_protected_memory()
69 ut_assert(subnode); in optee_fdt_protected_memory()
72 while (subnode >= 0) { in optee_fdt_protected_memory()
73 const char *name = fdt_get_name(fdt, subnode, NULL); in optee_fdt_protected_memory()
85 ut_assertok(fdt_get_resource(fdt, subnode, "reg", 0, &res)); in optee_fdt_protected_memory()
86 subnode = fdt_next_subnode(fdt, subnode); in optee_fdt_protected_memory()
/u-boot/drivers/phy/marvell/
A Dcomphy_core.c84 int subnode; in comphy_probe() local
133 fdt_for_each_subnode(subnode, blob, node) { in comphy_probe()
135 if (!fdtdec_get_is_enabled(blob, subnode)) in comphy_probe()
139 blob, subnode, "phy-speed", PHY_TYPE_INVALID); in comphy_probe()
141 blob, subnode, "phy-type", PHY_SPEED_INVALID); in comphy_probe()
143 blob, subnode, "phy-invert", PHY_POLARITY_NO_INVERT); in comphy_probe()
144 comphy_map_data[lane].clk_src = fdtdec_get_bool(blob, subnode, in comphy_probe()
146 comphy_map_data[lane].end_point = fdtdec_get_bool(blob, subnode, in comphy_probe()
/u-boot/lib/optee/
A Doptee.c126 int nodeoffset, subnode, ret; in optee_copy_fdt_nodes() local
160 for (subnode = fdt_first_subnode(old_blob, nodeoffset); in optee_copy_fdt_nodes()
161 subnode >= 0; in optee_copy_fdt_nodes()
162 subnode = fdt_next_subnode(old_blob, subnode)) { in optee_copy_fdt_nodes()
164 subnode, NULL); in optee_copy_fdt_nodes()
173 ret = fdt_get_resource(old_blob, subnode, "reg", 0, in optee_copy_fdt_nodes()
/u-boot/arch/arm/mach-k3/
A Dcommon.c233 int ret, node, subnode, len, prev_node; in fdt_fixup_msmc_ram() local
272 subnode = fdt_first_subnode(blob, node); in fdt_fixup_msmc_ram()
276 while (subnode >= 0) { in fdt_fixup_msmc_ram()
277 sub_reg = fdt_getprop(blob, subnode, "reg", &len); in fdt_fixup_msmc_ram()
282 subnode, addr, size); in fdt_fixup_msmc_ram()
286 fdt_del_node(blob, subnode); in fdt_fixup_msmc_ram()
287 debug("%s: deleting subnode %d\n", __func__, subnode); in fdt_fixup_msmc_ram()
289 subnode = fdt_first_subnode(blob, node); in fdt_fixup_msmc_ram()
291 subnode = fdt_next_subnode(blob, prev_node); in fdt_fixup_msmc_ram()
293 prev_node = subnode; in fdt_fixup_msmc_ram()
[all …]
/u-boot/drivers/power/pmic/
A Dpalmas.c48 ofnode subnode; in palmas_bind() local
51 dev_for_each_subnode(subnode, dev) { in palmas_bind()
55 name = ofnode_get_name(subnode); in palmas_bind()
58 pmic_node = subnode; in palmas_bind()
/u-boot/drivers/spi/
A Dcadence_qspi.c288 ofnode subnode; in cadence_spi_of_to_plat() local
304 subnode = dev_read_first_subnode(bus); in cadence_spi_of_to_plat()
305 if (!ofnode_valid(subnode)) { in cadence_spi_of_to_plat()
311 plat->max_hz = ofnode_read_u32_default(subnode, "spi-max-frequency", in cadence_spi_of_to_plat()
315 plat->page_size = ofnode_read_u32_default(subnode, "page-size", 256); in cadence_spi_of_to_plat()
316 plat->block_size = ofnode_read_u32_default(subnode, "block-size", 16); in cadence_spi_of_to_plat()
317 plat->tshsl_ns = ofnode_read_u32_default(subnode, "cdns,tshsl-ns", in cadence_spi_of_to_plat()
319 plat->tsd2d_ns = ofnode_read_u32_default(subnode, "cdns,tsd2d-ns", in cadence_spi_of_to_plat()
321 plat->tchsh_ns = ofnode_read_u32_default(subnode, "cdns,tchsh-ns", 20); in cadence_spi_of_to_plat()
322 plat->tslch_ns = ofnode_read_u32_default(subnode, "cdns,tslch-ns", 20); in cadence_spi_of_to_plat()
/u-boot/board/Marvell/octeontx/
A Dboard-fdt.c61 int subnode, i; in fdt_parse_phy_info() local
98 fdt_for_each_subnode(subnode, fdt, node) { in fdt_parse_phy_info()
100 val = fdt_getprop(fdt, subnode, "reg", &len); in fdt_parse_phy_info()
106 val = fdt_getprop(fdt, subnode, "phy-handle", &len); in fdt_parse_phy_info()
124 val = fdt_getprop(fdt, subnode, in fdt_parse_phy_info()
233 int subnode, i = 0; in fdt_board_get_ethaddr() local
251 fdt_for_each_subnode(subnode, fdt, node) { in fdt_board_get_ethaddr()
255 mac = fdt_getprop(fdt, subnode, "local-mac-address", &len); in fdt_board_get_ethaddr()
/u-boot/doc/device-tree-bindings/sysinfo/
A Dsmbios.txt15 An optional 'smbios' subnode can be used to provide these properties. Within
25 Within each subnode the following tables are recognised:
27 "system" subnode optional properties:
37 "baseboard" subnode optional properties:
44 "chassis" subnode optional properties:
/u-boot/doc/device-tree-bindings/pmic/
A Dmax77686.txt17 To bind each regulator, the optional regulators subnode should exists.
19 Optional subnode:
20 - voltage-regulators: subnode list of each device's regulator
/u-boot/drivers/core/
A Dof_extra.c17 ofnode subnode; in ofnode_read_fmap_entry() local
41 subnode = ofnode_find_subnode(node, "hash"); in ofnode_read_fmap_entry()
42 if (ofnode_valid(subnode)) { in ofnode_read_fmap_entry()
43 prop = ofnode_read_prop(subnode, "value", &entry->hash_size); in ofnode_read_fmap_entry()
/u-boot/arch/arm/mach-tegra/
A Dxusb-padctl-common.c223 ofnode subnode; in tegra_xusb_padctl_config_parse_dt() local
227 ofnode_for_each_subnode(subnode, node) { in tegra_xusb_padctl_config_parse_dt()
233 err = tegra_xusb_padctl_group_parse_dt(padctl, group, subnode); in tegra_xusb_padctl_config_parse_dt()
248 ofnode subnode; in tegra_xusb_padctl_parse_dt() local
257 ofnode_for_each_subnode(subnode, node) { in tegra_xusb_padctl_parse_dt()
260 debug("%s: subnode=%s\n", __func__, ofnode_get_name(subnode)); in tegra_xusb_padctl_parse_dt()
262 subnode); in tegra_xusb_padctl_parse_dt()
/u-boot/drivers/video/
A Dnexell_display.c180 ofnode subnode; in nx_display_parse_dp_planes() local
182 ofnode_for_each_subnode(subnode, node) { in nx_display_parse_dp_planes()
183 name = ofnode_get_name(subnode); in nx_display_parse_dp_planes()
186 nx_display_parse_dp_top_layer(subnode, &dp->top); in nx_display_parse_dp_planes()
197 nx_display_parse_dp_layer(subnode, &dp->planes[0]); in nx_display_parse_dp_planes()
340 ofnode subnode; in nx_display_parse_dt() local
351 ofnode_for_each_subnode(subnode, dev_ofnode(dev)) { in nx_display_parse_dt()
352 name = ofnode_get_name(subnode); in nx_display_parse_dt()
356 nx_display_parse_dp_sync(subnode, &dp->sync); in nx_display_parse_dt()
361 nx_display_parse_dp_ctrl(subnode, &dp->ctrl); in nx_display_parse_dt()
[all …]
/u-boot/lib/
A Dfdtdec_common.c60 int subnode; in fdtdec_get_child_count() local
63 fdt_for_each_subnode(subnode, blob, node) in fdtdec_get_child_count()
/u-boot/drivers/i2c/muxes/
A Di2c-mux-gpio.c80 int i = 0, subnode, ret; in i2c_mux_gpio_probe() local
90 fdt_for_each_subnode(subnode, fdt, node) { in i2c_mux_gpio_probe()
91 *(values + i) = fdtdec_get_uint(fdt, subnode, "reg", -1); in i2c_mux_gpio_probe()
/u-boot/scripts/dtc/
A Ddtc-parser.y89 %type <node> subnode
519 | subnode subnodes
523 | subnode propdef
530 subnode:
539 | DT_OMIT_NO_REF subnode
543 | DT_LABEL subnode
/u-boot/tools/dtoc/
A Dfdt.py281 for subnode in self.subnodes:
282 if subnode.name == name:
283 return subnode
328 for subnode in self.subnodes:
329 if subnode.name != fdt_obj.get_name(offset):
331 (subnode.name, fdt_obj.get_name(offset)))
332 subnode.Refresh(offset)
488 subnode = Node(self._fdt, self, None, name, path)
489 self.subnodes.append(subnode)
490 return subnode
/u-boot/common/
A Dimage-fdt.c107 int nodeoffset, subnode; in boot_fdt_add_mem_rsv_regions() local
124 subnode = fdt_first_subnode(fdt_blob, nodeoffset); in boot_fdt_add_mem_rsv_regions()
125 while (subnode >= 0) { in boot_fdt_add_mem_rsv_regions()
127 ret = fdt_get_resource(fdt_blob, subnode, "reg", 0, in boot_fdt_add_mem_rsv_regions()
129 if (!ret && fdtdec_get_is_enabled(fdt_blob, subnode)) { in boot_fdt_add_mem_rsv_regions()
135 subnode = fdt_next_subnode(fdt_blob, subnode); in boot_fdt_add_mem_rsv_regions()
/u-boot/doc/device-tree-bindings/sound/
A Dsnow.txt13 - 'cpu' subnode with a 'sound-dai' property containing the phandle of the I2S
15 - 'codec' subnode with a 'sound-dai' property containing list of phandles
/u-boot/doc/device-tree-bindings/memory/
A Dmemory.txt16 Each subnode must define
18 reg - board ID or mask for this subnode
21 Each subnode may optionally define:
/u-boot/doc/device-tree-bindings/regulator/
A Dmax77686.txt12 Required subnode:
25 (subnode of max77686 pmic node)

Completed in 25 milliseconds

123