Remove kmod-r8169 from x86 target default selection
[librecmc/librecmc.git] / target / linux / ramips / dts / VOCORE2.dts
1 /dts-v1/;
2
3 #include "mt7628an.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9         compatible = "vocore,VoCore2", "mediatek,mt7628an-soc";
10         model = "VoCore2";
11
12         chosen {
13                 bootargs = "console=ttyS2,115200";
14         };
15
16         memory@0 {
17                 device_type = "memory";
18                 reg = <0x0 0x4000000>;
19         };
20
21         gpio-leds {
22                 compatible = "gpio-leds";
23
24                 status {
25                         label = "vocore2:fuchsia:status";
26                         gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
27                 };
28         };
29 };
30
31 &pinctrl {
32         state_default: pinctrl0 {
33                 gpio {
34                         ralink,group = "refclk", "gpio";
35                         ralink,function = "gpio";
36                 };
37
38                 agpio {
39                         ralink,group = "agpio";
40                         ralink,function = "uart2";
41                 };
42         };
43
44         uart1_pins: uart1 {
45                 uart1 {
46                         ralink,group = "uart1";
47                         ralink,function = "uart1";
48                 };
49         };
50
51         uart2_pins: uart2 {
52                 uart2 {
53                         ralink,group = "spis";
54                         ralink,function = "pwm";
55                 };
56         };
57 };
58
59 &wmac {
60         status = "okay";
61         ralink,mtd-eeprom = <&factory 0x4>;
62 };
63
64 &spi0 {
65         status = "okay";
66
67         m25p80@0 {
68                 #address-cells = <1>;
69                 #size-cells = <1>;
70                 compatible = "jedec,spi-nor";
71                 reg = <0>;
72                 spi-max-frequency = <10000000>;
73                 m25p,chunked-io = <32>;
74
75                 partition@0 {
76                         label = "u-boot";
77                         reg = <0x0 0x30000>;
78                         read-only;
79                 };
80
81                 partition@30000 {
82                         label = "u-boot-env";
83                         reg = <0x30000 0x10000>;
84                         read-only;
85                 };
86
87                 factory: partition@40000 {
88                         label = "factory";
89                         reg = <0x40000 0x10000>;
90                         read-only;
91                 };
92
93                 partition@50000 {
94                         label = "firmware";
95                         reg = <0x50000 0xfb0000>;
96                 };
97         };
98 };
99
100 &esw {
101         mediatek,portmap = <0x7>;
102         mediatek,portdisable = <0x3a>;
103 };
104
105 &i2s {
106         status = "okay";
107 };
108
109 &gdma {
110         status = "okay";
111 };
112
113 &pwm {
114         status = "okay";
115 };
116
117 &uart1 {
118         status = "okay";
119 };
120
121 &uart2 {
122         status = "okay";
123 };