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