| # |
| # Copyright (c) 2018, Diego Sueiro <diego.sueiro@gmail.com> |
| # |
| # SPDX-License-Identifier: Apache-2.0 |
| # |
| --- |
| title: i.MX7D PWM |
| version: 0.1 |
| |
| description: > |
| This binding gives a base representation of the i.MX7D PWM |
| |
| inherits: |
| !include pwm.yaml |
| |
| properties: |
| compatible: |
| constraint: "fsl,imx7d-pwm" |
| |
| reg: |
| type: array |
| description: mmio register space |
| generation: define |
| category: required |
| |
| interrupts: |
| type: array |
| category: required |
| description: required interrupts |
| generation: define |
| |
| prescaler: |
| type: int |
| category: required |
| description: Set the PWM prescale between 0 and 4096 |
| generation: define |
| |
| rdc: |
| type: int |
| category: required |
| description: Set the RDC permission for this peripheral |
| generation: define |
| |
| "#cells": |
| - channel |
| # period in terms of nanoseconds |
| - period |
| ... |