From aeef74f00ab089d1fd4595f57a72e041b0c76c27 Mon Sep 17 00:00:00 2001 From: suyuan168 <175338101@qq.com> Date: Thu, 14 Jul 2022 17:53:31 +0800 Subject: [PATCH] fix --- .../arm/boot/dts/qcom-ipq4019-nhx4019.dts | 24 +++++++++++++++++++ root/target/linux/ipq40xx/image/generic.mk | 1 + 2 files changed, 25 insertions(+) diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-nhx4019.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-nhx4019.dts index 4264673d..4bc8eeef 100755 --- a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-nhx4019.dts +++ b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-nhx4019.dts @@ -137,6 +137,30 @@ label = "nhx:xnet"; gpio = <&tlmm 0 GPIO_ACTIVE_HIGH>; }; + + 5g1pwr { + pins = "gpio51"; + function = "gpio"; + drive-strength = <8>; + bias-pull-up; + output-high; + }; + + 5g2pwr { + pins = "gpio50"; + function = "gpio"; + drive-strength = <8>; + bias-pull-up; + output-high; + }; + + 5g3pwr { + pins = "gpio46"; + function = "gpio"; + drive-strength = <8>; + bias-pull-up; + output-high; + }; }; keys { diff --git a/root/target/linux/ipq40xx/image/generic.mk b/root/target/linux/ipq40xx/image/generic.mk index e5349f8b..38c8f0fe 100755 --- a/root/target/linux/ipq40xx/image/generic.mk +++ b/root/target/linux/ipq40xx/image/generic.mk @@ -841,5 +841,6 @@ define Device/nhx_nhx4019 SOC := qcom-ipq4019 BLOCKSIZE := 128k PAGESIZE := 2048 + DEVICE_PACKAGES := uboot-envtools endef TARGET_DEVICES += nhx_nhx4019