mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
e6f48aad15
This adds support for i.MX6UL/ULL-based evaluation kits with SoMs by Kontron Electronics GmbH. Currently there are the following SoM flavors (SoM-Line): * N6310: SOM with i.MX6UL-2, 256MB RAM, 256MB SPI NAND * N6311: SOM with i.MX6UL-2, 512MB RAM, 512MB SPI NAND * N6411: SOM with i.MX6ULL, 512MB RAM, 512MB SPI NAND And the according evaluation boards (Board-Line): * N6310-S: Baseboard with SOM N6310, eMMC, display (optional), ... * N6311-S: Baseboard with SOM N6311, eMMC, display (optional), ... * N6411-S: Baseboard with SOM N6411, eMMC, display (optional), ... Currently U-Boot describes i.MX6UL and i.MX6ULL through separate config options at compile-time. Though the differences are so minor, that for the scope of these SoMs we just use a single defconfig that is compatible with both SoCs. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Stefano Babic <sbabic@denx.de>
63 lines
1.2 KiB
Text
63 lines
1.2 KiB
Text
// SPDX-License-Identifier: GPL-2.0 OR MIT
|
|
/*
|
|
* Copyright (C) 2017 exceet electronics GmbH
|
|
* Copyright (C) 2018 Kontron Electronics GmbH
|
|
*/
|
|
|
|
#if defined(CONFIG_FIT)
|
|
|
|
/ {
|
|
binman: binman {
|
|
filename = "flash.bin";
|
|
pad-byte = <0x00>;
|
|
|
|
spl: blob-ext@1 {
|
|
offset = <0x0>;
|
|
filename = "SPL";
|
|
};
|
|
|
|
uboot: blob-ext@2 {
|
|
offset = <0x11000>;
|
|
filename = "u-boot.img";
|
|
};
|
|
};
|
|
};
|
|
|
|
#endif /* CONFIG_FIT */
|
|
|
|
/*
|
|
* To make the PHYs work, we need to set the reset pin once. Afterwards
|
|
* in Linux we can't assign the shared reset GPIO to the PHYs, as this
|
|
* would cause Linux to reset both PHYs every time one of them gets
|
|
* reinitialized.
|
|
*
|
|
* Also we disable the second ethernet as it currently doesn't work with
|
|
* the devicetree setup in U-Boot.
|
|
*/
|
|
|
|
&fec1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_enet1 &pinctrl_enet1_mdio>;
|
|
phy-mode = "rmii";
|
|
phy-handle = <ðphy1>;
|
|
phy-reset-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
|
|
mdio {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
ethphy1: ethernet-phy@1 {
|
|
reg = <1>;
|
|
micrel,led-mode = <0>;
|
|
clocks = <&clks IMX6UL_CLK_ENET_REF>;
|
|
clock-names = "rmii-ref";
|
|
};
|
|
};
|
|
};
|
|
|
|
&fec2 {
|
|
status = "disabled";
|
|
/delete-property/ phy-handle;
|
|
/delete-node/ mdio;
|
|
};
|