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 = "Embedded Wireless Balin";
11 compatible = "embeddedwireless,balin", "qca,ar9344";
14 stdout-path = "serial0:115200n8";
18 led-boot = &led_system;
19 led-failsafe = &led_system;
20 led-running = &led_system;
21 led-upgrade = &led_system;
25 compatible = "gpio-leds";
28 label = "green:system";
29 color = <LED_COLOR_ID_GREEN>;
30 function = LED_FUNCTION_POWER;
31 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys";
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
42 debounce-interval = <60>;
48 clock-frequency = <40000000>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <50000000>;
60 compatible = "fixed-partitions";
66 reg = <0x000000 0x040000>;
72 reg = <0x040000 0x010000>;
76 compatible = "denx,uimage";
78 reg = <0x050000 0xfa0000>;
83 reg = <0xff0000 0x010000>;
86 compatible = "nvmem-cells";
90 calibration_art_1000: calibration_data@1000 {
94 macaddr_art_1002: macaddr@1002 {
103 /delete-property/qca,phy4-mii-enable;
109 nvmem-cells = <&macaddr_art_1002>;
110 nvmem-cell-names = "mac-address";
111 mac-address-increment-byte = <3>;
112 mac-address-increment = <0x40>;
116 switch-phy-swap = <0>;
117 switch-only-mode = <1>;
124 nvmem-cells = <&macaddr_art_1002>, <&calibration_art_1000>;
125 nvmem-cell-names = "mac-address", "calibration";