3 #include <dt-bindings/gpio/gpio.h>
6 compatible = "nixcore,x1", "ralink,rt5350-soc";
9 bootargs = "console=ttyS1,57600";
13 compatible = "gpio-export";
17 gpio-export,name = "gpio0";
18 gpio-export,direction_may_change = <1>;
19 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
23 gpio-export,name = "gpio1";
24 gpio-export,direction_may_change = <1>;
25 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
28 /* GPIOs 1-6 are I2C,SPI */
29 /* GPIO 7-14 are uart1 */
30 /* GPIOs 15 & 16 are uart2 */
35 gpio-export,name = "gpio17";
36 gpio-export,direction_may_change = <1>;
37 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
42 gpio-export,name = "gpio18";
43 gpio-export,direction_may_change = <1>;
44 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
49 gpio-export,name = "gpio19";
50 gpio-export,direction_may_change = <1>;
51 gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
56 gpio-export,name = "gpio20";
57 gpio-export,direction_may_change = <1>;
58 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
63 gpio-export,name = "gpio21";
64 gpio-export,direction_may_change = <1>;
65 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
71 gpio-export,name = "gpio22";
72 gpio-export,direction_may_change = <1>;
73 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
77 gpio-export,name = "gpio23";
78 gpio-export,direction_may_change = <1>;
79 gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
83 gpio-export,name = "gpio24";
84 gpio-export,direction_may_change = <1>;
85 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
89 gpio-export,name = "gpio25";
90 gpio-export,direction_may_change = <1>;
91 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
97 gpio-export,name = "gpio26";
98 gpio-export,direction_may_change = <1>;
99 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
104 gpio-export,name = "gpio27";
105 gpio-export,direction_may_change = <1>;
106 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
115 compatible = "jedec,spi-nor";
117 spi-max-frequency = <10000000>;
120 compatible = "fixed-partitions";
121 #address-cells = <1>;
132 reg = <0x30000 0x10000>;
138 reg = <0x40000 0x10000>;
142 compatible = "fixed-layout";
143 #address-cells = <1>;
146 eeprom_factory_0: eeprom@0 {
150 macaddr_factory_4: macaddr@4 {
156 firmware: partition@50000 {
157 compatible = "denx,uimage";
159 /* reg property is set based on flash size in DTS files */
175 reset-names = "gpio uartf";
180 groups = "jtag", "led", "spi_cs1";
186 nvmem-cells = <&macaddr_factory_4>;
187 nvmem-cell-names = "mac-address";
191 mediatek,portmap = <0x17>;
195 nvmem-cells = <&eeprom_factory_0>;
196 nvmem-cell-names = "eeprom";