diff options
author | Weixin Zhou <zwx@rock-chips.com> | 2018-10-26 16:37:24 +0800 |
---|---|---|
committer | Weixin Zhou <zwx@rock-chips.com> | 2018-10-26 16:44:31 +0800 |
commit | 6cc1f4b4542b047288630e9ffc9b397f39057001 (patch) | |
tree | 19d357a23f19ee37cf07e43b6672c6a4059e93e6 /arch/arm64/boot/dts/rockchip/rk3399pro-evb-v10.dts | |
parent | d6cec5366f55809109ec6dbbfbdc1fb170a819af (diff) |
arm64: dts: rockchip: rk3399pro-evb: fix for edp/tp/adc_key
Change-Id: I757d1be63a7fa66e1b1f47c3566674d2531ebaeb
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399pro-evb-v10.dts')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399pro-evb-v10.dts | 34 |
1 files changed, 4 insertions, 30 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-evb-v10.dts b/arch/arm64/boot/dts/rockchip/rk3399pro-evb-v10.dts index 4e5ab0e34380..df3c5bef8ca7 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-evb-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-evb-v10.dts @@ -92,6 +92,7 @@ 248 249 250 251 252 253 254 255 >; default-brightness-level = <200>; + enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; }; clkin_gmac: external-gmac-clock { @@ -189,8 +190,7 @@ panel: panel { compatible = "simple-panel"; backlight = <&backlight>; - enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>; + enable-gpios = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>; prepare-delay-ms = <20>; enable-delay-ms = <20>; reset-delay-ms = <20>; @@ -752,7 +752,7 @@ reg = <0x40>; screen_max_x = <1536>; screen_max_y = <2048>; - irq_gpio_number = <&gpio1 RK_PC7 IRQ_TYPE_LEVEL_LOW>; + irq_gpio_number = <&gpio4 RK_PC3 IRQ_TYPE_LEVEL_LOW>; rst_gpio_number = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>; }; }; @@ -823,31 +823,6 @@ status = "okay"; }; -&rk_key { - status = "okay"; - compatible = "rockchip,key"; - io-channels = <&saradc 1>; - - vol-up-key { - linux,code = <114>; - label = "volume up"; - rockchip,adc_value = <170>; - }; - - vol-down-key { - linux,code = <115>; - label = "volume down"; - rockchip,adc_value = <1>; - }; - - power-key { - gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; - linux,code = <116>; - label = "power"; - gpio-key,wakeup; - }; -}; - &rockchip_suspend { status = "okay"; rockchip,sleep-debug-en = <1>; @@ -869,9 +844,8 @@ <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>; }; -&route_dsi { +&route_edp { status = "okay"; - logo,mode = "center"; }; &saradc { |