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>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <50000000>;
71 compatible = "fixed-partitions";
77 reg = <0x000000 0x040000>;
83 reg = <0x040000 0x010000>;
87 /* Dual-Flash layout combined */
88 compatible = "denx,uimage";
90 reg = <0x050000 0xe80000>;
95 reg = <0xed0000 0x110000>;
101 reg = <0xfe0000 0x010000>;
105 art: partition@ff0000 {
107 reg = <0xff0000 0x010000>;
117 mtd-cal-data = <&art 0x1000>;
118 nvmem-cells = <&macaddr_art_6>;
119 nvmem-cell-names = "mac-address";
125 phy5: ethernet-phy@5 {
135 nvmem-cells = <&macaddr_art_0>;
136 nvmem-cell-names = "mac-address";
138 phy-handle = <&phy5>;
139 phy-mode = "rgmii-rxid";
141 pll-data = <0x8e000000 0x80000101 0x80001313>;
145 compatible = "nvmem-cells";
146 #address-cells = <1>;
149 macaddr_art_0: macaddr@0 {
153 macaddr_art_6: macaddr@6 {