3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca953x.dtsi"
10 compatible = "gpio-keys-polled";
12 pinctrl-names = "default";
13 pinctrl-0 = <&jtag_disable_pins>;
17 linux,code = <KEY_RESTART>;
18 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
22 label = "button right";
24 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
28 label = "button left";
30 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
35 compatible = "gpio-leds";
38 label = "gl-ar300m:green:usb";
39 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
40 trigger-sources = <&hub_port>;
41 linux,default-trigger = "usbport";
45 label = "gl-ar300m:green:wlan";
46 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
51 label = "gl-ar300m:green:lan";
52 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
56 label = "gl-ar300m:green:status";
57 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
77 #trigger-source-cells = <0>;
87 mtd-mac-address = <&art 0x0>;
88 phy-handle = <&swphy4>;
92 mtd-mac-address = <&art 0x6>;
97 mtd-cal-data = <&art 0x1000>;
98 mtd-mac-address = <&art 0x1002>;