blob: d4c20f4b95028b191e83381b720120842c33ba4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
/*
* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/* AM437x GP EVM with HDMI output */
#include "am437x-gp-evm.dts"
#include <dt-bindings/sound/sii9022-audio.h>
/ {
aliases {
display0 = &hdmi;
};
hdmi: connector {
compatible = "hdmi-connector";
label = "hdmi";
type = "b";
port {
hdmi_connector_in: endpoint {
remote-endpoint = <&sii9022_out>;
};
};
};
sound@1 {
compatible = "simple-audio-card";
simple-audio-card,name = "HDMI";
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&hdmi_dailink_master>;
simple-audio-card,frame-master = <&hdmi_dailink_master>;
hdmi_dailink_master: simple-audio-card,cpu {
sound-dai = <&mcasp1>;
system-clock-frequency = <24000000>;
system-clock-direction = "out";
};
simple-audio-card,codec {
sound-dai = <&sii9022>;
system-clock-frequency = <12000000>;
};
};
};
&lcd_bl {
status = "disabled";
};
&sound0 {
status = "disabled";
};
&i2c1 {
sii9022: sii9022@3b {
#sound-dai-cells = <0>;
compatible = "sil,sii9022";
reg = <0x3b>;
i2s-fifo-routing = <
(ENABLE_BIT|CONNECT_SD0)
0
0
0
>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
sii9022_in: endpoint {
remote-endpoint = <&dpi_out>;
};
};
port@1 {
reg = <1>;
sii9022_out: endpoint {
remote-endpoint = <&hdmi_connector_in>;
};
};
};
};
};
&dss {
port {
dpi_out: endpoint@0 {
remote-endpoint = <&sii9022_in>;
data-lines = <24>;
};
};
};
/* Override SelLCDorHDMI from am437x-gp-evm.dts to select HDMI */
&gpio5 {
p8 {
output-low;
};
};
|