3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "phicomm,k2g", "ralink,mt7620a-soc";
10 model = "Phicomm K2G";
14 led-failsafe = &led_blue;
15 led-running = &led_blue;
16 led-upgrade = &led_blue;
21 compatible = "gpio-leds";
24 label = "k2g:blue:status";
25 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
29 label = "k2g:yellow:status";
30 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
34 label = "k2g:red:status";
35 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-keys";
44 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <24000000>;
59 compatible = "fixed-partitions";
70 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
82 reg = <0x50000 0x50000>;
83 label = "permanent_config";
88 compatible = "denx,uimage";
89 reg = <0xa0000 0x760000>;
98 ralink,group = "i2c", "uartf";
99 ralink,function = "gpio";
104 pinctrl-names = "default";
105 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
106 mtd-mac-address = <&factory 0x28>;
107 mediatek,portmap = "llllw";
111 phy-handle = <&phy5>;
118 phy5: ethernet-phy@5 {
131 reg = <0x0000 0 0 0 0>;
132 mediatek,mtd-eeprom = <&factory 0x8000>;
133 ieee80211-freq-limit = <5000000 6000000>;
138 ralink,mtd-eeprom = <&factory 0>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&pa_pins>;