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>
10 bootargs = "console=ttyS0,115200";
14 compatible = "gpio-keys";
18 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_RESTART>;
28 compatible = "jedec,spi-nor";
30 spi-max-frequency = <10000000>;
32 partitions: partitions {
33 compatible = "fixed-partitions";
45 reg = <0x20000 0x10000>;
49 factory: partition@30000 {
51 reg = <0x30000 0x10000>;
57 reg = <0x40000 0x10000>;
63 reg = <0x50000 0x10000>;
67 /* additional partitions in DTS */
74 groups = "gpio", "refclk", "wdt", "wled_an";
82 mediatek,mtd-eeprom = <&factory 0x0>;