Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux-2.6-microblaze.git] / arch / arm / boot / dts / ste-href-tvk1281618-r2.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Device Tree for the TVK1281618 R2 UIB
4  */
5
6 #include "ste-href-tvk1281618.dtsi"
7
8 / {
9         soc {
10                 i2c@80128000 {
11                         lsm303dlh@18 {
12                                 /* Accelerometer */
13                                 compatible = "st,lsm303dlh-accel";
14                                 st,drdy-int-pin = <1>;
15                                 drive-open-drain;
16                                 reg = <0x18>;
17                                 vdd-supply = <&ab8500_ldo_aux1_reg>;
18                                 vddio-supply = <&db8500_vsmps2_reg>;
19                                 pinctrl-names = "default";
20                                 pinctrl-0 = <&accel_tvk_mode>;
21                                 /*
22                                  * These interrupts cannot be used: the other component
23                                  * ST-Micro L3D4200D gyro that is connected to the same lines
24                                  * cannot set its DRDY line to open drain, so it cannot be
25                                  * shared with other peripherals. The should be defined for
26                                  * the falling edge if they could be wired together.
27                                  *
28                                  * interrupts-extended =
29                                  * <&gpio1 0 IRQ_TYPE_EDGE_FALLING>,
30                                  * <&gpio2 19 IRQ_TYPE_EDGE_FALLING>;
31                                  */
32                         };
33                         lsm303dlh@1e {
34                                 /* Magnetometer */
35                                 compatible = "st,lsm303dlh-magn";
36                                 reg = <0x1e>;
37                                 vdd-supply = <&ab8500_ldo_aux1_reg>;
38                                 vddio-supply = <&db8500_vsmps2_reg>;
39                                 /*
40                                  * These interrupts cannot be used: the other component
41                                  * ST-Micro L3D4200D gyro that is connected to the same lines
42                                  * cannot set its DRDY line to open drain, so it cannot be
43                                  * shared with other peripherals. The should be defined for
44                                  * the falling edge if they could be wired together.
45                                  *
46                                  * interrupts-extended =
47                                  * <&gpio1 0 IRQ_TYPE_EDGE_FALLING>,
48                                  * <&gpio2 19 IRQ_TYPE_EDGE_FALLING>;
49                                  */
50                         };
51                         lis331dl@1c {
52                                 /* Accelerometer */
53                                 compatible = "st,lis331dl-accel";
54                                 st,drdy-int-pin = <1>;
55                                 reg = <0x1c>;
56                                 vdd-supply = <&ab8500_ldo_aux1_reg>;
57                                 vddio-supply = <&db8500_vsmps2_reg>;
58                                 pinctrl-names = "default";
59                                 pinctrl-0 = <&accel_tvk_mode>;
60                                 interrupt-parent = <&gpio2>;
61                                 /* INT2 would need to be open drain */
62                                 interrupts = <18 IRQ_TYPE_EDGE_RISING>,
63                                              <19 IRQ_TYPE_EDGE_RISING>;
64                         };
65                 };
66                 mcde@a0350000 {
67                         status = "okay";
68
69                         dsi@a0351000 {
70                                 panel {
71                                         compatible = "samsung,s6d16d0";
72                                         reg = <0>;
73                                         vdd1-supply = <&ab8500_ldo_aux1_reg>;
74                                         reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
75                                 };
76                         };
77                 };
78         };
79 };