36 lines
814 B
YAML
36 lines
814 B
YAML
# 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, pinctrl-device.yaml]
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
clocks:
|
|
required: true
|
|
label:
|
|
required: true
|
|
pinctrl-0:
|
|
required: true
|
|
pinctrl-names:
|
|
required: true
|
|
channel-count:
|
|
type: int
|
|
required: true
|
|
description: the number of ADC channels
|
|
threshold-reg-offset:
|
|
type: int
|
|
required: true
|
|
description: the offset of threshold detector register address
|
|
threshold-count:
|
|
type: int
|
|
required: true
|
|
description: the number of threshold detectors adc supports
|
|
|
|
io-channel-cells:
|
|
- input
|