/Zephyr-Core-3.5.0/doc/build/dts/ |
D | intro-input-output.rst | 1 .. _devicetree-in-out-files: 7 :ref:`devicetree-scope-purpose` in more detail. 10 :figclass: align-center 14 .. _dt-input-files: 21 - sources (``.dts``) 22 - includes (``.dtsi``) 23 - overlays (``.overlay``) 24 - bindings (``.yaml``) 28 .. code-block:: none 30 boards/<ARCH>/<BOARD>/<BOARD>.dts [all …]
|
D | bindings-intro.rst | 1 .. _dt-binding-compat: 3 Introduction to Devicetree Bindings 8 For a detailed syntax reference, see :ref:`dt-bindings-file-syntax`. 10 Devicetree nodes are matched to bindings using their :ref:`compatible 11 properties <dt-important-props>`. 18 .. _dt-bindings-simple-example: 25 .. code-block:: devicetree 27 /* Node in a DTS file */ 28 bar-device { 29 compatible = "foo-company,bar-device"; [all …]
|
D | phandles.rst | 1 .. _dt-phandles: 19 .. code-block:: DTS 22 lbl_a: node-1 {}; 23 lbl_b: lbl_c: node-2 {}; 28 - ``/node-1`` as ``&lbl_a`` 29 - ``/node-2`` as either ``&lbl_b`` or ``&lbl_c`` 40 :ref:`dt-bindings-properties` in the devicetree bindings documentation. 47 You can use phandles to refer to ``node-b`` from ``node-a``, where ``node-b`` 48 is related to ``node-a`` in some way. 50 One common example is when ``node-a`` represents some hardware that [all …]
|
D | bindings-syntax.rst | 1 .. _dt-bindings-file-syntax: 3 Devicetree bindings syntax 6 This page documents the syntax of Zephyr's bindings format. Zephyr bindings 7 files are YAML files. A :ref:`simple example <dt-bindings-simple-example>` was 17 The top level of a bindings file maps keys to values. The top-level keys look 20 .. code-block:: yaml 24 This is the Vendomatic company's foo-device. 27 and are encouraged for complex bindings. 29 See https://yaml-multiline.info/ for formatting help. 31 # You can include definitions from other bindings using this syntax: [all …]
|
D | troubleshooting.rst | 1 .. _dt-trouble: 8 See :ref:`dt-howtos` for other "HOWTO" style information. 10 .. _dt-trouble-try-pristine: 17 See :ref:`west-building-pristine` for examples, or just delete the build 39 .. code-block:: c 43 where ``NODE_ID`` is a valid :ref:`node identifier <dt-node-identifiers>`, but 53 = "okay";``; see :ref:`dt-important-props` for more information about 73 .. code-block:: none 78 * DTS input file: 79 * <build>/zephyr/zephyr.dts.pre [all …]
|
D | bindings-upstream.rst | 1 .. _dt-writing-bindings: 3 Rules for upstream bindings 6 This section includes general rules for writing bindings that you want to 8 for bindings you don't intend to contribute to the Zephyr Project, but it's a 18 Always check for existing bindings 21 Zephyr aims for devicetree :ref:`dt-source-compatibility`. Therefore, if there 24 justify any Zephyr-specific divergences. 28 - There is an existing binding in the mainline Linux kernel. See 29 :file:`Documentation/devicetree/bindings` in `Linus's tree`_ for existing 30 bindings and the `Linux devicetree documentation`_ for more information. [all …]
|
D | intro-syntax-structure.rst | 1 .. _dt-syntax: 6 As the name indicates, a devicetree is a tree. The human-readable text format 7 for this tree is called DTS (for devicetree source), and is defined in the 22 Here is an example DTS file: 24 .. code-block:: devicetree 26 /dts-v1/; 29 a-node { 30 subnode_nodelabel: a-sub-node { 36 The ``/dts-v1/;`` line means the file's contents are in version 1 of the DTS 37 syntax, which has replaced a now-obsolete "version 0". [all …]
|
D | howtos.rst | 1 .. _dt-howtos: 6 This page has step-by-step advice for getting things done with devicetree. 8 .. tip:: See :ref:`dt-trouble` for troubleshooting advice. 10 .. _get-devicetree-outputs: 15 A board's devicetree (:ref:`BOARD.dts <devicetree-in-out-files>`) pulls in 19 ``dts/<ARCH>/<vendor>/<soc>.dtsi``, but this can be time consuming. 22 application and open the :file:`zephyr.dts` file in the build directory. 27 without any additional changes from :ref:`overlay files <dt-input-files>`. 31 .. code-block:: sh 33 # --cmake-only here just forces CMake to run, skipping the [all …]
|
/Zephyr-Core-3.5.0/ |
D | CODEOWNERS | 3 # https://help.github.com/en/articles/about-code-owners#codeowners-syntax 19 /arch/arc/ @abrodkin @ruuddw @evgeniy-paltsev 29 /soc/arc/snps_*/ @abrodkin @ruuddw @evgeniy-paltsev 41 /soc/arm/cypress/ @ifyall @npal-cy 44 /soc/arm/infineon_cat1/ @ifyall @npal-cy 54 /soc/arm/silabs_exx32/efr32mg21/ @l-alfred 62 /soc/arm/ti_simplelink/msp432p4xx/ @Mani-Sadhasivam 68 /soc/arm64/bcm_vk/ @abhishek-brcm 75 /soc/arm64/renesas_rcar/ @lorc @xakep-amatop 77 /submanifests/* @mbolivar-ampere [all …]
|
D | MAINTAINERS.yml | 45 # files-regex: 56 # files-exclude: 59 # files-regex-exclude: 60 # Like 'files-regex', but any matching files will be excluded from the 63 # description: >- 64 # Plain-English description. Describe what the system is about, from an 68 # All areas must have a 'files' and/or 'files-regex' key. The other keys are 72 # this would be sub-areas which add extra fields (for ex. more `collaborators` 73 # who work only in that sub-area) to other areas. 98 # Collaborators: <list of sub-maintainers> [all …]
|
/Zephyr-Core-3.5.0/scripts/dts/python-devicetree/tests/ |
D | test_edtlib.py | 2 # SPDX-License-Identifier: BSD-3-Clause 23 # test.dts is the main test file. test-bindings/ and test-bindings-2/ has 24 # bindings. The tests mostly use string comparisons via the various __repr__() 46 with from_here(): edtlib.EDT("test.dts", ["test-bindings"]) 48 enums_hpath = hpath('test-bindings/enums.yaml') 50 … marked as deprecated in 'properties:' in {hpath('test-bindings/deprecated.yaml')} for node /test-… 51 "unit address and first address in 'reg' (0x1) don't match for /reg-zero-size-cells/node", 52 "unit address and first address in 'reg' (0x5) don't match for /reg-ranges/parent/node", 53 …"unit address and first address in 'reg' (0x30000000200000001) don't match for /reg-nested-ranges/… 54 …f"compatible 'enums' in binding '{enums_hpath}' has non-tokenizable enum for property 'string-enum… [all …]
|
/Zephyr-Core-3.5.0/cmake/modules/ |
D | dts.cmake | 1 # SPDX-License-Identifier: Apache-2.0 18 # - To Zephyr and application source code files, as a C macro API 21 # - To other arbitrary Python scripts (like twister) using a 25 # - To users as a final devicetree source (DTS) file which can 28 # - To CMake files, after this module has finished running, using 31 # - To Kconfig files, both using some Kconfig symbols we generate 39 # files in scripts/dts to make all this work. We also optionally will 47 # - The pre_dt module has been included; refer to its outcome 49 # - DTS_SOURCE: set to the path to the devicetree file which 51 # - ${BINARY_DIR_INCLUDE_GENERATED}/devicetree_generated.h exists [all …]
|
D | pre_dt.cmake | 1 # SPDX-License-Identifier: Apache-2.0 9 # DTS files, bindings, and vendor prefixes are. 14 # - CMAKE_DTS_PREPROCESSOR: the path to the preprocessor to use 16 # - DTS_ROOT: a deduplicated list of places where devicetree 17 # implementation files (like bindings, vendor prefixes, etc.) are 19 # - DTS_ROOT_SYSTEM_INCLUDE_DIRS: set to "PATH1 PATH2 ...", 27 # - APPLICATION_SOURCE_DIR: path to app (added to DTS_ROOT) 28 # - BOARD_DIR: directory containing the board definition (added to DTS_ROOT) 29 # - DTS_ROOT: initial contents may be populated here 30 # - ZEPHYR_BASE: path to zephyr repository (added to DTS_ROOT) [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/dt-bindings/ |
D | dt-util.h | 4 * SPDX-License-Identifier: Apache-2.0 11 * This file exists to keep in-tree DTS clean. This means, only 12 * #include <zephyr/dt-bindings/foo.h> form should be included. The 13 * <zephyr/dt-bindings/dt-util.h> wraps <zephyr/sys/util_macro.h> file exposing 14 * all macro base definitions to DTS preprocessor. It provides
|
/Zephyr-Core-3.5.0/doc/_scripts/ |
D | gen_devicetree_rest.py | 2 # SPDX-License-Identifier: Apache-2.0 6 devicetree bindings. 27 GENERIC_OR_VENDOR_INDEPENDENT = 'Generic or vendor-independent' 32 # Base properties that have documentation in 'dt-important-props'. 43 def __init__(self, vendor_prefixes, bindings): argument 45 self.vnd2bindings = self.init_vnd2bindings(bindings) 51 def bindings(self, vnd, default=None): member in VndLookup 60 # Load the vendor-prefixes.txt file. Return a dict mapping 'vnd' 66 # vnd A stand-in for a real vendor 68 # Gets split into a key 'vnd' and a value 'A stand-in for a real [all …]
|
D | redirects.py | 3 SPDX-License-Identifier: Apache-2.0 10 - Please keep this list sorted alphabetically. 11 - URLs must be relative to document root (with NO leading slash), and 30 ('guides/beyond-GSG', 'develop/beyond-GSG'), 32 ('guides/bluetooth/sm-pics', 'connectivity/bluetooth/sm-pics'), 39 ('guides/code-relocation', 'kernel/code-relocation'), 46 ('guides/dts/api-usage', 'build/dts/api-usage'), 47 ('guides/dts/bindings', 'build/dts/bindings'), 48 ('guides/dts/design', 'build/dts/design'), 49 ('guides/dts/dt-vs-kconfig', 'build/dts/dt-vs-kconfig'), [all …]
|
/Zephyr-Core-3.5.0/dts/arm/nordic/ |
D | nrf_common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/adc/adc.h> 8 #include <zephyr/dt-bindings/adc/nrf-adc.h> 9 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 11 #include <zephyr/dt-bindings/pinctrl/nrf-pinctrl.h> 12 #include <zephyr/dt-bindings/pwm/pwm.h> 18 * dts/arm/nordic/override.dtsi file. 25 pinctrl: pin-controller { 30 compatible = "nordic,nrf-pinctrl"; [all …]
|
/Zephyr-Core-3.5.0/samples/drivers/adc/boards/ |
D | tdk_robokit1.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/spi/spi.h> 11 /* adjust channel number according to pinmux in board.dts */ 12 io-channels = <&spi_adc 0>;
|
D | mimxrt1170_evkb_cm7.overlay | 2 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h> 11 /* adjust channel number according to pinmux in board.dts */ 12 io-channels = <&lpadc0 0>; 17 #address-cells = <1>; 18 #size-cells = <0>; 22 * - Connect LPADC0 CH0 signal to voltage between 0~1.8V (J9 pin 10) 29 zephyr,vref-mv = <1800>; 30 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 32 zephyr,input-positive = <MCUX_LPADC_CH0A>;
|
D | mimxrt1160_evk_cm7.overlay | 2 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h> 11 /* adjust channel number according to pinmux in board.dts */ 12 io-channels = <&lpadc0 0>; 17 #address-cells = <1>; 18 #size-cells = <0>; 22 * - Connect LPADC0 CH0 signal to voltage between 0~1.8V (J9 pin 10) 29 zephyr,vref-mv = <1800>; 30 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 32 zephyr,input-positive = <MCUX_LPADC_CH0A>;
|
/Zephyr-Core-3.5.0/boards/arm/xiao_ble/ |
D | xiao_ble_sense.dts | 2 * Copyright (c) 2022-2023 Marcin Niestroj 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <zephyr/dt-bindings/i2c/i2c.h> 10 #include <zephyr/dt-bindings/gpio/nordic-nrf-gpio.h> 14 compatible = "seeed,xiao-ble", "seeed,xiao-ble-sense"; 16 lsm6ds3tr-c-en { 17 compatible = "regulator-fixed-sync", "regulator-fixed"; 18 enable-gpios = <&gpio1 8 (NRF_GPIO_DRIVE_S0H1 | GPIO_ACTIVE_HIGH)>; 19 regulator-name = "LSM6DS3TR_C_EN"; [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/dt-bindings/usb/ |
D | usb.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * enum is expected to match the order in the yaml (dts/bindings/usb/usb.yaml)
|
/Zephyr-Core-3.5.0/boards/arm/s32z270dc2_r52/ |
D | s32z270dc2_rtu0_r52.dts | 2 * Copyright 2022-2023 NXP 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 8 #include <dt-bindings/clock/nxp_s32z2_clock.h> 13 model = "NXP X-S32Z270-DC (DC2) on RTU0 Cortex-R52 cores"; 27 rx-channels = <1>; 33 mbox-names = "rx";
|
D | s32z270dc2_rtu1_r52.dts | 2 * Copyright 2022-2023 NXP 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 8 #include <dt-bindings/clock/nxp_s32z2_clock.h> 13 model = "NXP X-S32Z270-DC (DC2) on RTU1 Cortex-R52 cores"; 19 zephyr,shell-uart = &uart0; 29 rx-channels = <1>; 35 mbox-names = "rx";
|
/Zephyr-Core-3.5.0/boards/posix/native_posix/ |
D | native_posix.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 19 zephyr,shell-uart = &uart0; 20 zephyr,uart-mcumgr = &uart0; 23 zephyr,flash-controller = &flashcontroller0; 29 eeprom-0 = &eeprom0; 30 i2c-0 = &i2c0; [all …]
|