Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed: amd-ethanolx: Add GPIO line names

Add GPIO line names for AMD EthanolX customer reference board.
It populates AST2500 GPIO lines (A0-A7 to AC0-AC7) with AMD EthanolX
designated names.

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Reviewed-by: Supreeth Venkatesh <supreeth.venkatesh@amd.com>
Link: https://lore.kernel.org/r/20201111132133.1253-1-aladyshev22@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Konstantin Aladyshev and committed by
Joel Stanley
c74da5cf f69456d3

+44
+44
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
··· 97 97 &pinctrl_adc4_default>; 98 98 }; 99 99 100 + &gpio { 101 + status = "okay"; 102 + gpio-line-names = 103 + /*A0-A7*/ "","","FAULT_LED","CHASSIS_ID_LED","","","","", 104 + /*B0-B7*/ "","","","","","","","", 105 + /*C0-C7*/ "CHASSIS_ID_BTN","INTRUDER","AC_LOSS","","","","","", 106 + /*D0-D7*/ "HDT_DBREQ","LOCAL_SPI_ROM_SEL","FPGA_SPI_ROM_SEL","JTAG_MUX_S", 107 + "JTAG_MUX_OE","HDT_SEL","ASERT_WARM_RST_BTN","FPGA_RSVD", 108 + /*E0-E7*/ "","","MON_P0_PWR_BTN","MON_P0_RST_BTN","MON_P0_NMI_BTN", 109 + "MON_P0_PWR_GOOD","MON_PWROK","MON_RESET", 110 + /*F0-F7*/ "MON_P0_PROCHOT","MON_P1_PROCHOT","MON_P0_THERMTRIP", 111 + "MON_P1_THERMTRIP","P0_PRESENT","P1_PRESENT","MON_ATX_PWR_OK","", 112 + /*G0-G7*/ "BRD_REV_ID_3","BRD_REV_ID_2","BRD_REV_ID_1","BRD_REV_ID_0", 113 + "P0_APML_ALERT","P1_APML_ALERT","FPGA ALERT","", 114 + /*H0-H7*/ "BRD_ID_0","BRD_ID_1","BRD_ID_2","BRD_ID_3", 115 + "PCIE_DISCONNECTED","USB_DISCONNECTED","SPARE_0","SPARE_1", 116 + /*I0-I7*/ "","","","","","","","", 117 + /*J0-J7*/ "","","","","","","","", 118 + /*K0-K7*/ "","","","","","","","", 119 + /*L0-L7*/ "","","","","","","","", 120 + /*M0-M7*/ "ASSERT_PWR_BTN","ASSERT_RST_BTN","ASSERT_NMI_BTN", 121 + "ASSERT_LOCAL_LOCK","ASSERT_P0_PROCHOT","ASSERT_P1_PROCHOT", 122 + "ASSERT_CLR_CMOS","ASSERT_BMC_READY", 123 + /*N0-N7*/ "","","","","","","","", 124 + /*O0-O7*/ "","","","","","","","", 125 + /*P0-P7*/ "P0_VDD_CORE_RUN_VRHOT","P0_VDD_SOC_RUN_VRHOT", 126 + "P0_VDD_MEM_ABCD_SUS_VRHOT","P0_VDD_MEM_EFGH_SUS_VRHOT", 127 + "P1_VDD_CORE_RUN_VRHOT","P1_VDD_SOC_RUN_VRHOT", 128 + "P1_VDD_MEM_ABCD_SUS_VRHOT","P1_VDD_MEM_EFGH_SUS_VRHOT", 129 + /*Q0-Q7*/ "","","","","","","","", 130 + /*R0-R7*/ "","","","","","","","", 131 + /*S0-S7*/ "","","","","","","","", 132 + /*T0-T7*/ "","","","","","","","", 133 + /*U0-U7*/ "","","","","","","","", 134 + /*V0-V7*/ "","","","","","","","", 135 + /*W0-W7*/ "","","","","","","","", 136 + /*X0-X7*/ "","","","","","","","", 137 + /*Y0-Y7*/ "","","","","","","","", 138 + /*Z0-Z7*/ "","","","","","","","", 139 + /*AA0-AA7*/ "","SENSOR THERM","","","","","","", 140 + /*AB0-AB7*/ "","","","","","","","", 141 + /*AC0-AC7*/ "","","","","","","",""; 142 + }; 143 + 100 144 //APML for P0 101 145 &i2c0 { 102 146 status = "okay";