ramips: update i2c dtsi files
authorMichael Lee <igvtee@gmail.com>
Thu, 7 Jan 2016 14:27:45 +0000 (22:27 +0800)
committerJohn Crispin <john@phrozen.org>
Mon, 13 Jun 2016 20:51:42 +0000 (22:51 +0200)
Signed-off-by: Michael Lee <igvtee@gmail.com>
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt2880.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi

index ccadbe40db7a748d1b9aa955f48978f70ae9c195..1c957b7d2a71d70a4d0131c89381cc69cb773968 100644 (file)
                };
 
                i2c: i2c@900 {
-                       compatible = "link,mt7620a-i2c", "ralink,rt2880-i2c";
+                       compatible = "ralink,rt2880-i2c";
                        reg = <0x900 0x100>;
 
                        resets = <&rstctrl 16>;
index 7a9d79a88b93796404ed3c312dafc231862e1ce3..772f0aabfab9677c21acae7ab5999de6ad7f5085 100644 (file)
                        };
                };
 
+               i2c: i2c@900 {
+                       compatible = "mediatek,mt7621-i2c";
+                       reg = <0x900 0x100>;
+
+                       clocks = <&sysclock>;
+
+                       resets = <&rstctrl 16>;
+                       reset-names = "i2c";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c_pins>;
+               };
+
                memc: memc@5000 {
                        compatible = "mtk,mt7621-memc";
                        reg = <0x300 0x100>;
                state_default: pinctrl0 {
                };
 
-               spi_pins: spi {
-                       spi {
-                               ralink,group = "spi";
-                               ralink,function = "spi";
-                       };
-               };
-
                i2c_pins: i2c {
                        i2c {
                                ralink,group = "i2c";
                        };
                };
 
+               spi_pins: spi {
+                       spi {
+                               ralink,group = "spi";
+                               ralink,function = "spi";
+                       };
+               };
+
                uart1_pins: uart1 {
                        uart1 {
                                ralink,group = "uart1";
index 6d5ed95e49715aa9daffbeeb87e345238a4131d1..860521999d4bfd12dd23f5ecdefb9ddaf0dcb14f 100644 (file)
                };
 
                i2c: i2c@900 {
-                       compatible = "mediatek,mt7628-i2c";
+                       compatible = "mediatek,mt7621-i2c";
                        reg = <0x900 0x100>;
 
                        resets = <&rstctrl 16>;
index ad882547f794c05b30ba6192beec5f2c80c0deee..c2ead2c9755502504fd1ebcb48dff514ae88c2e8 100644 (file)
                        status = "disabled";
                };
 
+               i2c: i2c@900 {
+                       compatible = "ralink,rt2880-i2c";
+                       reg = <0x900 0x100>;
+
+                       resets = <&rstctrl 9>;
+                       reset-names = "i2c";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c_pins>;
+               };
+
                uartlite: uartlite@c00 {
                        compatible = "ralink,rt2880-uart", "ns16550a";
                        reg = <0xc00 0x100>;
                        };
                };
 
+               i2c_pins: i2c {
+                       i2c {
+                               ralink,group = "i2c";
+                               ralink,function = "i2c";
+                       };
+               };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";
index ed88ac12ec3b3585394c2c3a12b5d9fc0ba6c098..ff1281b0641673407606280761fdecf8c1713546 100644 (file)
                        status = "disabled";
                };
 
+               i2c@900 {
+                       compatible = "ralink,rt2880-i2c";
+                       reg = <0x900 0x100>;
+
+                       resets = <&rstctrl 16>;
+                       reset-names = "i2c";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c_pins>;
+               };
+
                spi0: spi@b00 {
                        compatible = "ralink,rt3050-spi", "ralink,rt2880-spi";
                        reg = <0xb00 0x100>;
                        };
                };
 
+               i2c_pins: i2c {
+                       i2c {
+                               ralink,group = "i2c";
+                               ralink,function = "i2c";
+                       };
+               };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";
index 0bb28ec833307972534cb42a7f31452c29e1430a..d010de38a35aefdcb8049c444d7552031b97af8d 100644 (file)
                        status = "disabled";
                };
 
+               i2c@900 {
+                       compatible = "ralink,rt2880-i2c";
+                       reg = <0x900 0x100>;
+
+                       resets = <&rstctrl 16>;
+                       reset-names = "i2c";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c_pins>;
+               };
+
                spi0: spi@b00 {
                        compatible = "ralink,rt3352-spi", "ralink,rt2880-spi";
                        reg = <0xb00 0x40>;
                state_default: pinctrl0 {
                };
 
+               i2c_pins: i2c {
+                       i2c {
+                               ralink,group = "i2c";
+                               ralink,function = "i2c";
+                       };
+               };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";
index 041b0633d3f400656697bb75ed0c387a2f38190f..975e86b1f6329edc623c00d1addc58d29606f004 100644 (file)
                        status = "disabled";
                };
 
+               i2c@900 {
+                       compatible = "ralink,rt2880-i2c";
+                       reg = <0x900 0x100>;
+
+                       resets = <&rstctrl 16>;
+                       reset-names = "i2c";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c_pins>;
+               };
+
                spi0: spi@b00 {
                        compatible = "ralink,rt3883-spi", "ralink,rt2880-spi";
                        reg = <0xb00 0x40>;
                state_default: pinctrl0 {
                };
 
+               i2c_pins: i2c {
+                       i2c {
+                               ralink,group = "i2c";
+                               ralink,function = "i2c";
+                       };
+               };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";
index 1027519c982641a5507c08e81264464cb4c0b776..f6a170756313506548b5370468bf5cbc83484a97 100644 (file)
                };
 
                i2c: i2c@900 {
-                       compatible = "link,rt5350-i2c", "ralink,rt2880-i2c";
+                       compatible = "ralink,rt2880-i2c";
                        reg = <0x900 0x100>;
 
                        resets = <&rstctrl 16>;
                state_default: pinctrl0 {
                };
 
-               spi_pins: spi {
-                       spi {
-                               ralink,group = "spi";
-                               ralink,function = "spi";
-                       };
-               };
-
                i2c_pins: i2c {
                        i2c {
                                ralink,group = "i2c";
                        };
                };
 
+               spi_pins: spi {
+                       spi {
+                               ralink,group = "spi";
+                               ralink,function = "spi";
+                       };
+               };
+
                phy_led_pins: phy_led {
                        phy_led {
                                ralink,group = "led";