diff options
author | Michael Walle <michael@walle.cc> | 2022-08-17 22:38:04 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-08-23 13:40:06 +0300 |
commit | 7c9bd92eeaa1ad4abacd5bd64fea20f75bc3d1e5 (patch) | |
tree | cd7e7fdb3955fd322acaa829d1a3a884654ba382 /configs/lsxhl_defconfig | |
parent | aa088beac3aca0dd9b40f60b0b1e5ab1c6bae471 (diff) | |
download | u-boot-7c9bd92eeaa1ad4abacd5bd64fea20f75bc3d1e5.tar.xz |
board: lsxl: convert to DM_GPIO
Use the new mvebu GPIO driver and convert all the function calls to the
former kirkwood GPIO driver. This means that we are now using the LED
uclass and the regulator uclass. Unfortunately, the GPIO LED doesn't
offer a blinking method. Thus we are now stuck with solid on and off
states, which makes debugging a bit harder. Also, there is no GPIO fan
driver for now.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'configs/lsxhl_defconfig')
-rw-r--r-- | configs/lsxhl_defconfig | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configs/lsxhl_defconfig b/configs/lsxhl_defconfig index 747a224999..d8953128e0 100644 --- a/configs/lsxhl_defconfig +++ b/configs/lsxhl_defconfig @@ -15,6 +15,7 @@ CONFIG_LSXHL=y CONFIG_ENV_SIZE=0x10000 CONFIG_ENV_OFFSET=0x70000 CONFIG_ENV_SECT_SIZE=0x10000 +CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="kirkwood-lsxhl" CONFIG_IDENT_STRING=" LS-XHL" CONFIG_SYS_LOAD_ADDR=0x800000 @@ -38,6 +39,9 @@ CONFIG_CMD_SATA=y CONFIG_CMD_SPI=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set +# CONFIG_CMD_BUTTON is not set +# CONFIG_CMD_LED is not set +CONFIG_CMD_REGULATOR=y CONFIG_OF_CONTROL=y CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y @@ -49,7 +53,10 @@ CONFIG_SATA_MV=y CONFIG_SYS_SATA_MAX_DEVICE=1 CONFIG_LBA48=y CONFIG_SYS_64BIT_LBA=y -CONFIG_KIRKWOOD_GPIO=y +CONFIG_BUTTON=y +CONFIG_BUTTON_GPIO=y +CONFIG_LED=y +CONFIG_LED_GPIO=y # CONFIG_MMC is not set CONFIG_MTD=y CONFIG_DM_SPI_FLASH=y @@ -57,6 +64,8 @@ CONFIG_SF_DEFAULT_SPEED=25000000 CONFIG_SPI_FLASH_STMICRO=y CONFIG_MVGBE=y CONFIG_MII=y +CONFIG_DM_REGULATOR=y +CONFIG_DM_REGULATOR_FIXED=y CONFIG_SYS_NS16550=y CONFIG_SPI=y CONFIG_DM_SPI=y |