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 color = <LED_COLOR_ID_GREEN>;
29 function = LED_FUNCTION_POWER;
30 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys";
39 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
41 debounce-interval = <60>;
47 clock-frequency = <40000000>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <50000000>;
59 compatible = "fixed-partitions";
65 reg = <0x000000 0x040000>;
71 reg = <0x040000 0x010000>;
75 compatible = "denx,uimage";
77 reg = <0x050000 0xfa0000>;
82 reg = <0xff0000 0x010000>;
86 compatible = "fixed-layout";
90 calibration_art_1000: calibration_data@1000 {
94 macaddr_art_1002: macaddr@1002 {
95 compatible = "mac-base";
97 #nvmem-cell-cells = <1>;
106 /delete-property/qca,phy4-mii-enable;
112 nvmem-cells = <&macaddr_art_1002 0x400000>;
113 nvmem-cell-names = "mac-address";
117 switch-phy-swap = <0>;
118 switch-only-mode = <1>;
125 nvmem-cells = <&macaddr_art_1002 0>, <&calibration_art_1000>;
126 nvmem-cell-names = "mac-address", "calibration";