3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "phicomm,k2p", "mediatek,mt7621-soc";
13 led-failsafe = &led_blue;
14 led-running = &led_blue;
15 led-upgrade = &led_blue;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_RED>;
24 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
28 function = LED_FUNCTION_STATUS;
29 color = <LED_COLOR_ID_YELLOW>;
30 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
34 function = LED_FUNCTION_STATUS;
35 color = <LED_COLOR_ID_BLUE>;
36 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys";
45 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <50000000>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x10000>;
78 reg = <0x40000 0x10000>;
82 compatible = "fixed-layout";
86 eeprom_factory_0: eeprom@0 {
90 macaddr_factory_4: macaddr@4 {
94 macaddr_factory_e000: macaddr@e000 {
98 macaddr_factory_e006: macaddr@e006 {
105 label = "permanent_config";
106 reg = <0x50000 0x50000>;
111 compatible = "denx,uimage";
113 reg = <0xa0000 0xf60000>;
125 compatible = "mediatek,mt76";
126 reg = <0x0000 0 0 0 0>;
128 /* 5 GHz (phy1) does not take the address from calibration data,
129 but setting it manually here works */
130 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4>;
131 nvmem-cell-names = "eeprom", "mac-address";
136 nvmem-cells = <&macaddr_factory_e000>;
137 nvmem-cell-names = "mac-address";
143 phy-handle = <ðphy4>;
145 nvmem-cells = <&macaddr_factory_e006>;
146 nvmem-cell-names = "mac-address";
150 ethphy4: ethernet-phy@4 {
181 groups = "i2c", "jtag";