blob: d8a84295c328bf778d35ad064c55a63f21ed96c4 [file] [log] [blame]
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +01001/*
2 * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
3 * Author: Srinivas Kandagatla <srinivas.kandagatla@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 * publishhed by the Free Software Foundation.
8 */
Lee Jonesab3607d2014-03-21 11:33:08 +00009#include "stih41x-b2020x.dtsi"
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010010/ {
11 memory{
12 device_type = "memory";
13 reg = <0x40000000 0x80000000>;
14 };
15
16 chosen {
Gabriel FERNANDEZ63a557a2014-05-20 15:22:00 +020017 bootargs = "console=ttyAS0,115200 clk_ignore_unused";
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010018 linux,stdout-path = &sbc_serial1;
19 };
20
21 aliases {
22 ttyAS0 = &sbc_serial1;
Srinivas Kandagatlac80fe3352014-01-29 16:19:44 +000023 ethernet1 = &ethernet1;
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010024 };
25 soc {
26 sbc_serial1: serial@fe531000 {
27 status = "okay";
28 };
29
30 leds {
31 compatible = "gpio-leds";
32 red {
33 #gpio-cells = <1>;
34 label = "Front Panel LED";
35 gpios = <&PIO4 1>;
36 linux,default-trigger = "heartbeat";
37 };
38 green {
39 gpios = <&PIO4 7>;
40 default-state = "off";
41 };
42 };
Maxime COQUELINc6fddbd2013-11-06 09:25:15 +010043
44 i2c@fed40000 {
45 status = "okay";
46 };
47
48 /* HDMI Tx I2C */
49 i2c@fed41000 {
50 /* HDMI V1.3a supports Standard mode only */
51 clock-frequency = <100000>;
52 i2c-min-scl-pulse-width-us = <0>;
53 i2c-min-sda-pulse-width-us = <5>;
54
55 status = "okay";
56 };
57
58 i2c@fe540000 {
59 status = "okay";
60 };
61
62 i2c@fe541000 {
63 status = "okay";
64 };
Srinivas Kandagatlac80fe3352014-01-29 16:19:44 +000065
66 ethernet1: dwmac@fef08000 {
67 status = "okay";
68 phy-mode = "rgmii-id";
69 max-speed = <1000>;
70 st,tx-retime-src = "clk_125";
71 snps,reset-gpio = <&PIO3 0>;
72 snps,reset-active-low;
73 snps,reset-delays-us = <0 10000 10000>;
74
75 pinctrl-0 = <&pinctrl_rgmii1>;
76 };
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010077 };
78};