summaryrefslogtreecommitdiff
path: root/configs/turris_mox_defconfig
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2020-04-08 13:02:05 +0300
committerStefan Roese <sr@denx.de>2020-04-14 14:16:42 +0300
commit2b3f2dd1ce90410d2edcd67bbef686c3361133c0 (patch)
treed3bf908b7e94f02cb869bf65619bc5dd0706d850 /configs/turris_mox_defconfig
parenteddd6f90c99a19b3290590c0eb041f95002b4f4c (diff)
downloadu-boot-2b3f2dd1ce90410d2edcd67bbef686c3361133c0.tar.xz
arm: mvebu: turris_mox: Setup Linux's device tree before boot
Patch Linux's device tree according to which Mox modules are connected. Linux's device tree has all possible Mox module nodes preprogrammed, but in disabled state. If MOX B, MOX F or MOX G module is present, this code enables the PCI node. For the network modules (MOX C, MOX D and MOX E) are present, the code enables corresponding ethernet and swtich nodes and DSA connections. For the SFP cage the SFP GPIO controller node and SFP node are also enabled. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'configs/turris_mox_defconfig')
-rw-r--r--configs/turris_mox_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/turris_mox_defconfig b/configs/turris_mox_defconfig
index 2e637044c1..3bc69cda4d 100644
--- a/configs/turris_mox_defconfig
+++ b/configs/turris_mox_defconfig
@@ -37,6 +37,7 @@ CONFIG_CMD_BTRFS=y
CONFIG_CMD_EXT4_WRITE=y
CONFIG_MAC_PARTITION=y
CONFIG_OF_BOARD_FIXUP=y
+CONFIG_OF_BOARD_SETUP=y
CONFIG_DEFAULT_DEVICE_TREE="armada-3720-turris-mox"
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y