mirror of
https://github.com/revyos/thead-kernel.git
synced 2026-09-18 13:22:15 +02:00
178 lines
2.7 KiB
Plaintext
178 lines
2.7 KiB
Plaintext
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2022 Alibaba Group Holding Limited.
|
|
*/
|
|
|
|
#include "light-a-val.dts"
|
|
|
|
/ {
|
|
display-subsystem {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&dpu_enc0 {
|
|
status = "okay";
|
|
|
|
ports {
|
|
/* output */
|
|
port@1 {
|
|
reg = <1>;
|
|
|
|
enc0_out: endpoint {
|
|
remote-endpoint = <&dsi0_in>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&dpu_enc1 {
|
|
ports {
|
|
/delete-node/ port@0;
|
|
};
|
|
};
|
|
|
|
&dpu {
|
|
status = "okay";
|
|
};
|
|
|
|
&dsi0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dhost_0 {
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
|
|
dsi0_in: endpoint {
|
|
remote-endpoint = <&enc0_out>;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
|
|
dsi0_out: endpoint {
|
|
remote-endpoint = <&panel0_in>;
|
|
};
|
|
};
|
|
};
|
|
|
|
panel0@0 {
|
|
compatible = "txd,dy800qwxpab";
|
|
reg = <0>;
|
|
backlight = <&lcd0_backlight>;
|
|
reset-gpio = <&gpio1_porta 5 1>; /* active low */
|
|
vdd1v8-supply = <&lcd0_1v8>;
|
|
vspn5v7-supply = <&lcd0_5v7>;
|
|
|
|
port {
|
|
panel0_in: endpoint {
|
|
remote-endpoint = <&dsi0_out>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&disp1_out {
|
|
remote-endpoint = <&hdmi_tx_in>;
|
|
};
|
|
|
|
&hdmi_tx {
|
|
status = "okay";
|
|
|
|
port@0 {
|
|
/* input */
|
|
hdmi_tx_in: endpoint {
|
|
remote-endpoint = <&disp1_out>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&audio_i2c0 {
|
|
clock-frequency = <100000>;
|
|
status = "okay";
|
|
|
|
es7210_audio_codec: es7210@40 {
|
|
#sound-dai-cells = <0>;
|
|
compatible = "MicArray_0";
|
|
reg = <0x40>;
|
|
sound-name-prefix = "ES7210";
|
|
};
|
|
};
|
|
|
|
&lightsound {
|
|
status = "okay";
|
|
simple-audio-card,widgets = "Speaker", "Speaker";
|
|
simple-audio-card,routing =
|
|
"Speaker", "AW87519 VO",
|
|
"AW87519 IN", "ES8156 ROUT";
|
|
simple-audio-card,aux-devs = <&audio_aw87519_pa>;
|
|
simple-audio-card,dai-link@0 { /* I2S - AUDIO SYS CODEC 8156*/
|
|
reg = <0>;
|
|
format = "i2s";
|
|
cpu {
|
|
sound-dai = <&i2s0 0>;
|
|
};
|
|
codec {
|
|
sound-dai = <&es8156_audio_codec>;
|
|
};
|
|
};
|
|
|
|
simple-audio-card,dai-link@1 { /* I2S - AUDIO SYS CODEC 7210*/
|
|
reg = <1>;
|
|
format = "i2s";
|
|
cpu {
|
|
sound-dai = <&i2s3 0>;
|
|
};
|
|
codec {
|
|
sound-dai = <&es7210_audio_codec>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&light_i2s {
|
|
status = "okay";
|
|
};
|
|
|
|
&i2s0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&i2s3 {
|
|
status = "okay";
|
|
};
|
|
|
|
&qspi0 {
|
|
status = "okay";
|
|
};
|
|
|
|
|
|
&qspi1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart3 {
|
|
status = "okay";
|
|
};
|
|
|
|
&sdhci1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&wcn_bt {
|
|
status = "okay";
|
|
};
|
|
|
|
&wcn_wifi {
|
|
status = "okay";
|
|
};
|