2019-01-26 13:32:55 +01:00
|
|
|
# Copyright (c) 2019, Aurelien Jarno
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2019-06-19 00:03:49 +02:00
|
|
|
|
2019-11-19 08:39:11 +01:00
|
|
|
description: Atmel SAM PWM
|
2019-01-26 13:32:55 +01:00
|
|
|
|
2019-08-19 20:32:25 +02:00
|
|
|
compatible: "atmel,sam-pwm"
|
|
|
|
|
2019-08-21 18:10:12 -05:00
|
|
|
include: [pwm-controller.yaml, base.yaml]
|
2019-01-26 13:32:55 +01:00
|
|
|
|
|
|
|
properties:
|
|
|
|
reg:
|
2019-08-28 00:22:01 +02:00
|
|
|
required: true
|
2019-01-26 13:32:55 +01:00
|
|
|
|
|
|
|
interrupts:
|
2019-08-28 00:22:01 +02:00
|
|
|
required: true
|
2019-01-26 13:32:55 +01:00
|
|
|
|
|
|
|
peripheral-id:
|
|
|
|
type: int
|
|
|
|
description: peripheral ID
|
2019-08-28 00:22:01 +02:00
|
|
|
required: true
|
2019-01-26 13:32:55 +01:00
|
|
|
|
|
|
|
prescaler:
|
|
|
|
type: int
|
2019-08-28 00:22:01 +02:00
|
|
|
required: true
|
2019-01-26 13:32:55 +01:00
|
|
|
description: Clock prescaler at the input of the PWM (0 to 10)
|
|
|
|
|
|
|
|
divider:
|
|
|
|
type: int
|
2019-08-28 00:22:01 +02:00
|
|
|
required: true
|
2019-01-26 13:32:55 +01:00
|
|
|
description: Clock divider at the input of the PWM (1 to 255)
|
|
|
|
|
2019-08-09 14:54:26 -05:00
|
|
|
"#pwm-cells":
|
|
|
|
const: 2
|
|
|
|
|
2019-09-26 20:34:13 +02:00
|
|
|
pwm-cells:
|
2019-01-26 13:32:55 +01:00
|
|
|
- channel
|
|
|
|
# period in terms of nanoseconds
|
|
|
|
- period
|