summaryrefslogtreecommitdiffstats
path: root/arch/mips/dts/qemu-malta.dts
blob: 204007d42f8f63876ef624f6ff245c3029591c5e (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
59
60
/dts-v1/;

/include/ "skeleton.dtsi"

/ {
	model = "qemu malta";
	compatible = "qemu,malta";

	chosen {
		environment@0 {
			compatible = "barebox,environment";
			device-path = &nor0, "partname:barebox-environment";
		};
	};

	memory {
		reg = <0x00000000 0x10000000>;
	};

	uart0: serial@b80003f8 {
		compatible = "ns16550a";
		reg = <0xb80003f8 0x08>;
		reg-shift = <0>;
		/* no matter for emulated port */
		clock-frequency = <1843200>;
	};

	gpio: gpio@1f000b00 {
		compatible = "mti,malta-fpga-i2c-gpio";
		gpio-controller;
		reg = <0xbf000b00 0x20>;
		#gpio-cells = <2>;
	};

	uart2: serial@bf000900 {
		compatible = "ns16550a";
		reg = <0xbf000900 0x40>;
		reg-shift = <3>;
		/* no matter for emulated port */
		clock-frequency = <1843200>;
	};

	nor0: flash@be000000 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "cfi-flash";
		reg = <0xbe000000 0x00400000>;

		partition@0 {
			label = "barebox";
			reg = <0 0x80000>;
			read-only;
		};

		partition@80000 {
			label = "barebox-environment";
			reg = <0x80000 0x10000>;
		};
	};
};