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)>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <25000000>;
83 compatible = "fixed-partitions";
89 reg = <0x000000 0x040000>;
95 reg = <0x040000 0x010000>;
98 nor_firmware: partition@50000 {
99 label = "nor_firmware";
100 reg = <0x050000 0xfa0000>;
103 art: partition@ff0000 {
105 reg = <0xff0000 0x010000>;
111 nand_flash: flash@1 {
112 compatible = "spi-nand";
114 spi-max-frequency = <25000000>;
117 compatible = "fixed-partitions";
118 #address-cells = <1>;
121 nand_kernel: partition@0 {
122 label = "nand_kernel";
123 reg = <0x000000 0x400000>;
126 nand_ubi: partition@400000 {
128 reg = <0x400000 0x7c00000>;
135 #address-cells = <1>;
147 phy-handle = <&swphy4>;
149 mtd-mac-address = <&art 0x0>;
153 mtd-mac-address = <&art 0x0>;
154 mtd-mac-address-increment = <1>;
159 mtd-cal-data = <&art 0x1000>;