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;
22 compatible = "gpio-keys";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
33 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-leds";
41 color = <LED_COLOR_ID_GREEN>;
42 function = LED_FUNCTION_WLAN;
43 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0tpt";
48 color = <LED_COLOR_ID_GREEN>;
49 function = LED_FUNCTION_POWER;
50 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
54 color = <LED_COLOR_ID_GREEN>;
55 function = LED_FUNCTION_WPS;
56 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
66 nvmem-cells = <&macaddr_mfcdata_35 0>;
67 nvmem-cell-names = "mac-address";
79 compatible = "qca,ar8236";
88 compatible = "jedec,spi-nor";
90 spi-max-frequency = <30000000>;
94 compatible = "fixed-partitions";
100 reg = <0x000000 0x040000>;
105 label = "u-boot-env";
106 reg = <0x040000 0x008000>;
112 reg = <0x048000 0x008000>;
116 compatible = "fixed-layout";
117 #address-cells = <1>;
120 macaddr_mfcdata_35: macaddr@35 {
121 compatible = "mac-base";
123 #nvmem-cell-cells = <1>;
126 macaddr_mfcdata_51: macaddr@51 {
127 compatible = "mac-base";
129 #nvmem-cell-cells = <1>;
136 reg = <0x050000 0x010000>;
142 reg = <0x060000 0x020000>;
148 reg = <0x080000 0x010000>;
152 compatible = "fixed-layout";
153 #address-cells = <1>;
156 cal_art_1000: calibration@1000 {
157 reg = <0x1000 0x440>;
163 compatible = "seama";
165 reg = <0x090000 0x770000>;
174 nvmem-cells = <&cal_art_1000>, <&macaddr_mfcdata_51 0>;
175 nvmem-cell-names = "calibration", "mac-address";