1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "phicomm,k2g", "ralink,mt7620a-soc";
12 led-failsafe = &led_blue;
13 led-running = &led_blue;
14 led-upgrade = &led_blue;
19 compatible = "gpio-leds";
22 label = "k2g:blue:status";
23 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
27 label = "k2g:yellow:status";
28 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
32 label = "k2g:red:status";
33 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
38 compatible = "gpio-keys";
42 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
52 compatible = "jedec,spi-nor";
54 spi-max-frequency = <24000000>;
57 compatible = "fixed-partitions";
68 reg = <0x30000 0x10000>;
73 factory: partition@40000 {
74 reg = <0x40000 0x10000>;
80 reg = <0x50000 0x50000>;
81 label = "permanent_config";
86 compatible = "denx,uimage";
87 reg = <0xa0000 0x760000>;
96 groups = "i2c", "uartf";
102 pinctrl-names = "default";
103 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
105 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 0x0>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&pa_pins>;