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 bootargs = "console=ttyS0,115200";
14 compatible = "gpio-leds";
17 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
22 compatible = "gpio-keys-polled";
29 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
30 linux,code = <KEY_RESTART>;
36 state_default: pinctrl0 {
38 ralink,group = "gpio";
39 ralink,function = "gpio";
43 ralink,group = "perst";
44 ralink,function = "gpio";
48 ralink,group = "refclk";
49 ralink,function = "gpio";
54 ralink,function = "gpio";
58 ralink,group = "spis";
59 ralink,function = "gpio";
63 ralink,group = "wled_kn";
64 ralink,function = "gpio";
68 ralink,group = "wled_an";
69 ralink,function = "gpio";
74 ralink,function = "gpio";
78 ralink,group = "pwm0";
79 ralink,function = "gpio";
83 ralink,group = "pwm1";
84 ralink,function = "gpio";
100 pinctrl-names = "default";
101 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
104 #address-cells = <1>;
106 compatible = "jedec,spi-nor";
108 spi-max-frequency = <40000000>;
109 m25p,chunked-io = <31>;
118 label = "u-boot-env";
119 reg = <0x30000 0x10000>;
123 factory: partition@40000 {
125 reg = <0x40000 0x10000>;
129 firmware: partition@50000 {
135 #address-cells = <1>;
137 compatible = "linux,spidev";
139 spi-max-frequency = <40000000>;
156 mtd-mac-address = <&factory 0x28>;