Home
last modified time | relevance | path

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

12345678910>>...17

/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 …]
/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/linux/Documentation/devicetree/
H A Doverlay-notes.rst1 .. SPDX-License-Identifier: GPL-2.0
7 This document describes the implementation of the in-kernel
9 companion document to Documentation/devicetree/dynamic-resolution-notes.rst[1]
12 -----------------
17 Since the kernel mainly deals with devices, any new device node that result
18 in an active device should have it created while if the device node is either
23 ---- foo.dts ---------------------------------------------------------------
25 /dts-v1/;
39 ---- foo.dts ---------------------------------------------------------------
41 The overlay bar.dts,
[all …]
H A Dof_unittest.rst1 .. SPDX-License-Identifier: GPL-2.0
18 (1) Documentation/devicetree/usage-model.rst
45 from 'scripts/dtc/of_unittest_expect --help'.
48 3. Test-data
51 The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains
54 (.dtsi) are included in testcases.dts::
56 drivers/of/unittest-data/tests-interrupts.dtsi
57 drivers/of/unittest-data/tests-platform.dtsi
58 drivers/of/unittest-data/tests-phandle.dtsi
59 drivers/of/unittest-data/tests-match.dtsi
[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 …]
/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: Submitted [cover letter: https://lore.kernel.org/all/20240301164227.339208-1-abdel…
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/linux/Documentation/devicetree/bindings/pinctrl/
H A Dfsl,mxs-pinctrl.txt6 voltage and pull-up.
9 - compatible: "fsl,imx23-pinctrl" or "fsl,imx28-pinctrl"
10 - reg: Should contain the register physical address and length for the
13 Please refer to pinctrl-bindings.txt in this directory for details of the
16 The node of mxs pin controller acts as a container for an arbitrary number of
20 information about pull-up. For this reason, even seemingly boolean values are
25 Those subnodes under mxs pin controller node will fall into two categories.
27 configurations, and it's called group node in the binding document. The other
29 different configuration than what is defined in group node. The binding
30 document calls this type of node config node.
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-grandmax.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-samsung-e2015-common.dtsi"
6 #include <dt-bindings/leds/common.h>
12 * There seems to be no way to boot ARM64 kernels on 32-bit devices at the
18 * arch/arm/boot/dts/qcom-msm8916-samsung-grandmax.dts
24 chassis-type = "handset";
26 /delete-node/ gpio-hall-sensor;
27 /delete-node/ i2c-nfc;
28 /delete-node/ i2c-tkey;
[all …]
H A Dapq8094-sony-xperia-kitakami-karin_windy.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
9 #include "msm8994-sony-xperia-kitakami-karin.dts"
12 model = "Sony Xperia Z4 Tablet (Wi-Fi)";
14 chassis-type = "tablet";
20 qcom,msm-id = <253 0x20000>, <253 0x20001>;
23 /delete-node/ &pm8994_l1;
24 /delete-node/ &pm8994_l19;
/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/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ibm-rainier-1s4u.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 /dts-v1/;
5 #include "aspeed-bmc-ibm-rainier-4u.dts"
12 /delete-node/ fan3;
13 /delete-node/ fan5;
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-lx2160a-bluebox3-rev-a.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 // Copyright 2020-2021 NXP
7 /dts-v1/;
9 #include "fsl-lx2160a-bluebox3.dts"
12 compatible = "fsl,lx2160a-bluebox3-rev-a", "fsl,lx2160a";
17 /delete-node/ ethernet-phy@5;
19 sw1_mii3_phy: ethernet-phy@1 {
21 compatible = "ethernet-phy-id004d.d072";
23 interrupts-extended = <&extirq 6 IRQ_TYPE_LEVEL_LOW>;
26 /delete-node/ ethernet-phy@6;
[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/linux/arch/arm64/boot/dts/socionext/
H A Duniphier-pxs3-ref-gadget0.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 // Device Tree Source for UniPhier PXs3 Reference Board (for USB-Device #0)
8 /dts-v1/;
9 #include "uniphier-pxs3-ref.dts"
12 model = "UniPhier PXs3 Reference Board (USB-Device #0)";
23 pinctrl-0 = <&pinctrl_usb0_device>;
27 snps,usb2-gadget-lpm-disable;
28 phy-names = "usb2-phy", "usb3-phy";
33 /delete-property/ vbus-supply;
37 /delete-property/ vbus-supply;
[all …]
/openbmc/linux/drivers/of/unittest-data/
H A Dtests-interrupts.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 testcase-data {
6 #address-cells = <1>;
7 #size-cells = <1>;
10 interrupt-controller;
11 #interrupt-cells = <1>;
15 interrupt-controller;
16 #interrupt-cells = <3>;
20 interrupt-controller;
21 #interrupt-cells = <2>;
[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 …]
/openbmc/linux/scripts/dtc/
H A Ddtc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
45 extern int auto_label_aliases; /* auto generate labels -> aliases */
46 extern int annotate; /* annotate .dts with input source location */
102 return streq(str + len - suffix_len, suffix); in strends()
105 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
144 for (; (m); (m) = (m)->next)
147 if ((m)->type == (t))
152 if (is_type_marker(m->type)) in next_type_marker()
159 struct marker *next = next_type_marker(m->next); in type_marker_length()
162 return next->offset - m->offset; in type_marker_length()
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ulz-14x14-evk.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 /dts-v1/;
8 #include "imx6ul-14x14-evk.dtsi"
10 /delete-node/ &fec1;
11 /delete-node/ &fec2;
12 /delete-node/ &can1;
13 /delete-node/ &can2;
14 /delete-node/ &lcdif;
15 /delete-node/ &tsc;
19 compatible = "fsl,imx6ulz-14x14-evk", "fsl,imx6ull", "fsl,imx6ulz";
[all …]
/openbmc/linux/arch/arm64/boot/dts/xilinx/
H A Dzynqmp-zcu102-revB.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU102 RevB
5 * (C) Copyright 2016 - 2022, Xilinx, Inc.
6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
11 #include "zynqmp-zcu102-revA.dts"
15 compatible = "xlnx,zynqmp-zcu102-revB", "xlnx,zynqmp-zcu102", "xlnx,zynqmp";
19 phy-handle = <&phyc>;
21 phyc: ethernet-phy@c {
22 #phy-cells = <0x1>;
23 compatible = "ethernet-phy-id2000.a231";
[all …]
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-veyron-tiger.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include "rk3288-veyron-fievel.dts"
10 #include "rk3288-veyron-edp.dtsi"
14 compatible = "google,veyron-tiger-rev8", "google,veyron-tiger-rev7",
15 "google,veyron-tiger-rev6", "google,veyron-tiger-rev5",
16 "google,veyron-tiger-rev4", "google,veyron-tiger-rev3",
17 "google,veyron-tiger-rev2", "google,veyron-tiger-rev1",
18 "google,veyron-tiger-rev0", "google,veyron-tiger",
21 /delete-node/ vcc18-lcd;
[all …]

12345678910>>...17