1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/leds/common.h>
9 stdout-path = "serial0:9600n8";
13 device_type = "memory";
14 reg = <0x0 0x8000000>;
18 compatible = "gpio-leds";
21 label = "amber:any_col";
22 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
23 color = <LED_COLOR_ID_AMBER>;
24 function = LED_FUNCTION_FAULT;
29 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
30 color = <LED_COLOR_ID_GREEN>;
31 function = LED_FUNCTION_INDICATOR;
32 function-enumerator = <1>;
37 gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
38 color = <LED_COLOR_ID_GREEN>;
39 function = LED_FUNCTION_INDICATOR;
40 function-enumerator = <2>;
45 gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
46 color = <LED_COLOR_ID_GREEN>;
47 function = LED_FUNCTION_INDICATOR;
48 function-enumerator = <3>;
52 label = "green:loop_history";
53 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
54 color = <LED_COLOR_ID_GREEN>;
55 function = LED_FUNCTION_INDICATOR;
56 function-enumerator = <4>;
61 compatible = "gpio-keys";
65 gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
71 compatible = "gpio-restart";
72 gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
75 i2c_gpio_0: i2c-gpio-0 {
76 compatible = "i2c-gpio";
77 i2c-gpio,delay-us = <2>;
82 compatible = "nxp,pca9555";
89 compatible = "nxp,pca9539";
95 * GPIO14 (IO1_6): Shift Register RESET (port LED)
96 * - Switch-M8eG PN28080K: 3x 74HC164
97 * - Switch-M16eG PN28160K: 4x 74HC164
98 * - Switch-M24eG PN28240K: 6x 74HC164
99 * - Switch-M48eG PN28480K: 12x 74HC164
101 portled_sregister_reset {
103 gpios = <14 GPIO_ACTIVE_HIGH>;
105 line-name = "portled-sregister-reset";
110 i2c_gpio_1: i2c-gpio-1 {
111 compatible = "i2c-gpio";
112 i2c-gpio,delay-us = <2>;
113 #address-cells = <1>;
116 i2c_switch: i2c-switch@70 {
117 compatible = "nxp,pca9545";
118 reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
120 #address-cells = <1>;
130 compatible = "jedec,spi-nor";
132 spi-max-frequency = <10000000>;
135 compatible = "fixed-partitions";
136 #address-cells = <1>;
146 label = "u-boot-env";
147 reg = <0x80000 0x10000>;
151 label = "u-boot-env2";
152 reg = <0x90000 0x10000>;
157 reg = <0xa0000 0x60000>;
162 * Filesystem area in stock firmware
163 * (0x100000-0x1DFFFFF)
165 * stock firmware images are required to pass
166 * the checking by the U-Boot, also for OpenWrt
169 * - 0x100000-0xDFFFFF (13M): stock images
170 * - 0xE00000-0x1DFFFFF(16M): OpenWrt image
173 label = "fs_reserved";
174 reg = <0x100000 0xd00000>;
178 compatible = "denx,uimage";
180 reg = <0xe00000 0x1000000>;
185 reg = <0x1e00000 0x100000>;
191 reg = <0x1f00000 0x100000>;