| .. | .. |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | #include <dt-bindings/gpio/gpio.h> |
|---|
| 5 | 5 | #include <dt-bindings/input/input.h> |
|---|
| 6 | +#include <dt-bindings/leds/common.h> |
|---|
| 6 | 7 | |
|---|
| 7 | 8 | #include "ar9331.dtsi" |
|---|
| 8 | 9 | |
|---|
| .. | .. |
|---|
| 22 | 23 | leds { |
|---|
| 23 | 24 | compatible = "gpio-leds"; |
|---|
| 24 | 25 | |
|---|
| 25 | | - system { |
|---|
| 26 | | - label = "dpt-module:green:system"; |
|---|
| 26 | + led-0 { |
|---|
| 27 | + function = LED_FUNCTION_STATUS; |
|---|
| 28 | + color = <LED_COLOR_ID_GREEN>; |
|---|
| 27 | 29 | gpios = <&gpio 27 GPIO_ACTIVE_LOW>; |
|---|
| 28 | 30 | default-state = "off"; |
|---|
| 29 | 31 | }; |
|---|
| .. | .. |
|---|
| 76 | 78 | reg = <0>; |
|---|
| 77 | 79 | }; |
|---|
| 78 | 80 | }; |
|---|
| 81 | + |
|---|
| 82 | +ð0 { |
|---|
| 83 | + status = "okay"; |
|---|
| 84 | +}; |
|---|
| 85 | + |
|---|
| 86 | +ð1 { |
|---|
| 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 | +}; |
|---|