]> git.ipfire.org Git - thirdparty/kernel/stable.git/blob - arch/arm/boot/dts/omap5-igep0050.dts
fef2a446b61c32113704a2a782ec89443d250a29
[thirdparty/kernel/stable.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 <dt-bindings/input/input.h>
11 #include "omap5-board-common.dtsi"
12
13 / {
14 model = "IGEPv5";
15 compatible = "isee,omap5-igep0050", "ti,omap5";
16
17 memory@80000000 {
18 device_type = "memory";
19 reg = <0x0 0x80000000 0 0x7f000000>; /* 2032 MB */
20 };
21
22 aliases {
23 ethernet = &ethernet;
24 };
25
26 gpio_keys {
27 compatible = "gpio-keys";
28 pinctrl-0 = <&power_button_pin>;
29 pinctrl-names = "default";
30
31 power-button {
32 label = "Power Button";
33 linux,code = <KEY_POWER>;
34 gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
35 };
36 };
37
38 leds {
39 compatible = "gpio-leds";
40 led@1 {
41 label = "board:green:usr0";
42 gpios = <&tca6416 1 0>;
43 default-state = "off";
44 };
45 led@2 {
46 label = "board:red:usr1";
47 gpios = <&tca6416 2 0>;
48 default-state = "off";
49 };
50 led@3 {
51 label = "board:blue:usr1";
52 gpios = <&tca6416 3 0>;
53 default-state = "off";
54 };
55 };
56 };
57
58 &hdmi {
59 vdda-supply = <&ldo7_reg>;
60 };
61
62 &i2c4 {
63 pinctrl-names = "default";
64 pinctrl-0 = <&i2c4_pins>;
65
66 tca6416: tca6416@21 {
67 compatible = "ti,tca6416";
68 reg = <0x21>;
69 gpio-controller;
70 #gpio-cells = <2>;
71 };
72 };
73
74 /* LDO4 is VPP1 - ball AD9 */
75 &ldo4_reg {
76 regulator-min-microvolt = <2000000>;
77 regulator-max-microvolt = <2000000>;
78 };
79
80 /*
81 * LDO7 is used for HDMI: VDDA_DSIPORTA - ball AA33, VDDA_DSIPORTC - ball AE33,
82 * VDDA_HDMI - ball AN25
83 */
84 &ldo7_reg {
85 status = "okay";
86 regulator-min-microvolt = <1800000>;
87 regulator-max-microvolt = <1800000>;
88 };
89
90 &omap5_pmx_core {
91 i2c4_pins: pinmux_i2c4_pins {
92 pinctrl-single,pins = <
93 OMAP5_IOPAD(0x0f8, PIN_INPUT | MUX_MODE0) /* i2c4_scl */
94 OMAP5_IOPAD(0x0fa, PIN_INPUT | MUX_MODE0) /* i2c4_sda */
95 >;
96 };
97
98 power_button_pin: pinctrl_power_button_pin {
99 pinctrl-single,pins = <
100 OMAP5_IOPAD(0x086, PIN_INPUT | MUX_MODE6) /* gpio4_118 */
101 >;
102 };
103 };
104
105 &tpd12s015 {
106 gpios = <&tca6416 11 0>, /* TCA6416 P01, CT_CP_HDP */
107 <&tca6416 12 0>, /* TCA6416 P00, LS_OE*/
108 <&gpio7 1 0>, /* 193, HPD */
109 <&gpio7 2 0>, /* 194, SCL */
110 <&gpio7 3 0>; /* 195, SDA */
111 };
112
113 &twl6040 {
114 ti,audpwron-gpio = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* gpio line 144 */
115 };
116
117 &twl6040_pins {
118 pinctrl-single,pins = <
119 OMAP5_IOPAD(0x1c4, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_144 */
120 OMAP5_IOPAD(0x1ca, PIN_OUTPUT | MUX_MODE6) /* perslimbus2_clock.gpio5_145 */
121 >;
122 };
123
124 &usbhsehci {
125 #address-cells = <1>;
126 #size-cells = <0>;
127
128 hub@2 {
129 compatible = "usb424,3503";
130 reg = <2>;
131 #address-cells = <1>;
132 #size-cells = <0>;
133
134 ethernet: usbether@3 {
135 compatible = "usb424,7500";
136 reg = <3>;
137 };
138 };
139 };