2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/input/input.h>
5 #include "qca953x.dtsi"
9 led-boot = &led_status;
10 led-failsafe = &led_status;
11 led-running = &led_status;
12 led-upgrade = &led_status;
13 label-mac-device = ð0;
17 compatible = "gpio-keys";
19 pinctrl-names = "default";
20 pinctrl-0 = <&jtag_disable_pins>;
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
29 label = "button right";
31 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
35 label = "button left";
37 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
42 compatible = "gpio-leds";
44 // Colors for non-Lite versions
47 label = "gl-ar300m:green:status";
48 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
52 label = "gl-ar300m:green:lan";
53 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
57 label = "gl-ar300m:red:wlan";
58 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy0tpt";
64 compatible = "i2c-gpio";
66 sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
67 scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <25000000>;
86 compatible = "fixed-partitions";
92 reg = <0x000000 0x040000>;
98 reg = <0x040000 0x010000>;
101 nor_firmware: partition@50000 {
102 label = "nor_firmware";
103 reg = <0x050000 0xfa0000>;
106 art: partition@ff0000 {
108 reg = <0xff0000 0x010000>;
114 nand_flash: flash@1 {
115 compatible = "spi-nand";
117 spi-max-frequency = <25000000>;
120 compatible = "fixed-partitions";
121 #address-cells = <1>;
124 nand_kernel: partition@0 {
125 label = "nand_kernel";
126 reg = <0x000000 0x400000>;
129 nand_ubi: partition@400000 {
131 reg = <0x400000 0x7c00000>;
142 #address-cells = <1>;
153 mtd-mac-address = <&art 0x0>;
154 phy-handle = <&swphy4>;
158 mtd-mac-address = <&art 0x0>;
159 mtd-mac-address-increment = <1>;
164 mtd-cal-data = <&art 0x1000>;