| /OK3568_Linux_fs/u-boot/include/dm/ |
| H A D | fdtaddr.h | 8 * SPDX-License-Identifier: GPL-2.0+ 19 * devfdt_get_addr() - Get the reg property of a device 28 * devfdt_get_addr_ptr() - Return pointer to the address of the reg property 33 * @return Pointer to addr, or NULL if there is no such property 38 * devfdt_remap_addr_index() - Return indexed pointer to the memory-mapped 39 * I/O address of the reg property of a device 40 * @index: the 'reg' property can hold a list of <addr, size> pairs 45 * Return: Pointer to addr, or NULL if there is no such property 50 * devfdt_map_physmem() - Read device address from reg property of the 57 * @return mapped address, or NULL if the device does not have reg [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rv1103g-battery-ipc-v11.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "rv1106-evb.dtsi" 10 #include "rv1106-thunder-boot-spi-nor.dtsi" 14 compatible = "rockchip,rv1103g-battery-ipc-v11", "rockchip,rv1103"; 17 /delete-property/ csi2dphy1; 18 /delete-property/ csi2dphy2; 19 /delete-property/ ethernet0; 20 /delete-property/ i2c0; 21 /delete-property/ i2c1; [all …]
|
| H A D | rv1103g-battery-ipc-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "rv1106-evb.dtsi" 10 #include "rv1106-thunder-boot-spi-nor.dtsi" 14 compatible = "rockchip,rv1103g-battery-ipc-v10", "rockchip,rv1103"; 17 /delete-property/ csi2dphy1; 18 /delete-property/ csi2dphy2; 19 /delete-property/ ethernet0; 20 /delete-property/ i2c0; 21 /delete-property/ i2c1; [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> 13 reg = <0xc0000000 0x20000000>; 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 22 compatible = "shared-dma-pool"; 23 reg = <0x10000000 0x40000>; [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/temperature/ |
| H A D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 19 - adi,ltc2983 21 reg: 27 adi,mux-delay-config-us: [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/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); \ 81 if ((c->warn && (quiet < 1)) in check_msg() 82 || (c->error && (quiet < 2))) { in check_msg() 84 strcmp(dti->outname, "-") ? dti->outname : "<stdout>", in check_msg() 85 (c->error) ? "ERROR" : "Warning", c->name); in check_msg() 95 (c)->status = FAILED; \ 103 TRACE(c, "%s", node->fullpath); in check_nodes_props() 104 if (c->fn) in check_nodes_props() 105 c->fn(c, dti, node); in check_nodes_props() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/rockchip/ |
| H A D | rockchip,rk618.txt | 5 ---------- 8 - compatible: value should be one of the following: 9 "rockchip,rk618-vif" 10 - clocks: must include clock specifiers corresponding to entries in the 11 clock-names property. 12 See ../clocks/clock-bindings.txt for details. 13 - clock-names: list of clock names sorted in the same order as the clocks 14 property. Must contain "vif", "vif_pre". 27 compatible = "rockchip,rk618-vif"; 29 clock-names = "vif", "vif_pre"; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/thermal/ |
| H A D | nvidia,tegra124-soctherm.txt | 4 or interrupt-based thermal monitoring, CPU and GPU throttling based 10 - compatible : For Tegra124, must contain "nvidia,tegra124-soctherm". 11 For Tegra132, must contain "nvidia,tegra132-soctherm". 12 For Tegra210, must contain "nvidia,tegra210-soctherm". 13 - reg : Should contain at least 2 entries for each entry in reg-names: 14 - SOCTHERM register set 15 - Tegra CAR register set: Required for Tegra124 and Tegra210. 16 - CCROC register set: Required for Tegra132. 17 - reg-names : Should contain at least 2 entries: 18 - soctherm-reg [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/crypto/ |
| H A D | fsl-sec4.txt | 3 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/reserved-memory/ |
| H A D | reserved-memory.txt | 3 Reserved memory is specified as a node under the /reserved-memory node. 12 /reserved-memory node 13 --------------------- 14 #address-cells, #size-cells (required) - standard definition 15 - Should use the same values as the root node 16 ranges (required) - standard definition 17 - Should be empty 19 /reserved-memory/ child nodes 20 ----------------------------- 21 Each child of the reserved-memory node specifies one or more regions of [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/of/ |
| H A D | property.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * drivers/of/property.c - Procedures for accessing and interpreting 7 * file contains the OF property as well as the OF graph interface 11 * Copyright (C) 1996-2005 Paul Mackerras. 34 * of_graph_is_present() - check graph's presence 37 * Return: True if @node has a port or ports (with a port) sub-node, 57 * of_property_count_elems_of_size - Count the number of elements in a property 59 * @np: device node from which the property value is to be read. 60 * @propname: name of the property to be searched. 63 * Search for a property in a device node and count the number of elements of [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | st,stm32-fmc2-ebi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 asynchronous static devices (such as PSNOR, PSRAM or other memory-mapped 14 - to translate AXI transactions into the appropriate external device 16 - to meet the access time requirements of the external devices 22 - Christophe Kerello <christophe.kerello@st.com> 26 const: st,stm32mp1-fmc2-ebi 28 reg: [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | rv1126-u-boot.dtsi | 4 * SPDX-License-Identifier: GPL-2.0+ 14 stdout-path = &uart2; 15 u-boot,spl-boot-order = &sdmmc, &spi_nand, &spi_nor, &nandc, &emmc; 18 secure-otp@ff5d0000 { 19 compatible = "rockchip,rv1126-secure-otp"; 20 reg = <0xff5d0000 0x4000>; 22 u-boot,dm-spl; 28 u-boot,dm-pre-reloc; 33 clock-frequency = <24000000>; 34 u-boot,dm-spl; [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | prom_64.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 1996-2005 Paul Mackerras. 59 * we walk up the tree until we discover a "device_type" property 70 struct property *rprop; in sun4v_path_component() 73 rprop = of_find_property(dp, "reg", NULL); in sun4v_path_component() 77 regs = rprop->value; in sun4v_path_component() 78 if (!of_node_is_root(dp->parent)) { in sun4v_path_component() 81 (unsigned int) (regs->phys_addr >> 32UL), in sun4v_path_component() 82 (unsigned int) (regs->phys_addr & 0xffffffffUL)); in sun4v_path_component() 86 type = regs->phys_addr >> 60UL; in sun4v_path_component() [all …]
|