3 #include <dt-bindings/gpio/gpio.h>
6 compatible = "vocore,vocore", "ralink,rt5350-soc";
9 compatible = "gpio-export";
13 gpio-export,name = "gpio0";
14 gpio-export,direction_may_change = <1>;
15 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
21 gpio-export,name = "gpio7";
22 gpio-export,direction_may_change = <1>;
23 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
28 gpio-export,name = "gpio8";
29 gpio-export,direction_may_change = <1>;
30 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
35 gpio-export,name = "gpio9";
36 gpio-export,direction_may_change = <1>;
37 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
42 gpio-export,name = "gpio12";
43 gpio-export,direction_may_change = <1>;
44 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
49 gpio-export,name = "gpio13";
50 gpio-export,direction_may_change = <1>;
51 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
56 gpio-export,name = "gpio14";
57 gpio-export,direction_may_change = <1>;
58 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
64 gpio-export,name = "gpio17";
65 gpio-export,direction_may_change = <1>;
66 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
71 gpio-export,name = "gpio18";
72 gpio-export,direction_may_change = <1>;
73 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
78 gpio-export,name = "gpio19";
79 gpio-export,direction_may_change = <1>;
80 gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
85 gpio-export,name = "gpio20";
86 gpio-export,direction_may_change = <1>;
87 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
92 gpio-export,name = "gpio21";
93 gpio-export,direction_may_change = <1>;
94 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
100 gpio-export,name = "gpio22";
101 gpio-export,direction_may_change = <1>;
102 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
107 gpio-export,name = "gpio23";
108 gpio-export,direction_may_change = <1>;
109 gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
114 gpio-export,name = "gpio24";
115 gpio-export,direction_may_change = <1>;
116 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
121 gpio-export,name = "gpio25";
122 gpio-export,direction_may_change = <1>;
123 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
128 gpio-export,name = "gpio26";
129 gpio-export,direction_may_change = <1>;
130 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
135 compatible = "gpio-leds";
139 label = "vocore:green:status";
140 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
145 label = "vocore:orange:eth";
146 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
160 state_default: pinctrl0 {
162 ralink,group = "jtag", "uartf", "led";
163 ralink,function = "gpio";
169 mtd-mac-address = <&factory 0x4>;
173 mediatek,portmap = <0x11>;
174 mediatek,portdisable = <0x2e>;
178 ralink,mtd-eeprom = <&factory 0>;
193 compatible = "linux,spidev";
194 spi-max-frequency = <10000000>;