blob: 6217a8f99bee89557237bab836a4a172f0b80a0b [file] [log] [blame]
Felix Brack1ba8c9e2018-01-23 18:27:22 +01001# Copyright (C) 2018 EETS GmbH - http://www.eets.ch/
2#
3# SPDX-License-Identifier: GPL-2.0+
4#
5
6if TARGET_PDU001
7
8config SYS_BOARD
9 default "pdu001"
10
11config SYS_VENDOR
12 default "eets"
13
14config SYS_SOC
15 default "am33xx"
16
17config SYS_CONFIG_NAME
18 default "pdu001"
19
20config 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
36choice
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
46config RUN_LED_RED
47 bool
48 prompt "Red"
49 help
50 Lit Run LED red.
51
52config RUN_LED_GREEN
53 bool
54 prompt "Green"
55 help
56 Lit Run LED green.
57
58config RUN_LED_OFF
59 bool
60 prompt "Off"
61 help
62 Do not lit Run LED.
63
64endchoice
65
66endif