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";
22 compatible = "gpio-leds";
25 label = "koala:green:power";
26 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
31 label = "koala:yellow:wlan2";
32 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy1tpt";
34 default-state = "off";
38 label = "koala:red:wlan58";
39 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy0tpt";
41 default-state = "off";
45 label = "koala:blue:sys";
46 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
47 default-state = "off";
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>;
102 reg = <0x050000 0x740000>;
107 reg = <0x790000 0x740000>;
113 reg = <0xed0000 0x110000>;
119 reg = <0xfe0000 0x010000>;
123 art: partition@ff0000 {
125 reg = <0xff0000 0x010000>;
135 mtd-cal-data = <&art 0x1000>;
136 mtd-mac-address = <&art 0x06>;
142 phy5: ethernet-phy@5 {
144 phy-mode = "rgmii-rxid";
146 at803x-disable-smarteee;
153 mtd-mac-address = <&art 0x00>;
155 phy-handle = <&phy5>;
156 phy-mode = "rgmii-rxid";
158 pll-data = <0xae000000 0xa0000101 0xa0001313>;