Merge branch 'master' of git://git.denx.de/u-boot
[oweals/u-boot.git] / arch / arm / dts / kirkwood-km_kirkwood.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3
4 #include "kirkwood.dtsi"
5 #include "kirkwood-98dx4122.dtsi"
6 #include "kirkwood-km_common.dtsi"
7
8 / {
9         model = "Keymile Kirkwood Reference Design";
10         compatible = "keymile,km_kirkwood", "marvell,kirkwood-98DX4122", "marvell,kirkwood";
11
12         memory {
13                 device_type = "memory";
14                 reg = <0x00000000 0x08000000>;
15         };
16
17         aliases {
18                 spi0 = &spi0;
19         };
20 };
21
22 &mdio {
23         status = "okay";
24
25         ethphy0: ethernet-phy@0 {
26                 reg = <0>;
27         };
28 };
29
30 &eth0 {
31         status = "okay";
32         ethernet0-port@0 {
33                 phy-handle = <&ethphy0>;
34         };
35 };
36
37 &spi0 {
38         status = "okay";
39
40         flash@0 {
41                 #address-cells = <1>;
42                 #size-cells = <1>;
43                 compatible = "st,m25p80", "jedec,spi-nor", "spi-flash";
44                 reg = <0>;
45                 spi-max-frequency = <33000000>;
46                 mode = <3>;
47
48                 partition@uboot {
49                         reg = <0x000000 0x0c0000>;
50                         label = "uboot";
51                 };
52         };
53 };