mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-15 10:31:37 +08:00
WIP: device tree MVP
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Copyright (c) 2018 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Nordic nRF power control node
|
||||
|
||||
compatible: "nordic,nrf-power"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
@@ -0,0 +1,12 @@
|
||||
# Copyright (c) 2019 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Nordic REGULATORS (voltage regulators control module)
|
||||
|
||||
compatible: "nordic,nrf-regulators"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
@@ -0,0 +1,12 @@
|
||||
# Copyright (c) 2019 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Nordic VMC (Volatile Memory Controller)
|
||||
|
||||
compatible: "nordic,nrf-vmc"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
@@ -0,0 +1,27 @@
|
||||
# Copyright (c) 2021 Telink Semiconductor
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Telink B91 power control node
|
||||
|
||||
compatible: "telink,b91-power"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
power-mode:
|
||||
type: string
|
||||
required: true
|
||||
enum:
|
||||
- "LDO_1P4_LDO_1P8"
|
||||
- "DCDC_1P4_LDO_1P8"
|
||||
- "DCDC_1P4_DCDC_1P8"
|
||||
|
||||
vbat-type:
|
||||
type: string
|
||||
required: true
|
||||
enum:
|
||||
- "VBAT_MAX_VALUE_LESS_THAN_3V6"
|
||||
- "VBAT_MAX_VALUE_GREATER_THAN_3V6"
|
||||
@@ -0,0 +1,36 @@
|
||||
# Copyright (c) 2020, Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Properties for power management state
|
||||
|
||||
compatible: "zephyr,power-state"
|
||||
|
||||
properties:
|
||||
power-state-name:
|
||||
type: string
|
||||
required: true
|
||||
description: indicates a power state
|
||||
enum:
|
||||
- "active"
|
||||
- "runtime-idle"
|
||||
- "suspend-to-idle"
|
||||
- "standby"
|
||||
- "suspend-to-ram"
|
||||
- "suspend-to-disk"
|
||||
- "soft-off"
|
||||
substate-id:
|
||||
type: int
|
||||
required: false
|
||||
description: Platform specific identification.
|
||||
min-residency-us:
|
||||
type: int
|
||||
required: false
|
||||
description: |
|
||||
Minimum residency duration in microseconds. It is the minimum time for a
|
||||
given idle state to be worthwhile energywise. It includes the time to enter
|
||||
in this state.
|
||||
exit-latency-us:
|
||||
type: int
|
||||
required: false
|
||||
description: |
|
||||
Worst case latency in microseconds required to exit the idle state.
|
||||
Reference in New Issue
Block a user