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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "ocedo,koala", "qca,qca9558";
11 model = "OCEDO Koala";
14 led-boot = &led_system;
15 led-failsafe = &led_system;
16 led-running = &led_system;
17 led-upgrade = &led_system;
18 label-mac-device = ð0;
22 compatible = "gpio-leds";
25 function = LED_FUNCTION_POWER;
26 color = <LED_COLOR_ID_GREEN>;
27 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
32 label = "yellow:wlan2";
33 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy1tpt";
39 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy0tpt";
45 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-keys";
54 linux,code = <KEY_RESTART>;
55 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
64 compatible = "qcom,ath10k";
65 reg = <0x0000 0 0 0 0>;
66 nvmem-cells = <&cal_art_5000>, <&macaddr_art_c>;
67 nvmem-cell-names = "calibration", "mac-address";
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <50000000>;
80 compatible = "fixed-partitions";
86 reg = <0x000000 0x040000>;
92 reg = <0x040000 0x010000>;
96 /* Dual-Flash layout combined */
97 compatible = "denx,uimage";
99 reg = <0x050000 0xe80000>;
104 reg = <0xed0000 0x110000>;
110 reg = <0xfe0000 0x010000>;
114 art: partition@ff0000 {
116 reg = <0xff0000 0x010000>;
120 compatible = "fixed-layout";
121 #address-cells = <1>;
124 macaddr_art_0: macaddr@0 {
128 macaddr_art_6: macaddr@6 {
132 macaddr_art_c: macaddr@c {
136 cal_art_5000: calibration@5000 {
137 reg = <0x5000 0x844>;
148 mtd-cal-data = <&art 0x1000>;
149 nvmem-cells = <&macaddr_art_6>;
150 nvmem-cell-names = "mac-address";
156 phy5: ethernet-phy@5 {
166 nvmem-cells = <&macaddr_art_0>;
167 nvmem-cell-names = "mac-address";
169 phy-handle = <&phy5>;
170 phy-mode = "rgmii-rxid";
172 pll-data = <0x8e000000 0x80000101 0x80001313>;