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 compatible = "minew,g1-c", "mediatek,mt7628an-soc";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
20 compatible = "gpio-keys-polled";
25 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 compatible = "gpio-leds";
35 gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
41 compatible = "gpio-export";
45 gpio-export,name = "ws2812";
46 gpio-export,output = <1>;
47 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
51 gpio-export,name = "nrf_power";
52 gpio-export,output = <1>;
53 gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <40000000>;
92 compatible = "fixed-partitions";
103 label = "u-boot-env";
104 reg = <0x30000 0x10000>;
107 factory: partition@40000 {
109 reg = <0x40000 0x10000>;
114 compatible = "denx,uimage";
116 reg = <0x50000 0xfb0000>;
123 nvmem-cells = <&macaddr_factory_28>;
124 nvmem-cell-names = "mac-address";
128 mediatek,portmap = <0x3e>;
134 mediatek,mtd-eeprom = <&factory 0x0>;
143 compatible = "nvmem-cells";
144 #address-cells = <1>;
147 macaddr_factory_28: macaddr@28 {