We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dd58c0 commit 9b42966Copy full SHA for 9b42966
arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts
@@ -66,6 +66,13 @@
66
pinctrl-names = "default";
67
pinctrl-0 = <&i2c1_pins>;
68
status = "okay";
69
+
70
+ accelerometer@10 {
71
+ compatible = "bosch,bma255";
72
+ reg = <0x10>;
73
+ pinctrl-names = "default";
74
+ pinctrl-0 = <&accel_pins>;
75
+ };
76
};
77
78
&i2c2 {
@@ -155,6 +162,14 @@
155
162
156
163
157
164
165
+ accel_pins: accelerometer-pins {
166
+ pins-irq {
167
+ pinmux = <PINMUX_GPIO12__FUNC_GPIO12>;
168
+ bias-pull-up;
169
+ input-enable;
170
171
172
158
173
i2c0_pins: i2c0-pins {
159
174
pins-bus {
160
175
pinmux = <PINMUX_GPIO45__FUNC_SDA0>,
0 commit comments