1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "sercomm,na930", "ralink,mt7620a-soc";
9 model = "Sercomm NA930";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 bootargs = "console=ttyS1,57600";
23 compatible = "mtk,mt7620-nand";
26 compatible = "fixed-partitions";
38 reg = <0x200000 0x40000>;
44 reg = <0x240000 0x400000>;
49 compatible = "denx,uimage";
51 reg = <0x640000 0x1400000>;
57 compatible = "gpio-keys";
61 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_RESTART>;
67 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
73 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_WPS_BUTTON>;
79 compatible = "gpio-leds";
83 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
87 function = LED_FUNCTION_STATUS;
88 color = <LED_COLOR_ID_BLUE>;
89 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
90 trigger-sources = <&ohci_port1>, <&ehci_port1>;
91 linux,default-trigger = "usbport";
95 label = "blue:service";
96 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
100 function = LED_FUNCTION_POWER;
101 color = <LED_COLOR_ID_BLUE>;
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>;
120 groups = "i2c", "rgmii2", "spi", "ephy";
126 function = "gpio uartf";
139 pinctrl-names = "default";
140 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
142 mediatek,portmap = "llllw";
146 phy-handle = <&phy4>;
152 phy-handle = <&phy5>;
159 phy4: ethernet-phy@4 {
164 phy5: ethernet-phy@5 {
173 mediatek,ephy-base = /bits/ 8 <8>;