1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "8devices Carambola2";
11 compatible = "8dev,carambola2", "qca,ar9331";
15 label-mac-device = &wmac;
19 compatible = "gpio-leds";
22 label = "carambola2:green:wlan";
23 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
24 linux,default-trigger = "phy0tpt";
28 label = "carambola2:orange:eth0";
29 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
33 label = "carambola2:orange:eth1";
34 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
39 compatible = "gpio-keys";
43 linux,code = <KEY_WPS_BUTTON>;
44 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
50 clock-frequency = <40000000>;
71 num-chipselects = <0>;
75 compatible = "jedec,spi-nor";
76 spi-max-frequency = <104000000>;
80 compatible = "fixed-partitions";
86 reg = <0x000000 0x040000>;
92 reg = <0x040000 0x010000>;
97 compatible = "denx,uimage";
99 reg = <0x50000 0xfa0000>;
102 art: partition@ff0000 {
104 reg = <0xff0000 0x010000>;
117 mtd-mac-address = <&art 0x0>;
122 switch-phy-addr-swap = <1>;
123 switch-phy-swap = <1>;
129 mtd-mac-address = <&art 0x6>;
134 mtd-cal-data = <&art 0x1000>;
135 mtd-mac-address = <&art 0x1002>;