// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "qca955x.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "qca9557.dtsi"
-
/ {
- compatible = "ocedo,koala", "qca,qca9557";
+ compatible = "ocedo,koala", "qca,qca9558";
model = "OCEDO Koala";
- chosen {
- bootargs = "console=ttyS0,115200n8";
- };
-
aliases {
- led-status = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
+ label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
power {
- label = "koala:green:power";
+ label = "green:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wifi2 {
- label = "koala:yellow:wlan2";
+ label = "yellow:wlan2";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
- default-state = "off";
};
wifi5 {
- label = "koala:red:wlan58";
+ label = "red:wlan58";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
- default-state = "off";
};
- system: system {
- label = "koala:blue:sys";
+ led_system: system {
+ label = "blue:sys";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- default-state = "off";
};
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
reset {
label = "reset";
status = "okay";
};
-&uart {
- status = "okay";
-};
-
&pll {
clocks = <&extosc>;
};
&spi {
status = "okay";
- num-cs = <1>;
flash@0 {
compatible = "jedec,spi-nor";
};
partition@50000 {
+ compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x740000>;
};
phy5: ethernet-phy@5 {
reg = <5>;
- phy-mode = "rgmii-rxid";
-
- at803x-disable-smarteee;
+ eee-broken-100tx;
+ eee-broken-1000t;
};
};
phy-handle = <&phy5>;
phy-mode = "rgmii-rxid";
- pll-data = <0xae000000 0xa0000101 0xa0001313>;
-
- gmac-config {
- device = <&gmac>;
-
- rxdv-delay = <3>;
- rxd-delay = <3>;
- txen-delay = <0>;
- txd-delay = <0>;
- rgmii-enabled = <1>;
- };
+ pll-data = <0x8e000000 0x80000101 0x80001313>;
};