Searched refs:fdt_setprop_u32 (Results 1 - 25 of 32) sorted by relevance

12

/u-boot/arch/sandbox/lib/
H A Dfdt_fixup.c16 ret = fdt_setprop_u32(blob, ret, "boot-hartid", 1);
/u-boot/arch/arm/lib/
H A Dpsci-dt.c97 tmp = fdt_setprop_u32(fdt, nodeoff, "cpu_suspend",
101 tmp = fdt_setprop_u32(fdt, nodeoff, "cpu_off",
105 tmp = fdt_setprop_u32(fdt, nodeoff, "cpu_on",
109 tmp = fdt_setprop_u32(fdt, nodeoff, "migrate",
/u-boot/board/starfive/visionfive2/
H A Dspl.c143 fdt_setprop_u32(fdt, offset, "assigned-clocks", phandle);
145 fdt_setprop_u32(fdt, offset, "assigned-clock-parents", phandle);
157 ret = fdt_setprop_u32(fdt, offset, milk_v_mars[i].name,
184 fdt_setprop_u32(fdt, offset, "pinmux", 0xff130016);
209 fdt_setprop_u32(fdt, offset, "assigned-clocks", phandle);
214 fdt_setprop_u32(fdt, offset, "assigned-clock-parents", phandle);
228 ret = fdt_setprop_u32(fdt, offset, starfive_vera[i].name,
257 fdt_setprop_u32(fdt, offset, "assigned-clocks", phandle);
259 fdt_setprop_u32(fdt, offset, "assigned-clock-parents", phandle);
268 fdt_setprop_u32(fd
[all...]
/u-boot/drivers/crypto/fsl/
H A Dsec.c62 err = fdt_setprop_u32(blob, crypto_node, "fsl,num-channels",
68 err = fdt_setprop_u32(blob, crypto_node, "fsl,descriptor-types-mask",
74 err = fdt_setprop_u32(blob, crypto_node, "fsl,exec-units-mask",
80 err = fdt_setprop_u32(blob, crypto_node, "fsl,channel-fifo-len",
164 err = fdt_setprop_u32(blob, crypto_node, "fsl,sec-era", era);
/u-boot/cmd/
H A Dpstore.c514 fdt_setprop_u32(blob, nodeoffset, "#address-cells", addr_cells);
515 fdt_setprop_u32(blob, nodeoffset, "#size-cells", size_cells);
529 fdt_setprop_u32(blob, nodeoffset, "reg", pstore_addr);
547 fdt_setprop_u32(blob, nodeoffset, "record-size", pstore_record_size);
548 fdt_setprop_u32(blob, nodeoffset, "console-size", pstore_console_size);
549 fdt_setprop_u32(blob, nodeoffset, "ftrace-size", pstore_ftrace_size);
550 fdt_setprop_u32(blob, nodeoffset, "pmsg-size", pstore_pmsg_size);
551 fdt_setprop_u32(blob, nodeoffset, "ecc-size", pstore_ecc_size);
/u-boot/drivers/pci/
H A Dpcie_layerscape_fixup_common.c108 fdt_setprop_u32(fdt, off, "num-ib-windows", ib_wins);
109 fdt_setprop_u32(fdt, off, "num-ob-windows", ob_wins);
/u-boot/arch/arm/mach-k3/
H A Dam625_fdt.c55 if (fdt_setprop_u32(blob, trip, "temperature", 1000 * maxc) < 0)
/u-boot/board/Marvell/mvebu_armada-37xx/
H A Dboard.c467 ret = fdt_setprop_u32(blob, parts_off, "#address-cells", 1);
473 ret = fdt_setprop_u32(blob, parts_off, "#size-cells", 1);
487 ret = fdt_setprop_u32(blob, part_off, "reg", CONFIG_ENV_OFFSET);
513 ret = fdt_setprop_u32(blob, part_off, "reg", 0);
/u-boot/arch/riscv/lib/
H A Dfdt_fixup.c157 err = fdt_setprop_u32(blob, chosen_offset, "boot-hartid",
/u-boot/arch/arm/mach-omap2/omap5/
H A Dfdt.c267 ret = fdt_setprop_u32(fdt, node_offs, "assigned-clocks",
275 ret = fdt_setprop_u32(fdt, node_offs, "assigned-clock-rates",
/u-boot/board/freescale/lx2160a/
H A Dlx2160a.c692 fdt_setprop_u32 (blob, noff, "#address-cells", 1);
693 fdt_setprop_u32 (blob, noff, "#size-cells", 0);
694 fdt_setprop_u32 (blob, noff, "reg", channel);
701 fdt_setprop_u32 (blob, offset, "reg", reg);
710 fdt_setprop_u32 (blob, offset, "vcc-supply", phandle);
/u-boot/lib/aes/
H A Daes-encrypt.c145 ret = fdt_setprop_u32(keydest, node, "key-len",
/u-boot/boot/
H A Dfdt_support.c188 return fdt_setprop_u32(fdt, nodeoffset, name, (uint32_t)val);
663 fdt_setprop_u32(blob, node, "size", size);
961 ret = fdt_setprop_u32(blob, newoff,
1084 res = fdt_setprop_u32(blob, off, "#address-cells", address_cells);
1088 res = fdt_setprop_u32(blob, off, "#size-cells", size_cells);
2026 ret = fdt_setprop_u32(fdt, node, "width", width);
2030 ret = fdt_setprop_u32(fdt, node, "height", height);
2034 ret = fdt_setprop_u32(fdt, node, "stride", stride);
2091 return fdt_setprop_u32(blob, toff, "native-mode", h);
/u-boot/drivers/tpm/
H A Dtpm2_tis_sandbox.c169 fdt_setprop_u32(blob, node, "tests-done", state->tests_done);
181 fdt_setprop_u32(blob, node, prop_name, state->properties[i]);
191 fdt_setprop_u32(blob, subnode, "extensions",
/u-boot/board/CZ.NIC/turris_mox/
H A Dturris_mox.c842 res = fdt_setprop_u32(blob, node, "link", phandle);
922 res = fdt_setprop_u32(blob, node, "sfp", phandle);
950 res = fdt_setprop_u32(blob, node, "reg", sfp_pos);
/u-boot/scripts/dtc/libfdt/
H A Dlibfdt.h1588 * fdt_setprop_u32 - set a property to a 32-bit integer
1594 * fdt_setprop_u32() sets the value of the named property in the given
1615 static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, function
1660 * This is an alternative name for fdt_setprop_u32()
1665 return fdt_setprop_u32(fdt, nodeoffset, name, val);
/u-boot/board/dhelectronics/dh_stm32mp1/
H A Dboard.c690 ret = fdt_setprop_u32(blob, buck3off, "regulator-min-microvolt", uv);
694 ret = fdt_setprop_u32(blob, buck3off, "regulator-max-microvolt", uv);
/u-boot/board/freescale/ls1043ardb/
H A Dls1043ardb.c288 ret = fdt_setprop_u32(blob, offset, "reg", new_addr);
/u-boot/include/
H A Dfdtdec.h1005 return fdt_setprop_u32(blob, node, "phandle", phandle);
/u-boot/board/gateworks/gw_ventana/
H A Dgw_ventana.c766 fdt_setprop_u32(blob, off, "vidout_trc", 1);
767 fdt_setprop_u32(blob, off, "vidout_blc", 1);
775 fdt_setprop_u32(blob, off, "vidout_trc", 0);
776 fdt_setprop_u32(blob, off, "vidout_blc", 0);
/u-boot/lib/rsa/
H A Drsa-sign.c690 ret = fdt_setprop_u32(keydest, node, "rsa,num-bits", bits);
692 ret = fdt_setprop_u32(keydest, node, "rsa,n0-inverse", n0_inv);
/u-boot/tools/
H A Dfit_image.c554 fdt_setprop_u32(fdt, node, FIT_DATA_POSITION_PROP,
557 fdt_setprop_u32(fdt, node, FIT_DATA_OFFSET_PROP,
560 fdt_setprop_u32(fdt, node, FIT_DATA_SIZE_PROP, len);
/u-boot/board/CZ.NIC/turris_omnia/
H A Dturris_omnia.c1141 if (fdt_setprop_u32(blob, parts, "#address-cells", 1) < 0)
1144 if (fdt_setprop_u32(blob, parts, "#size-cells", 1) < 0)
1162 if (fdt_setprop_u32(blob, part, "reg", slave->offset) < 0)
/u-boot/board/friendlyarm/nanopi2/
H A Dboard.c551 fdt_setprop_u32(blob, nodeoff, "linux,rootdev",
/u-boot/arch/arm/mach-imx/imx9/
H A Dsoc.c543 ret = fdt_setprop_u32(blob, trip, "temperature", temp);

Completed in 399 milliseconds

12