mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ODROID-M1: arm64/dts: add touch screen device node to I2C4
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I48fc52b45cc89a0a4ff345e06511c7cc2f5c0d9b
This commit is contained in:
@@ -170,6 +170,25 @@
|
||||
pinctrl-0 = <&i2c3m1_xfer>;
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "disabled";
|
||||
|
||||
clock-frequency = <400000>;
|
||||
|
||||
touchscreen: touchscreen {
|
||||
status = "disabled";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&touch_gpios>;
|
||||
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <RK_PC4 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
irq-gpios = <&gpio0 RK_PC4 IRQ_TYPE_LEVEL_LOW>;
|
||||
reset-gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
&pcie30phy {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -180,6 +199,16 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
lcd {
|
||||
touch_gpios: touch-gpios {
|
||||
rockchip,pins =
|
||||
<4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>,
|
||||
<0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pwm1 {
|
||||
status = "disabled";
|
||||
pinctrl-0 = <&pwm1m1_pins>;
|
||||
|
||||
Reference in New Issue
Block a user