1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "Onion Omega";
11 compatible = "onion,omega";
18 device_type = "memory";
19 reg = <0x0 0x4000000>;
23 compatible = "gpio-leds";
26 label = "onion:amber:system";
27 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
28 default-state = "off";
33 compatible = "gpio-keys";
39 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
46 clock-frequency = <25000000>;
67 num-chipselects = <1>;
70 /* Winbond 25Q128FVSG SPI flash */
74 compatible = "winbond,w25q128", "jedec,spi-nor";
75 spi-max-frequency = <104000000>;