Merge tag 'xfs-for-linus-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / omap5-igep0050.dts
1 /*
2  * Copyright (C) 2013 ISEE 2007 SL - http://www.isee.biz/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 /dts-v1/;
9
10 #include "omap5-board-common.dtsi"
11
12 / {
13         model = "IGEPv5";
14         compatible = "isee,omap5-igep0050", "ti,omap5";
15
16         memory {
17                 device_type = "memory";
18                 reg = <0x80000000 0x7f000000>; /* 2032 MB */
19         };
20 };
21
22 &hdmi {
23         vdda-supply = <&ldo7_reg>;
24 };
25
26 &i2c4 {
27         pinctrl-names = "default";
28         pinctrl-0 = <&i2c4_pins>;
29
30         tca6416: tca6416@21 {
31                 compatible = "ti,tca6416";
32                 reg = <0x21>;
33                 gpio-controller;
34                 #gpio-cells = <2>;
35         };
36 };
37
38 /* LDO4 is VPP1 - ball AD9 */
39 &ldo4_reg {
40         regulator-min-microvolt = <2000000>;
41         regulator-max-microvolt = <2000000>;
42 };
43
44 /*
45  * LDO7 is used for HDMI: VDDA_DSIPORTA - ball AA33, VDDA_DSIPORTC - ball AE33,
46  * VDDA_HDMI - ball AN25
47  */
48 &ldo7_reg {
49         status = "okay";
50         regulator-min-microvolt = <1800000>;
51         regulator-max-microvolt = <1800000>;
52 };
53
54 &omap5_pmx_core {
55         i2c4_pins: pinmux_i2c4_pins {
56                 pinctrl-single,pins = <
57                         OMAP5_IOPAD(0x0f8, PIN_INPUT | MUX_MODE0)       /* i2c4_scl */
58                         OMAP5_IOPAD(0x0fa, PIN_INPUT | MUX_MODE0)       /* i2c4_sda */
59                 >;
60         };
61 };
62
63 &tpd12s015 {
64         gpios = <&tca6416 11 0>,        /* TCA6416 P01, CT_CP_HDP */
65                 <&tca6416 12 0>,        /* TCA6416 P00, LS_OE*/
66                 <&gpio7 1 0>,           /* 193, HPD */
67                 <&gpio7 2 0>,           /* 194, SCL */
68                 <&gpio7 3 0>;           /* 195, SDA */
69 };
70
71 &twl6040 {
72         ti,audpwron-gpio = <&gpio5 16 GPIO_ACTIVE_HIGH>;  /* gpio line 144 */
73 };
74
75 &twl6040_pins {
76         pinctrl-single,pins = <
77                 OMAP5_IOPAD(0x1c4, PIN_OUTPUT | MUX_MODE6)      /* mcspi1_somi.gpio5_144 */
78                 OMAP5_IOPAD(0x1ca, PIN_OUTPUT | MUX_MODE6)      /* perslimbus2_clock.gpio5_145 */
79         >;
80 };