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 = "OCEDO Raccoon";
11 compatible = "ocedo,raccoon", "qca,ar9344";
14 bootargs = "console=ttyS0,115200n8";
22 compatible = "gpio-leds";
25 label = "raccoon:green:power";
26 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
31 label = "raccoon:yellow:wlan24";
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 default-state = "off";
34 linux,default-trigger = "phy0tpt";
38 label = "raccoon:blue:sys";
39 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-leds";
47 label = "raccoon:red:wlan5";
48 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
49 default-state = "off";
50 linux,default-trigger = "phy1tpt";
55 compatible = "gpio-keys-polled";
61 linux,code = <KEY_RESTART>;
62 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
63 debounce-interval = <60>;
69 clock-frequency = <40000000>;
88 compatible = "jedec,spi-nor";
90 spi-max-frequency = <25000000>;
93 compatible = "fixed-partitions";
99 reg = <0x000000 0x040000>;
104 label = "u-boot-env";
105 reg = <0x040000 0x010000>;
110 reg = <0x050000 0x740000>;
115 reg = <0x790000 0x740000>;
121 reg = <0xed0000 0x110000>;
127 reg = <0xfe0000 0x010000>;
131 art: partition@ff0000 {
133 reg = <0xff0000 0x010000>;
143 ath9k: wifi@168c,0030 {
144 compatible = "pci168c,0030";
145 reg = <0x0000 0 0 0 0>;
146 mtd-mac-address = <&art 0xc>;
156 mtd-cal-data = <&art 0x1000>;
157 mtd-mac-address = <&art 0x6>;
165 phy0: ethernet-phy@0 {
174 /* default for ar934x, except for 1000M */
175 pll-data = <0x06000000 0x00000101 0x00001616>;
177 mtd-mac-address = <&art 0x0>;
180 phy-handle = <&phy0>;