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";
13 led-status = &led_blue;
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "k2p:red:status";
30 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
34 label = "k2p:yellow:status";
35 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
39 label = "k2p:blue:status";
40 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys-polled";
52 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
67 m25p,chunked-io = <32>;
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
88 label = "permanent_config";
89 reg = <0x50000 0x50000>;
95 reg = <0xa0000 0xf60000>;
105 reg = <0x0000 0 0 0 0>;
107 mediatek,mtd-eeprom = <&factory 0x0>;
113 mtd-mac-address = <&factory 0xe006>;
117 state_default: pinctrl0 {
119 ralink,group = "i2c", "jtag";
120 ralink,function = "gpio";