mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
2e86cd21b5
B2120 HDK is the reference board for STiH407 SoC. It has the following characteristics: - 1GB DDR3 - 8GB eMMC / SD-Card slot - 32MB NOR Flash - 1 x Gbit Ethernet - 1 x USB 3.0 port - 1 x Mini-PCIe - 1 x SATA - 1 x HDMI output - 1 x HDMI input - 1 x SPDIF This patch only introduces basic functionnalities, such as I2C and UART. Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
79 lines
1.4 KiB
Plaintext
79 lines
1.4 KiB
Plaintext
/*
|
|
* Copyright (C) 2014 STMicroelectronics (R&D) Limited.
|
|
* Author: Giuseppe Cavallaro <peppe.cavallaro@st.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.
|
|
*/
|
|
/dts-v1/;
|
|
#include "stih407.dtsi"
|
|
/ {
|
|
model = "STiH407 B2120";
|
|
compatible = "st,stih407-b2120", "st,stih407";
|
|
|
|
chosen {
|
|
bootargs = "console=ttyAS0,115200";
|
|
linux,stdout-path = &sbc_serial0;
|
|
};
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x40000000 0x80000000>;
|
|
};
|
|
|
|
aliases {
|
|
ttyAS0 = &sbc_serial0;
|
|
};
|
|
|
|
soc {
|
|
sbc_serial0: serial@9530000 {
|
|
status = "okay";
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
red {
|
|
#gpio-cells = <2>;
|
|
label = "Front Panel LED";
|
|
gpios = <&pio4 1 0>;
|
|
linux,default-trigger = "heartbeat";
|
|
};
|
|
green {
|
|
#gpio-cells = <2>;
|
|
gpios = <&pio1 3 0>;
|
|
default-state = "off";
|
|
};
|
|
};
|
|
|
|
i2c@9842000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@9843000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@9844000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@9845000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@9540000 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* SSC11 to HDMI */
|
|
i2c@9541000 {
|
|
status = "okay";
|
|
/* HDMI V1.3a supports Standard mode only */
|
|
clock-frequency = <100000>;
|
|
st,i2c-min-scl-pulse-width-us = <0>;
|
|
st,i2c-min-sda-pulse-width-us = <5>;
|
|
};
|
|
};
|
|
};
|