1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2016 BayLibre, Inc. 4 * Author: Neil Armstrong <narmstrong@baylibre.com> 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 = "GXBB-WETEK-HUB"; 19 assigned-clocks = <&clkc CLKID_MPLL0>, 20 <&clkc CLKID_MPLL1>, 21 <&clkc CLKID_MPLL2>; 22 assigned-clock-parents = <0>, <0>, <0>; 23 assigned-clock-rates = <294912000>, 24 <270950400>, 25 <393216000>; 26 status = "okay"; 27 28 dai-link-0 { 29 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 30 }; 31 32 dai-link-1 { 33 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 34 dai-format = "i2s"; 35 mclk-fs = <256>; 36 37 codec-0 { 38 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 39 }; 40 }; 41 42 dai-link-2 { 43 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 44 45 codec-0 { 46 sound-dai = <&hdmi_tx>; 47 }; 48 }; 49 }; 50}; 51 52&aiu { 53 status = "okay"; 54}; 55 56&ir { 57 linux,rc-map-name = "rc-wetek-hub"; 58}; 59