1 #include "mt7628an_tplink_8m.dtsi"
4 compatible = "tplink,tl-wr842n-v5", "mediatek,mt7628an-soc";
5 model = "TP-Link TL-WR842N v5";
9 led-failsafe = &led_power;
10 led-running = &led_power;
11 led-upgrade = &led_power;
15 compatible = "gpio-keys";
19 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RFKILL>;
31 compatible = "gpio-leds";
35 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
39 label = "green:power";
40 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
46 trigger-sources = <&ohci_port1>, <&ehci_port1>;
47 linux,default-trigger = "usbport";
52 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
82 groups = "i2c", "i2s", "p2led_an", "refclk", "uart1", "wdt", "wled_an";
88 mediatek,portmap = <0x3e>;