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 device_type = "memory";
14 reg = <0x0 0x8000000>;
18 compatible = "fixed-clock";
20 clock-output-names = "ref";
21 clock-frequency = <25000000>;
25 compatible = "gpio-keys-polled";
29 pinctrl-names = "default";
30 pinctrl-0 = <&jtag_disable_pins>;
34 linux,code = <KEY_RESTART>;
35 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
39 label = "button right";
41 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
45 label = "button left";
47 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
52 compatible = "gpio-leds";
55 label = "gl-ar300m:green:usb";
56 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
57 trigger-sources = <&hub_port>;
58 linux,default-trigger = "usbport";
62 label = "gl-ar300m:green:wlan";
63 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
64 linux,default-trigger = "phy0tpt";
68 label = "gl-ar300m:green:lan";
69 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
73 label = "gl-ar300m:green:status";
74 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
92 #trigger-soruce-cells = <0>;
107 phy4: ethernet-phy@4 {
120 mtd-mac-address = <&art 0x0>;
121 phy-handle = <&phy4>;
128 mtd-mac-address = <&art 0x6>;
139 mtd-cal-data = <&art 0x1000>;
140 mtd-mac-address = <&art 0x1002>;