3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca953x.dtsi"
10 led-boot = &led_status;
11 led-failsafe = &led_status;
12 led-running = &led_status;
13 led-upgrade = &led_status;
14 label-mac-device = ð0;
18 compatible = "gpio-keys";
20 pinctrl-names = "default";
21 pinctrl-0 = <&jtag_disable_pins>;
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
30 label = "button right";
32 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
36 label = "button left";
38 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-leds";
45 // Colors for non-Lite versions
48 label = "gl-ar300m:green:status";
49 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
53 label = "gl-ar300m:green:lan";
54 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
58 label = "gl-ar300m:red:wlan";
59 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy0tpt";
65 compatible = "i2c-gpio";
67 sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
68 scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <25000000>;
88 compatible = "fixed-partitions";
94 reg = <0x000000 0x040000>;
100 reg = <0x040000 0x010000>;
103 nor_firmware: partition@50000 {
104 label = "nor_firmware";
105 reg = <0x050000 0xfa0000>;
108 art: partition@ff0000 {
110 reg = <0xff0000 0x010000>;
116 nand_flash: flash@1 {
117 compatible = "spi-nand";
119 spi-max-frequency = <25000000>;
122 compatible = "fixed-partitions";
123 #address-cells = <1>;
126 nand_kernel: partition@0 {
127 label = "nand_kernel";
128 reg = <0x000000 0x400000>;
131 nand_ubi: partition@400000 {
133 reg = <0x400000 0x7c00000>;
144 #address-cells = <1>;
155 mtd-mac-address = <&art 0x0>;
156 phy-handle = <&swphy4>;
160 mtd-mac-address = <&art 0x0>;
161 mtd-mac-address-increment = <1>;
166 mtd-cal-data = <&art 0x1000>;