1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
11 led-boot = &led_power_green;
12 led-failsafe = &led_power_green;
13 led-running = &led_power_green;
14 led-upgrade = &led_power_green;
15 label-mac-device = &gmac1;
19 compatible = "gpio-leds";
21 led_power_green: power_green {
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
28 function = LED_FUNCTION_POWER;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
34 function = LED_FUNCTION_WPS;
35 color = <LED_COLOR_ID_RED>;
36 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
40 function = LED_FUNCTION_POWER;
41 color = <LED_COLOR_ID_RED>;
42 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
47 compatible = "gpio-keys";
51 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
63 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
65 linux,input-type = <EV_SW>;
70 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
72 linux,input-type = <EV_SW>;
77 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
79 linux,input-type = <EV_SW>;
84 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
86 linux,input-type = <EV_SW>;
94 phy-handle = <ðphy0>;
98 ethphy0: ethernet-phy@0 {
131 compatible = "jedec,spi-nor";
133 spi-max-frequency = <40000000>;
135 partitions: partitions {
136 compatible = "fixed-partitions";
137 #address-cells = <1>;
147 label = "u-boot-env";
148 reg = <0x30000 0x10000>;
152 factory: partition@40000 {
154 reg = <0x40000 0x10000>;
158 compatible = "fixed-layout";
159 #address-cells = <1>;
162 eeprom_factory_0: eeprom@0 {
166 eeprom_factory_8000: eeprom@8000 {
167 reg = <0x8000 0x4da8>;