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>
9 model = "ZiKing CPE46B";
10 compatible = "ziking,cpe46b", "qca,ar9330";
13 label-mac-device = ð0;
17 compatible = "gpio-leds";
21 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
22 linux,default-trigger = "phy0tpt";
26 label = "green:rssi1";
27 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
31 label = "green:rssi2";
32 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
37 compatible = "gpio-keys";
41 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
51 compatible = "jedec,spi-nor";
52 spi-max-frequency = <50000000>;
56 compatible = "fixed-partitions";
62 reg = <0x000000 0x010000>;
68 reg = <0x010000 0x010000>;
72 compatible = "denx,uimage";
74 reg = <0x020000 0x7d0000>;
77 art: partition@7f0000 {
79 reg = <0x7f0000 0x010000>;
83 compatible = "fixed-layout";
87 macaddr_art_0: macaddr@0 {
99 nvmem-cells = <&macaddr_art_0>;
100 nvmem-cell-names = "mac-address";
106 nvmem-cells = <&macaddr_art_0>;
107 nvmem-cell-names = "mac-address";
108 mac-address-increment = <2>;
114 mtd-cal-data = <&art 0x1000>;