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