at91: 5.15: remove old config and patch files
[openwrt/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 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 partition@40000 {
37 label = "factory";
38 reg = <0x40000 0x10000>;
39 read-only;
40
41 nvmem-layout {
42 compatible = "fixed-layout";
43 #address-cells = <1>;
44 #size-cells = <1>;
45
46 eeprom_factory_0: eeprom@0 {
47 reg = <0x0 0x200>;
48 };
49
50 macaddr_factory_4: macaddr@4 {
51 reg = <0x4 0x6>;
52 };
53 };
54 };
55
56 partition@50000 {
57 compatible = "denx,uimage";
58 label = "firmware";
59 reg = <0x50000 0x7b0000>;
60 };
61 };
62 };
63 };
64
65 &state_default {
66 gpio {
67 groups = "jtag";
68 function = "gpio";
69 };
70 uartf_gpio {
71 groups = "uartf";
72 function = "gpio uartf";
73 };
74 };
75
76 &ethernet {
77 nvmem-cells = <&macaddr_factory_4>;
78 nvmem-cell-names = "mac-address";
79 };
80
81 &esw {
82 mediatek,portmap = <0x2f>;
83 mediatek,led_polarity = <0x17>;
84 };
85
86 &wmac {
87 ralink,led-polarity = <1>;
88 nvmem-cells = <&eeprom_factory_0>;
89 nvmem-cell-names = "eeprom";
90 };
91
92 &i2c {
93 status = "okay";
94 };
95
96 &uart {
97 status = "okay";
98 };