diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2020-04-08 12:02:05 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2020-04-14 13:16:42 +0200 |
commit | 2b3f2dd1ce90410d2edcd67bbef686c3361133c0 (patch) | |
tree | d3bf908b7e94f02cb869bf65619bc5dd0706d850 /env/remote.c | |
parent | eddd6f90c99a19b3290590c0eb041f95002b4f4c (diff) |
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 'env/remote.c')
0 files changed, 0 insertions, 0 deletions