blob: 17414926b2e36bd8fdc59bcf60e875165d02ae58 [file] [log] [blame]
# 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
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