3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "phicomm,k2p", "mediatek,mt7621-soc";
12 led-failsafe = &led_blue;
13 led-running = &led_blue;
14 led-upgrade = &led_blue;
18 compatible = "gpio-leds";
22 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
26 label = "yellow:status";
27 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
31 label = "blue:status";
32 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys";
41 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
51 compatible = "jedec,spi-nor";
53 spi-max-frequency = <50000000>;
56 compatible = "fixed-partitions";
68 reg = <0x30000 0x10000>;
72 factory: partition@40000 {
74 reg = <0x40000 0x10000>;
79 label = "permanent_config";
80 reg = <0x50000 0x50000>;
85 compatible = "denx,uimage";
87 reg = <0xa0000 0xf60000>;
99 compatible = "mediatek,mt76";
100 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x0>;
103 /* 5 GHz (phy1) does not take the address from calibration data,
104 but setting it manually here works */
105 nvmem-cells = <&macaddr_factory_4>;
106 nvmem-cell-names = "mac-address";
111 nvmem-cells = <&macaddr_factory_e000>;
112 nvmem-cell-names = "mac-address";
140 nvmem-cells = <&macaddr_factory_e006>;
141 nvmem-cell-names = "mac-address";
148 groups = "i2c", "jtag";
154 compatible = "nvmem-cells";
155 #address-cells = <1>;
158 macaddr_factory_4: macaddr@4 {
162 macaddr_factory_e000: macaddr@e000 {
166 macaddr_factory_e006: macaddr@e006 {