mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
arm64: dts: rockchip: add hall-sensor device node for rk3399-mid
Change-Id: Iaf9c8aebc1006fe6058536689c1561c66ddde162 Signed-off-by: Bin Yang <yangbin@rock-chips.com>
This commit is contained in:
parent
5b8dd3f118
commit
78057612a8
|
|
@ -50,6 +50,15 @@
|
|||
/ {
|
||||
compatible = "rockchip,rk3399-mid", "rockchip,rk3399";
|
||||
|
||||
hall_sensor: hall-mh248 {
|
||||
compatible = "hall-mh248";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mh248_irq_gpio>;
|
||||
irq-gpio = <&gpio1 2 IRQ_TYPE_EDGE_BOTH>;
|
||||
hall-active = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
vcc_sys: vcc-sys {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc_sys";
|
||||
|
|
@ -1104,6 +1113,12 @@ vsel2_gpio: vsel2-gpio {
|
|||
};
|
||||
};
|
||||
|
||||
hallsensor {
|
||||
mh248_irq_gpio: mh248-irq-gpio {
|
||||
rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
headphone {
|
||||
hp_det: hp-det {
|
||||
rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user