Home
last modified time | relevance | path

Searched +full:dts +full:- +full:node (Results 1 – 25 of 100) sorted by relevance

1234

/openbmc/u-boot/tools/binman/
H A Dftest.py1 # SPDX-License-Identifier: GPL-2.0+
7 # python -m unittest func_test.TestFunctional.testHelp
69 Most of these use a sample .dts file to build an image and then check
77 In some cases a 'real' file must be used - these are also supplied in
93 TestFunctional._MakeInputFile('u-boot.bin', U_BOOT_DATA)
94 TestFunctional._MakeInputFile('u-boot.img', U_BOOT_IMG_DATA)
95 TestFunctional._MakeInputFile('spl/u-boot-spl.bin', U_BOOT_SPL_DATA)
96 TestFunctional._MakeInputFile('tpl/u-boot-tpl.bin', U_BOOT_TPL_DATA)
101 TestFunctional._MakeInputFile('u-boot-x86-16bit.bin', X86_START16_DATA)
102 TestFunctional._MakeInputFile('u-boot-br.bin', PPC_MPC85XX_BR_DATA)
[all …]
H A Dfdt_test.py1 # SPDX-License-Identifier: GPL-2.0+
35 node = dt.GetNode('/microcode/update@0')
36 node.DeleteProp('data')
39 fname = self.GetCompiled('034_x86_ucode.dts')
44 fname = self.GetCompiled('045_prop_test.dts')
46 node = dt.GetNode('/binman/intel-me')
47 self.assertEquals('intel-me', node.name)
48 val = fdt_util.GetString(node, 'filename')
52 prop = node.props['intval']
54 self.assertEquals(3, fdt_util.GetInt(node, 'intval'))
[all …]
H A Dentry_test.py1 # SPDX-License-Identifier: GPL-2.0+
28 os.path.join(binman_dir,('test/005_simple.dts')))
30 return dtb.GetNode('/binman/u-boot')
38 entry.Entry.Create(None, self.GetNode(), 'u-boot')
47 entry.Entry.Create(None, self.GetNode(), 'u-boot-spl')
59 Node = collections.namedtuple('Node', ['name', 'path'])
60 node = Node('invalid-name', 'invalid-path')
62 entry.Entry.Create(None, node, node.name)
63 self.assertIn("Unknown entry type 'invalid-name' in node "
64 "'invalid-path'", str(e.exception))
[all …]
/openbmc/u-boot/tools/dtoc/
H A Dfdt_util.py2 # SPDX-License-Identifier: GPL-2.0+
24 val = val.decode('utf-8')
31 Value to convert (4-character string representing the cell value)
34 A native-endian integer value
45 Value to convert (array of one or more 4-character strings)
48 A native-endian long value
58 """Compile an fdt .dts source file into a .dtb binary blob if needed.
61 fname: Filename (if .dts it will be compiled). It not it will be
68 if ext != '.dts':
71 dts_input = tools.GetOutputFilename('source.dts')
[all …]
H A Dtest_dtoc.py1 # SPDX-License-Identifier: GPL-2.0+
46 #include <dt-structs.h>
52 """Compile a .dts file to a .dtb
55 dts_fname: Filename of .dts file in the current directory
107 conv_name_to_c('vendor,clock-frequency'))
109 conv_name_to_c('rockchip,rk3399-sdhci-5.1'))
134 Node = collections.namedtuple('Node', ['props'])
136 prop = Prop(['rockchip,rk3399-sdhci-5.1', 'arasan,sdhci-5.1'])
137 node = Node({'compatible': prop})
139 get_compat_name(node))
[all …]
H A Dtest_fdt2 # SPDX-License-Identifier: GPL-2.0+
27 def _GetPropertyValue(dtb, node, prop_name): argument
28 """Low-level function to get the property value based on its offset
35 node: Node to look in
43 prop = node.props[prop_name]
66 self.dtb = fdt.FdtScan('tools/dtoc/dtoc_test_simple.dts')
72 self.assertTrue(isinstance(root, fdt.Node))
76 node = self.dtb.GetNode('/spl-test')
77 self.assertTrue(isinstance(node, fdt.Node))
78 node = self.dtb.GetNode('/i2c@0/pmic@9')
[all …]
H A Dtest_fdt.py2 # SPDX-License-Identifier: GPL-2.0+
27 def _GetPropertyValue(dtb, node, prop_name): argument
28 """Low-level function to get the property value based on its offset
35 node: Node to look in
43 prop = node.props[prop_name]
66 self.dtb = fdt.FdtScan('tools/dtoc/dtoc_test_simple.dts')
72 self.assertTrue(isinstance(root, fdt.Node))
76 node = self.dtb.GetNode('/spl-test')
77 self.assertTrue(isinstance(node, fdt.Node))
78 node = self.dtb.GetNode('/i2c@0/pmic@9')
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0051-corstone1000-purge-remoteproc-dts-node.patch4 Subject: [PATCH] corstone1000: purge remoteproc DTS node
6 Purge remoteproc DTS node
7 This is done to remove the remote proc node from the DTS passed
8 to Linux from U-Boot because the device tree binding for remoteproc
9 has not been upstreamed yet. Existence of remoteproc DTS node in Linux
10 is causing dt-schema test for SystemReady-IR v2.0 certification to fail.
12 Upstream-Status: Pending
13 Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
14 ---
15 board/armltd/corstone1000/corstone1000.c | 3 +--
[all …]
H A D0047-corstone1000-dts-add-external-system-node.patch4 Subject: [PATCH] corstone1000: dts: add external system node
6 add the external system node
8 Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
9 Upstream-Status: Pending [Not submitted to upstream yet]
10 ---
11 arch/arm/dts/corstone1000.dtsi | 7 +++++++
14 diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi
16 --- a/arch/arm/dts/corstone1000.dtsi
17 +++ b/arch/arm/dts/corstone1000.dtsi
18 @@ -122,6 +122,13 @@
[all …]
H A D0021-corstone1000-add-fwu-metadata-store-info.patch4 Subject: [PATCH] corstone1000: add fwu-metadata store info
6 Add fwu-mdata node and handle for the reference
7 nvmxip-qspi.
9 Upstream-Status: Submitted
10 Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
11 ---
12 arch/arm/dts/corstone1000.dtsi | 7 ++++++-
13 1 file changed, 6 insertions(+), 1 deletion(-)
15 diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi
17 --- a/arch/arm/dts/corstone1000.dtsi
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-kernel/linux/files/corstone1000/
H A D0002-arm64-dts-Add-corstone1000-external-system-device-no.patch4 Subject: [PATCH 2/6] arm64: dts: Add corstone1000 external system device node
6 add device tree node for the external system core in Corstone-1000
8 Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
9 Upstream-Status: Denied [Agreement reached: https://lore.kernel.org/all/20241009094635.GA14639@e130…
10 ---
11 arch/arm64/boot/dts/arm/corstone1000.dtsi | 10 +++++++++-
12 1 file changed, 9 insertions(+), 1 deletion(-)
14 diff --git a/arch/arm64/boot/dts/arm/corstone1000.dtsi b/arch/arm64/boot/dts/arm/corstone1000.dtsi
16 --- a/arch/arm64/boot/dts/arm/corstone1000.dtsi
17 +++ b/arch/arm64/boot/dts/arm/corstone1000.dtsi
[all …]
/openbmc/u-boot/drivers/bootcount/
H A Dbootcount-uclass.c1 // SPDX-License-Identifier: GPL-2.0+
16 if (!ops->get) in dm_bootcount_get()
17 return -ENOSYS; in dm_bootcount_get()
18 return ops->get(dev, bootcount); in dm_bootcount_get()
26 if (!ops->set) in dm_bootcount_set()
27 return -ENOSYS; in dm_bootcount_set()
28 return ops->set(dev, bootcount); in dm_bootcount_set()
35 ofnode node; in bootcount_store() local
36 const char *propname = "u-boot,bootcount-device"; in bootcount_store()
37 int ret = -ENODEV; in bootcount_store()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dzynqmp-zcu102-revB.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU102 RevB
5 * (C) Copyright 2016 - 2018, Xilinx, Inc.
10 #include "zynqmp-zcu102-revA.dts"
14 compatible = "xlnx,zynqmp-zcu102-revB", "xlnx,zynqmp-zcu102", "xlnx,zynqmp";
18 phy-handle = <&phyc>;
21 ti,rx-internal-delay = <0x8>;
22 ti,tx-internal-delay = <0xa>;
23 ti,fifo-depth = <0x1>;
26 /delete-node/ phy@21;
[all …]
H A Dast2600a0-evb.dts1 /dts-v1/;
3 #include "ast2600-evb.dts"
12 /delete-property/ethernet3;
17 /delete-node/&mac0;
H A Dast2600-ncsi.dts1 /dts-v1/;
3 #include "ast2600-u-boot.dtsi"
9 /delete-node/&mac0;
10 /delete-node/&mac1;
14 phy-mode = "NC-SI";
15 use-ncsi;
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_rmii3_default>;
18 /delete-property/phy-handle;
23 phy-mode = "NC-SI";
[all …]
/openbmc/u-boot/arch/arm/mach-rockchip/
H A Dspl-boot-order.c1 // SPDX-License-Identifier: GPL-2.0+
13 * spl_node_to_boot_device() - maps from a DT-node to a SPL boot device
14 * @node: of_offset of the node
17 * sources. These may take on a device-specific meaning, depending on
18 * what nodes are enabled in a DTS (e.g. BOOT_DEVICE_MMC1 may refer to
19 * different controllers/block-devices, depending on which SD/MMC controllers
20 * are enabled in any given DTS). This function maps from a DT-node back
24 * -ENOENT, if no device matching the node could be found
25 * -ENOSYS, if the device matching the node can not be mapped onto a
27 * -1, for unspecified failures
[all …]
/openbmc/u-boot/test/overlay/
H A Dtest-fdt-base.dts1 // SPDX-License-Identifier: GPL-2.0+
7 /dts-v1/;
10 test: test-node {
11 test-int-property = <42>;
12 test-str-property = "foo";
14 subtest: sub-test-node {
15 sub-test-property;
H A Dtest-fdt-overlay.dts1 // SPDX-License-Identifier: GPL-2.0+
7 /dts-v1/;
16 test-int-property = <43>;
25 test-str-property = "foobar";
34 test-str-property-2 = "foobar2";
38 /* Test that we add a new node (by phandle) */
43 new-node {
44 new-property;
49 /* Test that we add a new node (by path) */
51 target-path = "/";
[all …]
/openbmc/u-boot/doc/usage/
H A Dmeasured_boot.rst1 .. SPDX-License-Identifier: GPL-2.0+
6 U-Boot can perform a measured boot, the process of hashing various components
11 ---------------------
13 * A hardware TPM 2.0 supported by the U-Boot drivers
16 * Device-tree configuration of the TPM device to specify the memory area
17 for event logging. The TPM device node must either contain a phandle to
18 a reserved memory region or "linux,sml-base" and "linux,sml-size"
20 found in arch/sandbox/dts/test.dts
22 specified in the U-Boot device-tree in order to make use of the event
/openbmc/u-boot/scripts/dtc/
H A Ddtc.h20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
60 extern int auto_label_aliases; /* auto generate labels -> aliases */
73 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
99 for (; (m); (m) = (m)->next)
102 if ((m)->type == (t))
154 struct node { struct
158 struct node *children; argument
160 struct node *parent; argument
161 struct node *next_sibling; argument
174 for ((l) = (l0); (l); (l) = (l)->next)
[all …]
/openbmc/u-boot/doc/
H A DREADME.nios21 Nios II is a 32-bit embedded-processor architecture designed
10 The Nios II port of u-boot is controlled by device tree. Please check
11 out doc/README.fdt-control.
13 To add a new board/configuration (eg, mysystem) to u-boot, you will need
16 1. The device tree source which describes the hardware, dts file.
17 arch/nios2/dts/mysystem.dts
30 $ java -jar sopc2dts.jar --force-altr -i mysystem.sopcinfo -o mysystem.dts
32 You will need to add additional properties to the dts. Please find an
33 example at, arch/nios2/dts/10m50_devboard.dts.
35 1. Add "stdout-path=..." property with your serial path to the chosen
[all …]
/openbmc/u-boot/drivers/pci/
H A Dpcie_layerscape_fixup.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright 2014-2015 Freescale Semiconductor, Inc.
27 if (pcie->next_lut_index < PCIE_LUT_ENTRY_COUNT) in ls_pcie_next_lut_index()
28 return pcie->next_lut_index++; in ls_pcie_next_lut_index()
30 return -ENOSPC; /* LUT is full */ in ls_pcie_next_lut_index()
33 /* returns the next available streamid for pcie, -errno if failed */
39 return -EINVAL; in ls_pcie_next_streamid()
47 if (pcie->big_endian) in lut_writel()
48 out_be32(pcie->lut + offset, value); in lut_writel()
50 out_le32(pcie->lut + offset, value); in lut_writel()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/regulator/
H A Dregulator.txt5 by the prefix of regulator node's name, or, if this fails, by the prefix of the
6 regulator's "regulator-name" property. Usually the pmic I/O driver will provide
13 For the node name e.g.: "prefix[:alpha:]num { ... }":
14 - the driver prefix should be: "prefix" - case sensitive
15 - the node name's "num" is set as "dev->driver_data" on bind
19 Binding by means of the node's name is preferred. However if the node names
21 can't or do not want to change them then binding against the "regulator-name"
22 property is possible. The syntax for the prefix of the "regulator-name" property
23 is the same as the one for the regulator's node name.
30 - regulator-name: a string, required by the regulator uclass, used for driver
[all …]
/openbmc/u-boot/doc/uImage.FIT/
H A Dkernel.its2 * Simple U-Boot uImage source file containing a single kernel
5 /dts-v1/;
9 #address-cells = <1>;
21 hash-1 {
24 hash-2 {
31 default = "config-1";
32 config-1 {
41 For x86 a setup node is also required: see x86-fit-boot.txt.
43 /dts-v1/;
47 #address-cells = <1>;
[all …]
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/
H A Datmel,at91-pio4-pinctrl.txt7 - compatible: "atmel,sama5d2-pinctrl".
8 - reg: base address and length of the PIO controller.
10 Please refer to pinctrl-bindings.txt in this directory for details of the
14 Each node (or subnode) will list the pins it needs and how to configured these
17 node {
23 - pinmux: integer array. Each integer represents a pin number plus mux and
24 ioset settings. Use the macros from boot/dts/<soc>-pinfunc.h file to get the
28 - GENERIC_PINCONFIG: generic pinconfig options to use, bias-disable,
29 bias-pull-down, bias-pull-up, drive-open-drain, input-schmitt-enable,
30 input-debounce.
[all …]

1234