# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/rt1019.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: RT1019 Mono Class-D Audio Amplifier

maintainers:
  - jack.yu@realtek.com

properties:
  compatible:
    const: realtek,rt1019

  reg:
    maxItems: 1
    description: I2C address of the device.

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;
        rt1019: codec@28 {
            compatible = "realtek,rt1019";
            reg = <0x28>;
        };
    };
