]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blob - arch/arm/boot/dts/am437x-gp-evm-hdmi.dts
ARM: dts: DRA7: enabling optional clks in DT
[android-sdk/kernel-video.git] / arch / arm / boot / dts / am437x-gp-evm-hdmi.dts
1 /*
2  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
9 /* AM437x GP EVM with HDMI output */
11 #include "am437x-gp-evm.dts"
12 #include <dt-bindings/sound/sii9022-audio.h>
14 / {
15         aliases {
16                 display0 = &hdmi;
17         };
19         hdmi: connector {
20                 compatible = "hdmi-connector";
21                 label = "hdmi";
23                 type = "b";
25                 port {
26                         hdmi_connector_in: endpoint {
27                                 remote-endpoint = <&sii9022_out>;
28                         };
29                 };
30         };
32         sound@1 {
33                 compatible = "simple-audio-card";
34                 simple-audio-card,name = "HDMI";
35                 simple-audio-card,format = "i2s";
36                 simple-audio-card,bitclock-master = <&hdmi_dailink_master>;
37                 simple-audio-card,frame-master = <&hdmi_dailink_master>;
38                 hdmi_dailink_master: simple-audio-card,cpu {
39                         sound-dai = <&mcasp1>;
40                         system-clock-frequency = <24000000>;
41                         system-clock-direction = "out";
42                 };
44                 simple-audio-card,codec {
45                         sound-dai = <&sii9022>;
46                         system-clock-frequency = <12000000>;
47                 };
48         };
49 };
51 &lcd_bl {
52         status = "disabled";
53 };
55 &sound0 {
56         status = "disabled";
57 };
59 &i2c1 {
60         sii9022: sii9022@3b {
61                 #sound-dai-cells = <0>;
62                 compatible = "sil,sii9022";
63                 reg = <0x3b>;
65                 i2s-fifo-routing = <
66                         (ENABLE_BIT|CONNECT_SD0)
67                         0
68                         0
69                         0
70                 >;
72                 /* XXX 'SelLCDorHDMI' Gpio, LOW to select HDMI */
73                 reset-gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>;
75                 ports {
76                         #address-cells = <1>;
77                         #size-cells = <0>;
79                         port@0 {
80                                 reg = <0>;
82                                 sii9022_in: endpoint {
83                                         remote-endpoint = <&dpi_out>;
84                                 };
85                         };
87                         port@1 {
88                                 reg = <1>;
90                                 sii9022_out: endpoint {
91                                         remote-endpoint = <&hdmi_connector_in>;
92                                 };
93                         };
94                 };
95         };
96 };
98 &dss {
99         port {
100                 dpi_out: endpoint@0 {
101                         remote-endpoint = <&sii9022_in>;
102                         data-lines = <24>;
103                 };
104         };
105 };