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>
7 #include "qca9557.dtsi"
10 compatible = "ocedo,koala", "qca,qca9557";
11 model = "OCEDO Koala";
14 bootargs = "console=ttyS0,115200n8";
18 led-boot = &led_system;
19 led-failsafe = &led_system;
20 led-running = &led_system;
21 led-upgrade = &led_system;
22 label-mac-device = ð0;
26 compatible = "gpio-leds";
29 label = "koala:green:power";
30 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
35 label = "koala:yellow:wlan2";
36 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
37 linux,default-trigger = "phy1tpt";
41 label = "koala:red:wlan58";
42 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy0tpt";
47 label = "koala:blue:sys";
48 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
53 compatible = "gpio-keys";
57 linux,code = <KEY_RESTART>;
58 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <25000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x040000>;
97 reg = <0x040000 0x010000>;
101 compatible = "denx,uimage";
103 reg = <0x050000 0x740000>;
108 reg = <0x790000 0x740000>;
114 reg = <0xed0000 0x110000>;
120 reg = <0xfe0000 0x010000>;
124 art: partition@ff0000 {
126 reg = <0xff0000 0x010000>;
136 mtd-cal-data = <&art 0x1000>;
137 mtd-mac-address = <&art 0x06>;
143 phy5: ethernet-phy@5 {
145 at803x-disable-smarteee;
152 mtd-mac-address = <&art 0x00>;
154 phy-handle = <&phy5>;
155 phy-mode = "rgmii-rxid";
157 pll-data = <0x8e000000 0x80000101 0x80001313>;