From 9b6cfb7947a5bc58be106ea0fe8682f9008bd89f Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Wed, 5 Aug 2020 11:19:01 +0200 Subject: [PATCH 195/478] arm64: dts: sun50i-a64-pinephone: Fix BH modem manager behavior PP 1.1 has STATUS line multiplexed with POWER KEY, but reading it doesn't work reliably. Just treat 1.1 as if it was 1.0, and ignore the STATUS. --- arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts index 9da19016ae8d..b93753d163f3 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts @@ -119,8 +119,8 @@ modem { enable-gpios = <&pio 7 8 GPIO_ACTIVE_LOW>; /* PH8 */ reset-gpios = <&pio 2 4 GPIO_ACTIVE_HIGH>; /* PC4 */ - status-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */ - status-pwrkey-multiplexed; /* status acts as pwrkey */ + pwrkey-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */ + //status-pwrkey-multiplexed; /* status acts as pwrkey */ sleep-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */ wakeup-gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; /* PB2-RI */ -- 2.35.3