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 = "8devices Carambola2";
11 compatible = "8dev,carambola2", "qca,ar9331";
14 label-mac-device = &wmac;
18 compatible = "gpio-leds";
21 function = LED_FUNCTION_WLAN;
22 color = <LED_COLOR_ID_GREEN>;
23 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
24 linux,default-trigger = "phy0tpt";
28 label = "orange:eth0";
29 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
33 label = "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>;
66 compatible = "jedec,spi-nor";
67 spi-max-frequency = <50000000>;
71 compatible = "fixed-partitions";
77 reg = <0x000000 0x040000>;
83 reg = <0x040000 0x010000>;
88 compatible = "denx,uimage";
90 reg = <0x50000 0xfa0000>;
93 art: partition@ff0000 {
95 reg = <0xff0000 0x010000>;
99 compatible = "fixed-layout";
100 #address-cells = <1>;
103 macaddr_art_0: macaddr@0 {
107 macaddr_art_6: macaddr@6 {
122 nvmem-cells = <&macaddr_art_0>;
123 nvmem-cell-names = "mac-address";
128 switch-phy-addr-swap = <1>;
129 switch-phy-swap = <1>;
135 nvmem-cells = <&macaddr_art_6>;
136 nvmem-cell-names = "mac-address";
141 mtd-cal-data = <&art 0x1000>;