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 = "green:system";
27 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
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>;
67 compatible = "fixed-partitions";
79 reg = <0x30000 0x10000>;
83 factory: partition@40000 {
85 reg = <0x40000 0x10000>;
89 firmware: partition@50000 {
90 compatible = "denx,uimage";
92 /* reg property is set based on flash size in DTS files */
115 nvmem-cells = <&macaddr_factory_28>;
116 nvmem-cell-names = "mac-address";
127 mediatek,mtd-eeprom = <&factory 0x0>;
131 compatible = "nvmem-cells";
132 #address-cells = <1>;
135 macaddr_factory_28: macaddr@28 {