summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/mt7621.dtsi
diff options
context:
space:
mode:
authorMichael Lee <igvtee@gmail.com>2016-01-07 22:27:45 +0800
committerJohn Crispin <john@phrozen.org>2016-06-13 22:51:42 +0200
commit011ce1fad6d7048a3fa9015ce8b8f8c64cb2f022 (patch)
tree8d68a7656b8fbc80db6537d85dc34eb96fcda58f /target/linux/ramips/dts/mt7621.dtsi
parentd8202a84096831d4e6e2a522476bd6a0d46e6413 (diff)
downloadmtk-20170518-011ce1fad6d7048a3fa9015ce8b8f8c64cb2f022.zip
mtk-20170518-011ce1fad6d7048a3fa9015ce8b8f8c64cb2f022.tar.gz
mtk-20170518-011ce1fad6d7048a3fa9015ce8b8f8c64cb2f022.tar.bz2
ramips: update i2c dtsi files
Signed-off-by: Michael Lee <igvtee@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7621.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi32
1 files changed, 25 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index 7a9d79a..772f0aa 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -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 {
compatible = "mtk,mt7621-memc";
reg = <0x300 0x100>;
@@ -188,13 +206,6 @@
state_default: pinctrl0 {
};
- spi_pins: spi {
- spi {
- ralink,group = "spi";
- ralink,function = "spi";
- };
- };
-
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
@@ -202,6 +213,13 @@
};
};
+ spi_pins: spi {
+ spi {
+ ralink,group = "spi";
+ ralink,function = "spi";
+ };
+ };
+
uart1_pins: uart1 {
uart1 {
ralink,group = "uart1";