blob: 63c698a66286266e94f4502d7127de836ea05dfb [file] [log] [blame]
#
# Copyright (c) 2019, Aurelien Jarno
#
# SPDX-License-Identifier: Apache-2.0
#
title: Atmel SAM PWM
description: >
This binding gives a base representation of the Atmel SAM PWM
inherits:
!include [pwm.yaml, base.yaml]
properties:
compatible:
constraint: "atmel,sam-pwm"
reg:
category: required
interrupts:
category: required
peripheral-id:
type: int
description: peripheral ID
category: required
prescaler:
type: int
category: required
description: Clock prescaler at the input of the PWM (0 to 10)
divider:
type: int
category: required
description: Clock divider at the input of the PWM (1 to 255)
"#cells":
- channel
# period in terms of nanoseconds
- period