ramips: do not enable unused GPIO controllers
[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 serial0 = &uartlite;
8 serial1 = &uart;
9 };
10 };
11
12 &spi0 {
13 status = "okay";
14
15 flash@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 &state_default {
53 gpio {
54 groups = "jtag";
55 function = "gpio";
56 };
57 uartf_gpio {
58 groups = "uartf";
59 function = "gpio uartf";
60 };
61 };
62
63 &ethernet {
64 mtd-mac-address = <&factory 0x4>;
65 };
66
67 &esw {
68 mediatek,portmap = <0x2f>;
69 mediatek,led_polarity = <0x17>;
70 };
71
72 &wmac {
73 ralink,mtd-eeprom = <&factory 0x0>;
74 ralink,led-polarity = <1>;
75 };
76
77 &i2c {
78 status = "okay";
79 };
80
81 &uart {
82 status = "okay";
83 };