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 {
50 compatible = "nvmem-cells";
52 reg = <0x30000 0x10000>;
57 eeprom_factory_0: eeprom@0 {
61 macaddr_factory_4: macaddr@4 {
65 macaddr_factory_28: macaddr@28 {
69 macaddr_factory_8004: macaddr@8004 {
76 reg = <0x40000 0x10000>;
82 reg = <0x50000 0x10000>;
86 /* additional partitions in DTS */
93 groups = "gpio", "refclk", "wdt", "wled_an";
101 nvmem-cells = <&eeprom_factory_0>;
102 nvmem-cell-names = "eeprom";