“636a31781684d0f49208aa163f1a5a3a74210eb4”上不存在“arch/x86/kernel/microcode_core.c”
提交 ac888a88 编写于 作者: S Sebastian Reichel 提交者: Benoit Cousson

ARM: dts: omap3-n900: Add pinctrl for i2c devices

Add pin muxing support for the Nokia N900 i2c controllers.
Signed-off-by: NSebastian Reichel <sre@debian.org>
Signed-off-by: NBenoit Cousson <bcousson@baylibre.com>
上级 620c5168
...@@ -28,7 +28,35 @@ ...@@ -28,7 +28,35 @@
}; };
&omap3_pmx_core {
pinctrl-names = "default";
i2c1_pins: pinmux_i2c1_pins {
pinctrl-single,pins = <
0x18a (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
>;
};
i2c2_pins: pinmux_i2c2_pins {
pinctrl-single,pins = <
0x18e (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_scl */
0x190 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_sda */
>;
};
i2c3_pins: pinmux_i2c3_pins {
pinctrl-single,pins = <
0x192 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */
0x194 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */
>;
};
};
&i2c1 { &i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
clock-frequency = <2200000>; clock-frequency = <2200000>;
twl: twl@48 { twl: twl@48 {
...@@ -39,6 +67,7 @@ ...@@ -39,6 +67,7 @@
}; };
#include "twl4030.dtsi" #include "twl4030.dtsi"
#include "twl4030_omap3.dtsi"
&twl_gpio { &twl_gpio {
ti,pullups = <0x0>; ti,pullups = <0x0>;
...@@ -46,10 +75,16 @@ ...@@ -46,10 +75,16 @@
}; };
&i2c2 { &i2c2 {
pinctrl-names = "default";
pinctrl-0 = <&i2c2_pins>;
clock-frequency = <400000>; clock-frequency = <400000>;
}; };
&i2c3 { &i2c3 {
pinctrl-names = "default";
pinctrl-0 = <&i2c3_pins>;
clock-frequency = <100000>; clock-frequency = <100000>;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册