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-status = &system_led;
14 bootargs = "console=ttyS0,115200";
18 compatible = "gpio-leds";
21 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
26 compatible = "gpio-keys-polled";
31 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
32 linux,code = <KEY_RESTART>;
38 state_default: pinctrl0 {
40 ralink,group = "gpio";
41 ralink,function = "gpio";
45 ralink,group = "perst";
46 ralink,function = "gpio";
50 ralink,group = "refclk";
51 ralink,function = "gpio";
56 ralink,function = "gpio";
60 ralink,group = "spis";
61 ralink,function = "gpio";
65 ralink,group = "wled_kn";
66 ralink,function = "gpio";
70 ralink,group = "wled_an";
71 ralink,function = "gpio";
76 ralink,function = "gpio";
80 ralink,group = "pwm0";
81 ralink,function = "gpio";
85 ralink,group = "pwm1";
86 ralink,function = "gpio";
102 pinctrl-names = "default";
103 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
106 compatible = "jedec,spi-nor";
108 spi-max-frequency = <40000000>;
109 m25p,chunked-io = <31>;
112 compatible = "fixed-partitions";
113 #address-cells = <1>;
123 label = "u-boot-env";
124 reg = <0x30000 0x10000>;
128 factory: partition@40000 {
130 reg = <0x40000 0x10000>;
134 firmware: partition@50000 {
141 #address-cells = <1>;
143 compatible = "linux,spidev";
145 spi-max-frequency = <40000000>;
162 mtd-mac-address = <&factory 0x28>;