Home
last modified time | relevance | path

Searched +full:a +full:- +full:child +full:- +full:node +full:- +full:property (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/freebsd/sys/dev/ofw/
H A Dofw_bus_subr.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2001 - 2003 by Thomas Moestl <tmm@FreeBSD.org>.
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
53 ofw_bus_gen_setup_devinfo(struct ofw_bus_devinfo *obd, phandle_t node) in ofw_bus_gen_setup_devinfo() argument
58 /* The 'name' property is considered mandatory. */ in ofw_bus_gen_setup_devinfo()
59 if ((OF_getprop_alloc(node, "name", (void **)&obd->obd_name)) == -1) in ofw_bus_gen_setup_devinfo()
61 OF_getprop_alloc(node, "compatible", (void **)&obd->obd_compat); in ofw_bus_gen_setup_devinfo()
62 OF_getprop_alloc(node, "device_type", (void **)&obd->obd_type); in ofw_bus_gen_setup_devinfo()
63 OF_getprop_alloc(node, "model", (void **)&obd->obd_model); in ofw_bus_gen_setup_devinfo()
[all …]
H A Dopenfirm.c3 /*-
4 * SPDX-License-Identifier: BSD-4-Clause
26 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
35 /*-
50 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
92 phandle_t node; member
106 * xref-phandle-device lookup helper routines.
108 * As soon as we are able to use malloc(), walk the node tree and build a list
109 * of info that cross-references node handles, xref handles, and device_t
110 * instances. This list exists primarily to allow association of a device_t
[all …]
H A Dofw_cpu.c1 /*-
20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
53 device_t child);
109 phandle_t root, child; in ofw_cpulist_attach() local
116 sc->sc_addr_cells = 1; in ofw_cpulist_attach()
117 OF_getencprop(root, "#address-cells", &sc->sc_addr_cells, in ofw_cpulist_attach()
118 sizeof(sc->sc_addr_cells)); in ofw_cpulist_attach()
120 for (child = OF_child(root); child != 0; child = OF_peer(child)) { in ofw_cpulist_attach()
123 if (ofw_bus_gen_setup_devinfo(dinfo, child) != 0) { in ofw_cpulist_attach()
130 dinfo->obd_name); in ofw_cpulist_attach()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Dsamsung-pinctrl.txt3 Samsung's ARM based SoC's integrates a GPIO and Pin mux/config hardware
6 on-chip controllers onto these pads.
9 - compatible: should be one of the following.
10 - "samsung,s3c2412-pinctrl": for S3C2412-compatible pin-controller,
11 - "samsung,s3c2416-pinctrl": for S3C2416-compatible pin-controller,
12 - "samsung,s3c2440-pinctrl": for S3C2440-compatible pin-controller,
13 - "samsung,s3c2450-pinctrl": for S3C2450-compatible pin-controller,
14 - "samsung,s3c64xx-pinctrl": for S3C64xx-compatible pin-controller,
15 - "samsung,s5pv210-pinctrl": for S5PV210-compatible pin-controller,
16 - "samsung,exynos3250-pinctrl": for Exynos3250 compatible pin-controller.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/crypto/
H A Dfsl-sec4.txt3 Copyright (C) 2008-2011 Freescale Semiconductor Inc.
6 -Overview
7 -SEC 4 Node
8 -Job Ring Node
9 -Run Time Integrity Check (RTIC) Node
10 -Run Time Integrity Check (RTIC) Memory Node
11 -Secure Non-Volatile Storage (SNVS) Node
12 -Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node
13 -Full Example
29 HW interface between QM & SEC 4 and also BM & SEC 4, on DPAA-enabled parts
[all …]
H A Dfsl-sec6.txt4 -SEC 6 Node
5 -Job Ring Node
6 -Full Example
9 SEC 6 Node
13 Node defines the base address of the SEC 6 block.
16 For example, In C293, we could see three SEC 6 node.
20 - compatible
23 Definition: Must include "fsl,sec-v6.0".
25 - fsl,sec-era
28 Definition: A standard property. Define the 'ERA' of the SEC
[all …]
/freebsd/sys/contrib/device-tree/Bindings/
H A Dexample-schema.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 # All the top-level keys are standard json-schema keywords except for
8 # $id is a unique identifier based on the filename. There may or may not be a
10 $id: http://devicetree.org/schemas/example-schema.yaml#
11 # $schema is the meta-schema this schema should be validated with.
12 $schema: http://devicetree.org/meta-schemas/core.yaml#
17 - Rob Herring <robh@kernel.org>
20 A more detailed multi-line description of the binding.
26 begin with a tab character.
[all …]
/freebsd/share/man/man4/
H A Dopenfirm.41 .\"-
6 .\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
23 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34 .\"-
50 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
84 Occasionally a package handle of 0 may be used or returned instead,
87 The calls that only take and/or return the package handle of a node
88 use a pointer to a
91 The others use a pointer to a
95 .Bd -literal
[all …]
/freebsd/sys/contrib/device-tree/Bindings/slimbus/
H A Dbus.txt3 SLIMbus is a 2-wire bus, and is used to communicate with peripheral
4 components like audio-codec.
6 Required property for SLIMbus controller node:
7 - compatible - name of SLIMbus controller
9 Child nodes:
10 Every SLIMbus controller node can contain zero or more child nodes
15 If child node is not present and it is instantiated after device
18 In some cases it may be necessary to describe non-probeable device
19 details such as non-standard ways of powering up a device. In
20 such cases, child nodes for those devices will be present as
[all …]
/freebsd/sys/dts/
H A Dbindings-localbus.txt9 Property: ranges
11 Value type: <prop-encoded-array> encoded as arbitrary number of localbus
14 Description: ranges property defines values used for mapping devices
18 a) child node address-cells:
19 - first cell: number of bank (chip select)
20 - second cell: (Marvell devices) Target ID for decoding
23 b) parent node address cells:
24 - address offset: used with parent's node base address to
27 c) child node size-cells:
28 - size: defines amount of memory that should be reserved for
[all …]
/freebsd/sys/dev/fdt/
H A Dfdt_common.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2014 The FreeBSD Foundation
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
68 fdt_get_range_by_busaddr(phandle_t node, u_long addr, u_long *base, in fdt_get_range_by_busaddr() argument
76 if (node == 0) { in fdt_get_range_by_busaddr()
82 if ((fdt_addrsize_cells(node, &addr_cells, &size_cells)) != 0) in fdt_get_range_by_busaddr()
85 * Process 'ranges' property. in fdt_get_range_by_busaddr()
87 par_addr_cells = fdt_parent_addr_cells(node); in fdt_get_range_by_busaddr()
92 len = OF_getproplen(node, "ranges"); in fdt_get_range_by_busaddr()
[all …]
H A Dfdt_slicer.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
51 fill_slices_from_node(phandle_t node, struct flash_slice *slices, int *count) in fill_slices_from_node() argument
54 phandle_t child; in fill_slices_from_node() local
60 for (child = OF_child(node); child != 0; child = OF_peer(child)) { in fill_slices_from_node()
63 /* Nodes with a compatible property are not slices. */ in fill_slices_from_node()
64 if (OF_hasprop(child, "compatible")) in fill_slices_from_node()
73 if (fdt_regsize(child, &base, &size) != 0) { in fill_slices_from_node()
74 debugf("error during processing reg property, i=%d\n", in fill_slices_from_node()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mailbox/
H A Domap-mailbox.txt5 using a queued mailbox interrupt mechanism. The IP block is external to the
7 communication is achieved through a set of registers for message storage and
10 Each mailbox IP block/cluster has a certain number of h/w fifo queues and output
12 within a processor subsystem, and there can be more than one line going to a
15 (excluding the SoCs that have a Interrupt Crossbar IP). Each interrupt line is
16 programmable through a set of interrupt configuration registers, and have a rx
22 All the current OMAP SoCs except for the newest DRA7xx SoC has a single IP
25 routed to different processor sub-systems on DRA7xx as they are routed through
26 the Crossbar, a kind of interrupt router/multiplexer. The K3 AM65x and J721E
27 SoCs has each of these instances form a cluster and combine multiple clusters
[all …]
H A Dti,omap-mailbox.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mailbox/ti,omap-mailbo
[all...]
/freebsd/sys/contrib/device-tree/Bindings/reserved-memory/
H A Dreserved-memory.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/reserved-memory/reserved-memory.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: /reserved-memory Child Node Common
10 - devicetree-spec@vger.kernel.org
13 Reserved memory is specified as a node under the /reserved-memory node. The
15 create child nodes describing particular reserved (excluded from normal use)
19 Each child of the reserved-memory node specifies one or more regions
20 of reserved memory. Each child node may either use a 'reg' property to
[all …]
/freebsd/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-mux.txt3 An i2c bus multiplexer/switch will have several child busses that are
4 numbered uniquely in a device dependent manner. The nodes for an i2c bus
5 multiplexer/switch will have one child node for each child bus.
8 - #address-cells = <1>;
9 This property is required if the i2c-mux child node does not exist.
11 - #size-cells = <0>;
12 This property is required if the i2c-mux child node does not exist.
14 - i2c-mux
15 For i2c multiplexers/switches that have child nodes that are a mixture
16 of both i2c child busses and other child nodes, the 'i2c-mux' subnode
[all …]
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/
H A Dpamu.txt5 The PAMU is an I/O MMU that provides device-to-memory access control and
10 - compatible : <string>
11 First entry is a version-specific string, such as
12 "fsl,pamu-v1.0". The second is "fsl,pamu".
13 - ranges : <prop-encoded-array>
14 A standard property. Utilized to describe the memory mapped
20 - interrupts : <prop-encoded-array>
25 - #address-cells: <u32>
26 A standard property.
27 - #size-cells : <u32>
[all …]
H A Draideng.txt3 RAID Engine nodes are defined to describe on-chip RAID accelerators. Each RAID
4 Engine should have a separate node.
11 - compatible: Should contain "fsl,raideng-v1.0" as the value
15 - reg: offset and length of the register set for the device
16 - ranges: standard ranges property specifying the translation
17 between child address space and parent address space
22 compatible = "fsl,raideng-v
[all...]
H A Dmpc5200.txt2 ----------------------------
4 (c) 2006-2009 Secret Lab Technologies Ltd
8 ------------------
9 For mpc5200 on-chip devices, the format for each compatible value is
10 <chip>-<device>[-<mode>]. The OS should be able to match a device driver
15 The split between the MPC5200 and the MPC5200B leaves a bit of a
16 conundrum. How should the compatible property be set up to provide
21 "fsl,mpc5200-<device>".
24 silicon bugs and it adds a small number of enhancements. Most of the
25 devices either provide exactly the same interface as on the 5200. A few
[all …]
H A Dsrio.txt3 RapidIO port node:
5 - compatible
11 Optionally, a compatible string of "fsl,srio-vX.Y" where X is Major
15 - reg
17 Value type: <prop-encoded-array>
18 Definition: A standard property. Specifies the physical address and
22 - interrupts
24 Value type: <prop_encoded-array>
26 value of the interrupts property consists of one interrupt
28 binding document describing the node's interrupt parent.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/media/
H A Dsamsung-fimc.txt2 ----------------------------------------------
4 The S5P/Exynos SoC Camera subsystem comprises of multiple sub-devices
6 the S5P SoCs series known as CAMIF), MIPI CSIS, FIMC-LITE and FIMC-IS (ISP).
8 The sub-subdevices are defined as child nodes of the common 'camera' node which
10 any single sub-device, like common camera port pins or the CAMCLK clock outputs
13 Common 'camera' node
14 --------------------
18 - compatible: must be "samsung,fimc", "simple-bus"
19 - clocks: list of clock specifiers, corresponding to entries in
20 the clock-names property;
[all …]
/freebsd/sys/powerpc/ofw/
H A Dofw_pcibus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
22 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
67 static int ofw_pcibus_child_pnpinfo_method(device_t cbdev, device_t child,
113 if (ofw_bus_get_node(dev) == -1) in ofw_pcibus_probe()
141 * OF device tree on some Grackle-based hardware can also miss in ofw_pcibus_attach()
142 * functions on multi-function cards. in ofw_pcibus_attach()
158 return (&dinfo->opd_dinfo); in ofw_pcibus_alloc_devinfo()
167 phandle_t node, child; in ofw_pcibus_enum_devtree() local
172 node = ofw_bus_get_node(dev); in ofw_pcibus_enum_devtree()
[all …]
/freebsd/usr.bin/dtc/
H A Ddtc.11 .\"-
6 .\" Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
43 .Op Fl E Ar [no-]checker_name
52 .Op Fl W Ar [no-]checker_name
64 The binary is identical to the in-memory representation and can be used
70 This format is most commonly used to produce a kernel specific to a device,
74 .Bl -tag -width indent
76 Writes a dependency file understandable by make to the specified file.
77 This file can be included in a Makefile and will ensure that the output file
[all …]
/freebsd/sys/dev/gpio/
H A Dofw_gpiobus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
21 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
70 rv = ofw_bus_parse_xref_list_alloc(cnode, prop_name, "#gpio-cells", in gpio_pin_get_by_ofw_propidx()
108 gpio_pin_get_by_ofw_idx(device_t consumer, phandle_t node, in gpio_pin_get_by_ofw_idx() argument
112 return (gpio_pin_get_by_ofw_propidx(consumer, node, "gpios", idx, pin)); in gpio_pin_get_by_ofw_idx()
116 gpio_pin_get_by_ofw_property(device_t consumer, phandle_t node, in gpio_pin_get_by_ofw_property() argument
120 return (gpio_pin_get_by_ofw_propidx(consumer, node, name, 0, pin)); in gpio_pin_get_by_ofw_property()
124 gpio_pin_get_by_ofw_name(device_t consumer, phandle_t node, in gpio_pin_get_by_ofw_name() argument
129 KASSERT(consumer != NULL && node > 0, in gpio_pin_get_by_ofw_name()
[all …]
/freebsd/sys/dev/iicbus/
H A Dofw_iicbus.c1 /*-
17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
94 if (ofw_bus_get_node(dev) == -1) in ofw_iicbus_probe()
106 phandle_t child, node, root; in ofw_iicbus_attach() local
114 sc->dev = dev; in ofw_iicbus_attach()
115 mtx_init(&sc->lock, "iicbus", NULL, MTX_DEF); in ofw_iicbus_attach()
118 * If there is a clock-frequency property for the device node, use it as in ofw_iicbus_attach()
123 node = ofw_bus_get_node(dev); in ofw_iicbus_attach()
125 OF_getencprop(node, "clock-frequency", &freq, sizeof(freq)); in ofw_iicbus_attach()
134 * Check if we're running on a PowerMac, needed for the I2C in ofw_iicbus_attach()
[all …]

12345678910>>...19