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";
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 #address-cells = <1>;
110 compatible = "jedec,spi-nor";
112 spi-max-frequency = <40000000>;
113 m25p,chunked-io = <31>;
122 label = "u-boot-env";
123 reg = <0x30000 0x10000>;
127 factory: partition@40000 {
129 reg = <0x40000 0x10000>;
133 firmware: partition@50000 {
139 #address-cells = <1>;
141 compatible = "linux,spidev";
143 spi-max-frequency = <40000000>;
160 mtd-mac-address = <&factory 0x28>;