1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Update qcom-ipq4019-nhx4019.dts

This commit is contained in:
suyuan168 2022-07-01 22:19:46 +08:00
parent a0cc710b32
commit a3c0262d97

View file

@ -93,6 +93,24 @@
edma@c080000 { edma@c080000 {
status = "okay"; status = "okay";
}; };
m2_pins: m2_pinmux {
mux_1 {
pins = "gpio48", "gpio49", "gpio50";
function = "gpio";
drive-strength = <2>;
bias-none;
output-high;
};
mux_2 {
pins = "gpio51", "gpio42", "gpio44", "gpio46";
function = "gpio";
drive-strength = <2>;
bias-none;
output-high;
};
};
}; };
leds { leds {
@ -378,63 +396,54 @@
}; };
}; };
power_pins: power_pins {
m2_pwr_en { gpio-export {
pins = "gpio48"; compatible = "gpio-export";
function = "gpio"; pinctrl-0 = <&m2_pins>;
drive-strength = <2>; pinctrl-names = "default";
bias-none;
output-high;
};
m2_reset { m2power {
pins = "gpio49"; gpio-export,name = "m2power";
function = "gpio"; gpio-export,output = <1>;
drive-strength = <2>; gpio = <&tlmm 48 GPIO_ACTIVE_LOW>;
bias-none; };
output-high;
};
m2_dc_en { m2reset {
pins = "gpio51"; gpio-export,name = "m2reset";
function = "gpio"; gpio-export,output = <1>;
drive-strength = <2>; gpio = <&tlmm 49 GPIO_ACTIVE_HIGH>;
bias-none; };
output-high;
};
pcie1_dc_en { m2_dc_en {
pins = "gpio50"; gpio-export,name = "m2_dc_en";
function = "gpio"; gpio-export,output = <1>;
drive-strength = <2>; gpio = <&tlmm 51 GPIO_ACTIVE_LOW>; // high enbale
bias-none; };
output-high;
};
pcie1_reset { pcie1_dc_en {
pins = "gpio42"; gpio-export,name = "pcie1_dc_en";
function = "gpio"; gpio-export,output = <1>;
drive-strength = <2>; gpio = <&tlmm 50 GPIO_ACTIVE_HIGH>;
bias-none; };
output-high;
}; pcie1_reset {
gpio-export,name = "pcie1_reset";
gpio-export,output = <1>;
gpio = <&tlmm 42 GPIO_ACTIVE_HIGH>;
};
pcie2_dc_en { pcie2_dc_en {
pins = "gpio46"; gpio-export,name = "pcie2_dc_en";
function = "gpio"; gpio-export,output = <1>;
drive-strength = <2>; gpio = <&tlmm 46 GPIO_ACTIVE_HIGH>;
bias-none; };
output-high;
};
pcie2_reset { pcie2_reset {
pins = "gpio43"; gpio-export,name = "pcie2_reset";
function = "gpio"; gpio-export,output = <1>;
drive-strength = <2>; gpio = <&tlmm 44 GPIO_ACTIVE_HIGH>;
bias-none; };
output-high;
}; };
};
}; };
&gmac0 { &gmac0 {