arm64: dts: rockchip: rk3566-rk817-tablet-k108: add gsensor mc3230

Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: I5e10a60fb4d51f595ddc1137ada156759b1daae8
This commit is contained in:
Weixin Zhou 2020-11-21 10:25:05 +08:00 committed by Tao Huang
parent ffbfbb30d8
commit 64447a07c8

View File

@ -783,17 +783,19 @@ gt9xx: gt9xx@14 {
&i2c5 {
status = "okay";
clock-frequency = <400000>;
sensor@18 {
compatible = "gs_sc7a20";
reg = <0x18>;
sensor@4c {
compatible = "gs_mc3230";
reg = <0x4c>;
type = <SENSOR_TYPE_ACCEL>;
irq_enable = <0>;
poll_delay_ms = <30>;
layout = <9>;
reprobe_en = <1>;
pinctrl-names = "default";
pinctrl-0 = <&sensor_gpio>;
irq-gpio = <&gpio3 RK_PA2 IRQ_TYPE_EDGE_RISING>;
poll_delay_ms = <10>;
layout = <1>;
irq-gpio = <&gpio3 RK_PA2 IRQ_TYPE_LEVEL_LOW>;
};
};