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";
55 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RESTART>;
61 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_WPS_BUTTON>;
73 compatible = "gpio-leds";
76 label = "na930:blue:zwave";
77 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
81 label = "na930:blue:status";
82 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
86 label = "na930:blue:service";
87 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
91 label = "na930:blue:power";
92 gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
97 compatible = "gpio-export";
101 gpio-export,name = "telit";
102 gpio-export,output = <1>;
103 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
109 state_default: pinctrl0 {
111 ralink,group = "i2c", "rgmii2", "spi", "ephy";
112 ralink,function = "gpio";
116 ralink,group = "uartf";
117 ralink,function = "gpio uartf";
136 pinctrl-names = "default";
137 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
138 mediatek,portmap = "llllw";
142 phy-handle = <&phy4>;
148 phy-handle = <&phy5>;
155 phy4: ethernet-phy@4 {
160 phy5: ethernet-phy@5 {
168 mediatek,port4 = "gmac";