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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS1,57600";
24 compatible = "mtk,mt7620-nand";
27 compatible = "fixed-partitions";
39 reg = <0x200000 0x40000>;
45 reg = <0x240000 0x400000>;
50 compatible = "denx,uimage";
52 reg = <0x640000 0x1400000>;
58 compatible = "gpio-keys";
62 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_RESTART>;
68 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
74 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_WPS_BUTTON>;
80 compatible = "gpio-leds";
83 label = "na930:blue:zwave";
84 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
88 label = "na930:blue:status";
89 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
90 trigger-sources = <&ohci_port1>, <&ehci_port1>;
91 linux,default-trigger = "usbport";
95 label = "na930:blue:service";
96 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
100 label = "na930:blue:power";
101 gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
106 compatible = "gpio-export";
110 gpio-export,name = "telit";
111 gpio-export,output = <1>;
112 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
118 state_default: pinctrl0 {
120 ralink,group = "i2c", "rgmii2", "spi", "ephy";
121 ralink,function = "gpio";
125 ralink,group = "uartf";
126 ralink,function = "gpio uartf";
145 pinctrl-names = "default";
146 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
147 mediatek,portmap = "llllw";
151 phy-handle = <&phy4>;
157 phy-handle = <&phy5>;
164 phy4: ethernet-phy@4 {
169 phy5: ethernet-phy@5 {
177 mediatek,port4 = "gmac";