blob: 85de49906823caacf9dce0c414507edcd64f3ca2 [file] [log] [blame]
developer65907502025-01-23 16:55:05 +08001// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2
3/dts-v1/;
4#include "mt7987a.dtsi"
5#include "mt7987-sd.dtsi"
6#include <dt-bindings/input/input.h>
7
8/ {
9 model = "MediaTek MT7987 SD RFB";
10 compatible = "mediatek,mt7987a-sd",
11 "mediatek,mt7987a", "mediatek,mt7987";
12
13 chosen {
14 bootargs = "console=ttyS0,115200n1 loglevel=8 \
15 earlycon=uart8250,mmio32,0x11000000 \
16 pci=pcie_bus_perf ubi.block=0,firmware \
17 root=/dev/fit0 rootwait";
18 };
19
20 gpio-keys {
21 compatible = "gpio-keys";
22
23 reset {
24 label = "reset";
25 linux,code = <KEY_RESTART>;
26 gpios = <&pio 1 GPIO_ACTIVE_LOW>;
27 debounce-interval = <10>;
28 };
29
30 wps {
31 label = "wps";
32 linux,code = <KEY_WPS_BUTTON>;
33 gpios = <&pio 0 GPIO_ACTIVE_LOW>;
34 debounce-interval = <10>;
35 };
36 };
37};