1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 model = "ZiKing CPE46B";
11 compatible = "ziking,cpe46b", "qca,ar9330";
14 label-mac-device = ð0;
18 compatible = "gpio-leds";
21 function = LED_FUNCTION_WLAN;
22 color = <LED_COLOR_ID_GREEN>;
23 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
24 linux,default-trigger = "phy0tpt";
28 label = "green:rssi1";
29 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
33 label = "green:rssi2";
34 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
39 compatible = "gpio-keys";
43 linux,code = <KEY_RESTART>;
44 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
53 compatible = "jedec,spi-nor";
54 spi-max-frequency = <50000000>;
58 compatible = "fixed-partitions";
64 reg = <0x000000 0x010000>;
70 reg = <0x010000 0x010000>;
74 compatible = "denx,uimage";
76 reg = <0x020000 0x7d0000>;
79 art: partition@7f0000 {
81 reg = <0x7f0000 0x010000>;
85 compatible = "fixed-layout";
89 macaddr_art_0: macaddr@0 {
90 compatible = "mac-base";
92 #nvmem-cell-cells = <1>;
103 nvmem-cells = <&macaddr_art_0 0>;
104 nvmem-cell-names = "mac-address";
110 nvmem-cells = <&macaddr_art_0 2>;
111 nvmem-cell-names = "mac-address";
117 mtd-cal-data = <&art 0x1000>;