mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 18:07:52 +00:00
ipq807x: eap102: export MCU and USB reset pins
This exports MCU and USB reset pins in sysfs using 'gpio-export' as 'mcu-enable' and 'usb-enable'. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
This commit is contained in:
committed by
John Crispin
parent
73cfef1203
commit
0162828df8
@@ -50,6 +50,23 @@
|
|||||||
bootargs-append = " swiotlb=1 coherent_pool=2M";
|
bootargs-append = " swiotlb=1 coherent_pool=2M";
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpio-export {
|
||||||
|
compatible = "gpio-export";
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
mcu-enable {
|
||||||
|
gpio-export,name = "mcu-enable";
|
||||||
|
gpio-export,output = <1>;
|
||||||
|
gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
usb-enable {
|
||||||
|
gpio-export,name = "usb-enable";
|
||||||
|
gpio-export,output = <1>;
|
||||||
|
gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&tlmm {
|
&tlmm {
|
||||||
|
|||||||
Reference in New Issue
Block a user