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