forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/arch/mips/boot/dts/qca/ar9331_dpt_module.dts
....@@ -3,6 +3,7 @@
33
44 #include <dt-bindings/gpio/gpio.h>
55 #include <dt-bindings/input/input.h>
6
+#include <dt-bindings/leds/common.h>
67
78 #include "ar9331.dtsi"
89
....@@ -22,8 +23,9 @@
2223 leds {
2324 compatible = "gpio-leds";
2425
25
- system {
26
- label = "dpt-module:green:system";
26
+ led-0 {
27
+ function = LED_FUNCTION_STATUS;
28
+ color = <LED_COLOR_ID_GREEN>;
2729 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
2830 default-state = "off";
2931 };
....@@ -76,3 +78,24 @@
7678 reg = <0>;
7779 };
7880 };
81
+
82
+&eth0 {
83
+ status = "okay";
84
+};
85
+
86
+&eth1 {
87
+ status = "okay";
88
+};
89
+
90
+&switch_port1 {
91
+ label = "lan0";
92
+ status = "okay";
93
+};
94
+
95
+&phy_port0 {
96
+ status = "okay";
97
+};
98
+
99
+&phy_port4 {
100
+ status = "okay";
101
+};