ramips: fix partition size for RT5350F-OLINUXINO
[openwrt/openwrt.git] / target / linux / ramips / dts / RT5350F-OLINUXINO.dts
1 /dts-v1/;
2
3 #include "rt5350.dtsi"
4
5 / {
6 compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
7 model = "Olimex RT5350F-OLinuXino";
8 };
9
10 &spi0 {
11 status = "okay";
12
13 m25p80@0 {
14 #address-cells = <1>;
15 #size-cells = <1>;
16 compatible = "jedec,spi-nor";
17 reg = <0>;
18 linux,modalias = "m25p80", "s25fl064k";
19 spi-max-frequency = <10000000>;
20
21 partition@0 {
22 label = "u-boot";
23 reg = <0x0 0x30000>;
24 read-only;
25 };
26
27 partition@30000 {
28 label = "u-boot-env";
29 reg = <0x30000 0x10000>;
30 read-only;
31 };
32
33 factory: partition@40000 {
34 label = "factory";
35 reg = <0x40000 0x10000>;
36 read-only;
37 };
38
39 partition@50000 {
40 label = "firmware";
41 reg = <0x50000 0x7b0000>;
42 };
43 };
44 };
45
46 &gpio1 {
47 status = "okay";
48 };
49
50 &pinctrl {
51 state_default: pinctrl0 {
52 gpio {
53 ralink,group = "jtag", "rgmii", "mdio", "uartf";
54 ralink,function = "gpio";
55 };
56 };
57 };
58
59 &ethernet {
60 mtd-mac-address = <&factory 0x4>;
61 };
62
63 &esw {
64 mediatek,portmap = <0x2f>;
65 mediatek,led_polarity = <0x17>;
66 };
67
68 &wmac {
69 ralink,mtd-eeprom = <&factory 0>;
70 };
71
72 &ehci {
73 status = "okay";
74 };
75
76 &ohci {
77 status = "okay";
78 };