1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "dlink,dir-629-a1", "qca,qca9558";
11 model = "D-Link DIR-629 A1";
14 label-mac-device = ð0;
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
23 compatible = "gpio-keys";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_WPS_BUTTON>;
34 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-leds";
42 color = <LED_COLOR_ID_GREEN>;
43 function = LED_FUNCTION_WLAN;
44 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
45 linux,default-trigger = "phy0tpt";
49 color = <LED_COLOR_ID_GREEN>;
50 function = LED_FUNCTION_POWER;
51 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
55 color = <LED_COLOR_ID_GREEN>;
56 function = LED_FUNCTION_WPS;
57 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
67 nvmem-cells = <&macaddr_mfcdata_35 0>;
68 nvmem-cell-names = "mac-address";
80 compatible = "qca,ar8236";
89 compatible = "jedec,spi-nor";
91 spi-max-frequency = <30000000>;
95 compatible = "fixed-partitions";
101 reg = <0x000000 0x040000>;
106 label = "u-boot-env";
107 reg = <0x040000 0x008000>;
113 reg = <0x048000 0x008000>;
117 compatible = "fixed-layout";
118 #address-cells = <1>;
121 macaddr_mfcdata_35: macaddr@35 {
122 compatible = "mac-base";
124 #nvmem-cell-cells = <1>;
127 macaddr_mfcdata_51: macaddr@51 {
128 compatible = "mac-base";
130 #nvmem-cell-cells = <1>;
137 reg = <0x050000 0x010000>;
143 reg = <0x060000 0x020000>;
149 reg = <0x080000 0x010000>;
153 compatible = "fixed-layout";
154 #address-cells = <1>;
157 cal_art_1000: calibration@1000 {
158 reg = <0x1000 0x440>;
164 compatible = "seama";
166 reg = <0x090000 0x770000>;
175 nvmem-cells = <&cal_art_1000>, <&macaddr_mfcdata_51 0>;
176 nvmem-cell-names = "calibration", "mac-address";