mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
arm64: dts: rockchip: rk3399-excavator-sapphire: enabled st sensor driver for mpu6500
Change-Id: I68b2029dcdeb873c92adaabdc99f66f5d5f943bf Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
This commit is contained in:
@@ -778,7 +778,7 @@
|
||||
irq_enable = <0>;
|
||||
poll_delay_ms = <30>;
|
||||
type = <SENSOR_TYPE_ACCEL>;
|
||||
layout = <7>;
|
||||
layout = <2>;
|
||||
};
|
||||
|
||||
mpu6500_gyro: mpu_gyro@68 {
|
||||
@@ -787,7 +787,7 @@
|
||||
irq_enable = <0>;
|
||||
poll_delay_ms = <30>;
|
||||
type = <SENSOR_TYPE_GYROSCOPE>;
|
||||
layout = <7>;
|
||||
layout = <2>;
|
||||
};
|
||||
|
||||
fusb0: fusb30x@22 {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
*/
|
||||
|
||||
#include "rk3399-sapphire.dtsi"
|
||||
|
||||
#include <dt-bindings/sensor-dev.h>
|
||||
/ {
|
||||
compatible = "rockchip,rk3399-sapphire-excavator", "rockchip,rk3399";
|
||||
|
||||
@@ -155,6 +155,7 @@
|
||||
1894 3012 528000
|
||||
3013 99999 800000
|
||||
>;
|
||||
|
||||
auto-min-freq = <200000>;
|
||||
};
|
||||
|
||||
@@ -197,7 +198,7 @@
|
||||
i2c-scl-falling-time-ns = <20>;
|
||||
|
||||
mpu6500@68 {
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
compatible = "invensense,mpu6500";
|
||||
reg = <0x68>;
|
||||
irq-gpio = <&gpio1 22 IRQ_TYPE_EDGE_RISING>;
|
||||
@@ -209,6 +210,25 @@
|
||||
orientation-z= <0>;
|
||||
mpu-debug = <1>;
|
||||
};
|
||||
|
||||
mpu6500_acc: mpu_acc@68 {
|
||||
compatible = "mpu6500_acc";
|
||||
reg = <0x68>;
|
||||
irq-gpio = <&gpio1 22 IRQ_TYPE_EDGE_RISING>;
|
||||
irq_enable = <0>;
|
||||
poll_delay_ms = <30>;
|
||||
type = <SENSOR_TYPE_ACCEL>;
|
||||
layout = <2>;
|
||||
};
|
||||
|
||||
mpu6500_gyro: mpu_gyro@68 {
|
||||
compatible = "mpu6500_gyro";
|
||||
reg = <0x68>;
|
||||
irq_enable = <0>;
|
||||
poll_delay_ms = <30>;
|
||||
type = <SENSOR_TYPE_GYROSCOPE>;
|
||||
layout = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
|
||||
Reference in New Issue
Block a user