Felix Brack | 1ba8c9e | 2018-01-23 18:27:22 +0100 | [diff] [blame] | 1 | # Copyright (C) 2018 EETS GmbH - http://www.eets.ch/ |
| 2 | # |
| 3 | # SPDX-License-Identifier: GPL-2.0+ |
| 4 | # |
| 5 | |
| 6 | if TARGET_PDU001 |
| 7 | |
| 8 | config SYS_BOARD |
| 9 | default "pdu001" |
| 10 | |
| 11 | config SYS_VENDOR |
| 12 | default "eets" |
| 13 | |
| 14 | config SYS_SOC |
| 15 | default "am33xx" |
| 16 | |
| 17 | config SYS_CONFIG_NAME |
| 18 | default "pdu001" |
| 19 | |
| 20 | config CONS_INDEX |
| 21 | int "UART used for console" |
| 22 | range 1 6 |
| 23 | default 4 |
| 24 | help |
| 25 | The AM335x SoC has a total of 6 UARTs (UART0 to UART5 as referenced |
| 26 | in documentation, etc) available to it. The best choice for the |
| 27 | PDU001 is UART3 as it is wired to the header K2; enter 4 here to |
| 28 | use UART3. UART0 is connected to the EIA-485 transceiver. If you |
| 29 | really need to use it, you are advised to remove the transceiver U14 |
| 30 | from the board. UART1 is wired to the backplane and therefore |
| 31 | accessible from there or by the backplane connector K1 of the PDU. |
| 32 | Any other UART then UART3 (enter 4 here), UART1 (enter 2 here) or |
| 33 | UART0 (enter 1 here) are not sensible since they are not wired to |
| 34 | any connector and therefore difficult to access. |
| 35 | |
| 36 | choice |
| 37 | prompt "State of Run LED" |
| 38 | default PDU001_RUN_LED_RED |
| 39 | help |
| 40 | The PDU001 has a bi-color (red/green) LED labeled 'Run' which |
| 41 | can be used to indicate the operating state of the board. By |
| 42 | default it will be lit red by U-Boot. Later in the start-up |
| 43 | process it can be changed to green (or heartbeat or anything else) |
| 44 | by the kernel or some other software. |
| 45 | |
| 46 | config RUN_LED_RED |
| 47 | bool |
| 48 | prompt "Red" |
| 49 | help |
| 50 | Lit Run LED red. |
| 51 | |
| 52 | config RUN_LED_GREEN |
| 53 | bool |
| 54 | prompt "Green" |
| 55 | help |
| 56 | Lit Run LED green. |
| 57 | |
| 58 | config RUN_LED_OFF |
| 59 | bool |
| 60 | prompt "Off" |
| 61 | help |
| 62 | Do not lit Run LED. |
| 63 | |
| 64 | endchoice |
| 65 | |
| 66 | endif |