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";
21 compatible = "mtk,mt7620-nand";
24 compatible = "fixed-partitions";
36 reg = <0x200000 0x40000>;
42 reg = <0x240000 0x400000>;
48 reg = <0x640000 0x1400000>;
54 compatible = "gpio-keys-polled";
59 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RESTART>;
65 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_WPS_BUTTON>;
77 compatible = "gpio-leds";
80 label = "na930:blue:zwave";
81 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
85 label = "na930:blue:status";
86 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
87 trigger-sources = <&ohci_port1>, <&ehci_port1>;
88 linux,default-trigger = "usbport";
92 label = "na930:blue:service";
93 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
97 label = "na930:blue:power";
98 gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
103 compatible = "gpio-export";
107 gpio-export,name = "telit";
108 gpio-export,output = <1>;
109 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
115 state_default: pinctrl0 {
117 ralink,group = "i2c", "rgmii2", "spi", "ephy";
118 ralink,function = "gpio";
122 ralink,group = "uartf";
123 ralink,function = "gpio uartf";
142 pinctrl-names = "default";
143 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
144 mediatek,portmap = "llllw";
148 phy-handle = <&phy4>;
154 phy-handle = <&phy5>;
161 phy4: ethernet-phy@4 {
166 phy5: ethernet-phy@5 {
174 mediatek,port4 = "gmac";