From 2e476fcf1be230909a153fb1ca53cad51662eec0 Mon Sep 17 00:00:00 2001 From: suyuan168 <175338101@qq.com> Date: Tue, 28 Jun 2022 16:41:04 +0800 Subject: [PATCH] Update qcom-ipq4019-nhx4019.dts --- .../arm/boot/dts/qcom-ipq4019-nhx4019.dts | 92 +++++++++---------- 1 file changed, 41 insertions(+), 51 deletions(-) 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 5789e111..f2eecf27 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 @@ -427,63 +427,53 @@ }; }; - power_pins: m2_pins { - m2_pwr_en { - pins = "gpio48"; - function = "gpio"; - drive-strength = <2>; - bias-none; - output-high; - }; + m2_pwr_en { + line-name = "m2_pwr_en"; + gpios = <48 GPIO_ACTIVE_HIGH>; + gpio-hog; + output-high; + }; - m2_reset { - pins = "gpio49"; - function = "gpio"; - drive-strength = <2>; - bias-none; - output-high; - }; + m2_reset { + line-name = "m2_reset"; + gpios = <49 GPIO_ACTIVE_HIGH>; + gpio-hog; + output-high; + }; - m2_dc_en { - pins = "gpio51"; - function = "gpio"; - drive-strength = <2>; - bias-none; - output-high; - }; + m2_dc_en { + line-name = "m2_dc_en"; + gpios = <51 GPIO_ACTIVE_HIGH>; + gpio-hog; + output-high; + }; - pcie1_dc_en { - pins = "gpio50"; - function = "gpio"; - drive-strength = <2>; - bias-none; - output-high; - }; + pcie1_dc_en { + line-name = "pcie1_dc_en"; + gpios = <50 GPIO_ACTIVE_HIGH>; + gpio-hog; + output-high; + }; - pcie1_reset { - pins = "gpio42"; - function = "gpio"; - drive-strength = <2>; - bias-none; - output-high; - }; + pcie1_reset { + line-name = "pcie1_reset"; + gpios = <42 GPIO_ACTIVE_HIGH>; + gpio-hog; + output-high; + }; - pcie2_dc_en { - pins = "gpio46"; - function = "gpio"; - drive-strength = <2>; - bias-none; - output-high; - }; + pcie2_dc_en { + line-name = "pcie2_dc_en"; + gpios = <46 GPIO_ACTIVE_HIGH>; + gpio-hog; + output-high; + }; - pcie2_reset { - pins = "gpio43"; - function = "gpio"; - drive-strength = <2>; - bias-none; - output-high; - }; - }; + pcie2_reset { + line-name = "pcie2_reset"; + gpios = <43 GPIO_ACTIVE_HIGH>; + gpio-hog; + output-high; }; };