1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/argon40,fan-hat.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: Argon40 Fan HAT PWM controller 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotmaintainers: 10*833e5d42SEmmanuel Vadot - Marek Vasut <marek.vasut+renesas@mailbox.org> 11*833e5d42SEmmanuel Vadot 12*833e5d42SEmmanuel Vadotdescription: 13*833e5d42SEmmanuel Vadot The trivial PWM on Argon40 Fan HAT, which is a RaspberryPi blower fan 14*833e5d42SEmmanuel Vadot hat which can be controlled over I2C, generates a fixed 30 kHz period 15*833e5d42SEmmanuel Vadot PWM signal with configurable 0..100% duty cycle to control the fan 16*833e5d42SEmmanuel Vadot speed. 17*833e5d42SEmmanuel Vadot 18*833e5d42SEmmanuel VadotallOf: 19*833e5d42SEmmanuel Vadot - $ref: pwm.yaml# 20*833e5d42SEmmanuel Vadot 21*833e5d42SEmmanuel Vadotproperties: 22*833e5d42SEmmanuel Vadot compatible: 23*833e5d42SEmmanuel Vadot const: argon40,fan-hat 24*833e5d42SEmmanuel Vadot 25*833e5d42SEmmanuel Vadot reg: 26*833e5d42SEmmanuel Vadot maxItems: 1 27*833e5d42SEmmanuel Vadot 28*833e5d42SEmmanuel Vadot "#pwm-cells": 29*833e5d42SEmmanuel Vadot const: 3 30*833e5d42SEmmanuel Vadot 31*833e5d42SEmmanuel Vadotrequired: 32*833e5d42SEmmanuel Vadot - compatible 33*833e5d42SEmmanuel Vadot - reg 34*833e5d42SEmmanuel Vadot 35*833e5d42SEmmanuel VadotadditionalProperties: false 36*833e5d42SEmmanuel Vadot 37*833e5d42SEmmanuel Vadotexamples: 38*833e5d42SEmmanuel Vadot - | 39*833e5d42SEmmanuel Vadot i2c { 40*833e5d42SEmmanuel Vadot #address-cells = <1>; 41*833e5d42SEmmanuel Vadot #size-cells = <0>; 42*833e5d42SEmmanuel Vadot 43*833e5d42SEmmanuel Vadot pwm@1a { 44*833e5d42SEmmanuel Vadot compatible = "argon40,fan-hat"; 45*833e5d42SEmmanuel Vadot reg = <0x1a>; 46*833e5d42SEmmanuel Vadot #pwm-cells = <3>; 47*833e5d42SEmmanuel Vadot }; 48*833e5d42SEmmanuel Vadot }; 49