xref: /freebsd/sys/contrib/device-tree/src/arm/ti/omap/omap4-droid-bionic-xt875.dts (revision 725a9f47324d42037db93c27ceb40d4956872f3e)
1// SPDX-License-Identifier: GPL-2.0-only
2/dts-v1/;
3
4#include "motorola-mapphone-common.dtsi"
5
6/ {
7	model = "Motorola Droid Bionic XT875";
8	compatible = "motorola,droid-bionic", "ti,omap4430", "ti,omap4";
9};
10
11&keypad {
12	keypad,num-rows = <8>;
13	keypad,num-columns = <8>;
14	linux,keymap = <
15	MATRIX_KEY(5, 0, KEY_VOLUMEUP)
16	MATRIX_KEY(3, 0, KEY_VOLUMEDOWN)
17	>;
18};
19
20&i2c1 {
21	led-controller@38 {
22		compatible = "ti,lm3532";
23		#address-cells = <1>;
24		#size-cells = <0>;
25		reg = <0x38>;
26
27		enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
28
29		ramp-up-us = <1024>;
30		ramp-down-us = <8193>;
31
32		backlight_led: led@0 {
33			reg = <0>;
34			led-sources = <2>;
35			ti,led-mode = <0>;
36			label = ":backlight";
37		};
38	};
39};
40
41&i2c4 {
42	kxtf9: accelerometer@f {
43		compatible = "kionix,kxtf9";
44		reg = <0x0f>;
45
46		vdd-supply = <&vhvio>;
47
48		interrupt-parent = <&gpio2>;
49		interrupts = <2 IRQ_TYPE_EDGE_RISING>;
50
51		rotation-matrix = "0", "-1", "0",
52				  "1", "0", "0",
53				  "0", "0", "1";
54	};
55};
56