1*3a2f1576SJoshua Crofts# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*3a2f1576SJoshua Crofts%YAML 1.2 3*3a2f1576SJoshua Crofts--- 4*3a2f1576SJoshua Crofts 5*3a2f1576SJoshua Crofts$id: http://devicetree.org/schemas/iio/dac/microchip,mcp47a1.yaml# 6*3a2f1576SJoshua Crofts$schema: http://devicetree.org/meta-schemas/core.yaml# 7*3a2f1576SJoshua Crofts 8*3a2f1576SJoshua Croftstitle: Microchip MCP47A1 DAC 9*3a2f1576SJoshua Crofts 10*3a2f1576SJoshua Croftsmaintainers: 11*3a2f1576SJoshua Crofts - Joshua Crofts <joshua.crofts1@gmail.com> 12*3a2f1576SJoshua Crofts 13*3a2f1576SJoshua Croftsdescription: | 14*3a2f1576SJoshua Crofts The Microchip MCP47A1 is a 6-bit single output volatile DAC. 15*3a2f1576SJoshua Crofts This device can have different IDs (0x2e and 0x3e). 16*3a2f1576SJoshua Crofts https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/25154A.pdf 17*3a2f1576SJoshua Crofts 18*3a2f1576SJoshua Croftsproperties: 19*3a2f1576SJoshua Crofts compatible: 20*3a2f1576SJoshua Crofts const: microchip,mcp47a1 21*3a2f1576SJoshua Crofts 22*3a2f1576SJoshua Crofts reg: 23*3a2f1576SJoshua Crofts items: 24*3a2f1576SJoshua Crofts - enum: [0x2e, 0x3e] 25*3a2f1576SJoshua Crofts 26*3a2f1576SJoshua Crofts vref-supply: true 27*3a2f1576SJoshua Crofts 28*3a2f1576SJoshua Crofts vdd-supply: true 29*3a2f1576SJoshua Crofts 30*3a2f1576SJoshua Croftsrequired: 31*3a2f1576SJoshua Crofts - compatible 32*3a2f1576SJoshua Crofts - reg 33*3a2f1576SJoshua Crofts - vref-supply 34*3a2f1576SJoshua Crofts - vdd-supply 35*3a2f1576SJoshua Crofts 36*3a2f1576SJoshua CroftsadditionalProperties: false 37*3a2f1576SJoshua Crofts 38*3a2f1576SJoshua Croftsexamples: 39*3a2f1576SJoshua Crofts - | 40*3a2f1576SJoshua Crofts i2c { 41*3a2f1576SJoshua Crofts #address-cells = <1>; 42*3a2f1576SJoshua Crofts #size-cells = <0>; 43*3a2f1576SJoshua Crofts 44*3a2f1576SJoshua Crofts dac@2e { 45*3a2f1576SJoshua Crofts compatible = "microchip,mcp47a1"; 46*3a2f1576SJoshua Crofts reg = <0x2e>; 47*3a2f1576SJoshua Crofts vref-supply = <&vref_regulator>; 48*3a2f1576SJoshua Crofts vdd-supply = <&vdd_regulator>; 49*3a2f1576SJoshua Crofts }; 50*3a2f1576SJoshua Crofts }; 51