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";
19 led-failsafe = &system;
20 led-running = &system;
21 led-upgrade = &system;
25 compatible = "gpio-leds";
28 label = "koala:green:power";
29 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
34 label = "koala:yellow:wlan2";
35 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy1tpt";
40 label = "koala:red:wlan58";
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
46 label = "koala:blue:sys";
47 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
52 compatible = "gpio-keys-polled";
53 poll-interval = <100>;
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 phy-mode = "rgmii-rxid";
147 at803x-disable-smarteee;
154 mtd-mac-address = <&art 0x00>;
156 phy-handle = <&phy5>;
157 phy-mode = "rgmii-rxid";
159 pll-data = <0x8e000000 0x80000101 0x80001313>;