blob: 17ef656483cc1ee84ef18096b0fe6f5a1e28381d [file] [log] [blame]
Vlad Zakharov0c770922017-03-21 14:49:48 +03001/*
2 * Copyright (C) 2017 Synopsys, Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7/ {
8 axs10x_mb@e0000000 {
9 compatible = "simple-bus";
10 #address-cells = <1>;
11 #size-cells = <1>;
12 ranges = <0x00000000 0xe0000000 0x10000000>;
13 u-boot,dm-pre-reloc;
14
15 clocks {
16 compatible = "simple-bus";
17 u-boot,dm-pre-reloc;
18
19 apbclk: apbclk {
20 compatible = "fixed-clock";
21 clock-frequency = <50000000>;
22 #clock-cells = <0>;
23 };
24
25 uartclk: uartclk {
26 compatible = "fixed-clock";
27 clock-frequency = <33333333>;
28 #clock-cells = <0>;
29 u-boot,dm-pre-reloc;
30 };
31 };
32
33 ethernet@18000 {
Vlad Zakharov0c770922017-03-21 14:49:48 +030034 compatible = "altr,socfpga-stmmac";
35 reg = < 0x18000 0x2000 >;
Vlad Zakharov0c770922017-03-21 14:49:48 +030036 phy-mode = "gmii";
37 snps,pbl = < 32 >;
38 clocks = <&apbclk>;
39 clock-names = "stmmaceth";
40 max-speed = <100>;
41 };
42
43 ehci@0x40000 {
44 compatible = "generic-ehci";
45 reg = < 0x40000 0x100 >;
Vlad Zakharov0c770922017-03-21 14:49:48 +030046 };
47
48 ohci@0x60000 {
49 compatible = "generic-ohci";
50 reg = < 0x60000 0x100 >;
Vlad Zakharov0c770922017-03-21 14:49:48 +030051 };
52
53 uart0: serial0@22000 {
54 compatible = "snps,dw-apb-uart";
55 reg = <0x22000 0x100>;
56 clocks = <&uartclk>;
57 reg-shift = <2>;
58 reg-io-width = <4>;
59 };
60 };
61};