ramips: update i2c dtsi files

Signed-off-by: Michael Lee <igvtee@gmail.com>
This commit is contained in:
Michael Lee 2016-01-07 22:27:45 +08:00 committed by John Crispin
parent d8202a8409
commit 011ce1fad6
8 changed files with 127 additions and 17 deletions

View file

@ -176,7 +176,7 @@
}; };
i2c: i2c@900 { i2c: i2c@900 {
compatible = "link,mt7620a-i2c", "ralink,rt2880-i2c"; compatible = "ralink,rt2880-i2c";
reg = <0x900 0x100>; reg = <0x900 0x100>;
resets = <&rstctrl 16>; resets = <&rstctrl 16>;

View file

@ -89,6 +89,24 @@
}; };
}; };
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 { memc: memc@5000 {
compatible = "mtk,mt7621-memc"; compatible = "mtk,mt7621-memc";
reg = <0x300 0x100>; reg = <0x300 0x100>;
@ -188,13 +206,6 @@
state_default: pinctrl0 { state_default: pinctrl0 {
}; };
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
i2c_pins: i2c { i2c_pins: i2c {
i2c { i2c {
ralink,group = "i2c"; ralink,group = "i2c";
@ -202,6 +213,13 @@
}; };
}; };
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
uart1_pins: uart1 { uart1_pins: uart1 {
uart1 { uart1 {
ralink,group = "uart1"; ralink,group = "uart1";

View file

@ -110,7 +110,7 @@
}; };
i2c: i2c@900 { i2c: i2c@900 {
compatible = "mediatek,mt7628-i2c"; compatible = "mediatek,mt7621-i2c";
reg = <0x900 0x100>; reg = <0x900 0x100>;
resets = <&rstctrl 16>; resets = <&rstctrl 16>;

View file

@ -114,6 +114,22 @@
status = "disabled"; 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 { uartlite: uartlite@c00 {
compatible = "ralink,rt2880-uart", "ns16550a"; compatible = "ralink,rt2880-uart", "ns16550a";
reg = <0xc00 0x100>; reg = <0xc00 0x100>;
@ -138,6 +154,13 @@
}; };
}; };
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
spi_pins: spi { spi_pins: spi {
spi { spi {
ralink,group = "spi"; ralink,group = "spi";

View file

@ -166,6 +166,22 @@
status = "disabled"; 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 { spi0: spi@b00 {
compatible = "ralink,rt3050-spi", "ralink,rt2880-spi"; compatible = "ralink,rt3050-spi", "ralink,rt2880-spi";
reg = <0xb00 0x100>; reg = <0xb00 0x100>;
@ -212,6 +228,13 @@
}; };
}; };
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
spi_pins: spi { spi_pins: spi {
spi { spi {
ralink,group = "spi"; ralink,group = "spi";

View file

@ -146,6 +146,22 @@
status = "disabled"; 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 { spi0: spi@b00 {
compatible = "ralink,rt3352-spi", "ralink,rt2880-spi"; compatible = "ralink,rt3352-spi", "ralink,rt2880-spi";
reg = <0xb00 0x40>; reg = <0xb00 0x40>;
@ -219,6 +235,13 @@
state_default: pinctrl0 { state_default: pinctrl0 {
}; };
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
spi_pins: spi { spi_pins: spi {
spi { spi {
ralink,group = "spi"; ralink,group = "spi";

View file

@ -166,6 +166,22 @@
status = "disabled"; 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 { spi0: spi@b00 {
compatible = "ralink,rt3883-spi", "ralink,rt2880-spi"; compatible = "ralink,rt3883-spi", "ralink,rt2880-spi";
reg = <0xb00 0x40>; reg = <0xb00 0x40>;
@ -239,6 +255,13 @@
state_default: pinctrl0 { state_default: pinctrl0 {
}; };
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
spi_pins: spi { spi_pins: spi {
spi { spi {
ralink,group = "spi"; ralink,group = "spi";

View file

@ -138,7 +138,7 @@
}; };
i2c: i2c@900 { i2c: i2c@900 {
compatible = "link,rt5350-i2c", "ralink,rt2880-i2c"; compatible = "ralink,rt2880-i2c";
reg = <0x900 0x100>; reg = <0x900 0x100>;
resets = <&rstctrl 16>; resets = <&rstctrl 16>;
@ -236,13 +236,6 @@
state_default: pinctrl0 { state_default: pinctrl0 {
}; };
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
i2c_pins: i2c { i2c_pins: i2c {
i2c { i2c {
ralink,group = "i2c"; ralink,group = "i2c";
@ -250,6 +243,13 @@
}; };
}; };
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
};
phy_led_pins: phy_led { phy_led_pins: phy_led {
phy_led { phy_led {
ralink,group = "led"; ralink,group = "led";