0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /dts-v1/;
0003
0004 #include "motorola-mapphone-common.dtsi"
0005
0006 / {
0007 model = "Motorola Droid Bionic XT875";
0008 compatible = "motorola,droid-bionic", "ti,omap4430", "ti,omap4";
0009 };
0010
0011 &keypad {
0012 keypad,num-rows = <8>;
0013 keypad,num-columns = <8>;
0014 linux,keymap = <
0015 MATRIX_KEY(5, 0, KEY_VOLUMEUP)
0016 MATRIX_KEY(3, 0, KEY_VOLUMEDOWN)
0017 >;
0018 };
0019
0020 &i2c1 {
0021 led-controller@38 {
0022 compatible = "ti,lm3532";
0023 #address-cells = <1>;
0024 #size-cells = <0>;
0025 reg = <0x38>;
0026
0027 enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
0028
0029 ramp-up-us = <1024>;
0030 ramp-down-us = <8193>;
0031
0032 backlight_led: led@0 {
0033 reg = <0>;
0034 led-sources = <2>;
0035 ti,led-mode = <0>;
0036 label = ":backlight";
0037 };
0038 };
0039 };
0040
0041 &i2c4 {
0042 kxtf9: accelerometer@f {
0043 compatible = "kionix,kxtf9";
0044 reg = <0x0f>;
0045
0046 vdd-supply = <&vhvio>;
0047
0048 interrupt-parent = <&gpio2>;
0049 interrupts = <2 IRQ_TYPE_EDGE_RISING>;
0050
0051 rotation-matrix = "0", "-1", "0",
0052 "1", "0", "0",
0053 "0", "0", "1";
0054 };
0055 };