u-boot/board/amlogic
Marek Szyprowski 8bc780106c board: amlogic: odroid: add runtime detection of the N2/N2+/C4/HC4 variants
Use the ADC channel 1 to check the hardware revision of the board and
detect the N2 vs. N2+ and the C4 vs. HC4 variants. Each of them use
different dtb file, so adjust fdtfile environment variable to the
detected variant.

The ADC min/max values for each variant are taken from the vendor code,
adjusted to the 12-bit ADC driver operation mode (vendor code use 10-bit
mode).

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2021-02-10 10:00:51 +01:00
..
beelink-s922x boards: amlogic: add Beelink S922X board family support 2021-01-11 14:59:54 +01:00
odroid-n2 board: amlogic: odroid: add runtime detection of the N2/N2+/C4/HC4 variants 2021-02-10 10:00:51 +01:00
p200 board: amlogic: add board doc files to MAINTAINERS 2020-06-18 10:24:13 +02:00
p201 board: amlogic: add board doc files to MAINTAINERS 2020-06-18 10:24:13 +02:00
p212 arm64: meson: add support for libretech-cc v2 2021-01-11 14:59:54 +01:00
q200 boards: amlogic: update documentation for WeTek Core2 2021-01-11 14:59:54 +01:00
s400 board: s400: generate unique mac address from SoC serial 2020-10-05 17:59:45 +02:00
sei510 board: amlogic: add board doc files to MAINTAINERS 2020-06-18 10:24:13 +02:00
sei610 board: amlogic: add board doc files to MAINTAINERS 2020-06-18 10:24:13 +02:00
u200 board: amlogic: add board doc files to MAINTAINERS 2020-06-18 10:24:13 +02:00
vim3 board: amlogic: vim3: fix setup ethernet mac from efuse 2021-01-12 14:25:55 +01:00
w400 board: amlogic: add a vim3 specific board support 2020-10-05 17:59:45 +02:00