#include "qcom-ipq4019.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/soc/qcom,tcsr.h>
/ {
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- qcom,poll_required = <0>;
- qcom,num_gmac = <1>;
- };
};
keys {
compatible = "gpio-leds";
power {
- label = "blue:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
default-state = "keep";
};
#size-cells = <1>;
label = "RouterBoot";
reg = <0x80000 0x80000>;
- read-only;
hard_config {
read-only;
status = "okay";
};
-&gmac0 {
- vlan_tag = <0 0x3f>;
-};
-
ðphy3 {
gpio-controller;
#gpio-cells = <2>;
#gpio-cells = <2>;
};
+&gmac {
+ status = "okay";
+};
+
+&switch {
+ status = "okay";
+};
+
+&swport4 {
+ status = "okay";
+
+ label = "lan";
+};
+
+&swport5 {
+ status = "okay";
+};
+
&wifi0 {
status = "okay";