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