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";
33 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
34 linux,code = <KEY_RESTART>;
40 state_default: pinctrl0 {
42 ralink,group = "gpio";
43 ralink,function = "gpio";
47 ralink,group = "perst";
48 ralink,function = "gpio";
52 ralink,group = "refclk";
53 ralink,function = "gpio";
58 ralink,function = "gpio";
62 ralink,group = "spis";
63 ralink,function = "gpio";
67 ralink,group = "wled_kn";
68 ralink,function = "gpio";
72 ralink,group = "wled_an";
73 ralink,function = "gpio";
78 ralink,function = "gpio";
82 ralink,group = "pwm0";
83 ralink,function = "gpio";
87 ralink,group = "pwm1";
88 ralink,function = "gpio";
104 pinctrl-names = "default";
105 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
108 compatible = "jedec,spi-nor";
110 spi-max-frequency = <40000000>;
113 compatible = "fixed-partitions";
114 #address-cells = <1>;
124 label = "u-boot-env";
125 reg = <0x30000 0x10000>;
129 factory: partition@40000 {
131 reg = <0x40000 0x10000>;
135 firmware: partition@50000 {
136 compatible = "denx,uimage";
143 #address-cells = <1>;
145 compatible = "linux,spidev";
147 spi-max-frequency = <40000000>;
164 mtd-mac-address = <&factory 0x28>;