1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "ocedo,koala", "qca,qca9558";
10 model = "OCEDO Koala";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
17 label-mac-device = ð0;
21 compatible = "gpio-leds";
24 label = "green:power";
25 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
30 label = "yellow:wlan2";
31 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
32 linux,default-trigger = "phy1tpt";
37 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "phy0tpt";
43 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
48 compatible = "gpio-keys";
52 linux,code = <KEY_RESTART>;
53 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <50000000>;
75 compatible = "fixed-partitions";
81 reg = <0x000000 0x040000>;
87 reg = <0x040000 0x010000>;
91 compatible = "denx,uimage";
93 reg = <0x050000 0x740000>;
98 reg = <0x790000 0x740000>;
104 reg = <0xed0000 0x110000>;
110 reg = <0xfe0000 0x010000>;
114 art: partition@ff0000 {
116 reg = <0xff0000 0x010000>;
126 mtd-cal-data = <&art 0x1000>;
127 nvmem-cells = <&macaddr_art_6>;
128 nvmem-cell-names = "mac-address";
134 phy5: ethernet-phy@5 {
144 nvmem-cells = <&macaddr_art_0>;
145 nvmem-cell-names = "mac-address";
147 phy-handle = <&phy5>;
148 phy-mode = "rgmii-rxid";
150 pll-data = <0x8e000000 0x80000101 0x80001313>;
154 compatible = "nvmem-cells";
155 #address-cells = <1>;
158 macaddr_art_0: macaddr@0 {
162 macaddr_art_6: macaddr@6 {