Add GPIO pin description
Added functionality to read gpio pin code description from
gpio_desc.json file stored in /usr/share/ipmi-providers/.
This file is platform specific and can be overwritten for
different platforms. This gpio pin description will be
requested by lcd debug card for displaying in screen.
Tested: verified with lcd debug card screen.
Change-Id: I32275a5d218cbfdd20cd919768688ab6cc67b091
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
diff --git a/gpio_desc.json b/gpio_desc.json
new file mode 100644
index 0000000..97cf81b
--- /dev/null
+++ b/gpio_desc.json
@@ -0,0 +1,13 @@
+
+{
+ "GpioDesc": [
+ [ "0x10", 0, 2, "FM_DBG_RST_BTN" ],
+ [ "0x11", 0, 1, "FM_PWR_BTN" ],
+ [ "0x12", 1, 0, "SYS_PWROK" ],
+ [ "0x13", 0, 0, "RST_PLTRST" ],
+ [ "0x14", 1, 0, "DSW_PWROK" ],
+ [ "0x15", 0, 0, "FM_CATERR_MSMI" ],
+ [ "0x16", 0, 0, "FM_SLPS3" ],
+ [ "0x17", 0, 3, "FM_UART_SWITCH" ]
+]
+}