]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/mips/boot/dts/qca/ar9331_omega.dts
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / arch / mips / boot / dts / qca / ar9331_omega.dts
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
930c54ff
AP
2/dts-v1/;
3
4#include <dt-bindings/gpio/gpio.h>
5#include <dt-bindings/input/input.h>
6
7#include "ar9331.dtsi"
8
9/ {
10 model = "Onion Omega";
11 compatible = "onion,omega";
12
13 aliases {
14 serial0 = &uart;
15 };
16
17 memory@0 {
18 device_type = "memory";
19 reg = <0x0 0x4000000>;
20 };
21
22 leds {
23 compatible = "gpio-leds";
24
25 system {
26 label = "onion:amber:system";
27 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
28 default-state = "off";
29 };
30 };
31
32 gpio-keys-polled {
33 compatible = "gpio-keys-polled";
34 #address-cells = <1>;
35 #size-cells = <0>;
36 poll-interval = <100>;
37
38 button@0 {
39 label = "reset";
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
42 };
43 };
44};
45
46&ref {
47 clock-frequency = <25000000>;
48};
49
50&uart {
51 status = "okay";
52};
53
54&gpio {
55 status = "okay";
56};
57
58&usb {
59 dr_mode = "host";
60 status = "okay";
61};
62
63&usb_phy {
64 status = "okay";
65};
66
67&spi {
68 num-chipselects = <1>;
69 status = "okay";
70
71 /* Winbond 25Q128FVSG SPI flash */
72 spiflash: w25q128@0 {
73 #address-cells = <1>;
74 #size-cells = <1>;
75 compatible = "winbond,w25q128", "jedec,spi-nor";
76 spi-max-frequency = <104000000>;
77 reg = <0>;
78 };
79};