aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt3352.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/rt3352.dtsi')
-rw-r--r--target/linux/ramips/dts/rt3352.dtsi23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index 0bb28ec833..d010de38a3 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -146,6 +146,22 @@
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>;
@@ -219,6 +235,13 @@
state_default: pinctrl0 {
};
+ i2c_pins: i2c {
+ i2c {
+ ralink,group = "i2c";
+ ralink,function = "i2c";
+ };
+ };
+
spi_pins: spi {
spi {
ralink,group = "spi";