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";
37 default-state = "off";
41 label = "koala:red:wlan58";
42 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy0tpt";
44 default-state = "off";
48 label = "koala:blue:sys";
49 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
50 default-state = "off";
55 compatible = "gpio-keys-polled";
56 poll-interval = <100>;
60 linux,code = <KEY_RESTART>;
61 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <25000000>;
88 compatible = "fixed-partitions";
94 reg = <0x000000 0x040000>;
100 reg = <0x040000 0x010000>;
105 reg = <0x050000 0x740000>;
110 reg = <0x790000 0x740000>;
116 reg = <0xed0000 0x110000>;
122 reg = <0xfe0000 0x010000>;
126 art: partition@ff0000 {
128 reg = <0xff0000 0x010000>;
138 mtd-cal-data = <&art 0x1000>;
139 mtd-mac-address = <&art 0x06>;
145 phy5: ethernet-phy@5 {
147 phy-mode = "rgmii-rxid";
149 at803x-disable-smarteee;
156 mtd-mac-address = <&art 0x00>;
158 phy-handle = <&phy5>;
159 phy-mode = "rgmii-rxid";
161 pll-data = <0xae000000 0xa0000101 0xa0001313>;