mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 08:31:03 +00:00
62ca4aa16f
With the converstion of SMC911x to DM, this can facilitate the omap3 boards from LogicPD (now called Beacon EmbeddedWorks) to be converted. There isn't a clean solution to doing this in phases, so the boards are all being done together to avoid breaking functionality. Because the GPMC bus hasn't been converted, the -u-boot.dtsi node needs to show the address of the ethernet controller for each board. The board file, which is common betwen the OMAP35 and DM37 SOM LV and Torpedo boards, can remove the manual ethernet initialization, but it still needs to register the address and GPMC configuration for the Ethernet controller which is now being moved around to board_late_init(). Lastly, this patch updates the various config files to add the reference for DM_ETH and remove the SMC address, which is now fetched from the newly created device tree nodes. Signed-off-by: Adam Ford <aford173@gmail.com>
69 lines
1 KiB
Text
69 lines
1 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2017
|
|
* Logic PD - http://www.logicpd.com
|
|
*/
|
|
|
|
#include "omap3-u-boot.dtsi"
|
|
|
|
/ {
|
|
chosen {
|
|
stdout-path = &uart1;
|
|
};
|
|
|
|
aliases {
|
|
/delete-property/ serial1;
|
|
/delete-property/ serial2;
|
|
};
|
|
|
|
ethernet@08000000 {
|
|
compatible = "smsc,lan9221","smsc,lan9115";
|
|
reg = <0x08000000 0xff>;
|
|
bank-width = <2>;
|
|
vddvario-supply = <&vddvario>;
|
|
vdd33a-supply = <&vdd33a>;
|
|
reg-io-width = <4>;
|
|
smsc,save-mac-address;
|
|
};
|
|
};
|
|
|
|
&gpio1 {
|
|
/delete-property/ u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio2 {
|
|
/delete-property/ u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio3 {
|
|
/delete-property/ u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio4 {
|
|
/delete-property/ u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio5 {
|
|
/delete-property/ u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio6 {
|
|
/delete-property/ u-boot,dm-spl;
|
|
};
|
|
|
|
&i2c1 {
|
|
clock-frequency = <400000>;
|
|
/delete-property/ u-boot,dm-spl;
|
|
};
|
|
|
|
&i2c2 {
|
|
clock-frequency = <400000>;
|
|
/delete-property/ u-boot,dm-spl;
|
|
};
|
|
|
|
/delete-node/ &bandgap;
|
|
/delete-node/ &uart2;
|
|
/delete-node/ &uart3;
|
|
/delete-node/ &mmc2;
|
|
/delete-node/ &mmc3;
|
|
/delete-node/ &thermal_zones;
|