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>;
40 reg_usb_vbus: reg_usb_vbus {
41 compatible = "regulator-fixed";
43 regulator-name = "usb_vbus";
44 regulator-min-microvolt = <5000000>;
45 regulator-max-microvolt = <5000000>;
46 gpio = <&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 pinctrl-names = "default";
76 pinctrl-0 = <&enable_gpio17>;
78 sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
79 scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <25000000>;
96 compatible = "fixed-partitions";
102 reg = <0x000000 0x040000>;
107 label = "u-boot-env";
108 reg = <0x040000 0x010000>;
111 nor_firmware: partition@50000 {
112 label = "nor_firmware";
113 reg = <0x050000 0xfa0000>;
116 art: partition@ff0000 {
118 reg = <0xff0000 0x010000>;
124 nand_flash: flash@1 {
125 compatible = "spi-nand";
127 spi-max-frequency = <25000000>;
130 compatible = "fixed-partitions";
131 #address-cells = <1>;
134 nand_kernel: partition@0 {
135 label = "nand_kernel";
136 reg = <0x000000 0x400000>;
139 nand_ubi: partition@400000 {
141 reg = <0x400000 0x7c00000>;
148 #address-cells = <1>;
150 vbus-supply = <®_usb_vbus>;
161 phy-handle = <&swphy4>;
163 nvmem-cells = <&macaddr_art_0>;
164 nvmem-cell-names = "mac-address";
168 nvmem-cells = <&macaddr_art_0>;
169 nvmem-cell-names = "mac-address";
170 mac-address-increment = <1>;
175 mtd-cal-data = <&art 0x1000>;
179 compatible = "nvmem-cells";
180 #address-cells = <1>;
183 macaddr_art_0: macaddr@0 {
189 enable_gpio17: pinmux_enable_gpio17 {
190 pinctrl-single,bits = <0x10 0x0000 0xff00>;