ARM64: dts: rockchip: rk3368-px5-evb-android: add gpio detection node

Change-Id: Ifb002c1211e1e92d759fbd2cc9ac3eb649167701
Signed-off-by: Kaige Li <kevin.li@rock-chips.com>
This commit is contained in:
Kaige Li 2018-01-31 09:16:51 +08:00 committed by Tao Huang
parent e680ddfb70
commit 345820113a

View File

@ -250,6 +250,28 @@ wireless-bluetooth {
status = "okay";
};
gpio_det: gpio-det {
compatible = "gpio-detection";
status = "okay";
pinctrl-0 = <&gpio3_b1 &gpio3_b2>;
pinctrl-names = "default";
car-reverse {
car-reverse-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
linux,debounce-ms = <5>;
label = "car-reverse";
gpio,wakeup;
};
car-acc {
car-acc-gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
linux,debounce-ms = <5>;
label = "car-acc";
gpio,wakeup;
};
};
vcc_sys: vcc-sys-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";