Skip to content

Commit 76c1c9c

Browse files
committed
ARM: dts: STi: Introduce B2260 board
B2260 board is the STMicroelectronics 96Board based on STiH410 soc : - 1GB DDR - On-Board USB combo WiFi/Bluetooth RTL8723BU with PCB soldered antenna - Ethernet 1000-BaseT - Sata - HDMI - 2 x USB2 type A - micro USB2 type AB - SD card slot - High speed connector (SD/I2C/USB interfaces) - Slow speed connector (UART/I2C/GPIO/SPI/PCM interfaces) Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
1 parent ecb8af4 commit 76c1c9c

File tree

2 files changed

+191
-0
lines changed

2 files changed

+191
-0
lines changed

arch/arm/boot/dts/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@ dtb-$(CONFIG_ARCH_SPEAR6XX) += \
686686
dtb-$(CONFIG_ARCH_STI) += \
687687
stih407-b2120.dtb \
688688
stih410-b2120.dtb \
689+
stih410-b2260.dtb \
689690
stih415-b2000.dtb \
690691
stih415-b2020.dtb \
691692
stih416-b2000.dtb \

arch/arm/boot/dts/stih410-b2260.dts

Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
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";
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+
status = "okay";
66+
};
67+
68+
/* Low speed expansion connector */
69+
uart1: serial@9831000 {
70+
label = "LS-UART1";
71+
status = "okay";
72+
};
73+
74+
/* Low speed expansion connector */
75+
spi0: spi@9844000 {
76+
label = "LS-SPI0";
77+
cs-gpio = <&pio30 3 0>;
78+
status = "okay";
79+
};
80+
81+
/* Low speed expansion connector */
82+
i2c0: i2c@9840000 {
83+
label = "LS-I2C0";
84+
status = "okay";
85+
};
86+
87+
/* Low speed expansion connector */
88+
i2c1: i2c@9841000 {
89+
label = "LS-I2C1";
90+
status = "okay";
91+
};
92+
93+
/* high speed expansion connector */
94+
i2c2: i2c@9842000 {
95+
label = "HS-I2C2";
96+
pinctrl-0 = <&pinctrl_i2c2_alt2_1>;
97+
status = "okay";
98+
};
99+
100+
/* high speed expansion connector */
101+
i2c3: i2c@9843000 {
102+
label = "HS-I2C3";
103+
pinctrl-0 = <&pinctrl_i2c3_alt3_0>;
104+
status = "okay";
105+
};
106+
107+
mmc0: sdhci@09060000 {
108+
pinctrl-0 = <&pinctrl_sd0>;
109+
bus-width = <4>;
110+
status = "okay";
111+
};
112+
113+
/* high speed expansion connector */
114+
mmc1: sdhci@09080000 {
115+
status = "okay";
116+
};
117+
118+
pwm0: pwm@9810000 {
119+
status = "okay";
120+
};
121+
122+
pwm1: pwm@9510000 {
123+
status = "okay";
124+
};
125+
126+
usb2_picophy1: phy2 {
127+
status = "okay";
128+
};
129+
130+
usb2_picophy2: phy3 {
131+
status = "okay";
132+
};
133+
134+
ohci0: usb@9a03c00 {
135+
status = "okay";
136+
};
137+
138+
ehci0: usb@9a03e00 {
139+
status = "okay";
140+
};
141+
142+
ohci1: usb@9a83c00 {
143+
status = "okay";
144+
};
145+
146+
ehci1: usb@9a83e00 {
147+
status = "okay";
148+
};
149+
150+
ethernet0: dwmac@9630000 {
151+
phy-mode = "rgmii";
152+
pinctrl-0 = <&pinctrl_rgmii1 &pinctrl_rgmii1_mdio_1>;
153+
154+
snps,phy-bus-name = "stmmac";
155+
snps,phy-bus-id = <0>;
156+
snps,phy-addr = <0>;
157+
snps,reset-gpio = <&pio0 7 0>;
158+
snps,reset-active-low;
159+
snps,reset-delays-us = <0 10000 1000000>;
160+
161+
status = "okay";
162+
};
163+
164+
/* SSC11 to HDMI */
165+
hdmiddc: i2c@9541000 {
166+
/* HDMI V1.3a supports Standard mode only */
167+
clock-frequency = <100000>;
168+
st,i2c-min-scl-pulse-width-us = <0>;
169+
st,i2c-min-sda-pulse-width-us = <5>;
170+
status = "okay";
171+
};
172+
173+
sti-display-subsystem {
174+
sti_hdmi: sti-hdmi@8d04000 {
175+
status = "okay";
176+
};
177+
};
178+
179+
miphy28lp_phy: miphy28lp@9b22000 {
180+
181+
phy_port1: port@9b2a000 {
182+
st,osc-force-ext;
183+
};
184+
};
185+
186+
sata1: sata@9b28000 {
187+
status = "okay";
188+
};
189+
};
190+
};

0 commit comments

Comments
 (0)