1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "oraybox,x3a", "mediatek,mt7621-soc";
10 model = "OrayBox X3A";
13 led-boot = &led_status_green;
14 led-failsafe = &led_status_red;
15 led-running = &led_status_blue;
16 led-upgrade = &led_status_green;
17 label-mac-device = &gmac0;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-leds";
27 led_status_red: status-red {
29 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
32 led_status_blue: status-blue {
33 label = "blue:status";
34 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
37 led_status_green: status-green {
38 label = "green:status";
39 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-keys";
48 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <30000000>;
63 compatible = "fixed-partitions";
75 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
81 reg = <0x40000 0x10000>;
86 compatible = "denx,uimage";
88 reg = <0x50000 0xf00000>;
93 reg = <0xfe0000 0x10000>;
96 compatible = "nvmem-cells";
100 macaddr_bdinfo_9: macaddr@9 {
107 reg = <0xff0000 0x10000>;
120 compatible = "mediatek,mt76";
121 reg = <0x0000 0 0 0 0>;
122 mediatek,mtd-eeprom = <&factory 0x0>;
127 nvmem-cells = <&macaddr_bdinfo_9>;
128 nvmem-cell-names = "mac-address";
146 nvmem-cells = <&macaddr_bdinfo_9>;
147 nvmem-cell-names = "mac-address";
148 mac-address-increment = <1>;
155 groups = "jtag", "wdt";