Linux Audio

Check our new training course

Loading...
v4.17
 
 1/*
 2 * Copyright (C) 2014 H. Nikolaus Schaller <hns@goldelico.com>
 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#include "omap3-gta04.dtsi"
10
11/ {
12	model = "Goldelico GTA04A3";
13};
14
15&i2c2 {
16
17	/* alternate accelerometer that might be installed on some GTA04A3 boards */
18	lis302@1d {
19		compatible = "st,lis331dlh", "st,lis3lv02d";
20		reg = <0x1d>;
21		interrupt-parent = <&gpio3>;
22		interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
23		Vdd-supply = <&vaux2>;
24		Vdd_IO-supply = <&vaux2>;
25
26		st,click-single-x;
27		st,click-single-y;
28		st,click-single-z;
29		st,click-thresh-x = <8>;
30		st,click-thresh-y = <8>;
31		st,click-thresh-z = <10>;
32		st,click-click-time-limit = <9>;
33		st,click-latency = <50>;
34		st,irq1-click;
35		st,wakeup-x-lo;
36		st,wakeup-x-hi;
37		st,wakeup-y-lo;
38		st,wakeup-y-hi;
39		st,wakeup-z-lo;
40		st,wakeup-z-hi;
41		st,min-limit-x = <32>;
42		st,min-limit-y = <3>;
43		st,min-limit-z = <3>;
44		st,max-limit-x = <3>;
45		st,max-limit-y = <32>;
46		st,max-limit-z = <32>;
47	};
48};
v6.2
 1// SPDX-License-Identifier: GPL-2.0-only
 2/*
 3 * Copyright (C) 2014 H. Nikolaus Schaller <hns@goldelico.com>
 
 
 
 
 4 */
 5
 6#include "omap3-gta04.dtsi"
 7
 8/ {
 9	model = "Goldelico GTA04A3/Letux 2804";
10};
11
12&i2c2 {
13
14	/* alternate accelerometer that might be installed on some GTA04A3 boards */
15	lis302@1d {
16		compatible = "st,lis331dlh", "st,lis3lv02d";
17		reg = <0x1d>;
18		interrupt-parent = <&gpio3>;
19		interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
20		Vdd-supply = <&vaux2>;
21		Vdd_IO-supply = <&vaux2>;
22
23		st,click-single-x;
24		st,click-single-y;
25		st,click-single-z;
26		st,click-thresh-x = <8>;
27		st,click-thresh-y = <8>;
28		st,click-thresh-z = <10>;
29		st,click-click-time-limit = <9>;
30		st,click-latency = <50>;
31		st,irq1-click;
32		st,wakeup-x-lo;
33		st,wakeup-x-hi;
34		st,wakeup-y-lo;
35		st,wakeup-y-hi;
36		st,wakeup-z-lo;
37		st,wakeup-z-hi;
38		st,min-limit-x = <32>;
39		st,min-limit-y = <3>;
40		st,min-limit-z = <3>;
41		st,max-limit-x = <3>;
42		st,max-limit-y = <32>;
43		st,max-limit-z = <32>;
44	};
45};