version 1.1.1.7, 2020/01/03 14:33:38 |
version 1.1.1.8, 2021/11/07 16:50:07 |
|
|
*/ |
*/ |
|
|
#include "meson-gxbb.dtsi" |
#include "meson-gxbb.dtsi" |
|
#include <dt-bindings/sound/meson-aiu.h> |
|
|
/ { |
/ { |
compatible = "tronsmart,vega-s95", "amlogic,meson-gxbb"; |
compatible = "tronsmart,vega-s95", "amlogic,meson-gxbb"; |
|
|
stdout-path = "serial0:115200n8"; |
stdout-path = "serial0:115200n8"; |
}; |
}; |
|
|
|
spdif_dit: audio-codec-0 { |
|
#sound-dai-cells = <0>; |
|
compatible = "linux,spdif-dit"; |
|
status = "okay"; |
|
sound-name-prefix = "DIT"; |
|
}; |
|
|
leds { |
leds { |
compatible = "gpio-leds"; |
compatible = "gpio-leds"; |
|
|
blue { |
led-blue { |
label = "vega-s95:blue:on"; |
label = "vega-s95:blue:on"; |
gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; |
gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; |
default-state = "on"; |
default-state = "on"; |
|
|
clocks = <&wifi32k>; |
clocks = <&wifi32k>; |
clock-names = "ext_clock"; |
clock-names = "ext_clock"; |
}; |
}; |
|
|
|
sound { |
|
compatible = "amlogic,gx-sound-card"; |
|
model = "VEGA-S95"; |
|
assigned-clocks = <&clkc CLKID_MPLL0>, |
|
<&clkc CLKID_MPLL1>, |
|
<&clkc CLKID_MPLL2>; |
|
assigned-clock-parents = <0>, <0>, <0>; |
|
assigned-clock-rates = <294912000>, |
|
<270950400>, |
|
<393216000>; |
|
status = "okay"; |
|
|
|
dai-link-0 { |
|
sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; |
|
}; |
|
|
|
dai-link-1 { |
|
sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; |
|
}; |
|
|
|
dai-link-2 { |
|
sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; |
|
dai-format = "i2s"; |
|
mclk-fs = <256>; |
|
|
|
codec-0 { |
|
sound-dai = <&aiu AIU_HDMI CTRL_I2S>; |
|
}; |
|
}; |
|
|
|
dai-link-3 { |
|
sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; |
|
|
|
codec-0 { |
|
sound-dai = <&spdif_dit>; |
|
}; |
|
}; |
|
|
|
dai-link-4 { |
|
sound-dai = <&aiu AIU_HDMI CTRL_OUT>; |
|
|
|
codec-0 { |
|
sound-dai = <&hdmi_tx>; |
|
}; |
|
}; |
|
}; |
|
}; |
|
|
|
&aiu { |
|
status = "okay"; |
|
pinctrl-0 = <&spdif_out_y_pins>; |
|
pinctrl-names = "default"; |
}; |
}; |
|
|
&cec_AO { |
&cec_AO { |
|
|
reg = <0>; |
reg = <0>; |
|
|
reset-assert-us = <10000>; |
reset-assert-us = <10000>; |
reset-deassert-us = <30000>; |
reset-deassert-us = <80000>; |
reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>; |
reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>; |
|
|
interrupt-parent = <&gpio_intc>; |
interrupt-parent = <&gpio_intc>; |
|
|
bluetooth { |
bluetooth { |
compatible = "brcm,bcm43438-bt"; |
compatible = "brcm,bcm43438-bt"; |
shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>; |
shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>; |
|
max-speed = <2000000>; |
|
clocks = <&wifi32k>; |
|
clock-names = "lpo"; |
}; |
}; |
}; |
}; |
|
|