blob: 322e0e95176c4af242bb4ea534ed7e959dbc821b [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"
Patrice Chotardba5ba112016-08-10 15:13:00 +020010#include <dt-bindings/gpio/gpio.h>
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010011/ {
12 memory{
13 device_type = "memory";
14 reg = <0x40000000 0x80000000>;
15 };
16
17 chosen {
Gabriel FERNANDEZ63a557a2014-05-20 15:22:00 +020018 bootargs = "console=ttyAS0,115200 clk_ignore_unused";
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010019 linux,stdout-path = &sbc_serial1;
20 };
21
22 aliases {
23 ttyAS0 = &sbc_serial1;
Srinivas Kandagatlac80fe3352014-01-29 16:19:44 +000024 ethernet1 = &ethernet1;
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010025 };
26 soc {
27 sbc_serial1: serial@fe531000 {
28 status = "okay";
29 };
30
31 leds {
32 compatible = "gpio-leds";
33 red {
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010034 label = "Front Panel LED";
Patrice Chotardba5ba112016-08-10 15:13:00 +020035 gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
Srinivas Kandagatla40e3e672013-06-25 12:16:13 +010036 linux,default-trigger = "heartbeat";
37 };
38 green {
Patrice Chotardba5ba112016-08-10 15:13:00 +020039 gpios = <&pio4 7 GPIO_ACTIVE_HIGH>;
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};