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 {
122 reg = <0x40000 0x10000>;
126 compatible = "fixed-layout";
127 #address-cells = <1>;
130 eeprom_factory_0: eeprom@0 {
134 macaddr_factory_28: macaddr@28 {
140 firmware: partition@50000 {
141 compatible = "denx,uimage";
148 #address-cells = <1>;
150 compatible = "linux,spidev";
152 spi-max-frequency = <40000000>;
169 nvmem-cells = <&macaddr_factory_28>;
170 nvmem-cell-names = "mac-address";
181 nvmem-cells = <&eeprom_factory_0>;
182 nvmem-cell-names = "eeprom";