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-polled";
63 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_RESTART>;
69 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
75 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_WPS_BUTTON>;
81 compatible = "gpio-leds";
84 label = "na930:blue:zwave";
85 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
89 label = "na930:blue:status";
90 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
91 trigger-sources = <&ohci_port1>, <&ehci_port1>;
92 linux,default-trigger = "usbport";
96 label = "na930:blue:service";
97 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
101 label = "na930:blue:power";
102 gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
107 compatible = "gpio-export";
111 gpio-export,name = "telit";
112 gpio-export,output = <1>;
113 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
119 state_default: pinctrl0 {
121 ralink,group = "i2c", "rgmii2", "spi", "ephy";
122 ralink,function = "gpio";
126 ralink,group = "uartf";
127 ralink,function = "gpio uartf";
146 pinctrl-names = "default";
147 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
148 mediatek,portmap = "llllw";
152 phy-handle = <&phy4>;
158 phy-handle = <&phy5>;
165 phy4: ethernet-phy@4 {
170 phy5: ethernet-phy@5 {
178 mediatek,port4 = "gmac";