1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/hwmon/nuvoton,nct7363.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Nuvoton NCT7363Y Hardware Monitoring IC 8 9maintainers: 10 - Ban Feng <kcfeng0@nuvoton.com> 11 12description: | 13 The NCT7363Y is a fan controller which provides up to 16 independent 14 FAN input monitors, and up to 16 independent PWM outputs with SMBus interface. 15 16 Datasheets: Available from Nuvoton upon request 17 18properties: 19 compatible: 20 enum: 21 - nuvoton,nct7363 22 - nuvoton,nct7362 23 24 reg: 25 maxItems: 1 26 27 "#pwm-cells": 28 const: 2 29 30patternProperties: 31 "^fan-[0-9]+$": 32 $ref: fan-common.yaml# 33 unevaluatedProperties: false 34 required: 35 - pwms 36 - tach-ch 37 38required: 39 - compatible 40 - reg 41 - "#pwm-cells" 42 43additionalProperties: false 44 45examples: 46 - | 47 i2c { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 51 hwmon: hwmon@22 { 52 compatible = "nuvoton,nct7363"; 53 reg = <0x22>; 54 #pwm-cells = <2>; 55 56 fan-0 { 57 pwms = <&hwmon 0 50000>; 58 tach-ch = /bits/ 8 <0x00>; 59 }; 60 fan-1 { 61 pwms = <&hwmon 1 50000>; 62 tach-ch = /bits/ 8 <0x01>; 63 }; 64 }; 65 }; 66