ipq807x: eap104: export MCU related pins

Export MCU related 'reset' and 'serial bootloader' pins in sysfs using
'gpio-export' as 'mcu-enable' and 'mcu-bootloader'.

Default configuration of MCU related pins will keep MCU in reset state,
with the serial bootloader enabled.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
This commit is contained in:
Piotr Dymacz
2023-08-20 08:57:13 +02:00
committed by John Crispin
parent 42239fb1ba
commit 4c495e7be2

View File

@@ -488,6 +488,23 @@
status = "ok";
};
gpio-export {
compatible = "gpio-export";
#size-cells = <0>;
mcu-bootloader {
gpio-export,name = "mcu-bootloader";
gpio-export,output = <0>;
gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
};
mcu-enable {
gpio-export,name = "mcu-enable";
gpio-export,output = <0>;
gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
};
};
gpio_keys {
compatible = "gpio-keys";
pinctrl-0 = <&button_pins>;