| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (c) 2016 BayLibre, Inc. |
| 4 |
* Author: Neil Armstrong <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
/dts-v1/; |
| 8 |
|
| 9 |
#include "meson-gxbb-wetek.dtsi" |
| 10 |
#include <dt-bindings/sound/meson-aiu.h> |
| 11 |
|
| 12 |
/ { |
| 13 |
compatible = "wetek,hub", "amlogic,meson-gxbb"; |
| 14 |
model = "WeTek Hub"; |
| 15 |
|
| 16 |
sound { |
| 17 |
compatible = "amlogic,gx-sound-card"; |
| 18 |
model = "WETEK-HUB"; |
| 19 |
clocks = <&clkc CLKID_MPLL0>, |
| 20 |
<&clkc CLKID_MPLL1>, |
| 21 |
<&clkc CLKID_MPLL2>; |
| 22 |
|
| 23 |
assigned-clocks = <&clkc CLKID_MPLL0>, |
| 24 |
<&clkc CLKID_MPLL1>, |
| 25 |
<&clkc CLKID_MPLL2>; |
| 26 |
assigned-clock-rates = <294912000>, |
| 27 |
<270950400>, |
| 28 |
<393216000>; |
| 29 |
|
| 30 |
dai-link-0 { |
| 31 |
sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; |
| 32 |
}; |
| 33 |
|
| 34 |
dai-link-1 { |
| 35 |
sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; |
| 36 |
dai-format = "i2s"; |
| 37 |
mclk-fs = <256>; |
| 38 |
|
| 39 |
codec-0 { |
| 40 |
sound-dai = <&aiu AIU_HDMI CTRL_I2S>; |
| 41 |
}; |
| 42 |
}; |
| 43 |
|
| 44 |
dai-link-2 { |
| 45 |
sound-dai = <&aiu AIU_HDMI CTRL_OUT>; |
| 46 |
|
| 47 |
codec-0 { |
| 48 |
sound-dai = <&hdmi_tx>; |
| 49 |
}; |
| 50 |
}; |
| 51 |
}; |
| 52 |
}; |
| 53 |
|
| 54 |
&aiu { |
| 55 |
status = "okay"; |
| 56 |
}; |
| 57 |
|
| 58 |
&ir { |
| 59 |
linux,rc-map-name = "rc-wetek-hub"; |
| 60 |
}; |