ARM: STi: Add I2C config to B2000 and B2020 boards
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / arm / boot / dts / stih41x-b2020.dtsi
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 / {
10         memory{
11                 device_type = "memory";
12                 reg = <0x40000000 0x80000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyAS0,115200";
17                 linux,stdout-path = &sbc_serial1;
18         };
19
20         aliases {
21                 ttyAS0 = &sbc_serial1;
22         };
23         soc {
24                 sbc_serial1: serial@fe531000 {
25                         status = "okay";
26                 };
27
28                 leds {
29                         compatible      = "gpio-leds";
30                         red {
31                                 #gpio-cells = <1>;
32                                 label   = "Front Panel LED";
33                                 gpios   = <&PIO4 1>;
34                                 linux,default-trigger   = "heartbeat";
35                         };
36                         green {
37                                 gpios   = <&PIO4 7>;
38                                 default-state = "off";
39                         };
40                 };
41
42                 i2c@fed40000 {
43                         status = "okay";
44                 };
45
46                 /* HDMI Tx I2C */
47                 i2c@fed41000 {
48                         /* HDMI V1.3a supports Standard mode only */
49                         clock-frequency = <100000>;
50                         i2c-min-scl-pulse-width-us = <0>;
51                         i2c-min-sda-pulse-width-us = <5>;
52
53                         status = "okay";
54                 };
55
56                 i2c@fe540000 {
57                         status = "okay";
58                 };
59
60                 i2c@fe541000 {
61                         status = "okay";
62                 };
63         };
64 };