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 {
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 {
@ -378,61 +396,52 @@
};
};
power_pins: power_pins {
m2_pwr_en {
pins = "gpio48";
function = "gpio";
drive-strength = <2>;
bias-none;
output-high;
gpio-export {
compatible = "gpio-export";
pinctrl-0 = <&m2_pins>;
pinctrl-names = "default";
m2power {
gpio-export,name = "m2power";
gpio-export,output = <1>;
gpio = <&tlmm 48 GPIO_ACTIVE_LOW>;
};
m2_reset {
pins = "gpio49";
function = "gpio";
drive-strength = <2>;
bias-none;
output-high;
m2reset {
gpio-export,name = "m2reset";
gpio-export,output = <1>;
gpio = <&tlmm 49 GPIO_ACTIVE_HIGH>;
};
m2_dc_en {
pins = "gpio51";
function = "gpio";
drive-strength = <2>;
bias-none;
output-high;
gpio-export,name = "m2_dc_en";
gpio-export,output = <1>;
gpio = <&tlmm 51 GPIO_ACTIVE_LOW>; // high enbale
};
pcie1_dc_en {
pins = "gpio50";
function = "gpio";
drive-strength = <2>;
bias-none;
output-high;
gpio-export,name = "pcie1_dc_en";
gpio-export,output = <1>;
gpio = <&tlmm 50 GPIO_ACTIVE_HIGH>;
};
pcie1_reset {
pins = "gpio42";
function = "gpio";
drive-strength = <2>;
bias-none;
output-high;
gpio-export,name = "pcie1_reset";
gpio-export,output = <1>;
gpio = <&tlmm 42 GPIO_ACTIVE_HIGH>;
};
pcie2_dc_en {
pins = "gpio46";
function = "gpio";
drive-strength = <2>;
bias-none;
output-high;
gpio-export,name = "pcie2_dc_en";
gpio-export,output = <1>;
gpio = <&tlmm 46 GPIO_ACTIVE_HIGH>;
};
pcie2_reset {
pins = "gpio43";
function = "gpio";
drive-strength = <2>;
bias-none;
output-high;
gpio-export,name = "pcie2_reset";
gpio-export,output = <1>;
gpio = <&tlmm 44 GPIO_ACTIVE_HIGH>;
};
};
};