3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "sercomm,na930", "ralink,mt7620a-soc";
10 model = "Sercomm NA930";
13 led-status = &led_power;
17 bootargs = "console=ttyS1,57600";
23 compatible = "mtk,mt7620-nand";
33 reg = <0x200000 0x40000>;
39 reg = <0x240000 0x400000>;
45 reg = <0x640000 0x1400000>;
50 compatible = "gpio-keys-polled";
57 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RESTART>;
63 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
70 linux,code = <KEY_WPS_BUTTON>;
75 compatible = "gpio-leds";
78 label = "na930:blue:zwave";
79 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
83 label = "na930:blue:status";
84 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
88 label = "na930:blue:service";
89 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
93 label = "na930:blue:power";
94 gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
99 compatible = "gpio-export";
103 gpio-export,name = "telit";
104 gpio-export,output = <1>;
105 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
111 state_default: pinctrl0 {
113 ralink,group = "i2c", "rgmii2", "spi", "ephy";
114 ralink,function = "gpio";
118 ralink,group = "uartf";
119 ralink,function = "gpio uartf";
138 pinctrl-names = "default";
139 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
140 mediatek,portmap = "llllw";
144 phy-handle = <&phy4>;
150 phy-handle = <&phy5>;
157 phy4: ethernet-phy@4 {
162 phy5: ethernet-phy@5 {
170 mediatek,port4 = "gmac";