ramips: add support for YunCore G720
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_iodata_wn-deax1800gr.dts
index b9b901a6ce0079f25e7137a5079affbf384c4a02..4543f45a9fee406b3044e9eed3cc60a7938447c1 100644 (file)
                compatible = "gpio-leds";
 
                led_status_green: led-0 {
-                       label = "green:status";
                        gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_STATUS;
                };
 
                led_status_red: led-1 {
-                       label = "red:status";
                        gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
                        color = <LED_COLOR_ID_RED>;
                        function = LED_FUNCTION_STATUS;
                };
 
                led-2 {
-                       label = "green:wps_wifi";
                        gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_WPS;
                };
 
                led-3 {
-                       label = "green:power";
                        gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_POWER;
                };
 
                led-4 {
-                       label = "green:router";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_INDICATOR;
                };
 
                led-5 {
-                       label = "green:internet";
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_WAN;
                                        reg = <0x4 0x6>;
                                        #nvmem-cell-cells = <1>;
                                };
+
+                               precal: precal@e10 {
+                                       reg = <0xe10 0x19c10>;
+                               };
                        };
                };
 
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
 
-               nvmem-cells = <&eeprom>;
-               nvmem-cell-names = "eeprom";
+               nvmem-cells = <&eeprom>, <&precal>;
+               nvmem-cell-names = "eeprom", "precal";
        };
 };