forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/arm/boot/dts/ste-href-tvk1281618.dtsi
....@@ -1,14 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 2012 ST-Ericsson AB
34 *
4
- * The code contained herein is licensed under the GNU General Public
5
- * License. You may obtain a copy of the GNU General Public License
6
- * Version 2 or later at the following locations:
7
- *
8
- * http://www.opensource.org/licenses/gpl-license.html
9
- * http://www.gnu.org/copyleft/gpl.html
10
- *
11
- * Device Tree for the TVK1281618 UIB
5
+ * Device Tree for the TVK1281618 family of UIBs
126 */
137
148 #include <dt-bindings/interrupt-controller/irq.h>
....@@ -87,62 +81,8 @@
8781 };
8882 };
8983 };
90
- /* Sensors mounted on this board variant */
84
+ /* Sensors mounted on all board variants */
9185 i2c@80128000 {
92
- lsm303dlh@18 {
93
- /* Accelerometer */
94
- compatible = "st,lsm303dlh-accel";
95
- st,drdy-int-pin = <1>;
96
- drive-open-drain;
97
- reg = <0x18>;
98
- vdd-supply = <&ab8500_ldo_aux1_reg>;
99
- vddio-supply = <&db8500_vsmps2_reg>;
100
- pinctrl-names = "default";
101
- pinctrl-0 = <&accel_tvk_mode>;
102
- /*
103
- * These interrupts cannot be used: the other component
104
- * ST-Micro L3D4200D gyro that is connected to the same lines
105
- * cannot set its DRDY line to open drain, so it cannot be
106
- * shared with other peripherals. The should be defined for
107
- * the falling edge if they could be wired together.
108
- *
109
- * interrupts-extended =
110
- * <&gpio1 0 IRQ_TYPE_EDGE_FALLING>,
111
- * <&gpio2 19 IRQ_TYPE_EDGE_FALLING>;
112
- */
113
- };
114
- lsm303dlh@1e {
115
- /* Magnetometer */
116
- compatible = "st,lsm303dlh-magn";
117
- reg = <0x1e>;
118
- vdd-supply = <&ab8500_ldo_aux1_reg>;
119
- vddio-supply = <&db8500_vsmps2_reg>;
120
- /*
121
- * These interrupts cannot be used: the other component
122
- * ST-Micro L3D4200D gyro that is connected to the same lines
123
- * cannot set its DRDY line to open drain, so it cannot be
124
- * shared with other peripherals. The should be defined for
125
- * the falling edge if they could be wired together.
126
- *
127
- * interrupts-extended =
128
- * <&gpio1 0 IRQ_TYPE_EDGE_FALLING>,
129
- * <&gpio2 19 IRQ_TYPE_EDGE_FALLING>;
130
- */
131
- };
132
- lis331dl@1c {
133
- /* Accelerometer */
134
- compatible = "st,lis331dl-accel";
135
- st,drdy-int-pin = <1>;
136
- reg = <0x1c>;
137
- vdd-supply = <&ab8500_ldo_aux1_reg>;
138
- vddio-supply = <&db8500_vsmps2_reg>;
139
- pinctrl-names = "default";
140
- pinctrl-0 = <&accel_tvk_mode>;
141
- interrupt-parent = <&gpio2>;
142
- /* INT2 would need to be open drain */
143
- interrupts = <18 IRQ_TYPE_EDGE_RISING>,
144
- <19 IRQ_TYPE_EDGE_RISING>;
145
- };
14686 ak8974@f {
14787 /* Magnetometer */
14888 compatible = "asahi-kasei,ak8974";