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 device_type = "memory";
21 reg = <0x0 0x8000000>;
25 compatible = "gpio-keys-polled";
30 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
36 compatible = "gpio-leds";
40 gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
46 compatible = "gpio-export";
50 gpio-export,name = "ws2812";
51 gpio-export,output = <1>;
52 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
56 gpio-export,name = "nrf_power";
57 gpio-export,output = <1>;
58 gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
92 compatible = "jedec,spi-nor";
94 spi-max-frequency = <40000000>;
97 compatible = "fixed-partitions";
108 label = "u-boot-env";
109 reg = <0x30000 0x10000>;
112 factory: partition@40000 {
114 reg = <0x40000 0x10000>;
119 compatible = "denx,uimage";
121 reg = <0x50000 0xfb0000>;
128 mtd-mac-address = <&factory 0x28>;
132 mediatek,portmap = <0x3e>;