/openbmc/u-boot/include/dm/ |
H A D | fdtaddr.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 18 * devfdt_get_addr() - Get the reg property of a device 27 * devfdt_get_addr_ptr() - Return pointer to the address of the reg property 32 * @return Pointer to addr, or NULL if there is no such property 37 * devfdt_remap_addr() - Return pointer to the memory-mapped I/O address 38 * of the reg property of a device 42 * @return Pointer to addr, or NULL if there is no such property 47 * devfdt_remap_addr_index() - Return indexed pointer to the memory-mapped 48 * I/O address of the reg property of a device 49 * @index: the 'reg' property can hold a list of <addr, size> pairs [all …]
|
H A D | read.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 21 return ofnode_to_np(dev->node); in dev_np() 31 * dev_ofnode() - get the DT node reference associated with a udevice 38 return dev->node; in dev_ofnode() 48 * dev_read_u32() - read a 32-bit integer from a device's DT property 50 * @dev: device to read DT property from 51 * @propname: name of the property to read from 53 * @return 0 if OK, -ve on error 58 * dev_read_u32_default() - read a 32-bit integer from a device's DT property 60 * @dev: device to read DT property from [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A D | st,stih4xx.txt | 3 - sti-vtg: video timing generator 5 - compatible: "st,vtg" 6 - reg: Physical base address of the IP registers and length of memory mapped region. 8 - interrupts : VTG interrupt number to the CPU. 9 - st,slave: phandle on a slave vtg 11 - sti-vtac: video timing advanced inter dye communication Rx and TX 13 - compatible: "st,vtac-main" or "st,vtac-aux" 14 - reg: Physical base address of the IP registers and length of memory mapped region. 15 - clocks: from common clock binding: handle hardware IP needed clocks, the 17 See ../clocks/clock-bindings.txt for details. [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | si476x-prop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/mfd/si476x-prop.c -- Subroutines to access 13 #include <linux/mfd/si476x-core.h> 46 u16 property) in si476x_core_is_valid_property_a10() argument 80 return si476x_core_element_is_in_range(property, valid_ranges, in si476x_core_is_valid_property_a10() 82 si476x_core_element_is_in_array(property, valid_properties, in si476x_core_is_valid_property_a10() 87 u16 property) in si476x_core_is_valid_property_a20() argument 100 return si476x_core_is_valid_property_a10(core, property) || in si476x_core_is_valid_property_a20() 101 si476x_core_element_is_in_range(property, valid_ranges, in si476x_core_is_valid_property_a20() 103 si476x_core_element_is_in_array(property, valid_properties, in si476x_core_is_valid_property_a20() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/ |
H A D | resource-names.txt | 4 include a supplemental property for assigning names to each of the list 5 items. The names property consists of a list of strings in the same 6 order as the data in the resource property. 10 Resource Property Supplemental Names Property 11 ----------------- --------------------------- 12 reg reg-names 13 clocks clock-names 14 interrupts interrupt-names 18 The -names property must be used in conjunction with the normal resource 19 property. If not it will be ignored. [all …]
|
H A D | example-schema.yaml | 1 # 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 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. 44 - items: 45 # items is a list of possible values for the property. The number of [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | cpus.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 21 with updates for 32-bit and 64-bit ARM systems provided in this document. 30 - square brackets define bitfields, eg reg[7:0] value of the bitfield in 31 the reg property contained in bits 7 down to 0 42 reg: 49 this property is required and must be set to 0. 51 On ARM 11 MPcore based systems this property is [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | srio-rmu.txt | 5 node is composed of three types of sub-nodes ("fsl-srio-msg-unit", 6 "fsl-srio-dbell-unit" and "fsl-srio-port-write-unit"). 10 - compatible 13 Definition: Must include "fsl,srio-rmu-vX.Y", "fsl,srio-rmu". 18 - reg 20 Value type: <prop-encoded-array> 21 Definition: A standard property. Specifies the physical address and 25 - fsl,liodn 26 Usage: optional-but-recommended (for devices with PAMU) 27 Value type: <prop-encoded-array> [all …]
|
H A D | pamu.txt | 5 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 D | dcsr.txt | 21 - compatible 24 Definition: Must include "fsl,dcsr" and "simple-bus". 25 The DCSR space exists in the memory-mapped bus. 27 - #address-cells 30 Definition: A standard property. Defines the number of cells 33 - #size-cells 36 Definition: A standard property. Defines the number of cells 40 - ranges 42 Value type: <prop-encoded-array> 43 Definition: A standard property. Specifies the physical address [all …]
|
H A D | raideng.txt | 3 RAID Engine nodes are defined to describe on-chip RAID accelerators. Each RAID 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 22 compatible = "fsl,raideng-v1.0"; 23 #address-cells = <1>; 24 #size-cells = <1>; 25 reg = <0x320000 0x10000>; 30 There must be a sub-node for each job queue present in RAID Engine 31 This node must be a sub-node of the main RAID Engine node [all …]
|
/openbmc/linux/scripts/dtc/ |
H A D | checks.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 fprintf(stderr, "=== %s: ", (c)->name); \ 63 struct property *prop, in check_msg() 71 if (!(c->warn && (quiet < 1)) && !(c->error && (quiet < 2))) in check_msg() 74 if (prop && prop->srcpos) in check_msg() 75 pos = prop->srcpos; in check_msg() 76 else if (node && node->srcpos) in check_msg() 77 pos = node->srcpos; in check_msg() 83 } else if (streq(dti->outname, "-")) { in check_msg() 86 xasprintf(&str, "%s", dti->outname); in check_msg() [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp135f-dk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 15 #include "stm32mp13-pinctrl.dtsi" 18 model = "STMicroelectronics STM32MP135F-DK Discovery Board"; 19 compatible = "st,stm32mp135f-dk", "st,stm32mp135"; [all …]
|
H A D | stm32mp15xx-dkx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/mfd/st,stpmic1.h> 19 reg = <0xc0000000 0x20000000>; 22 reserved-memory { 23 #address-cells = <1>; 24 #size-cells = <1>; 28 compatible = "shared-dma-pool"; 29 reg = <0x10000000 0x40000>; [all …]
|
H A D | stm32mp15xx-dhcor-avenger96.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved 9 #include "stm32mp15xx-dhcor-io1v8.dtsi" 22 cec_clock: clk-cec-fixed { 23 #clock-cells = <0>; 24 compatible = "fixed-clock"; 25 clock-frequency = <24000000>; 29 stdout-path = "serial0:115200n8"; 32 hdmi-out { 33 compatible = "hdmi-connector"; [all …]
|
H A D | stm32mp15xc-lxa-tac.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 9 #include "stm32mp15xx-osd32.dtsi" 10 #include "stm32mp15xxac-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pwm/pwm.h> 28 stdout-path = &uart4; 31 led-controller-0 { [all …]
|
H A D | stm32mp15xx-dhcor-drc-compact.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 21 stdout-path = "serial0:115200n8"; 25 compatible = "gpio-leds"; 29 default-state = "off"; 35 default-state = "off"; 40 compatible = "regulator-fixed"; 41 regulator-name = "vio"; 42 regulator-min-microvolt = <3300000>; 43 regulator-max-microvolt = <3300000>; 45 regulator-always-on; [all …]
|
/openbmc/u-boot/scripts/dtc/ |
H A D | checks.c | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 26 fprintf(stderr, "=== %s: ", (c)->name); \ 77 struct property *prop, in check_msg() 83 if ((c->warn && (quiet < 1)) in check_msg() 84 || (c->error && (quiet < 2))) { in check_msg() 86 strcmp(dti->outname, "-") ? dti->outname : "<stdout>", in check_msg() 87 (c->error) ? "ERROR" : "Warning", c->name); in check_msg() 89 fprintf(stderr, "%s", node->fullpath); in check_msg() 91 fprintf(stderr, ":%s", prop->name); in check_msg() 103 (c)->status = FAILED; \ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
H A D | qe.txt | 16 - compatible : should be "fsl,qe"; 17 - model : precise model of the QE, Can be "QE", "CPM", or "CPM2" 18 - reg : offset and length of the device registers. 19 - bus-frequency : the clock frequency for QUICC Engine. 20 - fsl,qe-num-riscs: define how many RISC engines the QE has. 21 - fsl,qe-snums: This property has to be specified as '/bits/ 8' value, 26 - fsl,firmware-phandle: 27 Usage: required only if there is no fsl,qe-firmware child node 31 The compatible property for the firmware node should say, 32 "fsl,qe-firmware". [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/x86/ |
H A D | ce4100.txt | 2 --------------------------- 5 format: <vendor>,<chip>-<device>. 7 name in their compatible property because they first appeared in this 11 ------------- 14 #address-cells = <1>; 15 #size-cells = <0>; 20 reg = <0x00>; 26 reg = <0x02>; 34 - device_type 37 - reg [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/net/ |
H A D | fsl-tsec-phy.txt | 1 * TSEC-compatible ethernet nodes 5 - compatible : Should be "fsl,tsec" 6 - reg : Offset and length of the register set for the device 7 - phy-handle : See ethernet.txt file in the same directory. 8 - phy-connection-type : See ethernet.txt file in the same directory. This 9 property is only really needed if the connection is of type "rgmii-id", 10 "rgmii-rxid" and "rgmii-txid" as all other connection types are detected 16 reg = <0x24000 0x1000>; 17 phy-handle = <&phy0>; 18 phy-connection-type = "sgmii"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | interrupts.txt | 5 ------------------------- 8 "interrupts" property, an "interrupts-extended" property, or both. If both are 16 interrupt-parent = <&intc1>; 19 The "interrupt-parent" property is used to specify the controller to which 21 controller node. This property is inherited, so it may be specified in an 23 "interrupts" property are always in reference to the node's interrupt parent. 25 The "interrupts-extended" property is a special form; useful when a node needs 27 the inherited one. Each entry in this property contains both the parent phandle 31 interrupts-extended = <&intc1 5 1>, <&intc2 1 0>; 34 ----------------------------- [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm-nsp-ax.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Broadcom Northstar Plus Ax stepping-specific bindings. 4 * Notable differences from B0+ are the secondary-boot-reg and 9 secondary-boot-reg = <0xffff042c>; 13 /delete-property/ dma-coherent; 17 /delete-property/ dma-coherent; 21 /delete-property/ dma-coherent; 25 /delete-property/ dma-coherent; 29 /delete-property/ dma-coherent; 33 /delete-property/ dma-coherent; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | nvidia,tegra124-soctherm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra124-soctherm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 polled or interrupt-based thermal monitoring, CPU and GPU throttling based 21 - nvidia,tegra124-soctherm 22 - nvidia,tegra132-soctherm 23 - nvidia,tegra210-soctherm [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | config_file_parser.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 60 // Optional comments property; value not stored in parseAction() 66 // Required action type property; there must be exactly one specified in parseAction() 161 throw std::invalid_argument{"Required action type property missing"}; in parseAction() 201 // Optional comments property; value not stored in parseChassis() 207 // Required number property in parseChassis() 216 // Required inventory_path property in parseChassis() 222 // Optional devices property in parseChassis() 253 // Required fru property in parseComparePresence() 258 // Required value property in parseComparePresence() [all …]
|