1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "jotale,js76x8", "mediatek,mt7628an-soc";
12 led-boot = &led_system;
13 led-failsafe = &led_system;
14 led-running = &led_system;
15 led-upgrade = &led_system;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 label = "js76x8:green:system";
27 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
31 label = "js76x8:green:wifi";
32 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
38 compatible = "gpio-keys";
42 gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
43 linux,code = <KEY_RESTART>;
50 groups = "refclk", "wdt", "wled_an";
58 pinctrl-names = "default";
59 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <40000000>;
65 m25p,chunked-io = <32>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
90 firmware: partition@50000 {
91 compatible = "denx,uimage";
93 /* reg property is set based on flash size in DTS files */
116 mtd-mac-address = <&factory 0x28>;