1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "oraybox,x1", "mediatek,mt7628an-soc";
14 led-boot = &led_status_white;
15 led-failsafe = &led_status_red;
16 led-running = &led_status_white;
17 led-upgrade = &led_status_red;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-leds";
27 led_status_blue: status-blue {
28 function = LED_FUNCTION_STATUS;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
33 led_status_red: status-red {
34 function = LED_FUNCTION_STATUS;
35 color = <LED_COLOR_ID_RED>;
36 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
39 led_status_white: status-white {
40 function = LED_FUNCTION_STATUS;
41 color = <LED_COLOR_ID_WHITE>;
42 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
47 compatible = "gpio-keys";
51 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <40000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
84 reg = <0x40000 0x10000>;
89 compatible = "denx,uimage";
91 reg = <0x50000 0xf00000>;
96 reg = <0xfe0000 0x10000>;
100 compatible = "fixed-layout";
101 #address-cells = <1>;
104 macaddr_bdinfo_9: macaddr@9 {
112 reg = <0xff0000 0x10000>;
121 groups = "jtag", "wdt";
127 nvmem-cells = <&macaddr_bdinfo_9>;
128 nvmem-cell-names = "mac-address";