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;
18 compatible = "gpio-leds";
21 label = "blue:status";
22 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
26 label = "yellow:status";
27 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
37 compatible = "gpio-keys";
41 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
51 compatible = "jedec,spi-nor";
53 spi-max-frequency = <24000000>;
56 compatible = "fixed-partitions";
67 reg = <0x30000 0x10000>;
72 factory: partition@40000 {
73 reg = <0x40000 0x10000>;
79 reg = <0x50000 0x50000>;
80 label = "permanent_config";
85 compatible = "denx,uimage";
86 reg = <0xa0000 0x760000>;
95 groups = "i2c", "uartf";
101 pinctrl-names = "default";
102 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
104 mtd-mac-address = <&factory 0x28>;
106 mediatek,portmap = "llllw";
110 phy-handle = <&phy5>;
117 phy5: ethernet-phy@5 {
130 reg = <0x0000 0 0 0 0>;
131 mediatek,mtd-eeprom = <&factory 0x8000>;
132 ieee80211-freq-limit = <5000000 6000000>;
137 ralink,mtd-eeprom = <&factory 0x0>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pa_pins>;