summaryrefslogtreecommitdiff
path: root/arch/arc/dts/emsdp.dts
blob: 8222d3ea662aaab99e1f600b9f5c8ba72f3904a0 (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
49
50
51
52
53
54
55
56
57
58
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2018 Synopsys, Inc. All rights reserved.
 */
/dts-v1/;

#include "skeleton.dtsi"

/ {
	model = "snps,emsdp";

	#address-cells = <1>;
	#size-cells = <1>;

	aliases {
		console = &uart0;
	};

	cpu_card {
		core_clk: core_clk {
			#clock-cells = <0>;
			compatible = "fixed-clock";
			clock-frequency = <40000000>;
			bootph-all;
		};
	};

	uart0: serial0@f0004000 {
		compatible = "snps,dw-apb-uart";
		clock-frequency = <100000000>;
		reg = <0xf0004000 0x1000>;
		reg-shift = <2>;
		reg-io-width = <4>;
	};

	mmcclk_biu: mmcclk-biu {
		compatible = "fixed-clock";
		clock-frequency = <50000000>;
		#clock-cells = <0>;
	};

	mmcclk_ciu: mmcclk-ciu {
		compatible = "fixed-clock";
		clock-frequency = <100000000>;
		#clock-cells = <0>;
	};

	mmc: mmc0@f0010000 {
		compatible = "snps,dw-mshc";
		reg = <0xf0010000 0x400>;
		bus-width = <4>;
		fifo-depth = <256>;
		clocks = <&mmcclk_biu>, <&mmcclk_ciu>;
		clock-names = "biu", "ciu";
		max-frequency = <25000000>;
	};

};