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 = "fixed-clock";
15 clock-output-names = "ref";
16 clock-frequency = <25000000>;
20 compatible = "gpio-keys-polled";
24 pinctrl-names = "default";
25 pinctrl-0 = <&jtag_disable_pins>;
29 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
34 label = "button right";
36 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
40 label = "button left";
42 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
47 compatible = "gpio-leds";
50 label = "gl-ar300m:green:usb";
51 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
52 trigger-sources = <&hub_port>;
53 linux,default-trigger = "usbport";
57 label = "gl-ar300m:green:wlan";
58 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy0tpt";
63 label = "gl-ar300m:green:lan";
64 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
68 label = "gl-ar300m:green:status";
69 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
87 #trigger-soruce-cells = <0>;
102 phy4: ethernet-phy@4 {
115 mtd-mac-address = <&art 0x0>;
116 phy-handle = <&phy4>;
123 mtd-mac-address = <&art 0x6>;
134 mtd-cal-data = <&art 0x1000>;
135 mtd-mac-address = <&art 0x1002>;