ramips: remove RAM size from device name for UniElec devices
[oweals/openwrt.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                 serial0 = &uartlite;
8                 serial1 = &uart;
9         };
10 };
11
12 &spi0 {
13         status = "okay";
14
15         m25p80@0 {
16                 compatible = "jedec,spi-nor";
17                 reg = <0>;
18                 spi-max-frequency = <10000000>;
19
20                 partitions {
21                         compatible = "fixed-partitions";
22                         #address-cells = <1>;
23                         #size-cells = <1>;
24
25                         partition@0 {
26                                 label = "u-boot";
27                                 reg = <0x0 0x30000>;
28                                 read-only;
29                         };
30
31                         partition@30000 {
32                                 label = "u-boot-env";
33                                 reg = <0x30000 0x10000>;
34                                 read-only;
35                         };
36
37                         factory: partition@40000 {
38                                 label = "factory";
39                                 reg = <0x40000 0x10000>;
40                                 read-only;
41                         };
42
43                         partition@50000 {
44                                 compatible = "denx,uimage";
45                                 label = "firmware";
46                                 reg = <0x50000 0x7b0000>;
47                         };
48                 };
49         };
50 };
51
52 &gpio1 {
53         status = "okay";
54 };
55
56 &pinctrl {
57         state_default: pinctrl0 {
58                 gpio {
59                         ralink,group = "jtag";
60                         ralink,function = "gpio";
61                 };
62                 uartf_gpio {
63                         ralink,group = "uartf";
64                         ralink,function = "gpio uartf";
65                 };
66         };
67 };
68
69 &ethernet {
70         mtd-mac-address = <&factory 0x4>;
71 };
72
73 &esw {
74         mediatek,portmap = <0x2f>;
75         mediatek,led_polarity = <0x17>;
76 };
77
78 &wmac {
79         ralink,mtd-eeprom = <&factory 0>;
80         ralink,led-polarity = <1>;
81 };
82
83 &ehci {
84         status = "okay";
85 };
86
87 &ohci {
88         status = "okay";
89 };
90
91 &i2c {
92         status = "okay";
93 };
94
95 &uart {
96         status = "okay";
97 };