Srinivas Kandagatla | 40e3e67 | 2013-06-25 12:16:13 +0100 | [diff] [blame] | 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 | */ |
Lee Jones | ab3607d | 2014-03-21 11:33:08 +0000 | [diff] [blame] | 9 | #include "stih41x-b2020x.dtsi" |
Srinivas Kandagatla | 40e3e67 | 2013-06-25 12:16:13 +0100 | [diff] [blame] | 10 | / { |
| 11 | memory{ |
| 12 | device_type = "memory"; |
| 13 | reg = <0x40000000 0x80000000>; |
| 14 | }; |
| 15 | |
| 16 | chosen { |
Gabriel FERNANDEZ | 63a557a | 2014-05-20 15:22:00 +0200 | [diff] [blame] | 17 | bootargs = "console=ttyAS0,115200 clk_ignore_unused"; |
Srinivas Kandagatla | 40e3e67 | 2013-06-25 12:16:13 +0100 | [diff] [blame] | 18 | linux,stdout-path = &sbc_serial1; |
| 19 | }; |
| 20 | |
| 21 | aliases { |
| 22 | ttyAS0 = &sbc_serial1; |
Srinivas Kandagatla | c80fe335 | 2014-01-29 16:19:44 +0000 | [diff] [blame] | 23 | ethernet1 = ðernet1; |
Srinivas Kandagatla | 40e3e67 | 2013-06-25 12:16:13 +0100 | [diff] [blame] | 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 | }; |
Maxime COQUELIN | c6fddbd | 2013-11-06 09:25:15 +0100 | [diff] [blame] | 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 | }; |
Srinivas Kandagatla | c80fe335 | 2014-01-29 16:19:44 +0000 | [diff] [blame] | 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 | }; |
Srinivas Kandagatla | 40e3e67 | 2013-06-25 12:16:13 +0100 | [diff] [blame] | 77 | }; |
| 78 | }; |