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