55 lines
883 B
YAML
55 lines
883 B
YAML
# Copyright (c) 2019, Intel Corporation
|
|
# Copyright (c) 2021, Microchip Technology Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Microchip XEC ADC
|
|
|
|
compatible: "microchip,xec-adc-v2"
|
|
|
|
include: [adc-controller.yaml, pinctrl-device.yaml]
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
interrupts:
|
|
required: true
|
|
|
|
"#io-channel-cells":
|
|
const: 1
|
|
|
|
girqs:
|
|
type: array
|
|
required: true
|
|
description: Array of pairs of GIRQ number and bit position
|
|
|
|
pcrs:
|
|
type: array
|
|
required: true
|
|
description: ADC PCR register index and bit position
|
|
|
|
pinctrl-0:
|
|
required: true
|
|
|
|
pinctrl-names:
|
|
required: true
|
|
|
|
"#girq-cells":
|
|
type: int
|
|
const: 2
|
|
|
|
"#pcr-cells":
|
|
type: int
|
|
const: 2
|
|
|
|
io-channel-cells:
|
|
- input
|
|
|
|
girq-cells:
|
|
- girqnum
|
|
- bitpos
|
|
|
|
pcr-cells:
|
|
- regidx
|
|
- bitpos
|