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 compatible = "gpio-leds";
23 label = "k2p:red:status";
24 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
28 label = "k2p:yellow:status";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
33 label = "k2p:blue:status";
34 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
43 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <10000000>;
58 compatible = "fixed-partitions";
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
81 label = "permanent_config";
82 reg = <0x50000 0x50000>;
87 compatible = "denx,uimage";
89 reg = <0xa0000 0xf60000>;
101 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x0>;
107 mtd-mac-address = <&factory 0xe000>;
135 mtd-mac-address = <&factory 0xe006>;
142 groups = "i2c", "jtag";