3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca9533.dtsi"
9 compatible = "glinet,ar300m", "qca,qca9533";
10 model = "GL.iNet GL-AR300M";
13 compatible = "gpio-keys-polled";
17 pinctrl-names = "default";
18 pinctrl-0 = <&jtag_disable_pins>;
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
27 label = "button right";
29 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
33 label = "button left";
35 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-leds";
43 label = "gl-ar300m:green:usb";
44 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
45 trigger-sources = <&hub_port>;
46 linux,default-trigger = "usbport";
50 label = "gl-ar300m:green:wlan";
51 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy0tpt";
56 label = "gl-ar300m:green:lan";
57 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
61 label = "gl-ar300m:green:status";
62 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
80 #trigger-soruce-cells = <0>;
90 mtd-mac-address = <&art 0x0>;
91 phy-handle = <&swphy4>;
95 mtd-mac-address = <&art 0x6>;
100 mtd-cal-data = <&art 0x1000>;
101 mtd-mac-address = <&art 0x1002>;