2018-12-06 17:08:58 +07:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
//
|
|
|
|
// Copyright 2017 NXP
|
2017-12-01 00:55:17 +07:00
|
|
|
|
|
|
|
#include "imx7d-pico.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2018-12-06 17:08:59 +07:00
|
|
|
model = "TechNexion PICO-IMX7D Board and PI baseboard";
|
|
|
|
compatible = "technexion,imx7d-pico-pi", "fsl,imx7d";
|
|
|
|
|
2017-12-01 00:55:17 +07:00
|
|
|
sound {
|
|
|
|
compatible = "simple-audio-card";
|
|
|
|
simple-audio-card,name = "imx7-sgtl5000";
|
|
|
|
simple-audio-card,format = "i2s";
|
|
|
|
simple-audio-card,bitclock-master = <&dailink_master>;
|
|
|
|
simple-audio-card,frame-master = <&dailink_master>;
|
|
|
|
simple-audio-card,cpu {
|
|
|
|
sound-dai = <&sai1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
dailink_master: simple-audio-card,codec {
|
2018-12-06 17:08:59 +07:00
|
|
|
sound-dai = <&sgtl5000>;
|
2017-12-01 00:55:17 +07:00
|
|
|
clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
2018-12-06 17:08:59 +07:00
|
|
|
sgtl5000: codec@a {
|
2017-12-01 00:55:17 +07:00
|
|
|
#sound-dai-cells = <0>;
|
|
|
|
reg = <0x0a>;
|
|
|
|
compatible = "fsl,sgtl5000";
|
|
|
|
clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>;
|
|
|
|
VDDA-supply = <®_2p5v>;
|
|
|
|
VDDIO-supply = <®_vref_1v8>;
|
|
|
|
};
|
|
|
|
};
|