mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-12 01:41:36 +08:00
WIP: device tree MVP
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Copyright (c) 2021 Nuvoton Technology Corporation.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Nuvoton, NPCX booter variant options
|
||||
|
||||
compatible: "nuvoton,npcx-booter-variant"
|
||||
|
||||
properties:
|
||||
hif-type-auto:
|
||||
type: boolean
|
||||
required: false
|
||||
description: |
|
||||
The host interface type (LPC/eSPI/SHI) is configured by booter
|
||||
if true; otherwise, it should be configured by the firmware.
|
||||
@@ -0,0 +1,27 @@
|
||||
# Copyright (c) 2021 Nuvoton Technology Corporation.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Nuvoton, NPCX soc ID node
|
||||
|
||||
compatible: "nuvoton,npcx-soc-id"
|
||||
|
||||
properties:
|
||||
family-id:
|
||||
type: int
|
||||
required: true
|
||||
description: NPCX family ID
|
||||
|
||||
chip-id:
|
||||
type: int
|
||||
required: true
|
||||
description: NPCX chip ID
|
||||
|
||||
device-id:
|
||||
type: int
|
||||
required: true
|
||||
description: NPCX device ID
|
||||
|
||||
revision-reg:
|
||||
type: array
|
||||
required: true
|
||||
description: NPCX revision register address & length in byte
|
||||
@@ -0,0 +1,18 @@
|
||||
# Copyright (c) 2019, Peter Bigot Consulting, LLC
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Output selectors on the SKY13351 GaAs SPDT FET I/C switch
|
||||
|
||||
compatible: "skyworks,sky13351"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
vctl1-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: VCTL1 pin
|
||||
vctl2-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: VCTL2 pin
|
||||
@@ -0,0 +1,27 @@
|
||||
# Copyright (c) 2020 PHYTEC Messtechnik GmbH
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Modbus over serial line device
|
||||
|
||||
compatible: "zephyr,modbus-serial"
|
||||
|
||||
include: uart-device.yaml
|
||||
|
||||
properties:
|
||||
de-gpios:
|
||||
type: phandle-array
|
||||
required: false
|
||||
description: Driver enable pin.
|
||||
|
||||
Driver enable pin (DE) of the RS-485 transceiver.
|
||||
If connected directly the MCU pin should be configured
|
||||
as active high.
|
||||
|
||||
re-gpios:
|
||||
type: phandle-array
|
||||
required: false
|
||||
description: Receiver enable pin.
|
||||
|
||||
Receiver enable pin (nRE) of the RS-485 transceiver.
|
||||
If connected directly the MCU pin should be configured
|
||||
as active low.
|
||||
Reference in New Issue
Block a user