X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7628an_d-team_pbr-d1.dts;h=940104d47eea69e1db6e2cabbe875078b9ab5a23;hb=01996b785dcef61e6dadb50f61a13f905f3e497d;hp=f5e9a169d4da7e55ffb11579bb78fd4b4b8d16a8;hpb=0a1d15642fa6b4eba45104a4b7bbeb202162f9a5;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7628an_d-team_pbr-d1.dts b/target/linux/ramips/dts/mt7628an_d-team_pbr-d1.dts index f5e9a169d4..940104d47e 100644 --- a/target/linux/ramips/dts/mt7628an_d-team_pbr-d1.dts +++ b/target/linux/ramips/dts/mt7628an_d-team_pbr-d1.dts @@ -2,6 +2,7 @@ #include #include +#include / { compatible = "d-team,pbr-d1", "mediatek,mt7628an-soc"; @@ -26,14 +27,16 @@ compatible = "gpio-leds"; usb { - label = "orange:usb"; + function = LED_FUNCTION_USB; + color = ; gpios = <&gpio 0 GPIO_ACTIVE_LOW>; trigger-sources = <&ohci_port1>, <&ehci_port1>; linux,default-trigger = "usbport"; }; led_power: power { - label = "orange:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; default-state = "on"; }; @@ -112,7 +115,7 @@ reg = <0x30000 0x10000>; }; - factory: partition@40000 { + partition@40000 { label = "factory"; reg = <0x40000 0x10000>; read-only;