From 15e470ac6bd74e703ab0ed7a4b95095befb66cf2 Mon Sep 17 00:00:00 2001 From: Zhou weixin Date: Tue, 6 Feb 2018 22:39:32 +0800 Subject: [PATCH] arm64: dts: rockchip: add gt1x config for px30/rk3326 evb board Change-Id: Ic13cf5d07ee6d5f42f02b801252a8aa0d26246b4 Signed-off-by: Weixin Zhou --- arch/arm64/boot/dts/rockchip/px30-evb-ddr3-v10.dts | 11 +++++------ arch/arm64/boot/dts/rockchip/px30-evb-ddr4-v10.dts | 11 +++++------ arch/arm64/boot/dts/rockchip/rk3326-evb-lp3-v10.dts | 11 +++++------ 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30-evb-ddr3-v10.dts b/arch/arm64/boot/dts/rockchip/px30-evb-ddr3-v10.dts index 7d63ec9fd4f7..97e65dbe75d7 100644 --- a/arch/arm64/boot/dts/rockchip/px30-evb-ddr3-v10.dts +++ b/arch/arm64/boot/dts/rockchip/px30-evb-ddr3-v10.dts @@ -513,12 +513,11 @@ reprobe_en = <1>; }; - ts@40 { - status = "okay"; - compatible = "GT1X"; - reg = <0x14>; - irq_gpio_number = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>; - rst_gpio_number = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + gt1x: gt1x@14 { + compatible = "goodix,gt1x"; + reg = <0x14>; + goodix,rst-gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + goodix,irq-gpio = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>; }; sensor@4c { diff --git a/arch/arm64/boot/dts/rockchip/px30-evb-ddr4-v10.dts b/arch/arm64/boot/dts/rockchip/px30-evb-ddr4-v10.dts index 414ebeeea82d..9f51bef0ac96 100644 --- a/arch/arm64/boot/dts/rockchip/px30-evb-ddr4-v10.dts +++ b/arch/arm64/boot/dts/rockchip/px30-evb-ddr4-v10.dts @@ -514,12 +514,11 @@ reprobe_en = <1>; }; - ts@40 { - status = "okay"; - compatible = "GT1X"; - reg = <0x14>; - irq_gpio_number = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>; - rst_gpio_number = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + gt1x: gt1x@14 { + compatible = "goodix,gt1x"; + reg = <0x14>; + goodix,rst-gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + goodix,irq-gpio = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>; }; sensor@4c { diff --git a/arch/arm64/boot/dts/rockchip/rk3326-evb-lp3-v10.dts b/arch/arm64/boot/dts/rockchip/rk3326-evb-lp3-v10.dts index 21039345c414..8dfaf01aec71 100644 --- a/arch/arm64/boot/dts/rockchip/rk3326-evb-lp3-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3326-evb-lp3-v10.dts @@ -567,12 +567,11 @@ reprobe_en = <1>; }; - ts@40 { - status = "okay"; - compatible = "GT1X"; - reg = <0x14>; - irq_gpio_number = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>; - rst_gpio_number = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + gt1x: gt1x@14 { + compatible = "goodix,gt1x"; + reg = <0x14>; + goodix,rst-gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + goodix,irq-gpio = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>; }; sensor@4c {