1 #include "qca953x.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
8 led-boot = &led_status;
9 led-failsafe = &led_status;
10 led-running = &led_status;
11 led-upgrade = &led_status;
12 label-mac-device = ð0;
16 compatible = "gpio-keys";
18 pinctrl-names = "default";
19 pinctrl-0 = <&jtag_disable_pins>;
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
28 label = "button right";
30 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
34 label = "button left";
36 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
41 compatible = "gpio-leds";
43 // Colors for non-Lite versions
46 label = "green:status";
47 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
63 compatible = "i2c-gpio";
65 sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
66 scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <25000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x040000>;
97 reg = <0x040000 0x010000>;
100 nor_firmware: partition@50000 {
101 label = "nor_firmware";
102 reg = <0x050000 0xfa0000>;
105 art: partition@ff0000 {
107 reg = <0xff0000 0x010000>;
113 nand_flash: flash@1 {
114 compatible = "spi-nand";
116 spi-max-frequency = <25000000>;
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
123 nand_kernel: partition@0 {
124 label = "nand_kernel";
125 reg = <0x000000 0x400000>;
128 nand_ubi: partition@400000 {
130 reg = <0x400000 0x7c00000>;
141 #address-cells = <1>;
153 phy-handle = <&swphy4>;
155 mtd-mac-address = <&art 0x0>;
159 mtd-mac-address = <&art 0x0>;
160 mtd-mac-address-increment = <1>;
165 mtd-cal-data = <&art 0x1000>;