5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "phicomm,k2p", "mediatek,mt7621-soc";
10 model = "Phicomm K2P";
14 led-failsafe = &led_blue;
15 led-running = &led_blue;
16 led-upgrade = &led_blue;
20 bootargs = "console=ttyS0,57600";
24 compatible = "gpio-leds";
27 label = "k2p:red:status";
28 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
32 label = "k2p:yellow:status";
33 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
37 label = "k2p:blue:status";
38 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys-polled";
48 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
63 compatible = "fixed-partitions";
75 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
81 reg = <0x40000 0x10000>;
86 label = "permanent_config";
87 reg = <0x50000 0x50000>;
92 compatible = "denx,uimage";
94 reg = <0xa0000 0xf60000>;
106 reg = <0x0000 0 0 0 0>;
107 mediatek,mtd-eeprom = <&factory 0x0>;
112 mtd-mac-address = <&factory 0xe000>;
116 state_default: pinctrl0 {
118 ralink,group = "i2c", "jtag";
119 ralink,function = "gpio";