ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / PSG1218B.dts
index 38ceb95856eb95600768b0d85dea75c12b11ae86..2dfa7635d12758032e400d63e2afcb28e0d8d409 100644 (file)
@@ -3,24 +3,24 @@
 #include "PSG1218.dtsi"
 
 / {
-       compatible = "PSG1218B", "ralink,mt7620a-soc";
+       compatible = "phicomm,psg1218b", "phicomm,psg1218", "ralink,mt7620a-soc";
        model = "Phicomm PSG1218 rev.B";
 
        gpio-leds {
                compatible = "gpio-leds";
                blue {
                        label = "psg1218b:blue:status";
-                       gpios = <&gpio0 10 1>;
+                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                yellow {
                        label = "psg1218b:yellow:status";
-                       gpios = <&gpio0 11 1>;
+                       gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                red {
                        label = "psg1218b:red:status";
-                               gpios = <&gpio0 8 0>;
+                               gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
                };
        };
 };