Peter Maydell e8556f435e hw/misc/mps2-fpgaio: Make number of LEDs configurable by board
The MPS2 board has 2 LEDs, but the MPS3 board has 10 LEDs.  The
FPGAIO device is similar on both sets of boards, but the LED0
register has correspondingly more bits that have an effect.  Add a
device property for number of LEDs.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210215115138.20465-6-peter.maydell@linaro.org
2021-03-06 13:30:38 +00:00
..
2021-01-12 21:19:02 +00:00
2020-10-27 11:10:44 +00:00
2020-12-10 17:16:44 +01:00
2021-02-11 11:50:14 +00:00
2020-09-22 21:11:10 +01:00
2021-01-19 10:20:29 +11:00
2021-02-21 18:41:04 +01:00
2021-03-05 15:17:34 +00:00
2021-02-10 15:42:20 +00:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2021-02-21 12:12:18 +00:00
2020-09-09 09:27:09 -04:00
2019-08-16 13:31:52 +02:00
2020-12-15 12:53:13 -05:00
2019-08-16 13:31:52 +02:00
2020-09-09 09:27:09 -04:00
2019-08-16 13:31:52 +02:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2020-09-18 14:12:32 -04:00
2019-06-12 13:20:21 +02:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2021-01-22 14:51:35 +01:00
2020-09-09 09:27:09 -04:00