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 = <&gpio 44 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys";
33 gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
34 linux,code = <KEY_RESTART>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <40000000>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
114 label = "u-boot-env";
115 reg = <0x30000 0x10000>;
119 factory: partition@40000 {
121 reg = <0x40000 0x10000>;
125 firmware: partition@50000 {
126 compatible = "denx,uimage";
133 #address-cells = <1>;
135 compatible = "linux,spidev";
137 spi-max-frequency = <40000000>;
154 mtd-mac-address = <&factory 0x2e>;