]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/arm/boot/dts/stih410-b2260.dts
Merge tag 'topic/designware-baytrail-2017-03-02' of git://anongit.freedesktop.org...
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / stih410-b2260.dts
1 /*
2 * Copyright (C) 2016 STMicroelectronics (R&D) Limited.
3 * Author: Patrice Chotard <patrice.chotard@st.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */
9 /dts-v1/;
10 #include "stih410.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12
13 / {
14 model = "STiH410 B2260";
15 compatible = "st,stih410-b2260", "st,stih410";
16
17 chosen {
18 bootargs = "console=ttyAS1,115200 clk_ignore_unused";
19 linux,stdout-path = &uart1;
20 };
21
22 memory {
23 device_type = "memory";
24 reg = <0x40000000 0x40000000>;
25 };
26
27 aliases {
28 ttyAS1 = &uart1;
29 ethernet0 = &ethernet0;
30 };
31
32 soc {
33
34 leds {
35 compatible = "gpio-leds";
36 user_green_1 {
37 label = "User_green_1";
38 gpios = <&pio1 3 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "heartbeat";
40 default-state = "off";
41 };
42
43 user_green_2 {
44 label = "User_green_2";
45 gpios = <&pio4 1 GPIO_ACTIVE_LOW>;
46 default-state = "off";
47 };
48
49 user_green_3 {
50 label = "User_green_3";
51 gpios = <&pio2 1 GPIO_ACTIVE_LOW>;
52 default-state = "off";
53 };
54
55 user_green_4 {
56 label = "User_green_4";
57 gpios = <&pio2 5 GPIO_ACTIVE_LOW>;
58 default-state = "off";
59 };
60 };
61
62 /* Low speed expansion connector */
63 uart0: serial@9830000 {
64 label = "LS-UART0";
65 pinctrl-names = "default", "no-hw-flowctrl";
66 pinctrl-0 = <&pinctrl_serial0_hw_flowctrl>;
67 pinctrl-1 = <&pinctrl_serial0>;
68 rts-gpios = <&pio17 3 GPIO_ACTIVE_LOW>;
69 uart-has-rtscts;
70 status = "okay";
71 };
72
73 /* Low speed expansion connector */
74 uart1: serial@9831000 {
75 label = "LS-UART1";
76 status = "okay";
77 };
78
79 /* Low speed expansion connector */
80 spi0: spi@9844000 {
81 label = "LS-SPI0";
82 cs-gpios = <&pio30 3 0>;
83 status = "okay";
84 };
85
86 /* Low speed expansion connector */
87 i2c0: i2c@9840000 {
88 label = "LS-I2C0";
89 status = "okay";
90 };
91
92 /* Low speed expansion connector */
93 i2c1: i2c@9841000 {
94 label = "LS-I2C1";
95 status = "okay";
96 };
97
98 /* high speed expansion connector */
99 i2c2: i2c@9842000 {
100 label = "HS-I2C2";
101 pinctrl-0 = <&pinctrl_i2c2_alt2_1>;
102 status = "okay";
103 };
104
105 /* high speed expansion connector */
106 i2c3: i2c@9843000 {
107 label = "HS-I2C3";
108 pinctrl-0 = <&pinctrl_i2c3_alt3_0>;
109 status = "okay";
110 };
111
112 mmc0: sdhci@09060000 {
113 pinctrl-0 = <&pinctrl_sd0>;
114 bus-width = <4>;
115 status = "okay";
116 };
117
118 /* high speed expansion connector */
119 mmc1: sdhci@09080000 {
120 status = "okay";
121 };
122
123 pwm0: pwm@9810000 {
124 status = "okay";
125 };
126
127 pwm1: pwm@9510000 {
128 status = "okay";
129 };
130
131 usb2_picophy1: phy2 {
132 status = "okay";
133 };
134
135 usb2_picophy2: phy3 {
136 status = "okay";
137 };
138
139 ohci0: usb@9a03c00 {
140 status = "okay";
141 };
142
143 ehci0: usb@9a03e00 {
144 status = "okay";
145 };
146
147 ohci1: usb@9a83c00 {
148 status = "okay";
149 };
150
151 ehci1: usb@9a83e00 {
152 status = "okay";
153 };
154
155 st_dwc3: dwc3@8f94000 {
156 status = "okay";
157 };
158
159 ethernet0: dwmac@9630000 {
160 phy-mode = "rgmii";
161 pinctrl-0 = <&pinctrl_rgmii1 &pinctrl_rgmii1_mdio_1>;
162
163 snps,phy-bus-name = "stmmac";
164 snps,phy-bus-id = <0>;
165 snps,phy-addr = <0>;
166 snps,reset-gpio = <&pio0 7 0>;
167 snps,reset-active-low;
168 snps,reset-delays-us = <0 10000 1000000>;
169
170 status = "okay";
171 };
172
173 sti_uni_player0: sti-uni-player@8d80000 {
174 status = "okay";
175 };
176 /* SSC11 to HDMI */
177 hdmiddc: i2c@9541000 {
178 /* HDMI V1.3a supports Standard mode only */
179 clock-frequency = <100000>;
180 st,i2c-min-scl-pulse-width-us = <0>;
181 st,i2c-min-sda-pulse-width-us = <5>;
182 status = "okay";
183 };
184
185 sound {
186 compatible = "simple-audio-card";
187 simple-audio-card,name = "STI-B2260";
188 status = "okay";
189
190 simple-audio-card,dai-link@0 {
191 /* DAC */
192 format = "i2s";
193 mclk-fs = <128>;
194 cpu {
195 sound-dai = <&sti_uni_player0>;
196 };
197
198 codec {
199 sound-dai = <&sti_hdmi>;
200 };
201 };
202 };
203
204 miphy28lp_phy: miphy28lp@9b22000 {
205
206 phy_port1: port@9b2a000 {
207 st,osc-force-ext;
208 };
209 };
210
211 sata1: sata@9b28000 {
212 status = "okay";
213 };
214 };
215 };