blob: a8d560c2886c1a996f5e87824a6eb662fa66f0c5 [file] [log] [blame]
Supreeth Venkateshf8c88942020-08-18 11:34:08 -05001From 29fe80d452e598e15b26d3570b8f460bf14a7e42 Mon Sep 17 00:00:00 2001
2From: Supreeth Venkatesh <supreeth.venkatesh@amd.com>
3Date: Tue, 18 Aug 2020 10:56:37 -0500
4Subject: [PATCH 1/1] ARM:dts:aspeed: Add GPIO line names for AMD EthanolX
5Content-Type: text/plain; charset="us-ascii"
6Content-Transfer-Encoding: 7bit
7
8Add GPIO line names for AMD EthanolX customer reference board.
9It populates AST2500 GPIO lines (A0-A7 to AC0-AC7) with AMD EthanolX
10designated names.
11
12Signed-off-by: Supreeth Venkatesh <supreeth.venkatesh@amd.com>
13---
14 arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 34 +++++++++++++++++++
15 1 file changed, 34 insertions(+)
16
17diff --git a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
18index 60ba86f3e5bc..008001f95399 100644
19--- a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
20+++ b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
21@@ -82,6 +82,40 @@
22 &pinctrl_adc4_default>;
23 };
24
25+&gpio {
26+ status = "okay";
27+ gpio-line-names =
28+ /*A0-A7*/ "","","FAULT_LED","CHASSIS_ID_LED","","","","",
29+ /*B0-B7*/ "","","","","","","","",
30+ /*C0-C7*/ "CHASSIS_ID_BTN","INTRUDER","AC_LOSS","","","","","",
31+ /*D0-D7*/ "HDT_DBREQ","LOCAL_SPI_ROM_SEL","FPGA_SPI_ROM_SEL","JTAG_MUX_S","JTAG_MUX_OE","HDT_SEL","ASERT_WARM_RST_BTN","FPGA_RSVD",
32+ /*E0-E7*/ "","","MON_P0_PWR_BTN","MON_P0_RST_BTN","MON_P0_NMI_BTN","MON_P0_PWR_GOOD","MON_PWROK","MON_RESET",
33+ /*F0-F7*/ "MON_P0_PROCHOT","MON_P1_PROCHOT","MON_P0_THERMTRIP","MON_P1_THERMTRIP","P0_PRESENT","P1_PRESENT","MON_ATX_PWR_OK","",
34+ /*G0-G7*/ "BRD_REV_ID_3","BRD_REV_ID_2","BRD_REV_ID_1","BRD_REV_ID_0","P0_APML_ALERT","P1_APML_ALERT","FPGA ALERT","",
35+ /*H0-H7*/ "BRD_ID_0","BRD_ID_1","BRD_ID_2","BRD_ID_3","PCIE_DISCONNECTED","USB_DISCONNECTED","SPARE_0","SPARE_1",
36+ /*I0-I7*/ "","","","","","","","",
37+ /*J0-J7*/ "","","","","","","","",
38+ /*K0-K7*/ "","","","","","","","",
39+ /*L0-L7*/ "","","","","","","","",
40+ /*M0-M7*/ "ASSERT_PWR_BTN","ASSERT_RST_BTN","ASSERT_NMI_BTN","ASSERT_LOCAL_LOCK","ASSERT_P0_PROCHOT","ASSERT_P1_PROCHOT","ASSERT_CLR_CMOS","ASSERT_BMC_READY",
41+ /*N0-N7*/ "","","","","","","","",
42+ /*O0-O7*/ "","","","","","","","",
43+ /*P0-P7*/ "P0_VDD_CORE_RUN_VRHOT","P0_VDD_SOC_RUN_VRHOT","P0_VDD_MEM_ABCD_SUS_VRHOT","P0_VDD_MEM_EFGH_SUS_VRHOT","P1_VDD_CORE_RUN_VRHOT","P1_VDD_SOC_RUN_VRHOT","P1_VDD_MEM_ABCD_SUS_VRHOT","P1_VDD_MEM_EFGH_SUS_VRHOT",
44+ /*Q0-Q7*/ "","","","","","","","",
45+ /*R0-R7*/ "","","","","","","","",
46+ /*S0-S7*/ "","","","","","","","",
47+ /*T0-T7*/ "","","","","","","","",
48+ /*U0-U7*/ "","","","","","","","",
49+ /*V0-V7*/ "","","","","","","","",
50+ /*W0-W7*/ "","","","","","","","",
51+ /*X0-X7*/ "","","","","","","","",
52+ /*Y0-Y7*/ "","","","","","","","",
53+ /*Z0-Z7*/ "","","","","","","","",
54+ /*AA0-AA7*/ "","SENSOR THERM","","","","","","",
55+ /*AB0-AB7*/ "","","","","","","","",
56+ /*AC0-AC7*/ "","","","","","","","";
57+};
58+
59 //APML for P0
60 &i2c0 {
61 status = "okay";
62--
632.17.1
64