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 = <80000000>;
57 compatible = "fixed-partitions";
69 reg = <0x30000 0x10000>;
73 factory: partition@40000 {
75 reg = <0x40000 0x10000>;
80 label = "permanent_config";
81 reg = <0x50000 0x50000>;
86 compatible = "denx,uimage";
88 reg = <0xa0000 0xf60000>;
100 compatible = "mediatek,mt76";
101 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x0>;
104 /* 5 GHz (phy1) does not take the address from calibration data,
105 but setting it manually here works */
106 nvmem-cells = <&macaddr_factory_4>;
107 nvmem-cell-names = "mac-address";
112 nvmem-cells = <&macaddr_factory_e000>;
113 nvmem-cell-names = "mac-address";
141 nvmem-cells = <&macaddr_factory_e006>;
142 nvmem-cell-names = "mac-address";
149 groups = "i2c", "jtag";
155 compatible = "nvmem-cells";
156 #address-cells = <1>;
159 macaddr_factory_4: macaddr@4 {
163 macaddr_factory_e000: macaddr@e000 {
167 macaddr_factory_e006: macaddr@e006 {