ath79: bsap18x0: specify FIS directory location in dts
[openwrt/staging/ansuel.git] / target / linux / ath79 / dts / ar7161_adtran_bsap1880.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar7100.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 chosen {
10 bootargs = "console=ttyS0,115200n8";
11 };
12
13 aliases {
14 led-boot = &led_status_green;
15 led-failsafe = &led_status_yellow;
16 led-running = &led_status_green;
17 led-upgrade = &led_status_yellow;
18 };
19
20 leds {
21 compatible = "gpio-leds";
22
23 wlan5g {
24 label = "green:wifi5g";
25 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
26 linux,default-trigger = "phy1tpt";
27 };
28
29 wlan2g {
30 label = "green:wifi2g";
31 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
32 linux,default-trigger = "phy0tpt";
33 };
34
35 led_status_green: status_green {
36 label = "green:status";
37 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
38 };
39
40 led_status_yellow: status_yellow {
41 label = "yellow:status";
42 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
43 };
44 };
45
46 keys {
47 compatible = "gpio-keys";
48
49 reset {
50 label = "reset";
51 linux,code = <KEY_RESTART>;
52 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
53 debounce-interval = <60>;
54 };
55 };
56 };
57
58 &mdio0 {
59 status = "okay";
60
61 phy0: ethernet-phy@0 {
62 reg = <0>;
63 };
64 };
65
66 &eth0 {
67 status = "okay";
68
69 phy-mode = "rgmii-id";
70 phy-handle = <&phy0>;
71 };
72
73 &pcie0 {
74 status = "okay";
75 };
76
77 &spi {
78 status = "okay";
79
80 flash@0 {
81 compatible = "jedec,spi-nor";
82 reg = <0>;
83 spi-max-frequency = <25000000>;
84
85 partitions {
86 #address-cells = <1>;
87 #size-cells = <1>;
88 compatible = "redboot-fis";
89 fis-index-block = <0xfd>;
90 };
91 };
92 };