2019-05-16 14:17:18 +08:00
|
|
|
# Copyright (c) 2019 Vestas Wind Systems A/S
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2019-06-19 06:03:49 +08:00
|
|
|
|
2019-11-19 15:39:11 +08:00
|
|
|
description: NXP Kinetis ADC12
|
2019-05-16 14:17:18 +08:00
|
|
|
|
2019-08-20 02:32:25 +08:00
|
|
|
compatible: "nxp,kinetis-adc12"
|
|
|
|
|
2022-03-09 03:18:09 +08:00
|
|
|
include: [adc-controller.yaml, pinctrl-device.yaml]
|
2019-05-16 14:17:18 +08:00
|
|
|
|
|
|
|
properties:
|
|
|
|
reg:
|
2019-08-28 06:22:01 +08:00
|
|
|
required: true
|
2019-05-16 14:17:18 +08:00
|
|
|
|
|
|
|
interrupts:
|
2019-08-28 06:22:01 +08:00
|
|
|
required: true
|
2019-05-16 14:17:18 +08:00
|
|
|
|
|
|
|
clk-source:
|
|
|
|
type: int
|
2019-08-28 06:22:01 +08:00
|
|
|
required: true
|
2019-05-16 14:17:18 +08:00
|
|
|
description: converter clock source
|
|
|
|
|
|
|
|
clk-divider:
|
|
|
|
type: int
|
2019-08-28 06:22:01 +08:00
|
|
|
required: true
|
2019-05-16 14:17:18 +08:00
|
|
|
description: clock divider for the converter
|
|
|
|
|
|
|
|
alternate-voltage-reference:
|
|
|
|
type: boolean
|
2019-08-28 06:22:01 +08:00
|
|
|
required: false
|
2019-05-16 14:17:18 +08:00
|
|
|
description: use alternate voltage reference source
|
|
|
|
|
|
|
|
sample-time:
|
|
|
|
type: int
|
2019-08-28 06:22:01 +08:00
|
|
|
required: true
|
2019-05-16 14:17:18 +08:00
|
|
|
description: sample time in clock cycles
|
2019-08-23 00:08:13 +08:00
|
|
|
|
|
|
|
"#io-channel-cells":
|
|
|
|
const: 1
|
|
|
|
|
2019-09-27 02:34:13 +08:00
|
|
|
io-channel-cells:
|
2019-08-23 00:08:13 +08:00
|
|
|
- input
|