~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 173baaba3f2b85f31d7a010014a1338ea2ab50a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2018 Angelo Dureghello <angelo@sysam.it>
 */

/ {
	compatible = "fsl,mcf5272";

	aliases {
		serial0 = &uart0;
		fec0 = &fec0;
	};

	soc {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <1>;

		mbar: mbar@10000000 {
			compatible = "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			ranges = <0x00000000 0x10000000 0x10000>;
			reg = <0x10000000 0x10000>;

			uart0: uart@100 {
				compatible = "fsl,mcf-uart";
				reg = <0x100 0x40>;
				status = "disabled";
			};

			uart1: uart@140 {
				compatible = "fsl,mcf-uart";
				reg = <0x140 0x40>;
				status = "disabled";
			};

			fec0: ethernet@840 {
				compatible = "fsl,mcf-fec";
				reg = <0x840 0x400>;
				mii-base = <0>;
				max-speed = <100>;
				timeout-loop = <50000>;
				status = "disabled";
			};
		};
	};
};