summaryrefslogtreecommitdiff
path: root/arch/arm/dts/kirkwood-km_kirkwood.dts
blob: b2c0209f5dba7d3e884dae6504c8c97a7b3fe471 (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
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;

#include "kirkwood.dtsi"
#include "kirkwood-98dx4122.dtsi"
#include "kirkwood-km_common.dtsi"

/ {
	model = "Keymile Kirkwood Reference Design";
	compatible = "keymile,km_kirkwood", "marvell,kirkwood-98DX4122", "marvell,kirkwood";

	memory {
		device_type = "memory";
		reg = <0x00000000 0x08000000>;
	};

	aliases {
		spi0 = &spi0;
	};
};

&mdio {
	status = "okay";

	ethphy0: ethernet-phy@0 {
		reg = <0>;
	};
};

&eth0 {
	status = "okay";
	ethernet0-port@0 {
		phy-handle = <&ethphy0>;
	};
};

&spi0 {
	status = "okay";

	flash@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "st,m25p80", "jedec,spi-nor", "spi-flash";
		reg = <0>;
		spi-max-frequency = <33000000>;
		mode = <3>;

		partition@uboot {
			reg = <0x000000 0x0c0000>;
			label = "uboot";
		};
	};
};