arm: dts: rk3288-evb: modify panel to edp_panel
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / omap3-overo-common-peripherals.dtsi
1 /*
2  * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
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
9 /*
10  * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...)
11  */
12
13 / {
14         lis33_3v3: lis33-3v3-reg {
15                 compatible = "regulator-fixed";
16                 regulator-name = "lis33-3v3-reg";
17                 regulator-min-microvolt = <3300000>;
18                 regulator-max-microvolt = <3300000>;
19         };
20
21         lis33_1v8: lis33-1v8-reg {
22                 compatible = "regulator-fixed";
23                 regulator-name = "lis33-1v8-reg";
24                 regulator-min-microvolt = <1800000>;
25                 regulator-max-microvolt = <1800000>;
26         };
27 };
28
29 &omap3_pmx_core {
30         i2c3_pins: pinmux_i2c3_pins {
31                 pinctrl-single,pins = <
32                         OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)        /* i2c3_scl.i2c3_scl */
33                         OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)        /* i2c3_sda.i2c3_sda */
34                 >;
35         };
36
37         uart3_pins: pinmux_uart3_pins {
38                 pinctrl-single,pins = <
39                         OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0)        /* uart3_rx_irrx.uart3_rx_irrx */
40                         OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)       /* uart3_tx_irtx.uart3_tx_irtx */
41                 >;
42         };
43 };
44
45 &i2c3 {
46         pinctrl-names = "default";
47         pinctrl-0 = <&i2c3_pins>;
48         clock-frequency = <100000>;
49
50         /* optional 1K EEPROM with revision information */
51         eeprom@51 {
52                 compatible = "atmel,24c01";
53                 reg = <0x51>;
54                 pagesize = <8>;
55         };
56
57         lis33de: lis33de@1d {
58                 compatible = "st,lis33de", "st,lis3lv02d";
59                 reg = <0x1d>;
60                 Vdd-supply = <&lis33_1v8>;
61                 Vdd_IO-supply = <&lis33_3v3>;
62
63                 st,click-single-x;
64                 st,click-single-y;
65                 st,click-single-z;
66                 st,click-thresh-x = <10>;
67                 st,click-thresh-y = <10>;
68                 st,click-thresh-z = <10>;
69                 st,irq1-click;
70                 st,irq2-click;
71                 st,wakeup-x-lo;
72                 st,wakeup-x-hi;
73                 st,wakeup-y-lo;
74                 st,wakeup-y-hi;
75                 st,wakeup-z-lo;
76                 st,wakeup-z-hi;
77                 st,min-limit-x = <120>;
78                 st,min-limit-y = <120>;
79                 st,min-limit-z = <140>;
80                 st,max-limit-x = <550>;
81                 st,max-limit-y = <550>;
82                 st,max-limit-z = <750>;
83         };
84 };
85
86 &mmc3 {
87         status = "disabled";
88 };
89
90 &uart3 {
91         interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>;
92         pinctrl-names = "default";
93         pinctrl-0 = <&uart3_pins>;
94 };
95