From 2b79fba6915dd89af1e13e0da07dcd8c2b962aef Mon Sep 17 00:00:00 2001 From: "robertcnelson@gmail.com" Date: Thu, 30 Mar 2017 14:29:53 -0500 Subject: config: am335x_evm: detect Green Wireless using GW1 SeeedStudio BeagleBone Green Wireless (BBGW) is an expansion of the SeeedStudio Green (BBG) with the Ethernet replaced by a TI wl1835 wireless module. This board can be indentified by the GW1x value after A335BNLT (BBB) in the at24 eeprom: GW1x [aa 55 33 ee 41 33 33 35 42 4e 4c 54 47 57 31 41 |.U3.A335BNLTGW1A|] http://beagleboard.org/green-wireless http://wiki.seeed.cc/BeagleBone_Green_Wireless/ firmware: https://github.com/beagleboard/beaglebone-black-wireless/tree/master/firmware wl18xx mac address: Stored in at24 eeprom at address 5-16: hexdump -e '8/1 "%c"' /sys/bus/i2c/devices/0-0050/eeprom | cut -b 5-16 Signed-off-by: Robert Nelson CC: Tom Rini CC: Jason Kridner CC: Will Newton Reviewed-by: Tom Rini --- board/ti/am335x/board.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/ti/am335x/board.c') diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 304ae34fb7..54589638b3 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -656,6 +656,10 @@ int board_late_init(void) if (!strncmp(board_ti_get_rev(), "BWA", 3)) { name = "BBBW"; } + /* SeeedStudio BeagleBone Green Wireless */ + if (!strncmp(board_ti_get_rev(), "GW1", 3)) { + name = "BBGW"; + } } if (board_is_bbg1()) -- cgit