1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/hwmon/ti,amc6821.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: AMC6821 Intelligent Temperature Monitor and PWM Fan Controller 8 9maintainers: 10 - Farouk Bouabid <farouk.bouabid@cherry.de> 11 - Quentin Schulz <quentin.schulz@cherry.de> 12 13description: 14 Intelligent temperature monitor and pulse-width modulation (PWM) fan 15 controller. 16 17properties: 18 compatible: 19 oneOf: 20 - items: 21 - const: tsd,mule 22 - const: ti,amc6821 23 - const: ti,amc6821 24 25 reg: 26 maxItems: 1 27 28 i2c-mux: 29 type: object 30 31required: 32 - compatible 33 - reg 34 35if: 36 properties: 37 compatible: 38 contains: 39 const: tsd,mule 40 41then: 42 required: 43 - i2c-mux 44 45additionalProperties: false 46 47examples: 48 - | 49 i2c { 50 #address-cells = <1>; 51 #size-cells = <0>; 52 53 fan@18 { 54 compatible = "ti,amc6821"; 55 reg = <0x18>; 56 }; 57 }; 58 59 - | 60 i2c { 61 #address-cells = <1>; 62 #size-cells = <0>; 63 64 fan@18 { 65 compatible = "tsd,mule", "ti,amc6821"; 66 reg = <0x18>; 67 68 i2c-mux { 69 compatible = "tsd,mule-i2c-mux"; 70 #address-cells = <1>; 71 #size-cells = <0>; 72 73 i2c@0 { 74 reg = <0x0>; 75 #address-cells = <1>; 76 #size-cells = <0>; 77 78 rtc@6f { 79 compatible = "isil,isl1208"; 80 reg = <0x6f>; 81 }; 82 }; 83 }; 84 }; 85 }; 86... 87