1*8cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 2*8cc087a1SEmmanuel Vadot%YAML 1.2 3*8cc087a1SEmmanuel Vadot--- 4*8cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/microchip,mcp3021.yaml# 5*8cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8cc087a1SEmmanuel Vadot 7*8cc087a1SEmmanuel Vadottitle: Microchip MCP3021 A/D converter 8*8cc087a1SEmmanuel Vadot 9*8cc087a1SEmmanuel Vadotmaintainers: 10*8cc087a1SEmmanuel Vadot - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> 11*8cc087a1SEmmanuel Vadot 12*8cc087a1SEmmanuel Vadotproperties: 13*8cc087a1SEmmanuel Vadot compatible: 14*8cc087a1SEmmanuel Vadot enum: 15*8cc087a1SEmmanuel Vadot - microchip,mcp3021 16*8cc087a1SEmmanuel Vadot - microchip,mcp3221 17*8cc087a1SEmmanuel Vadot 18*8cc087a1SEmmanuel Vadot reg: 19*8cc087a1SEmmanuel Vadot maxItems: 1 20*8cc087a1SEmmanuel Vadot 21*8cc087a1SEmmanuel Vadot reference-voltage-microvolt: 22*8cc087a1SEmmanuel Vadot description: 23*8cc087a1SEmmanuel Vadot VDD supply power and reference voltage 24*8cc087a1SEmmanuel Vadot 25*8cc087a1SEmmanuel Vadotrequired: 26*8cc087a1SEmmanuel Vadot - compatible 27*8cc087a1SEmmanuel Vadot - reg 28*8cc087a1SEmmanuel Vadot 29*8cc087a1SEmmanuel VadotadditionalProperties: false 30*8cc087a1SEmmanuel Vadot 31*8cc087a1SEmmanuel Vadotexamples: 32*8cc087a1SEmmanuel Vadot - | 33*8cc087a1SEmmanuel Vadot i2c { 34*8cc087a1SEmmanuel Vadot #address-cells = <1>; 35*8cc087a1SEmmanuel Vadot #size-cells = <0>; 36*8cc087a1SEmmanuel Vadot 37*8cc087a1SEmmanuel Vadot adc@4d { 38*8cc087a1SEmmanuel Vadot compatible = "microchip,mcp3021"; 39*8cc087a1SEmmanuel Vadot reg = <0x4d>; 40*8cc087a1SEmmanuel Vadot 41*8cc087a1SEmmanuel Vadot reference-voltage-microvolt = <4500000>; /* 4.5 V */ 42*8cc087a1SEmmanuel Vadot }; 43*8cc087a1SEmmanuel Vadot }; 44