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 = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
24 label = "amber:system";
25 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
30 compatible = "gpio-keys";
34 gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
35 linux,code = <KEY_RESTART>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <40000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
115 label = "u-boot-env";
116 reg = <0x30000 0x10000>;
120 factory: partition@40000 {
121 compatible = "nvmem-cells";
123 reg = <0x40000 0x10000>;
124 #address-cells = <1>;
128 eeprom_factory_0: eeprom@0 {
132 macaddr_factory_28: macaddr@28 {
137 firmware: partition@50000 {
138 compatible = "denx,uimage";
145 #address-cells = <1>;
147 compatible = "linux,spidev";
149 spi-max-frequency = <40000000>;
166 nvmem-cells = <&macaddr_factory_28>;
167 nvmem-cell-names = "mac-address";
178 nvmem-cells = <&eeprom_factory_0>;
179 nvmem-cell-names = "eeprom";