mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09: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:
@@ -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 @@
|
||||
};
|
||||
};
|
||||
|
||||
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>;
|
||||
|
||||
Reference in New Issue
Block a user