Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Add gta04a3 model

Add gta04a3 model with additional acceleromer.

Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Marek Belisko and committed by
Tony Lindgren
4cf64060 d17eb9b2

+49
+1
arch/arm/boot/dts/Makefile
··· 262 262 omap3-devkit8000.dtb \ 263 263 omap3-evm.dtb \ 264 264 omap3-evm-37xx.dtb \ 265 + omap3-gta04a3.dtb \ 265 266 omap3-gta04a4.dtb \ 266 267 omap3-igep0020.dtb \ 267 268 omap3-igep0030.dtb \
+48
arch/arm/boot/dts/omap3-gta04a3.dts
··· 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 + };