diff options
author | Michael Lee <igvtee@gmail.com> | 2016-01-07 22:27:45 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-06-13 22:51:42 +0200 |
commit | 011ce1fad6d7048a3fa9015ce8b8f8c64cb2f022 (patch) | |
tree | 8d68a7656b8fbc80db6537d85dc34eb96fcda58f /target/linux/ramips/dts/rt3883.dtsi | |
parent | d8202a84096831d4e6e2a522476bd6a0d46e6413 (diff) | |
download | mtk-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/rt3883.dtsi')
-rw-r--r-- | target/linux/ramips/dts/rt3883.dtsi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi index 041b063..975e86b 100644 --- a/target/linux/ramips/dts/rt3883.dtsi +++ b/target/linux/ramips/dts/rt3883.dtsi @@ -166,6 +166,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,rt3883-spi", "ralink,rt2880-spi"; reg = <0xb00 0x40>; @@ -239,6 +255,13 @@ state_default: pinctrl0 { }; + i2c_pins: i2c { + i2c { + ralink,group = "i2c"; + ralink,function = "i2c"; + }; + }; + spi_pins: spi { spi { ralink,group = "spi"; |