3 #include <dt-bindings/gpio/gpio.h>
6 compatible = "vocore,vocore", "ralink,rt5350-soc";
9 led-status = &led_status;
13 compatible = "gpio-export";
17 gpio-export,name = "gpio0";
18 gpio-export,direction_may_change = <1>;
19 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
25 gpio-export,name = "gpio7";
26 gpio-export,direction_may_change = <1>;
27 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
32 gpio-export,name = "gpio8";
33 gpio-export,direction_may_change = <1>;
34 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
39 gpio-export,name = "gpio9";
40 gpio-export,direction_may_change = <1>;
41 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
46 gpio-export,name = "gpio12";
47 gpio-export,direction_may_change = <1>;
48 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
53 gpio-export,name = "gpio13";
54 gpio-export,direction_may_change = <1>;
55 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
60 gpio-export,name = "gpio14";
61 gpio-export,direction_may_change = <1>;
62 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
68 gpio-export,name = "gpio17";
69 gpio-export,direction_may_change = <1>;
70 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
75 gpio-export,name = "gpio18";
76 gpio-export,direction_may_change = <1>;
77 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
82 gpio-export,name = "gpio19";
83 gpio-export,direction_may_change = <1>;
84 gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
89 gpio-export,name = "gpio20";
90 gpio-export,direction_may_change = <1>;
91 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
96 gpio-export,name = "gpio21";
97 gpio-export,direction_may_change = <1>;
98 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
104 gpio-export,name = "gpio22";
105 gpio-export,direction_may_change = <1>;
106 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
111 gpio-export,name = "gpio23";
112 gpio-export,direction_may_change = <1>;
113 gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
118 gpio-export,name = "gpio24";
119 gpio-export,direction_may_change = <1>;
120 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
125 gpio-export,name = "gpio25";
126 gpio-export,direction_may_change = <1>;
127 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
132 gpio-export,name = "gpio26";
133 gpio-export,direction_may_change = <1>;
134 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
139 compatible = "gpio-leds";
143 label = "vocore:green:status";
144 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
149 label = "vocore:orange:eth";
150 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
164 state_default: pinctrl0 {
166 ralink,group = "jtag", "uartf", "led";
167 ralink,function = "gpio";
173 mtd-mac-address = <&factory 0x4>;
177 mediatek,portmap = <0x11>;
178 mediatek,portdisable = <0x2e>;
182 ralink,mtd-eeprom = <&factory 0>;
197 compatible = "linux,spidev";
198 spi-max-frequency = <10000000>;