mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
fix gpio hog
This commit is contained in:
parent
12a43b67bf
commit
815c9d374b
1 changed files with 57 additions and 52 deletions
|
@ -148,58 +148,6 @@
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_export {
|
|
||||||
compatible = "gpio-export";
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
3vpower {
|
|
||||||
gpio-export,name = "3vpower";
|
|
||||||
gpio-export,output = <1>;
|
|
||||||
gpio = <&tlmm 19 GPIO_ACTIVE_HIGH>;
|
|
||||||
};
|
|
||||||
|
|
||||||
m2power {
|
|
||||||
gpio-export,name = "m2power";
|
|
||||||
gpio-export,output = <1>;
|
|
||||||
gpio = <&tlmm 48 GPIO_ACTIVE_LOW>;
|
|
||||||
};
|
|
||||||
|
|
||||||
m2reset {
|
|
||||||
gpio-export,name = "m2reset";
|
|
||||||
gpio-export,output = <1>;
|
|
||||||
gpio = <&tlmm 49 GPIO_ACTIVE_LOW>;
|
|
||||||
};
|
|
||||||
|
|
||||||
m2dcpower {
|
|
||||||
gpio-export,name = "m2dcpower";
|
|
||||||
gpio-export,output = <1>;
|
|
||||||
gpio = <&tlmm 51 GPIO_ACTIVE_HIGH>;
|
|
||||||
};
|
|
||||||
|
|
||||||
pcie1dcpower {
|
|
||||||
gpio-export,name = "pcie1dcpower";
|
|
||||||
gpio-export,output = <1>;
|
|
||||||
gpio = <&tlmm 50 GPIO_ACTIVE_HIGH>;
|
|
||||||
};
|
|
||||||
|
|
||||||
pcie1rst {
|
|
||||||
gpio-export,name = "pcie1rst";
|
|
||||||
gpio-export,output = <1>;
|
|
||||||
gpio = <&tlmm 42 GPIO_ACTIVE_LOW>;
|
|
||||||
};
|
|
||||||
|
|
||||||
pcie2dcpower {
|
|
||||||
gpio-export,name = "pcie2dcpower";
|
|
||||||
gpio-export,output = <1>;
|
|
||||||
gpio = <&tlmm 46 GPIO_ACTIVE_HIGH>;
|
|
||||||
};
|
|
||||||
pcie2rst {
|
|
||||||
gpio-export,name = "pcie2rst";
|
|
||||||
gpio-export,output = <1>;
|
|
||||||
gpio = <&tlmm 43 GPIO_ACTIVE_LOW>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&blsp_dma {
|
&blsp_dma {
|
||||||
|
@ -394,6 +342,63 @@
|
||||||
bias-disable;
|
bias-disable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
3vpower {
|
||||||
|
line-name = "3vpower";
|
||||||
|
gpio = <&tlmm GPIO_ACTIVE_HIGH>;
|
||||||
|
gpio-hog;
|
||||||
|
output-high;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
m2power {
|
||||||
|
line-name = "m2power";
|
||||||
|
gpio = <&tlmm 48 GPIO_ACTIVE_LOW>;
|
||||||
|
gpio-hog;
|
||||||
|
output-low;
|
||||||
|
};
|
||||||
|
|
||||||
|
m2reset {
|
||||||
|
line-name = "m2reset";
|
||||||
|
gpio = <&tlmm 49 GPIO_ACTIVE_LOW>;
|
||||||
|
gpio-hog;
|
||||||
|
output-low;
|
||||||
|
};
|
||||||
|
|
||||||
|
m2dcpower {
|
||||||
|
line-name = "m2dcpower";
|
||||||
|
gpio = <&tlmm 51 GPIO_ACTIVE_HIGH>;
|
||||||
|
gpio-hog;
|
||||||
|
output-high;
|
||||||
|
};
|
||||||
|
|
||||||
|
pcie1dcpower {
|
||||||
|
line-name = "pcie1dcpower";
|
||||||
|
gpio = <&tlmm 50 GPIO_ACTIVE_HIGH>;
|
||||||
|
gpio-hog;
|
||||||
|
output-high;
|
||||||
|
};
|
||||||
|
|
||||||
|
pcie1rst {
|
||||||
|
line-name = "pcie1rst";
|
||||||
|
gpio = <&tlmm 42 GPIO_ACTIVE_LOW>;
|
||||||
|
gpio-hog;
|
||||||
|
output-low;
|
||||||
|
};
|
||||||
|
|
||||||
|
pcie2dcpower {
|
||||||
|
line-name = "pcie2dcpower";
|
||||||
|
gpio = <&tlmm 46 GPIO_ACTIVE_HIGH>;
|
||||||
|
gpio-hog;
|
||||||
|
output-high;
|
||||||
|
};
|
||||||
|
pcie2rst {
|
||||||
|
line-name = "pcie2rst";
|
||||||
|
gpio = <&tlmm 43 GPIO_ACTIVE_LOW>;
|
||||||
|
gpio-hog;
|
||||||
|
output-low;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&gmac0 {
|
&gmac0 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue