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";
15 pinctrl-names = "default";
16 pinctrl-0 = <&jtag_disable_pins>;
20 linux,code = <KEY_RESTART>;
21 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
25 label = "button right";
27 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
31 label = "button left";
33 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
38 compatible = "gpio-leds";
41 label = "gl-ar300m:green:usb";
42 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
43 trigger-sources = <&hub_port>;
44 linux,default-trigger = "usbport";
48 label = "gl-ar300m:green:wlan";
49 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy0tpt";
54 label = "gl-ar300m:green:lan";
55 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
59 label = "gl-ar300m:green:status";
60 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>;