ramips: HLK-RM04 - Fix push button functions
[openwrt/openwrt.git] / target / linux / ramips / dts / M4-4M.dts
index 2d2ebc47b059c7ab2678753186667056aff601bb..d99e37a3fd16f00d9ba4de6e7ed35491aa520c32 100644 (file)
@@ -9,10 +9,11 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "pm25lq032";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80", "pm25lq032";
                                spi-max-frequency = <10000000>;
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <1>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <1>;
        };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "m4:blue:status";
                        gpios = <&gpio0 9 1>;
@@ -74,6 +76,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;