blob: 76e499d89d2487e781ada99be651b09b2fd937d1 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
Tony Lindgren23c74bf2015-10-16 12:32:33 -07002/*
3 * Copyright (C) 2013 ISEE 2007 SL - http://www.isee.biz/
Tony Lindgren23c74bf2015-10-16 12:32:33 -07004 */
5/dts-v1/;
6
Tony Lindgrenb118c6a2016-09-09 14:07:29 -07007#include <dt-bindings/input/input.h>
Tony Lindgren23c74bf2015-10-16 12:32:33 -07008#include "omap5-board-common.dtsi"
9
10/ {
11 model = "IGEPv5";
12 compatible = "isee,omap5-igep0050", "ti,omap5";
13
Javier Martinez Canillasbfa130b2016-08-31 12:35:29 +020014 memory@80000000 {
Tony Lindgren23c74bf2015-10-16 12:32:33 -070015 device_type = "memory";
Tony Lindgren98cc4542016-09-13 16:10:56 -070016 reg = <0x0 0x80000000 0 0x7f000000>; /* 2032 MB */
Tony Lindgren23c74bf2015-10-16 12:32:33 -070017 };
Tony Lindgrenb118c6a2016-09-09 14:07:29 -070018
Tony Lindgrenf7f01ff2017-01-05 08:37:03 -080019 aliases {
20 ethernet = &ethernet;
21 };
22
Tony Lindgrenb118c6a2016-09-09 14:07:29 -070023 gpio_keys {
Ladislav Michlce385a52016-09-20 14:09:03 +020024 compatible = "gpio-keys";
Tony Lindgrenb118c6a2016-09-09 14:07:29 -070025 pinctrl-0 = <&power_button_pin>;
26 pinctrl-names = "default";
27
28 power-button {
29 label = "Power Button";
30 linux,code = <KEY_POWER>;
Tony Lindgrend6c91b92016-09-20 11:37:35 -070031 gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
Tony Lindgrenb118c6a2016-09-09 14:07:29 -070032 };
33 };
Tony Lindgrene7ee0bc2016-09-11 13:50:57 -070034
35 leds {
36 compatible = "gpio-leds";
37 led@1 {
38 label = "board:green:usr0";
39 gpios = <&tca6416 1 0>;
40 default-state = "off";
41 };
42 led@2 {
43 label = "board:red:usr1";
44 gpios = <&tca6416 2 0>;
45 default-state = "off";
46 };
47 led@3 {
48 label = "board:blue:usr1";
49 gpios = <&tca6416 3 0>;
50 default-state = "off";
51 };
52 };
Tony Lindgren23c74bf2015-10-16 12:32:33 -070053};
54
55&hdmi {
56 vdda-supply = <&ldo7_reg>;
57};
58
59&i2c4 {
60 pinctrl-names = "default";
61 pinctrl-0 = <&i2c4_pins>;
62
63 tca6416: tca6416@21 {
64 compatible = "ti,tca6416";
65 reg = <0x21>;
66 gpio-controller;
67 #gpio-cells = <2>;
68 };
69};
70
Tony Lindgren6c054952016-05-12 13:29:48 -070071/* LDO4 is VPP1 - ball AD9 */
72&ldo4_reg {
73 regulator-min-microvolt = <2000000>;
74 regulator-max-microvolt = <2000000>;
75};
76
77/*
78 * LDO7 is used for HDMI: VDDA_DSIPORTA - ball AA33, VDDA_DSIPORTC - ball AE33,
79 * VDDA_HDMI - ball AN25
80 */
81&ldo7_reg {
82 status = "okay";
83 regulator-min-microvolt = <1800000>;
84 regulator-max-microvolt = <1800000>;
85};
86
Tony Lindgren23c74bf2015-10-16 12:32:33 -070087&omap5_pmx_core {
88 i2c4_pins: pinmux_i2c4_pins {
89 pinctrl-single,pins = <
90 OMAP5_IOPAD(0x0f8, PIN_INPUT | MUX_MODE0) /* i2c4_scl */
91 OMAP5_IOPAD(0x0fa, PIN_INPUT | MUX_MODE0) /* i2c4_sda */
92 >;
93 };
Tony Lindgrenb118c6a2016-09-09 14:07:29 -070094
95 power_button_pin: pinctrl_power_button_pin {
96 pinctrl-single,pins = <
97 OMAP5_IOPAD(0x086, PIN_INPUT | MUX_MODE6) /* gpio4_118 */
98 >;
99 };
Tony Lindgren23c74bf2015-10-16 12:32:33 -0700100};
101
102&tpd12s015 {
103 gpios = <&tca6416 11 0>, /* TCA6416 P01, CT_CP_HDP */
104 <&tca6416 12 0>, /* TCA6416 P00, LS_OE*/
105 <&gpio7 1 0>, /* 193, HPD */
106 <&gpio7 2 0>, /* 194, SCL */
107 <&gpio7 3 0>; /* 195, SDA */
108};
109
Tony Lindgren49111cd2016-05-12 13:29:48 -0700110&twl6040 {
111 ti,audpwron-gpio = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* gpio line 144 */
112};
113
114&twl6040_pins {
115 pinctrl-single,pins = <
116 OMAP5_IOPAD(0x1c4, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_144 */
117 OMAP5_IOPAD(0x1ca, PIN_OUTPUT | MUX_MODE6) /* perslimbus2_clock.gpio5_145 */
118 >;
119};
Tony Lindgrenf7f01ff2017-01-05 08:37:03 -0800120
121&usbhsehci {
122 #address-cells = <1>;
123 #size-cells = <0>;
124
125 hub@2 {
126 compatible = "usb424,3503";
127 reg = <2>;
128 #address-cells = <1>;
129 #size-cells = <0>;
130
131 ethernet: usbether@3 {
132 compatible = "usb424,7500";
133 reg = <3>;
134 };
135 };
136};