1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*f126890aSEmmanuel Vadot%YAML 1.2 3*f126890aSEmmanuel Vadot--- 4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/adi,ssm2518.yaml# 5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadottitle: Analog Devices SSM2518 audio amplifier 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadotmaintainers: 10*f126890aSEmmanuel Vadot - Lars-Peter Clausen <lars@metafoo.de> 11*f126890aSEmmanuel Vadot 12*f126890aSEmmanuel VadotallOf: 13*f126890aSEmmanuel Vadot - $ref: dai-common.yaml# 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadotproperties: 16*f126890aSEmmanuel Vadot compatible: 17*f126890aSEmmanuel Vadot const: adi,ssm2518 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot reg: 20*f126890aSEmmanuel Vadot maxItems: 1 21*f126890aSEmmanuel Vadot description: | 22*f126890aSEmmanuel Vadot I2C address of the device. This will either be 0x34 (ADDR pin low) 23*f126890aSEmmanuel Vadot or 0x35 (ADDR pin high) 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot gpios: 26*f126890aSEmmanuel Vadot maxItems: 1 27*f126890aSEmmanuel Vadot description: | 28*f126890aSEmmanuel Vadot GPIO connected to the nSD pin. If the property is not present 29*f126890aSEmmanuel Vadot it is assumed that the nSD pin is hardwired to always on. 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadotrequired: 32*f126890aSEmmanuel Vadot - compatible 33*f126890aSEmmanuel Vadot - reg 34*f126890aSEmmanuel Vadot 35*f126890aSEmmanuel VadotunevaluatedProperties: false 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadotexamples: 38*f126890aSEmmanuel Vadot - | 39*f126890aSEmmanuel Vadot i2c { 40*f126890aSEmmanuel Vadot #address-cells = <1>; 41*f126890aSEmmanuel Vadot #size-cells = <0>; 42*f126890aSEmmanuel Vadot codec@34 { 43*f126890aSEmmanuel Vadot compatible = "adi,ssm2518"; 44*f126890aSEmmanuel Vadot reg = <0x34>; 45*f126890aSEmmanuel Vadot gpios = <&gpio 5 0>; 46*f126890aSEmmanuel Vadot }; 47*f126890aSEmmanuel Vadot }; 48