| // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| |
| /dts-v1/; |
| #include "mt7987a.dtsi" |
| #include <dt-bindings/input/input.h> |
| |
| / { |
| model = "MediaTek MT7987A RFB"; |
| compatible = "mediatek,mt7987a", "mediatek,mt7987"; |
| |
| chosen { |
| bootargs = "console=ttyS0,115200n1 loglevel=8 \ |
| earlycon=uart8250,mmio32,0x11000000 \ |
| pci=pcie_bus_perf"; |
| }; |
| |
| gpio-keys { |
| compatible = "gpio-keys"; |
| |
| reset { |
| label = "reset"; |
| linux,code = <KEY_RESTART>; |
| gpios = <&pio 1 GPIO_ACTIVE_LOW>; |
| debounce-interval = <10>; |
| }; |
| |
| wps { |
| label = "wps"; |
| linux,code = <KEY_WPS_BUTTON>; |
| gpios = <&pio 0 GPIO_ACTIVE_LOW>; |
| debounce-interval = <10>; |
| }; |
| }; |
| }; |