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";
18 compatible = "gpio-leds";
21 label = "carambola2:green:wlan";
22 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
23 linux,default-trigger = "phy0tpt";
27 label = "carambola2:orange:eth0";
28 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
32 label = "carambola2:orange:eth1";
33 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
38 compatible = "gpio-keys";
42 linux,code = <KEY_WPS_BUTTON>;
43 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
49 clock-frequency = <40000000>;
70 num-chipselects = <0>;
74 compatible = "jedec,spi-nor";
75 spi-max-frequency = <104000000>;
79 compatible = "fixed-partitions";
85 reg = <0x000000 0x040000>;
91 reg = <0x040000 0x010000>;
96 compatible = "denx,uimage";
98 reg = <0x50000 0xfa0000>;
101 art: partition@ff0000 {
103 reg = <0xff0000 0x010000>;
116 mtd-mac-address = <&art 0x0>;
121 switch-phy-addr-swap = <1>;
122 switch-phy-swap = <1>;
128 mtd-mac-address = <&art 0x6>;
133 mtd-cal-data = <&art 0x1000>;
134 mtd-mac-address = <&art 0x1002>;