WIP: device tree MVP

This commit is contained in:
Daniel Agar
2022-01-06 17:20:17 -05:00
parent 07d75d85cf
commit 1f39b42525
1395 changed files with 68755 additions and 0 deletions
@@ -0,0 +1,23 @@
# Copyright (c) 2020 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: Nuvoton, NPCX-ADC node
compatible: "nuvoton,npcx-adc"
include: [adc-controller.yaml]
properties:
reg:
required: true
clocks:
required: true
label:
required: true
pinctrl-0:
type: phandles
required: true
description: configurations of pinmux controllers
io-channel-cells:
- input
+56
View File
@@ -0,0 +1,56 @@
# Copyright (c) 2020, Toby Firth
# SPDX-License-Identifier: Apache-2.0
description: LPC LPADC
compatible: "nxp,lpc-lpadc"
include: adc-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
clk-divider:
type: int
required: true
description: clock divider for the converter
clk-source:
type: int
required: true
description: source to attach the ADC clock to
voltage-ref:
type: int
required: true
description: reference voltage source
calibration-average:
type: int
required: true
description: conversion average number for auto-calibration
power-level:
type: int
required: true
description: power level for the ADC
offset-value-a:
type: int
required: true
description: Offset value A to use if CONFIG_LPADC_DO_OFFSET_CALIBRATION is false
offset-value-b:
type: int
required: true
description: Offset value B to use if CONFIG_LPADC_DO_OFFSET_CALIBRATION is false
"#io-channel-cells":
const: 1
io-channel-cells:
- input