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