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 {
73 compatible = "nvmem-cells";
75 reg = <0x40000 0x10000>;
80 eeprom_factory_0: eeprom@0 {
84 macaddr_factory_4: macaddr@4 {
88 macaddr_factory_e000: macaddr@e000 {
92 macaddr_factory_e006: macaddr@e006 {
98 label = "permanent_config";
99 reg = <0x50000 0x50000>;
104 compatible = "denx,uimage";
106 reg = <0xa0000 0xf60000>;
118 compatible = "mediatek,mt76";
119 reg = <0x0000 0 0 0 0>;
121 /* 5 GHz (phy1) does not take the address from calibration data,
122 but setting it manually here works */
123 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4>;
124 nvmem-cell-names = "eeprom", "mac-address";
129 nvmem-cells = <&macaddr_factory_e000>;
130 nvmem-cell-names = "mac-address";
136 phy-handle = <ðphy4>;
138 nvmem-cells = <&macaddr_factory_e006>;
139 nvmem-cell-names = "mac-address";
143 ethphy4: ethernet-phy@4 {
174 groups = "i2c", "jtag";