mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 11:18:28 +00:00
fb2dea60e8
With this change Synopsys DesignWare SDP board is switched to driver model for both serial port (serial_dw) and Ethernet (Designware GMAC). This simplifies include/configs/axs101.h and allows for reuse of Linux's Device Tree description. For simplicity Linux's .dts files are not blindly copied but only very few extracts of them are really used (those that are supported in U-Boot at the moment). Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
45 lines
779 B
Text
45 lines
779 B
Text
/*
|
|
* Copyright (C) 2015 Synopsys, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
/dts-v1/;
|
|
|
|
#include "skeleton.dtsi"
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
aliases {
|
|
console = &uart0;
|
|
};
|
|
|
|
clocks {
|
|
apbclk: apbclk {
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <50000000>;
|
|
#clock-cells = <0>;
|
|
};
|
|
};
|
|
|
|
uart0: serial0@e0022000 {
|
|
compatible = "snps,dw-apb-uart";
|
|
reg = <0xe0022000 0x1000>;
|
|
reg-shift = <2>;
|
|
reg-io-width = <4>;
|
|
};
|
|
|
|
ethernet@e0018000 {
|
|
#interrupt-cells = <1>;
|
|
compatible = "altr,socfpga-stmmac";
|
|
reg = < 0xe0018000 0x2000 >;
|
|
interrupts = < 25 >;
|
|
interrupt-names = "macirq";
|
|
phy-mode = "gmii";
|
|
snps,pbl = < 32 >;
|
|
clocks = <&apbclk>;
|
|
clock-names = "stmmaceth";
|
|
max-speed = <100>;
|
|
};
|
|
};
|