Commit d7e1c076 authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Jason Cooper

ARM: dts: kirkwood: set default pinctrl for I2C1 on 6282

Currently, the only 6282-based Kirkwood boards that use I2C1 are Openblocks
A6/A7. Both use the same default I2C1 pinctrl setting from kirkwood-6282.dtsi.
Move the pinctrl setting to the I2C1 node directly and put a note in front of
the corresponding pinctrl node to overwrite the setting on board level.
Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lkml.kernel.org/r/1398862602-29595-14-git-send-email-sebastian.hesselbarth@gmail.comSigned-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent ce55b1f4
......@@ -68,6 +68,10 @@ pmx_sata1: pmx-sata1 {
marvell,function = "sata1";
};
/*
* Default I2C1 pinctrl setting on mpp36/mpp37,
* overwrite marvell,pins on board level if required.
*/
pmx_twsi1: pmx-twsi1 {
marvell,pins = "mpp36", "mpp37";
marvell,function = "twsi1";
......@@ -101,6 +105,8 @@ i2c1: i2c@11100 {
interrupts = <32>;
clock-frequency = <100000>;
clocks = <&gate_clk 7>;
pinctrl-0 = <&pmx_twsi1>;
pinctrl-names = "default";
status = "disabled";
};
......
......@@ -33,8 +33,6 @@ sata@80000 {
i2c@11100 {
status = "okay";
pinctrl-0 = <&pmx_twsi1>;
pinctrl-names = "default";
s35390a: s35390a@30 {
compatible = "s35390a";
......
......@@ -45,8 +45,6 @@ sata@80000 {
i2c@11100 {
status = "okay";
pinctrl-0 = <&pmx_twsi1>;
pinctrl-names = "default";
s24c02: s24c02@50 {
compatible = "24c02";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment