1 #include "mt7628an.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "onion,omega2", "mediatek,mt7628an-soc";
10 led-boot = &system_led;
11 led-failsafe = &system_led;
12 led-running = &system_led;
13 led-upgrade = &system_led;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
24 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
35 linux,code = <KEY_RESTART>;
41 state_default: pinctrl0 {
43 ralink,group = "gpio";
44 ralink,function = "gpio";
48 ralink,group = "perst";
49 ralink,function = "gpio";
53 ralink,group = "refclk";
54 ralink,function = "gpio";
59 ralink,function = "gpio";
63 ralink,group = "spis";
64 ralink,function = "gpio";
68 ralink,group = "wled_kn";
69 ralink,function = "gpio";
73 ralink,group = "wled_an";
74 ralink,function = "gpio";
79 ralink,function = "gpio";
83 ralink,group = "pwm0";
84 ralink,function = "gpio";
88 ralink,group = "pwm1";
89 ralink,function = "gpio";
105 pinctrl-names = "default";
106 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
109 compatible = "jedec,spi-nor";
111 spi-max-frequency = <40000000>;
114 compatible = "fixed-partitions";
115 #address-cells = <1>;
125 label = "u-boot-env";
126 reg = <0x30000 0x10000>;
130 factory: partition@40000 {
132 reg = <0x40000 0x10000>;
136 firmware: partition@50000 {
137 compatible = "denx,uimage";
144 #address-cells = <1>;
146 compatible = "linux,spidev";
148 spi-max-frequency = <40000000>;
165 mtd-mac-address = <&factory 0x28>;