3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/leds/common.h>
7 compatible = "vocore,vocore", "ralink,rt5350-soc";
10 led-boot = &led_status;
11 led-failsafe = &led_status;
12 led-running = &led_status;
13 led-upgrade = &led_status;
14 label-mac-device = ðernet;
18 compatible = "gpio-export";
22 gpio-export,name = "gpio0";
23 gpio-export,direction_may_change = <1>;
24 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
30 gpio-export,name = "gpio7";
31 gpio-export,direction_may_change = <1>;
32 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
37 gpio-export,name = "gpio8";
38 gpio-export,direction_may_change = <1>;
39 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
44 gpio-export,name = "gpio9";
45 gpio-export,direction_may_change = <1>;
46 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
51 gpio-export,name = "gpio12";
52 gpio-export,direction_may_change = <1>;
53 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
58 gpio-export,name = "gpio13";
59 gpio-export,direction_may_change = <1>;
60 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
65 gpio-export,name = "gpio14";
66 gpio-export,direction_may_change = <1>;
67 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
73 gpio-export,name = "gpio17";
74 gpio-export,direction_may_change = <1>;
75 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
80 gpio-export,name = "gpio18";
81 gpio-export,direction_may_change = <1>;
82 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
87 gpio-export,name = "gpio19";
88 gpio-export,direction_may_change = <1>;
89 gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
94 gpio-export,name = "gpio20";
95 gpio-export,direction_may_change = <1>;
96 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
101 gpio-export,name = "gpio21";
102 gpio-export,direction_may_change = <1>;
103 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
109 gpio-export,name = "gpio22";
110 gpio-export,direction_may_change = <1>;
111 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
116 gpio-export,name = "gpio23";
117 gpio-export,direction_may_change = <1>;
118 gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
123 gpio-export,name = "gpio24";
124 gpio-export,direction_may_change = <1>;
125 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
130 gpio-export,name = "gpio25";
131 gpio-export,direction_may_change = <1>;
132 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
137 gpio-export,name = "gpio26";
138 gpio-export,direction_may_change = <1>;
139 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
144 compatible = "gpio-leds";
148 function = LED_FUNCTION_STATUS;
149 color = <LED_COLOR_ID_GREEN>;
150 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
155 label = "orange:eth";
156 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
165 compatible = "jedec,spi-nor";
167 spi-max-frequency = <10000000>;
170 compatible = "fixed-partitions";
171 #address-cells = <1>;
182 reg = <0x30000 0x10000>;
186 factory: partition@40000 {
188 reg = <0x40000 0x10000>;
192 compatible = "fixed-layout";
193 #address-cells = <1>;
196 eeprom_factory_0: eeprom@0 {
200 macaddr_factory_4: macaddr@4 {
206 firmware: partition@50000 {
207 compatible = "denx,uimage";
209 /* reg property is set based on flash size in DTS files */
225 groups = "jtag", "uartf", "led";
231 nvmem-cells = <&macaddr_factory_4>;
232 nvmem-cell-names = "mac-address";
236 mediatek,portmap = <0x11>;
237 mediatek,portdisable = <0x2e>;
241 nvmem-cells = <&eeprom_factory_0>;
242 nvmem-cell-names = "eeprom";
249 compatible = "linux,spidev";
250 spi-max-frequency = <10000000>;