1# Copyright (c) 2020 Nuvoton Technology Corporation. 2# SPDX-License-Identifier: Apache-2.0 3 4description: Nuvoton, NPCX Pulse Width Modulator (PWM) node 5 6compatible: "nuvoton,npcx-pwm" 7 8include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml] 9 10properties: 11 reg: 12 required: true 13 clocks: 14 required: true 15 pinctrl-0: 16 required: true 17 pinctrl-names: 18 required: true 19 pwm-channel: 20 type: int 21 description: | 22 A index to indicate PWM module that generates a single PWM signal. 23 Please don't overwrite it in the board-level DT driver. 24 clock-bus: 25 type: string 26 description: | 27 Select a specific input clock source for the PWM module. If this 28 property doesn't exist, fallback to default value in clocks property. 29 enum: 30 - NPCX_CLOCK_BUS_APB2 31 - NPCX_CLOCK_BUS_LFCLK 32 33pwm-cells: 34 - channel 35 - period 36 - flags 37