8a8e5a92e1332b5b4b796dd397e06a8cc5199155
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt5350_olimex_rt5350f-olinuxino.dtsi
1 #include "rt5350.dtsi"
2
3 / {
4 compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc";
5
6 aliases {
7 serial1 = &uart;
8 };
9 };
10
11 &spi0 {
12 status = "okay";
13
14 flash@0 {
15 compatible = "jedec,spi-nor";
16 reg = <0>;
17 spi-max-frequency = <10000000>;
18
19 partitions {
20 compatible = "fixed-partitions";
21 #address-cells = <1>;
22 #size-cells = <1>;
23
24 partition@0 {
25 label = "u-boot";
26 reg = <0x0 0x30000>;
27 read-only;
28 };
29
30 partition@30000 {
31 label = "u-boot-env";
32 reg = <0x30000 0x10000>;
33 read-only;
34 };
35
36 factory: partition@40000 {
37 label = "factory";
38 reg = <0x40000 0x10000>;
39 read-only;
40 };
41
42 partition@50000 {
43 compatible = "denx,uimage";
44 label = "firmware";
45 reg = <0x50000 0x7b0000>;
46 };
47 };
48 };
49 };
50
51 &state_default {
52 gpio {
53 groups = "jtag";
54 function = "gpio";
55 };
56 uartf_gpio {
57 groups = "uartf";
58 function = "gpio uartf";
59 };
60 };
61
62 &ethernet {
63 mtd-mac-address = <&factory 0x4>;
64 };
65
66 &esw {
67 mediatek,portmap = <0x2f>;
68 mediatek,led_polarity = <0x17>;
69 };
70
71 &wmac {
72 ralink,mtd-eeprom = <&factory 0x0>;
73 ralink,led-polarity = <1>;
74 };
75
76 &i2c {
77 status = "okay";
78 };
79
80 &uart {
81 status = "okay";
82 };