blob: 487d7d87dbefb1127a1de540c5a839145e0325ad [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";
Lee Jonesdc62bfd2014-05-27 14:53:00 +020035 gpios = <&pio4 1>;
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010036 linux,default-trigger = "heartbeat";
37 };
38 green {
Lee Jonesdc62bfd2014-05-27 14:53:00 +020039 gpios = <&pio4 7>;
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010040 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";
Lee Jonesdc62bfd2014-05-27 14:53:00 +020071 snps,reset-gpio = <&pio3 0>;
Srinivas Kandagatlac80fe3352014-01-29 16:19:44 +000072 snps,reset-active-low;
73 snps,reset-delays-us = <0 10000 10000>;
74
75 pinctrl-0 = <&pinctrl_rgmii1>;
76 };
Peter Griffin6919edc2014-07-09 17:07:00 +020077
78 mmc0: sdhci@fe81e000 {
79 bus-width = <8>;
80 };
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010081 };
82};