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>
9 compatible = "oraybox,x1", "mediatek,mt7628an-soc";
13 led-boot = &led_status_white;
14 led-failsafe = &led_status_red;
15 led-running = &led_status_white;
16 led-upgrade = &led_status_red;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
26 led_status_blue: status-blue {
27 label = "blue:status";
28 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
31 led_status_red: status-red {
33 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
36 led_status_white: status-white {
37 label = "white:status";
38 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-keys";
47 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <40000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
80 reg = <0x40000 0x10000>;
85 compatible = "denx,uimage";
87 reg = <0x50000 0xf00000>;
90 bdinfo: partition@fe0000 {
92 reg = <0xfe0000 0x10000>;
96 compatible = "fixed-layout";
100 macaddr_bdinfo_9: macaddr@9 {
108 reg = <0xff0000 0x10000>;
117 groups = "jtag", "wdt";
123 nvmem-cells = <&macaddr_bdinfo_9>;
124 nvmem-cell-names = "mac-address";