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-export";
44 gpio-export,name = "usb_power";
45 gpio-export,output = <1>;
46 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
51 compatible = "gpio-leds";
53 // Colors for non-Lite versions
56 label = "green:status";
57 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
68 linux,default-trigger = "phy0tpt";
73 compatible = "i2c-gpio";
75 sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
76 scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
88 compatible = "jedec,spi-nor";
90 spi-max-frequency = <25000000>;
93 compatible = "fixed-partitions";
99 reg = <0x000000 0x040000>;
104 label = "u-boot-env";
105 reg = <0x040000 0x010000>;
108 nor_firmware: partition@50000 {
109 label = "nor_firmware";
110 reg = <0x050000 0xfa0000>;
113 art: partition@ff0000 {
115 reg = <0xff0000 0x010000>;
119 compatible = "fixed-layout";
120 #address-cells = <1>;
123 macaddr_art_0: macaddr@0 {
131 nand_flash: flash@1 {
132 compatible = "spi-nand";
134 spi-max-frequency = <25000000>;
137 compatible = "fixed-partitions";
138 #address-cells = <1>;
141 nand_kernel: partition@0 {
142 label = "nand_kernel";
143 reg = <0x000000 0x400000>;
146 nand_ubi: partition@400000 {
148 reg = <0x400000 0x7c00000>;
165 phy-handle = <&swphy4>;
167 nvmem-cells = <&macaddr_art_0>;
168 nvmem-cell-names = "mac-address";
172 nvmem-cells = <&macaddr_art_0>;
173 nvmem-cell-names = "mac-address";
174 mac-address-increment = <1>;
179 mtd-cal-data = <&art 0x1000>;
183 pinctrl-names = "default";
184 pinctrl-0 = <&enable_gpio17>;
186 enable_gpio17: pinmux_enable_gpio17 {
187 pinctrl-single,bits = <0x10 0x0000 0xff00>;