• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
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 */
9#include "stih41x-b2020x.dtsi"
10/ {
11	memory{
12		device_type = "memory";
13		reg = <0x40000000 0x80000000>;
14	};
15
16	chosen {
17		bootargs = "console=ttyAS0,115200 clk_ignore_unused";
18		linux,stdout-path = &sbc_serial1;
19	};
20
21	aliases {
22		ttyAS0 = &sbc_serial1;
23		ethernet1 = &ethernet1;
24	};
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		};
43
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		};
65
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		};
77	};
78};
79