xref: /openbmc/u-boot/arch/arc/dts/axs10x_mb.dtsi (revision fdef3895)
1/*
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 {
34			compatible = "altr,socfpga-stmmac";
35			reg = < 0x18000 0x2000 >;
36			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 >;
46		};
47
48		ohci@0x60000 {
49			compatible = "generic-ohci";
50			reg = < 0x60000 0x100 >;
51		};
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};
62