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

Revert "Revert "Update qcom-ipq4019-z4019.dts""

This reverts commit 6960831ae3.
This commit is contained in:
suyuan 2022-09-19 01:53:51 +08:00
parent 6960831ae3
commit b8bcd6573a

View file

@ -122,11 +122,8 @@
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-0 = <&led_pins>;
power: power { pinctrl-names = "default";
label = "green:power";
gpios = <&tlmm 36 GPIO_ACTIVE_LOW>;
};
wifi0 { wifi0 {
label = "green:wlan0"; label = "green:wlan0";
@ -138,8 +135,8 @@
gpios = <&tlmm 42 GPIO_ACTIVE_LOW>; gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
}; };
4g { 4g1 {
label = "green:4g"; label = "green:4g1";
gpios = <&tlmm 1 GPIO_ACTIVE_LOW>; gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
}; };
@ -153,27 +150,23 @@
gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
}; };
4gpwr { 4g1pwr {
label = "green:4gpwr"; label = "green:4g1pwr";
gpios = <&tlmm 20 GPIO_ACTIVE_LOW>; gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
}; };
4g2pwr { 4g2pwr {
label = "green:4g2pwr"; label = "green:4g2pwr";
gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>;
}; };
4g3pwr { 4g3pwr {
label = "green:4g3pwr"; label = "green:4g3pwr";
gpios = <&tlmm 9 GPIO_ACTIVE_LOW>; gpios = <&tlmm 9 GPIO_ACTIVE_HIGH>;
}; };
};
4g2sim { watchdog {
label = "green:4g2sim";
gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
};
watchdog {
compatible = "linux,wdt-gpio"; compatible = "linux,wdt-gpio";
gpios = <&tlmm 11 GPIO_ACTIVE_LOW>; gpios = <&tlmm 11 GPIO_ACTIVE_LOW>;
hw_algo = "toggle"; hw_algo = "toggle";
@ -304,47 +297,68 @@
}; };
}; };
led_pins: led_pins {
wifi1 {
pins = "gpio42";
function = "gpio";
drive-strength = <8>;
bias-pull-up;
};
power_4g_pinmux { wifi2 {
mux { pins = "gpio43";
function = "gpio";
drive-strength = <8>;
bias-pull-up;
};
4g1 {
pins = "gpio1";
function = "gpio";
drive-strength = <8>;
bias-pull-up;
};
4g2 {
pins = "gpio2";
function = "gpio";
drive-strength = <8>;
bias-pull-up;
};
4g3 {
pins = "gpio4";
function = "gpio";
drive-strength = <8>;
bias-pull-up;
};
power_4g1 {
pins = "gpio20"; pins = "gpio20";
function = "gpio"; function = "gpio";
drive-strength = <12>; drive-strength = <8>;
bias-pull-down; bias-pull-up;
output-high; output-high;
}; };
};
power_4g2_pinmux { power_4g2 {
mux {
pins = "gpio8"; pins = "gpio8";
function = "gpio"; function = "gpio";
drive-strength = <12>; drive-strength = <8>;
bias-pull-down; bias-pull-up;
output-high; output-high;
}; };
};
power_4g3_pinmux { power_4g3 {
mux {
pins = "gpio9"; pins = "gpio9";
function = "gpio"; function = "gpio";
drive-strength = <12>; drive-strength = <8>;
bias-pull-down; bias-pull-up;
output-high; output-high;
}; };
}; };
power_sim_sw_pinmux {
mux {
pins = "gpio0";
function = "gpio";
drive-strength = <12>;
bias-disable;
output-low;
};
};
spi_0_pins: spi_0_pinmux { spi_0_pins: spi_0_pinmux {
pinmux { pinmux {
function = "blsp_spi0"; function = "blsp_spi0";