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>;
51 reg = <0x30000 0x10000>;
55 compatible = "fixed-layout";
59 eeprom_factory_0: eeprom@0 {
63 eeprom_factory_8000: eeprom@8000 {
67 macaddr_factory_4: macaddr@4 {
68 compatible = "mac-base";
70 #nvmem-cell-cells = <1>;
73 macaddr_factory_28: macaddr@28 {
81 reg = <0x40000 0x10000>;
87 reg = <0x50000 0x10000>;
91 /* additional partitions in DTS */
98 groups = "gpio", "refclk", "wdt", "wled_an";
106 nvmem-cells = <&eeprom_factory_0>;
107 nvmem-cell-names = "eeprom";